/* @override http://advantageravingfans.com/theme/Cardinal/style.css */

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Title : Advantage Raving Fans
Author : Seth Rubenstein
Created : January 2010
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/** GLOBAL RESETS **/
:link,:visited {text-decoration:none}
h1,h2,h3,h4,h5,h6,pre,code {font-size:1em;font-weight:400;}
ul,dl,dt,dd,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {margin:0; padding:0}
a img,:link img,:visited img {border:none}

/** GLOBAL SETS **/
.clear {clear:both;}
.hidden {display:none;}
body {margin:0 0 50px 0;font-size:13px;color:#222;font-family:arial,lucida,tahoma, helvetica, verdana;background: #FFF url(images/bgblue.png) repeat-x;text-align:center;}
a:link, a:visited {color: #182779;text-decoration:underline;}
a:hover, a:focus {color:#1a1a1a;text-decoration:underline;}
#wrapper {width:925px;margin-right:auto;margin-left:auto;}

#header {position:relative;height:180px;}
#homepage #header {position:relative;height:415px;}

#header #nav {position:absolute;top:10px;left:0;list-style:none;}
#header #nav li {float:left;margin:0 10px 0 0;font-size:13px;text-transform:uppercase;font-weight:bold;}
#header #nav li a {display:block;line-height:30px;padding:0 10px;}
#header #nav li a:link, #header #nav li a:visited {border: 1px solid #030068;color: rgba(255,255,255,0.31);text-decoration:none;}
#header #nav li a:hover, #header #nav li a:focus {color:#FFFFFF;text-decoration:none;}
#header #nav li.current a  {border: 1px solid #fffeff;color:#FFFFFF;text-decoration:none;}

#header a.logo:link, #header a.logo:visited, #header a.logo:hover {position:absolute;top:68px;
color:#fff;
font-size:52px;
text-transform: capitalize;
font-family:Arial;
letter-spacing:-2px;
text-decoration:none;
	left: 300px;
}

.logoimg {
	float: left;
	height: 80px;
	top: 60px;
	display: block;
	position: relative;
}
#header span.logo2 {position:absolute;top:70px;left: 302px;
color: #0b1550;
font-size:52px;
text-transform: capitalize;
font-family:Arial;
letter-spacing:-2px;
}
#content {text-align:left;}

#content h1 {font-size:40px;font-family:arial;line-height:40px;letter-spacing:-2px;margin:25px 0 20px 0;}
#content h2 {font-size:25px;font-family:arial;line-height:37px;letter-spacing:-1px;margin:25px 0 10px 0;}
#content h3 {font-family:arial;font-size:18px;color:#1a1a1a;margin:25px 0 10px 0;}
#content h4 {font-family:arial;font-size:16px;color:#1a1a1a;margin:25px 0 10px 0;}
#content h5 {font-family:arial;font-size:14px;color:#1a1a1a;margin:25px 0 10px 0;}
#content h6 {font-family:arial;font-size:10px;color:#1a1a1a;margin:25px 0 10px 0;}

#content #page-content {float:left;width:575px}
.page-meta {line-height:40px;text-transform:uppercase;color:#999;font-size:11px;border-top: 1px solid #ccc;padding-top:15px;margin-top:15px;}
.page-meta span {text-transform:none;color: #182779;font-size:15px;font-family:georgia;}

#content .page-text {font-size: 14px;margin-bottom:50px;
	line-height: 18px;
}
#content .page-text p, #content .page-text ul, #content .page-text ol {margin:0 0 22px 0;}
#content .page-text ul, #content .page-text ol {margin-left:25px;}
#content .page-text ul ul, #content .page-text ol ul, #content .page-text ul ol, #content .page-text ol ol {
	margin:0 0 0 25px;
}
#content .page-text blockquote {
	margin:0 0 22px 20px;
	line-height: 19px;
	font-size:13px;
	color:#666;
	font-style:italic;
	border-left:2px solid #ccc;
	padding:0 0 0 15px;
	}
#content code {border:1px dotted #ececec;padding:2px;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;}
#content pre code {line-height:17px;padding:15px;border:1px dotted #ececec;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;margin-bottom:22px;display:block;}

#content .page-text img {margin:0 0 20px 0;
}

#sidebar {width:300px;float:right;border:1px solid #ccc;background:#f6f6f6;margin-bottom:50px;}

#sidebar_home {width: 298px;float:right;border:1px solid #ccc;background:#f6f6f6;margin-bottom:50px;
	margin-top: -10px;
}

.section {padding:30px 20px 20px 20px;text-align:left;}
.section p, .section ul, .section ol {line-height:20px;margin:0 0 20px 0;}
.section ul, .section ol {margin-left:20px;}
.section ul ul, .section ol ul, .section ul ol, .section ol ol {
	margin:0 0 0 20px;
}
.section h2 {color: #182779;font-size:22px;font-family:arial;line-height:22px;letter-spacing:-1px;margin:0 0 15px 0;padding:0;}
.section h3 {color: #182779;font-family:arial;font-size:19px;margin:0 0 10px 0;}
.section h4 {color: #182779;font-family:arial;font-size:15px;margin:0 0 10px 0;}
.section h5 {color: #182779;font-family:arial;font-size:13px;margin:0 0 10px 0;}
.section h6 {color: #182779;font-family:arial;font-size:10px;margin:0 0 10px 0;}

.section blockquote {
	margin:0 0 20px 20px;
	line-height: 19px;
	font-size:12px;
	color:#666;
	font-style:italic;
	border-left:2px solid #ccc;
	padding:0 0 0 15px;
	}
.section code {border:1px solid #ececec;padding:2px;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;}
.section pre code {line-height:17px;padding:15px;border:1px solid #ececec;font-family: Consolas, Monaco, "Courier New", Courier, monospace;font-size: 12px;background:#f9f9f9;color:#000;margin-bottom:22px;display:block;}

.credits {font-size:11px;text-transform:uppercase;color:#666;padding-top:15px;margin-top:30px;border-top:1px dotted #ccc;}
.credits p {margin:0 0 0 0;line-height:16px;padding:5px 0 0 0;}
.credits a:link, .credits a:visited {color:#666;}
.credits a:hover {color:#333}

.contact {padding-top:25px;border-top:1px dotted #ccc;}
#sidebar .section form p {margin: 0 0 0 0;}
#sidebar .section label {font-size:11px;color:#666;display:block;}
#sidebar .section input.text, #sidebar .section textarea.text {
	font-size:13px;
	font-family:arial;
	border:1px solid #999;
	padding:4px;
	background:#fff;
	width:250px;
	margin:0 0 7px 0;
}

#sidebar .section input.text:focus, #sidebar .section textarea.text:focus {background:#ffffcc}
#sidebar .section textarea.text {height:100px}
#sidebar .section input.submit {padding:5px 10px;font-weight:bold;float:right;background:#111;border:1px solid #000;color:#eee;}
#sidebar .section input.submit:focus, #sidebar .section input.submit:hover {color: rgba(234,234,234,0.44);background: #182779;}

#sidebar div.section a img {
	border-bottom: 1px none #000;
	margin: 5px;
}

.anchor {
	height: 1px;
	clear: both;
}

div.infobox {
	padding: 10px;
	background-color: #f6f6f6;
	border: 1px solid #ccc;
}

/* @group Polaroids */
ul.polaroids {
	margin: 0 0 18px;
}
		ul.polaroids li { display: inline; }
		ul.polaroids a { background: #fff; display: inline; float: left; width: auto; padding: 10px 10px 15px; text-align: center; font-family: "Marker Felt", sans-serif; text-decoration: none; color: #333; font-size: 18px; -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25); -moz-box-shadow: 0 3px 6px rgba(0,0,0,.25); -webkit-transform: rotate(-2deg); -webkit-transition: -webkit-transform .15s linear; -moz-transform: rotate(-2deg);
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 50px;
}
		ul.polaroids img { display: block; margin-bottom: 12px;
	width: 550px;
}
		ul.polaroids a:after { content: attr(title); }
		
		ul.polaroids li:nth-child(even) a { -webkit-transform: rotate(2deg);  -moz-transform: rotate(2deg); }
		ul.polaroids li:nth-child(3n) a { -webkit-transform: none; position: relative; top: -5px;  -moz-transform: none; }
		ul.polaroids li:nth-child(5n) a { -webkit-transform: rotate(5deg); position: relative; right: 5px;  -moz-transform: rotate(5deg); }
		ul.polaroids li:nth-child(8n) a { position: relative; right: 5px; top: 8px; }
		ul.polaroids li:nth-child(11n) a { position: relative; left: -5px; top: 3px; }
		
		ul.polaroids li a:hover { -webkit-transform: scale(1.25); -moz-transform: scale(1.25); -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5); -moz-box-shadow: 0 3px 6px rgba(0,0,0,.5); position: relative; z-index: 5; }
		

/* @end */

img.yourbook {
	height: 300px;
	margin-left: 20px;
}

img.quotebegin {
	float: left;
	display: block;
	padding-right: 20px;
}

div.testimonial {
	border-bottom: 1px solid #d5d5d5;
	background: url(/images/quote.png) no-repeat 500px 99%;
	padding: 10px 15px;
}

img.floatright {
	float: left;
	height: 125px;
	padding-left: 15px;
}

div.letterleft {
	width: 300px;
	padding: 0;
	float: left;
	margin: 4px;
}

#page-content div.page-text hr {
	border-bottom: 1px solid #efefef;
	border-top: 1px solid #c9c9c9;
	margin-bottom: 30px;
}

.facebook {
	float: right;
}

div.testimonial:nth-child(even) {
	background-color: #ebebeb;
}