/*
Theme Name: AFAR
Theme URI: http://afar.com/
Description: AFAR blog theme.
Version: 1.0
Author: <a href="http://afar.com/">AFAR</a>

*/

body {
	background-color: #fff;
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	font-size: 101.01%;
	line-height: 1.3em;
	color: #000;
	-webkit-text-size-adjust: none; /* iPhone */
}


div.clear {
	clear: both;
	height: 0;
	line-height: 1px;
}


/* HEADER */

#headerwrapper {
	background: #573d2f url("images/header-bg.gif") repeat-x left bottom;
}

#header {
	margin: 0 auto;
	width: 984px;
	background-color: #573D2F;
}

#logo {
	display: inline;
	float: left;
	height: 70px;
	margin-left: 7px;
	margin-top: 10px;
	margin-bottom: 6px;
	width: 209px;
}

#topoffer {float:right;padding-right:16px;z-index:1;height:90px;width:600px;}
#topoffer #offertext {float:right;margin-top:34px;margin-right:0px;text-align:right;}
#topoffer #offertext span {display:block;margin:0;}
#topoffer #offertext a {text-decoration:none;}
#topoffer #offertext h4#line1 {margin: 0; padding: 0; font-size:18px; text-align: left;}
#topoffer #offertext h4#line1 a {color:#fff;margin:0; text-indent: -9999em; display: block; background: transparent url("images/offer.gif") no-repeat top left; width: 207px; height: 15px;}
#topoffer #offertext span#line2,#topoffer #offertext span#line2 a {font-size:11px;font-weight:bold;color:#ffcc99;padding-top:4px;}
#topoffer #offertext span#line2 a:hover,#topoffer #offertext span#line2 a:active {text-decoration:underline;}
#topoffer #offertext span#line3,#topoffer #offertext span#line3 a {font-size:11px;font-weight:bold;color:#ffcc99;line-height:.8em;}
#topoffer #offertext span#line3 a:hover,#topoffer #offertext span#line3 a:active {text-decoration:underline;}
#topoffer #offertext span#pipe {color:#825342;display:inline;}
#topoffer #offerimg {width:83px;float:right;position:relative;top:5px;}


/* Main Nav */

#mainnav {
	clear: both;
	height: 29px;
	margin: 0 auto 0 auto;
	z-index: 5;
	background: transparent url("images/mainnav-bg-wide.gif") no-repeat top left;
}

#mainnav ul {
	margin: 0;
	padding: 0;
	height: 29px;
	z-index: 5;
}

#mainnav ul li {
	float: left;
	margin: 0 0 0 0;
	padding: 0 1px 0 0;
	list-style: none;
	z-index: 5;
	background: transparent url("images/mainnav-divider.gif") no-repeat top right;
}

#mainnav a {
	display: block;
	outline: none;
	color: #fff;
	padding: 0;
	text-indent: -9999em;
	height: 29px;
	background-position: 0 0;
	background-color: transparent;
	background-repeat: no-repeat;
	z-index: 5;
}

#mainnav a:hover, #mainnav a:active {
	background-position: 0 -29px;
}

#mainnav li#navhome a {
	width: 48px;
	background-image: url("images/mainnav-home.gif");
}

#mainnav li#navhome.active-trail a {
	background-position: 0 -58px;
}

#mainnav li#navproductsplatforms a {
	width: 159px;
	background-image: url("images/mainnav-productsplatforms.gif");
}

#mainnav li#navproductsplatforms.active-trail a {
	background-position: 0 -58px;
}

#mainnav li#navaboutafarmedia a {
	width: 73px;
	background-image: url("images/mainnav-aboutus.gif");
}

#mainnav li#navaboutafarmedia.active-trail a {
	background-position: 0 -58px;
}


#mainnav li#navadvertise a {
	width: 78px;
	background-image: url("images/mainnav-advertise.gif");
}

#mainnav li#navadvertise.active-trail a {
	background-position: 0 -58px;
}

#mainnav li#navblog a {
	width: 46px;
	background-image: url("images/mainnav-blog.gif");
}

#mainnav li#navblog.active-trail a {
	background-position: 0 -58px;
}

#mainnav li#navcontactus {
	background-image: none;
	padding: 0;
}

#mainnav li#navcontactus a {
	width: 87px;
	background-image: url("images/mainnav-contact.gif");
}

#mainnav li#navcontactus.active-trail a {
	background-position: 0 -58px;
}



/* END Main Nav */




/* END HEADER */

/* MAINBODY */

#mainbodywrapper {
	clear: both;
	background: transparent url("images/mainbody-bg.gif") repeat-x left top;
}

#mainbody {
	margin: 0 auto;
	width: 984px;
	padding-top: 8px;
}


/* MAINCONTENT */

#maincontent {
	color: #000;
	margin-bottom: 1em;
	background: transparent url("images/gray-dot.gif") repeat-y 648px 0;
}

#maincontent a {
	color: #993300;
	text-decoration: underline;
}

img#wpstats{
	width: 0px; height: 0px; overflow: hidden;
}


blockquote {
	background:transparent url("images/quote.gif") no-repeat scroll left top;
	min-height:50px;
	padding:0 0 0 60px;
}

#titlebar {
	position: relative;
	width: 984px;
	height: 87px;
	margin-bottom: 25px;
	background: transparent url("images/blog-title-search-bg.jpg") no-repeat left top;
}

#titlebar #homelink {
	position: absolute;
	width: 600px;
	height: 87px;
	top: 0;
	left: 0;
}

#titlebar #homelink a {
	width: 600px;
	height: 87px;
	display: block;
	text-indent: -9999em;
	outline: none;
}



#titlebar #search {
	position: absolute;
	top: 35px;
	left: 664px;
}

#titlebar #search #s {
	width: 227px;
}

#titlebar #search #searchsubmit {
	width: 64px;
	height: 21px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent url("images/search-button.gif") no-repeat left top;
	text-indent: -9999px;
	cursor: pointer;
	cursor: hand; /* for IE */
}


/* MAINTEXT */

#maintextcontainer {
	width: 648px;
	margin: 0;
	float: left;
	margin-bottom: 0.5em;
}

#content {
	font-size: 13px;
	line-height: 17px;
	padding-left: 8px;
	padding-right: 16px;
}


.post {
	padding-bottom: 2em;
	border-bottom: 1px solid #d5d5d5;
	margin-bottom: 2em;
	padding-left: 8px;
	padding-right: 8px;
}

.single .post {
	border-bottom: none;
}

.post .main {
	padding-bottom: 2em;
}


#content h2 {
	font-size: 18px;
	line-height: 24px;
	margin-top: 0;
	font-weight: bold;
	
}

#content h2 a {
	color: #000;
	text-decoration: none;
}

#content h2 a:hover, #content h2 a:active {
	color: #333;
}

#content p.byline {
	font-size: 11px;
	line-height: 15px;
	color: #666;
}

#content p.byline span.comments a {
	padding-left: 18px;
	background: transparent url("images/comment-icon.gif") no-repeat left top;
}

#content .tags p {
	font-size: 11px;
	line-height: 15px;
	color: #666;
	margin: 0;
}


/* comments */

div#commentswrapper {
	margin-top: 2em;
}

textarea#comment {
	width: 500px;
}


/* meta */

.post .navigation {
	margin-top: 1em;
	clear: both;
}

.post .meta {
	clear: both;
}

.post div.bottomlinks {
	text-align: right;
	margin: 1em 0 1em auto;
}

.post div.bottomlinks div {
	display: inline;
	margin-left: 2em;
	width: auto;
	font-size: 11px;
	line-height: 15px;
}

.post div.bottomlinks div.sharelink {
	padding-top: 3px;
}

.post div.bottomlinks div.emaillink img {
	position: relative;
	top: 3px;
}

.post div.bottomlinks div.printlink img {
	position: relative;
	top: 2px;
}

.post .addthis_container {
	display: none;
	visibility: hidden;
}

#maincontent .edit a {
	color: red;
}

.alignleft {
	margin-top: 1em;
	float: left;
}

.alignright {
	margin-top: 1em;
	float: right;
}


/* END MAINTEXT */






/* SIDEBAR */

#sidebar {
	width: 304px;
	margin-left: 16px;
	float: left;
	padding-bottom: 1em;
	font-size: 12px;
	line-height: 16px;
	color: #666666;
}

#sidebar h3 {
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
	margin: 0 0 0.25em 0;
	text-transform: uppercase;
	color: #000;
}

#sidebar div.widget {
	margin: 1em 0 1.5em 0;
}


#sidebar div.widget div.rsswidget {
	font-weight: bold;
	color: #000;
}

#sidebar div.widget div.rsswidget p {
	margin: 0;
	padding-left: 20px;
	background: transparent url("images/rss-icon.gif") no-repeat left top;
}

#sidebar #text-442302071 {
	margin-top: 0;
}

#sidebar #text-442302071, #sidebar #subscribe2, #sidebar #text-2 {
	margin-bottom: 1em;
}

#sidebar #subscribe2 form, #sidebar #subscribe2 form p {
	margin-top: 0;
}

#sidebar #subscribe2 form .subscribe1 {
	width: 81px;
	height: 21px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent url("images/subscribe-button.gif") no-repeat left top;
	text-indent: -9999px;
	cursor: pointer;
	cursor: hand; /* for IE */
}

#sidebar #subscribe2 form .subscribe1 { /* IE only */
	*display: block;
	*float: left;
}

#sidebar #subscribe2 form .subscribe2 {
	width: 94px;
	height: 21px;
	margin: 0 0 0 3px;
	padding: 0;
	border: 0;
	background: transparent url("images/unsubscribe-button.gif") no-repeat left top;
	text-indent: -9999px;
	cursor: pointer;
	cursor: hand; /* for IE */
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}


#sidebar ul li {
	margin: 0;
	padding: 0;
}

#sidebar div.divider {
	height: 1px;
	margin: 1em 0;
	background: transparent url("images/dashed-line.gif") repeat-x left top;
}

/* END SIDEBAR */

/* END MAINCONTENT */


/* FOOTER */

#footerwrapper {
	clear: both;
	background: transparent url("images/footer-bg.gif") repeat-x left top;
	padding: 1em 0;
	min-height: 59px;
}

#footer {
	margin: 0 auto;
	width: 984px;
	font-size: 11px;
	line-height: 14px;
}

#footer p.copyright {
	color: #979797;
	margin: 0 25px 0 8px;
	display: inline;
	float: left;
}

#footer ul {
	float: left;
	margin: 0;
	padding: 0;
	height: 29px;
}

#footer ul li {
	float: left;
	margin: 0 25px 0 0;
	padding: 0;
	list-style: none;
}


#footer ul li a {
	color: #535353;
}

#footer ul li a:hover, #footer ul li a:active {
	color: #333333;
}

/* END FOOTER */

