/*
Theme Name: Back Mountain Backs
Theme URI: http://www.backmountainbacks.com/
Description: A custom CMS WordPress theme for the official website of Chiropractic Rehab and Associates, <a href="http://www.backmountainbacks.com">backmountainbacks.com</a>/
Version: 1.0
Author: Derek Traver
Author URI: http://www.javaleaf.com/
Tags: custom header, fixed width, two columns, widgets
*/

*{ margin: 0; padding: 0; }

body{
	background: #23314b url(images/body_bg.jpg) top center no-repeat;
}

/* global structure
-------------------------------------------------------------- */

#header, #nav, #masthead, #main{
	border-style: solid;
	border-color: #fff;
	border-width: 0 5px;
	margin: 0 auto;
	width: 860px;
}

/* header styles
-------------------------------------------------------------- */

#header{
	background: url(images/header_bg.jpg) repeat-x;
	height: 100px;
}

	.logo{
		background: url(images/logo.gif) no-repeat;
		display: block;
		float: left;
		height: 89px;
		margin: 7px 0 0 20px;
		text-indent: -9999px;
		width: 400px;
	}
	
	.contact_phone{
		float: right;
		color: #fff;
		font: 16px/24px Arial, Helvetica, sans-serif;
		letter-spacing: -1px;
		margin: 10px 20px 0 0;
		text-align: right;
	}
	
		.contact_phone .numbers{
			background: url(images/numbers_bg.gif) right no-repeat;
			padding-right: 50px;
		}
		
		.contact_phone .call_today{
			font-size: 14px;
			line-height: 32px;
		}

/* navigation styles
-------------------------------------------------------------- */

#nav{
	background: url(images/nav_bg.jpg) repeat-x;
	height: 39px;
}

	#nav li{
		list-style: none;
		display: inline;
	}
	
		#nav li a{
			background: url(images/nav_a_bg.jpg) right no-repeat;
			color: #fff;
			display: block;
			float: left;
			font: 14px/38px Arial, Helvetica, sans-serif;
			margin-top: 1px;
			padding: 0 15px;
			letter-spacing: -1px;
			text-decoration: none;
		}
		
		#nav li a:hover{
			background: url(images/nav_a_hover_bg.jpg) right no-repeat;
		}
		
/* masthead styles
-------------------------------------------------------------- */

#masthead{
	background: url(images/masthead_bg.jpg) no-repeat; 
	height: 250px;
	overflow: hidden;
	position: relative;
}

#masthead.subpage{
	background: url(images/masthead_subpage.jpg);
	height: 175px;
}

	#masthead img{
		position: absolute;
		top: 0;
		left: 0;
		z-index: 8;
	}
	
		#masthead img.active{
			z-index: 10;
		}
		
		#masthead img.last-active{
			z-index: 9;
		}

#masthead.subpage h1{
	color: #fff;
	font: bold italic 42px/64px Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	padding: 85px 0 0 55px;
}

/* main styles
-------------------------------------------------------------- */

#main{
	background: url(images/main_bg.jpg) repeat-y;
	border-bottom: 5px solid #f1f0e6;
}

#bottom_wrap{
	background: url(images/bottom_wrap_bg.jpg) bottom no-repeat;
	width: 860px;
}


.leftcolumn{
	background: url(images/leftcolumn_bg.jpg) no-repeat;
	float:  left;
	padding: 20px;
	width: 540px;
}

.rightcolumn{
	float: right;
	margin-top: -58px;
	padding: 20px;
	position: relative;
	width: 240px;
	z-index: 50;
}

/* left column styles
-------------------------------------------------------------- */

.leftcolumn .box{
	background: #f1efe2;
	border: 1px solid #fff;
	margin: 0 0 20px 0;
}

	.leftcolumn .box .inner{
		border: 1px solid #dedccd;
		padding: 10px 10px 0 10px;
	}
	
.backtotop{
	background: url(images/backtotop.gif) right no-repeat;
	padding-right: 12px;
	text-align: right;
}

ul.arrowlist li{
	background: url(images/services_list_li.gif) left no-repeat;
	list-style: none;
	margin-left: -10px;
	padding-left: 15px;
}


/* index page
-------------------------------------------------------------- */

.conditions_box{
	background: #f1efe2 url(images/conditions_box_bg.jpg) bottom right no-repeat;
	border: 1px solid #fff;
	margin: 24px 0;
}

	.conditions_box .inner{
		border: 1px solid #dedccd;
		min-height: 275px;
		padding: 10px 100px 10px 10px;
	}

	.conditions_box ul{
		float: left;
		font-weight: bold;		
		list-style: none !important;
	}
	
		.conditions_box li ul{
			float: none;
			font-weight: normal;
			margin-bottom: 0 !important;
		}
		
/* services page
-------------------------------------------------------------- */

.leftcolumn .service{
	clear: both;
	margin: 10px 0;
}

	.leftcolumn .service td{
		vertical-align: top;
	}
	
	.leftcolumn .service img{
		border: 1px solid #666;
		margin: 0 20px 0 0;
	}

/* news styles
-------------------------------------------------------------- */

.excerpt h2.title{
	margin-bottom: 0 !important;
}

	.excerpt h2.title a{
		color: #385074 !important;
		text-decoration: none !important;
	}
	
	.excerpt h2.title a:hover{
		color: #6a85af !important;
	}
	
.excerpt p.meta{
	font-size: 10px;
}

.excerpt hr{
	margin: 10px 0 !important;
}
			
/* right column styles
-------------------------------------------------------------- */

.rightcolumn .box{
	margin-bottom: 20px;
}

.rightcolumn .box h2{
	background: url(images/rightcolumn_h2.jpg) repeat-x;
	color: #fff;
	font: 18px/38px Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
	height: 38px;
	margin-bottom: 10px;
	margin-left: -19px;
	margin-right: -20px;
}

.rightcolumn .box h2 img{
	float: left;
	margin: 0 5px;
}

/* form fields */
.rightcolumn .box .txtfield, .rightcolumn .box textarea{
	background: #fff;
	border: 1px solid #d0cdb9;
	color: #777;
	font: 12px/20px Arial, Helvetica, sans-serif;
	margin-bottom: 6px;
	padding: 2px;
	width: 97.5%;
}

.rightcolumn .box textarea{
	height: 46px;
}

.rightcolumn .box .submit{
	background: url(images/submit_bg.jpg) repeat-x;
	border: 0;
	color: #fff;
	display: block;
	font: 12px/20px Arial, Helvetica, sans-serif;
	height: 20px;
	padding-bottom: 3px;
	margin-bottom: 10px;
	width: 54px;
}

.error-msg{
	display: block;
	background: #ff6e6e url(images/captchError_bg.gif) 7px 50% no-repeat;
	border: 1px solid #d20000;
	color: #d20000;
	font-weight: bold;
	padding: 5px;
	margin-bottom: 10px;
}

.thanks-msg{
	display: block;
	background: #acff8c;
	border: 1px solid #278a00;
	color: #278a00;
	font-weight: bold;
	padding: 5px;
	margin-bottom: 10px;
}

.error{
	color: #CC0000 !important;
}

/* testimonials box */

.testimonials p{
	font-style: italic;
}

.testimonials cite{
	display: block;
	font-style: normal;
	margin-bottom: 10px;
	text-align: right;
}

/* latest news box */

.rightcolumn .latestnews p{
	margin: 0 !important;
}

.rightcolumn .latestnews .meta{
	display: block;
	font-size: 11px;
	margin-bottom: 10px;
	text-align: right;
}

/* toolbox 
-------------------------------------------------------------- */

#footer{
	color: #fff;
	font: bold 12px/18px Arial, Helvetica, sans-serif;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	width: 820px;
}

#footer ul{
	margin: 0 0 18px 0;
	list-style: none;
}

#footer li{
	display: inline;
	border-right: 1px solid #777;
	margin-right: 10px;
	padding-right: 10px;
}

#footer li.last{
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

#footer a, #footer a:visited{
	color: #fff;
	text-decoration: underline;
}
#footer a:hover{
	color: #fff;
	text-decoration: none;
}

/* toolbox 
-------------------------------------------------------------- */

a img{
	border: 0;
}

img.alignright, img.alignleft{
	clear: both;
}

img.alignright{
	margin: 0 0 12px 12px;
	
}

img.alignleft{
	margin: 0 12px 12px 0;
}

.alignright{
	float: right;
}

.alignleft{
	float: left;
}


/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

/* typography 
-------------------------------------------------------------- */

#main{
	color: #666;
	font: 12px/21px Arial, Helvetica, sans-serif;
}

/* headings */
.leftcolumn h1, .leftcolumn h2, .leftcolumn h3{
	color: #385074;
	margin: 0 0 8px 0;
}

.leftcolumn h1{
	font: bold 20px/32px Arial, Helvetica, sans-serif;
	letter-spacing: -1px;
}

.leftcolumn h2{
	font: bold 14px/18px Arial, Helvetica, sans-serif;
}

.leftcolumn h3{
	font: bold 12px/18px Arial, Helvetica, sans-serif;
	margin-bottom: 3px;
}

.leftcolumn strong{
	color: #555;
}

/* text elements */
#main p{
	margin: 0 0 10px 0;
}

#main ul{
	margin: 0 10px 10px 20px;
	list-style: square;
}

#main blockquote{
	background: #e6e3d0;
	border: 1px solid #cecbb7;
	font-style: italic;
	margin: 10px;
	padding: 10px;
}

#main hr{
	color: #dedccd;
	background: #dedccd;
	border: 1px solid #fff;
	border-width: 0 0 1px 0;
	margin: 20px 0;
}

#main #leftcolumn strong{ color: #333; }

/* links */
#main a, #main a:visited{
	color: #fc7f04;
}
#main a:hover{
	color: #ffae00;
}