/*
Theme Name: RAB Associates
Theme URI: http://wordpress.org/
Description: This is the custom theme developed by <a href="http://www.blubolt.com" target="_blank">blubolt</a> for RAB Associates
Version: 1.6
Author: Blubolt
Author URI: http://www.blubolt.com/

*/

/* ------------RESET CSS------------- */
* {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	background: transparent;
}
html {
	overflow-y: scroll;
}

body {
	font-family: Georgia, "Times New Roman", Times, serif;
	background: #FFF;
	color: #666;
	padding-bottom: 40px;
}

/*-------------------------------------------- Global styles */

h1, h2, h3, h2 a, h3 a {
	font-family: Arial, Helvetica, sans-serif;
}
.sub-page h2, #sidebar h3 {
	margin-bottom: 0.25em;
}

.sub-page h3 {
	font: bold 1em Arial, Helvetica, sans-serif;
	margin: 1.25em 0 0.25em;
	padding-bottom: 5px;
	color: #fff;
	border-bottom: 2px solid #fff;
}
.sub-page h4 {
	font: bold 1em Arial, Helvetica, sans-serif;
	margin-bottom: 0.25em;
	background-color: #555;
	padding: 4px;
}

.sub-page h5 {
	font: bold 1em Arial, Helvetica, sans-serif;
}
h2.sifr {
	font-size: 26px;
}
h3.sifr {
	font-size: 1em;
	border: 0;
	margin: 0;
	padding: 0;
}



/* Links */
a {
	color: #008bb9;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* Elements */
img {
	font-size: 8px;
	/* intentionally fixed size */
}
small {
	font-size: 0.9em;
}

/* Standard text content styles */
div.text-content ul {
	margin: 0 0 1em 1.5em;
	list-style: circle;
}
div.text-content li {
	margin: 0 0 0.5em;
}
div.text-content {
	font-size: 0.75em;
	line-height: 1.6em;
}
div.text-content p {
	margin: 0 0 0.75em 0;
}

/* Other */
.fl {
	float: left;
}
.fr {
	float: right;
}
.clear {
	display: block;
	clear: both;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	margin-bottom: -1px;
}

/* Inputs */
select {
	background: #fff;
	color: #515151;
	border: 1px solid #ddd;
	padding: 1px;
}
input.textinput, input.fmtext, input.fmverify, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.857em;
	background: #fff;
	color: #666;
	padding: 6px;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
}
button.submit {
	background: #008bb9;
	border-top: 1px solid #18acdd;
	border-left: 1px solid #18acdd;
	border-bottom: 1px solid #005f7f;
	border-right: 1px solid #005f7f;
	padding: 0;
	margin: 0;
	cursor: pointer;
}
button.submit span {
	display: block;
	color: #FFF;
	font: bold 0.857em Arial, Helvetica, sans-serif;
	padding: 5px 10px;
}
button.submit:hover {
	background: #0396c7;
}

/*-------------------------------------------- Messages */
div.message {
	font-size: 0.875em;
	font-weight: bold;
	color: #000;
	padding: 10px 13px;
	margin: 0 0 10px 0;
}
.text-content div.message {
	font-size: 1.166em;
}
div.message-info {
	background: #b6f0a2;
	color: #333;
}
div.message-warn {
	background: #f1f1f1;
	color: #333;
}
div.message-error {
	background: #d32620;
	color: #FFF;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	margin: 10px 0 10px 25px;
	}

.alignleft {
	float: left;
	margin: 10px 25px 10px 0;
	}
	
a:hover img {
	opacity: 0.8;
    -moz-opacity: 0.8;
	filter: alpha(opacity=80);
}
	
/* End Images */
/*-------------------------------------------- Index intro panels */
#panels {
	width: 510px;
	overflow-y: hidden;
	overflow-x: hidden;
}
#panels-inner {
	width: 5000px;
}
#panels div.panel {
	float: left;
	width: 530px;
	height:423px;
}
#panels div.panel div.wrapper {
	padding: 10px;
}
#panels div.panel h2 {
	margin: 0 0 10px 0;
	color: #4d4d4d;
}
#panels h4 {
	margin-top:10px
}
#panels h2.sifr {
	font-size:30px;
}
#panels div.panel div.wrapper .navigation {
	padding:0px 10px;
}
.panel-left {
	width: 324px;
	float: left;
}
.panel-right {
	width: 536px;
	float: right;
}
.sub-page, .panel-right {
	background: #666;
	color: #FFF;
}
.sub-page a {
	background: none;
	color: #ffea00;
	text-decoration: none;
}
.sub-page a:hover {
	background: #ffea00;
	color: #666;
}
.single .breadcrumbs {
	margin-bottom: 12px;
}


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin: 10px auto;
}

.wp-caption {
	text-align: center;
	background-color: #333;
	padding: 10px 6px 10px 6px;
}

.wp-caption a, .gallery a {
	color: #666;
	background: none;
}

.wp-caption a:hover, .gallery a:hover {
	background: none;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	line-height: 1.25em;
	margin: 8px 4px 0 4px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.857em;
}

.gallery {
	margin: 15px 0;
}

.gallery-caption {
	font-size: 0.857em;
	font-family: Arial, Helvetica, sans-serif;
}

.gallery-caption p {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	padding: 5px;
}

.gallery-main {
	text-align: center;
}

.gallery td.nav {
	width: 25%;
}

.gallery td {
	text-align: center;
}

/* End captions */


/* ------------------------------------- Site Layout */

.wrap-content {
	width: 860px;
	margin: 0px auto;
}
#header #phone {
	float:right;
}

#header {
	border-top: 5px solid #666666;
}

/* Site Navigation */
ul {list-style: none;}

#header #nav {
	margin: -5px 0 15px;
	float: left;
}

#nav li {
	float: left;
	border-top: 5px solid #666;
	margin-right: 19px;
}

#nav li:hover, #nav li.on {
	border-color: #ffea00;
}

#nav li a {
	display: block;
	padding-top: 15px;
	font: bold 0.75em Arial, Helvetica, sans-serif;
	color: #666;
}

#nav li a:hover {
	text-decoration: none;
}

#nav li li a {
	margin: 0;
	border: 0;
	padding: 5px;
}

#nav li li a:hover {
	background: #ffea00;
}

#nav li li, #nav li li:hover {
	border: 0;
	margin: 0;
}

#nav li ul {
	position: absolute;
	height: auto;
	margin: 0 0 0 -10px;
	display:none;
	left: auto;
	width: 250px;
	background: #FFF;
	padding: 15px 5px 5px;
}

#nav li ul li {
	float: none;
	clear:both;
	width:auto;
	display:block;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */


#nav ul li:hover ul.nj{
	display:block;
}

/* ------------------------- homepage */

h1#logo {
	display: block;
	background: #fff57c url(images/site/logo_background.jpg) no-repeat right top;
}

h1#logo a {
	background: url(images/site/logo.png) no-repeat 0 0;
	display: block;
	height: 121px;
	width: 324px;
}

h1#logo a span {
	position: absolute;
	top: -999px;
}

/* Footer styles */
#footer {
	margin-top: 10px;
}
#footer p.copyright {
	text-align: right;
	font-size: 0.75em;
	text-transform: uppercase;
}

/* Breadcrumbs */
.breadcrumbs {
	margin-bottom: 0.5em;
	font-size: 0.75em;
}
.breadcrumbs, .breadcrumbs a {
	font-family: Arial, Helvetica, sans-serif;
}

/* ------------------------------------- INDEX */

#home-intro {
	line-height: 1.4375em;
	margin: 37px 25px 0 0;
}

#home-intro p {
	margin-bottom: 0.75em;
}

#home-intro p.one:first-line {
	text-transform: uppercase;
	font-size: 0.75em;
}

#home-intro p.one span.first-letter {
	font-weight: normal;
	color: #008bb9;
	font-size: 5em;
	line-height: 0.75em;
	display: block;
	float: left;
	margin: 0 15px 0 0;
}

#speed-panel {
	height: 124px;
	background: url(images/index/graphic_speed.png) no-repeat 0 0;
}

/* Diagram Slider */

.subtract-logo {
	margin-top: -121px;
}

.slide {
	padding: 24px 30px 10px 30px;
	height:328px;
}

.slide img {
	margin: 15px auto 20px;
	display:block;
}

.slide  span {
	font-style: italic;
}
.slide a {
	color:#ffea00;
}

.slide .blurb p {
	font-size: 0.875em;
	line-height: 1.4285em;
	margin-bottom: 0.75em;
}

/* Recent Contracts */

#recent-contracts {
	background: #333;
	height: 124px;
	overflow: hidden;
}

#recent-contracts div.content {
	padding: 20px 30px;
}

#recent-contracts ul {
	list-style: none;
	width: 600px;
	margin: 5px 0 0;
}

#recent-contracts li {
	float: left;
	margin-right: 31px;
}

/* ---------------------------------- Static pages */

.sub-page {
	padding: 30px;
}

.sub-page div.text-content {
	font-size: 100%;
	font-size: 0.875em;
	line-height: 1.5em;
}

.sub-page div.text-content li ul {
	margin: 0.25em 0 0.25em 1.5em;
}
.sub-page div.text-content li li {
	margin-bottom: 0;
}

.sub-page div.text-content li strong,
.sub-page div.text-content li strong a {
	font-family: Arial, Helvetica, sans-serif;
}

li#contact-info {
	padding: 30px;
	margin-bottom: -1em;
}

li#contact-info p {
	font-size: 0.875em;
	margin-bottom: 1em;
}
li#contact-info p strong {
	font-family: Arial, Helvetica, sans-serif;
}

#map_canvas p, #map_canvas span {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75em;
}
#map_canvas p {
	margin-bottom: 0.5em;
}

/* ---------------------------------- News */

#news .post {
	padding-bottom: 10px;
	border-bottom: 2px solid #FFF;
	margin-bottom: 20px;
}

.post table {
	border: 1px solid #999;
	border-collapse: collapse;
	margin-bottom: 15px;
}

.post table thead td {
	background: #333;
	color: #fff;
	font-weight: bold;
}

.post table td {
	font: 0.857em/1.25em Arial, Helvetica, sans-serif;
	padding: 15px;
	border-bottom: 1px solid #999;
}

.post table td strong, .post table td p {
	font-family: Arial, Helvetica, sans-serif;
}

.post table td ul {
	margin-bottom: 0;
}

.post table td li {
	font-size: 100%;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.25em;
}

.better {
	background-color: #009966;
}
.worse {
	background-color: #CC0033;
}

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

#rss {
	background: url(images/news/bg_rss.gif) no-repeat right 18px;
}
#rss .content {
	padding:20px 20px 20px 0;
	height:140px;
}

#rss p {
	margin-top: 10px;
	line-height: 1.4375em;
}

#rss p:first-line {
	text-transform: uppercase;
	font-size: 0.875em;
}

#sidebar li.categories {
	margin: 20px 0;
}

#sidebar li h2 {
	margin-bottom: 5px;
}

div.divider {
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	background: #CCC;
	margin: 20px 0;
}

#sidebar li li {
	padding-right: 20px;
	margin-bottom: 0.25em;
}

#sidebar a.contact-link {
	display: block;
	background: #ffea01;
	color: #666;
	font: bold 0.75em Arial, Helvetica, sans-serif;
	padding: 8px 12px;
}
