/**********************************************************************************************

	CSS on Sails
	Title: YellowBird Technology, LLC
	Author: XHTMLized (http://www.xhtmlized.com/)
	Date: March 2009

***********************************************************************************************
		
	1. BASE
			1.1 Reset
			1.2 Accessibility Navigation & Hide
			1.3 Clearfix
			1.4 Default Styles
	
	2. LAYOUT
			2.1 Header
			2.2 Content
			2.3 Sidebar
			2.4 Footer		

***********************************************************************************************/


/* 1. BASE
-----------------------------------------------------------------------------------------------
===============================================================================================*/	


/* 1.1	Reset
-----------------------------------------------------------------------------------------------*/	

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
address { font-style: normal; }

/* 1.2	Accessibility Navigation & Hide
-----------------------------------------------------------------------------------------------*/	

ol#accessibility-nav, .hide { position: absolute; top: -999em; left: -999em; height: 1px; width: 1px; }


/* 1.3	Clearfix
-----------------------------------------------------------------------------------------------*/

.clearfix:after, 
#navigation:after, 
div.container:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }


/* 1.4	Default Styles
-----------------------------------------------------------------------------------------------*/	

body { background: #fff; font: 62.5% Arial, Helvetica, sans-serif; text-align: center; border-top: 3px solid #ffcc01; }
hr { display: none; }
strong { font-weight: bold; }
em { font-style: italic; }
abbr, acronym { border-bottom: 1px dotted #999; cursor: help; }
input, textarea, select { font: 1.2em Arial, Helvetica, sans-serif; }
a:link, a:visited { color: #04f; text-decoration: none; }
a:hover, a:active { color: #04f; text-decoration: underline; }


/* 2. LAYOUT
-----------------------------------------------------------------------------------------------
===============================================================================================*/	

div.wrapper { background: url(images/bg-wrapper.png) repeat-x top left; padding: 0 0 30px; }
div.container { background: #fff url(images/bg-container.png) repeat-y top left; width: 960px; position: relative; margin: 0 auto; text-align: left; font-size: 1.2em; color: #666; border-bottom: 3px solid #ffcc01; }

div#content { width: 641px; float: right; }
div#sidebar { width: 319px; float: left; }

body.blog div#content, body.home div#content { float: left; }
body.blog div#sidebar, body.home div#sidebar { float: right; }
body.blog div.container, body.home div.container { background: #fff url(images/bg-container.png) repeat-y top right; }

#content, #sidebar { background: url(images/bg-top.png) repeat-x top left; padding-top: 5px; padding-bottom: 20px; line-height: 1.5; }


/* 2.1	Header
-----------------------------------------------------------------------------------------------*/	

/* logo */
div#header h1, div#header h1 span, div#header a.logo, div#header a.logo span { display: block; overflow: hidden; width: 292px; height: 87px; }
div#header h1, div#header a.logo { margin-left: 12px; position: relative; text-align: left; font-size: 1.8em; font-family: "Trajan Pro", Georgia, "Times New Roman", Times, sans-serif; letter-spacing: 0.1em; }
div#header h1 span, div#header a.logo span { position: absolute; top: 0; left: 0; z-index: 10; background: url(images/logo.png) no-repeat; }
div#header a.logo span { cursor: pointer; }

/* header general */
div#header { background: #000; color: #fd0; padding: 5px 0 0; border-bottom: 1px solid #fff; text-align: left; position: relative; z-index:10; }
div#header a { color: #fd0; }
div#header div.inner { width: 960px; margin: 0 auto; position: relative; }
div#header p { position: absolute; top: 48px; right: 17px; font-size: 2em; font-family: "Trajan Pro", Georgia, "Times New Roman", Times, sans-serif; letter-spacing: 0.075em; }

/* navigation */
#navigation { margin-top: 7px; padding-left: 6px; background: #ffa500 url(images/bg-nav.png) no-repeat top left; font-family: "Trajan Pro", Georgia, "Times New Roman", Times, sans-serif; font-size: 1.3em; font-weight: bold; font-variant: small-caps; }
#navigation li { position: relative; float: left; text-align: center; }
#navigation li span { position: absolute; top: 0; left: 0; background: url(images/bg-navigation.png) no-repeat top left; }
#navigation li, #navigation li span, #navigation li a { width: 120px; height: 30px; display: block; color: #000; cursor: pointer; }
#navigation li.home, #navigation li.home span { width: 118px; }

#navigation li.home span { background-position: 0 0; }
#navigation li.services span { background-position: -118px 0; }
#navigation li.products span { background-position: -238px 0; }
#navigation li.about-us span { background-position: -358px 0; }
#navigation li.blog span { background-position: -478px 0; }
#navigation li.contact-us span { background-position: -598px 0; }

#navigation li.home a.active span, #navigation li.home a:hover span, #navigation li.home a:hover span, body.home #navigation li.home a span { background-position: 0 -30px; }
#navigation li.services a.active span, #navigation li.services a:hover span, body.services #navigation li.services a span { background-position: -118px -30px; }
#navigation li.products a.active span, #navigation li.products a:hover span, body.products #navigation li.products a span { background-position: -238px -30px; }
#navigation li.about-us a.active span, #navigation li.about-us a:hover span, body.about-us #navigation li.about-us a span { background-position: -358px -30px; }
#navigation li.blog a.active span, #navigation li.blog a:hover span, body.blog #navigation li.blog a span { background-position: -478px -30px; }
#navigation li.contact-us a.active span, #navigation li.contact-us a:hover span, body.contact-us #navigation li.contact-us a span { background-position: -598px -30px; }

#navigation li li span { display: none; }

/* drop downs */
#navigation li ul { margin-left: 2px; position: absolute; width: 250px; display: none; left: 0; top: auto; background: url(images/bg-nav-dropdown.png) no-repeat bottom left; padding: 0 0 9px; }
#navigation li li { height: auto; width: 200px; text-align: left; font-family: Arial, Helvetica, sans-serif; font-variant: normal; font-weight: normal; }
#navigation li li a { width: 170px; height: auto; padding: 3px 15px; }
#navigation li li.first a, #navigation li li.first a:hover { padding-top: 12px; background: url(images/bg-nav-dropdown-first.png) no-repeat top right; }

#navigation li.current ul li a, #navigation li ul li a:hover { background-image: none; }
#navigation li.current ul li.first a, #navigation li.current ul li.first a:hover { padding-top: 12px; background: url(images/bg-nav-dropdown-first.png) no-repeat top right; }

#navigation li ul li a:hover { color: #e56700; }
#navigation li:hover ul, #navigation li.sfhover ul { display: block; } 


/* 2.2	Content
-----------------------------------------------------------------------------------------------*/	

/* put your income on autopilot */
p.put-your-income-on-autopilot { position: relative; width: 960px; height: 210px; overflow: hidden; }
p.put-your-income-on-autopilot span { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url(images/bg-income-autopilot.jpg) no-repeat top left; }

/* headers */
div.container h1, div.col1 h2, div.col2 h2 { font-family: Georgia, "Times New Roman", Times, sans-serif; font-size: 1.3em; font-weight: normal; padding: 0 0 18px; }
div.container h1, h2, h3, h4, h5, h6 { color: #222; }
div.post h2 { padding: 0 0 20px; }

/* general */
div#content div.inner { padding: 20px 25px 0; }
div#content { line-height: 1.5; }
strong.dark { color: #222; }
div#content p, div#content ul, div#content ol { padding: 0 0 25px; }
div#content ul li { background: url(images/bg-bullet-orange.png) no-repeat 0 8px; padding-left: 15px; }

/* quotes */
div#content blockquote { padding: 5px 0 0 25px; background: url(images/quote-open.png) no-repeat top left; }
div#content blockquote p { font-style: italic; font-family: Georgia, "Times New Roman", Times, sans-serif; padding: 0 25px 3px 0; background: url(images/quote-close.png) no-repeat bottom right; }
div#content blockquote cite { font-style: normal; }

/* blog posts */
div.post { background: url(images/bg-post.png) repeat-x bottom left; padding-bottom: 10px; margin-bottom: 17px; padding-top: 8px; }
div.post-last { background: none; }
div#content div.post p.meta { background: url(images/bg-bullet-orange.png) no-repeat 0 8px; padding: 0 0 0 15px; margin-top: 5px; }
div.post p.meta strong, div.post p.meta a { color: #222; }
div.post p.meta a.comments { background: url(images/ico-comments.png) no-repeat center left; padding-left: 20px; margin-left: 10px; }
div#content div.post p.tags { padding-left: 15px; font-size: .9em; }

/* homepage columns */
div.col1 { background: url(images/bg-sep-col.jpg) no-repeat center right; width: 277px; float: left; padding: 18px 13px 15px 17px; }
div.col2 { width: 304px; float: right; padding: 18px 15px 15px 15px; }
#content div.col2 h2 { padding-left: 15px; }
div.col1 h2, div.col2 h2 { padding-top: 2px; }
#content div.col1 h3 { margin-bottom: 3px; }
#content div.col2 h3 { margin-bottom: 0; }
div.col1 img { margin-bottom: 20px; }
#content div.col2 p.date { padding: 0 0 8px; }


/* 2.3	Sidebar
-----------------------------------------------------------------------------------------------*/	

/* subnav */
div.subnav { background: url(images/bg-sep.png) repeat-x bottom left; padding-bottom: 2px; margin-bottom: 5px; }
div.subnav ul { background: #fdfdfd; padding-top: 8px; }
div.subnav ul li { padding: 0 15px; line-height: 1.2; }
div.subnav ul li a, div.subnav ul li a:link, div.subnav ul li a:visited, div.subnav ul li a:active { padding: 9px 40px; display: block; border-bottom: 1px solid #c4e5ff; color: #222; font-family: Georgia, "Times New Roman", Times, sans-serif; font-size: 1.3em; }
div.subnav ul li.last a { border-bottom: 0; }
div.subnav ul li a:hover, div.subnav ul li.current a { background: #dbeffe; text-decoration: none; }

/* feeds */
div.feeds { margin-bottom: 25px; padding-top: 20px; }
div.feeds h2 { background: url(images/ico-rss.png) no-repeat 15px 4px; padding: 0 0 5px 35px; font-family: Georgia, "Times New Roman", Times, sans-serif; font-size: 1.3em; border-bottom: 1px solid #ccc; margin-bottom: 12px; font-weight: normal; }
div.feeds ul li { padding: 0 35px 14px; background: url(images/bg-sep.png) repeat-x bottom left; margin-bottom: 12px; line-height: 1.5; }
div.feeds ul li h3 { font-weight: normal; }
div.feeds ul li h3 a, div.feeds ul li h3 a:link, div.feeds ul li h3 a:visited, div.feeds ul li h3 a:active { color: #222; font-weight: bold; }

/* lists */
div.lists { padding: 30px 0 5px; }
div.lists h2 { font-family: Georgia, "Times New Roman", Times, sans-serif; font-size: 1.3em; border-bottom: 1px solid #ccc; margin-bottom: 12px; font-weight: normal; padding: 0 0 5px 35px; }
div.lists ul { padding: 0 35px 25px; }

/* subscribe */
div.subscribe { padding: 0 35px; }
div.subscribe h2 { font-weight: normal; padding: 0 0 15px; }


/* 2.4	Footer
-----------------------------------------------------------------------------------------------*/

#footer { color: #666; padding: 10px 0; width: 930px; margin: 0 auto; font-size: 1.1em; font-family: Georgia, "Times New Roman", Times, sans-serif; }
#footer a { color: #666; }
#footer p { float: left; }
#footer ul { float: right; }
#footer ul li { float: left; padding-left: 7px; margin-left: 4px; background: url(images/bg-bullet.png) no-repeat center left; }
#footer ul li.first { background: none; }
