/*
Theme Name: Modern Family Dentistry
Theme URI: http://www.razorwordpressthemes.com/
Author: Razor WordPress Themes
Author URI: http://www.razorwordpressthemes.com/

	This theme was designed and built by Razor WordPress Themes,
	whose blog you will find at http://www.razorwordpressthemes.com/

*/

* {
	margin:0;
	padding:0;
	}
	
body{
	background:url(images/bg.gif) 0 0 repeat-x #F0EBDD;
	font:13px/20px Arial, Helvetica, sans-serif;
	color:#6A4834;
	}

ul, li, ol{
	list-style-type:none;
	}

a{
	outline:none;
	text-decoration:underline;
	color:#7C553A;
	background-color:inherit;
	}

a:hover{
	text-decoration:none;
	color:#40675A;
	background-color:inherit;
	}

.clear{
	font-size:0;
	line-height:0;
	clear:both;
	}

p{
	padding-bottom:13px;
	}

img {
	display:block;
	border:0;
}

h2, h4, h5, legend{
	font:34px/41px "Times New Roman", Times, serif;
	color:#6A4834;
	background-color:inherit;
}

h3 {
	font:32px/37px "Times New Roman", Times, serif;
	color:#956E4F;
	background-color:inherit;
	padding-bottom: 10px; padding-top: 5px;
}

h4, legend{
	font-size:26px;
	line-height:31px;
}

h5{
	font-size:22px;
	line-height:25px;
}
h5 span{
	text-transform:uppercase;
}

/* Container Panel	*/

#container {
	position:relative;
	width:1002px;
	margin:0 auto;
	overflow:hidden;
	height:100%;
	}


	
/* Header */
#header{
	width:1004px;
	margin:0 auto;
	position:relative;
	overflow:hidden;
	}

#header #logo{
	float:left;
	margin-left:30px;
	}
	
/* top nav */
#header ul#nav{
		float:right;
		padding:37px 0 0 0;
		width:603px;
	}
		   ul#nav li {
                   	float:left;
					width:auto;
					text-align:center;
					margin-left:20px;
					color:#956E4F;
					font:bold 13px/15px "Trebuchet MS", Arial, Helvetica, sans-serif;
                }
                    
                    ul#nav li a {
						cursor:pointer;
						color:#956E4F;
						background-color:inherit;
						text-decoration:none;
						padding:0 2px 3px 2px;
						display:block;
                    }   
                        ul#nav li a:hover, ul#nav li a.active, ul#nav li.current_page_item a{
                            border-bottom: 6px solid #819A85;
                        }                     
/* top nav */

/* sub nav */
	
#header ul#subnav{
		margin:0 auto;
		padding:18px 37px 0 5px;
		clear:both;
		}
		
		ul#subnav{
			width:auto;
			font-size:12px;
		}
		
		ul#subnav li{
			float:left;
			display:block;
			font:bold 11px/42px Arial, Helvetica, sans-serif;
			color:#5D4600;
			background-color:inherit;
			margin-right:2px;
		}
		ul#subnav li a{
			color:#5D4600;
			background:url(images/nav-crv-lft.gif) 0 0 no-repeat;
			background-color:inherit;
			float:left;
			width:auto;
			display:block;
			text-decoration:none;
			cursor:pointer;
			padding-left:10px;
		}
		ul#subnav li a span{
			display:block;
			padding-right:10px;
			background:url(images/nav-crv-rht.gif) 100% 0 no-repeat;
			background-color:inherit;
			font-weight:bold;
		}
		ul#subnav li a:hover, ul#subnav li a.active, ul#subnav li a:hover span, ul#subnav li a.active span, ul#subnav 	li.current_page_item a{
			background:url(images/nav-crv-lft.gif) 0 -42px no-repeat;
			background-color:inherit;
			color:#DCD0AC;
			float:left;
			text-decoration:none;
			cursor:pointer;
			}
		ul#subnav li a:hover span, ul#subnav li a.active span, ul#subnav li.current_page_item a span{ 
			background:url(images/nav-crv-rht.gif) 100% -42px no-repeat;
			background-color:inherit;
			padding-right:10px;
		}
		
/* sub nav */		

/* banner */
#header #banner{
	background:url(images/banner.jpg) no-repeat 0 0;
	height:305px;
}

#banner .headerimg{
	float:left;
	width:407px;
	height:305px;
}
#header h3.title {
	padding-top:55px;
	height:37px;
	color:#DDD1AD;
}

.tagline{
	font:bold 14px/19px Arial, Helvetica, sans-serif;
	color:#7A4E2C;
	background-color:inherit;
	padding:20px 0 0 0;
	width:286px;
	float:left;
}

.btnContact{
	float:right;
	margin:43px 115px 0 0;
}
/* banner */

/* header */

/* body panel */

#bdyPan{
	border: 0px solid #000;
	width:968px;
	margin:0 auto;
	position:relative;
	overflow:hidden;
	padding:12px 18px 27px;
}

.imgBorder {
	border: 1px solid #956E4F;
}

#bdyPan .lftPanl{
	float:left;
	width:648px;
}
	.lftPanl li{
			background:url(images/arrow.gif) no-repeat 10px 10px;
			padding:2px 0 8px 25px;
		}
	
	.lftPanl ul.services{
		padding-top:29px;
	}
	ul.services li{
		float:left;
		width:auto;
		padding:0 15px 0 0 !important;
		background-image:none !important;
	}
	ul.services li.last{
		padding:0 !important;
	}
	ul.services li img{
		margin:13px 0 16px 0;
	}
	a.click{
		background:url(images/btn-bg.gif) no-repeat 0 0;
		text-align:center;
		font:bold 11px/23px Arial, Helvetica, sans-serif;
		color:#F0EBDD;
		background-color:inherit;
		padding:0 0 0 10px;
		display:block;
		text-decoration:none;
		text-transform:uppercase;
	}
	a.click span{
		background:url(images/btn-bg.gif) no-repeat 100% -24px;
		padding:0 10px 0 0;
		display:block;
	}
	a.click:hover{
		color:#E2F0DD;
		background-color:inherit;
	}
	
#bdyPan .rhtPanl, .rhtPanl li{
	float:right;
	width:283px;
}
	.rhtPanl li{
		padding-bottom:8px;
		float:left;
		width:283px;
	}
		.rhtPanl li .widget_video{
			background:url(images/green-bx.gif) repeat-y 0 0;
			float:left;
			width:283px;
			height:202px;
			padding:15px 0;
			text-align:center;
		}
		
		.offer{
			background:url(images/special-offer.jpg) no-repeat 0 0;
		}
		a.offerClick{
			padding:122px 0 50px 20px;
			display:block;
		}
		
		.contact{
			background:url(images/contact-bg.gif) no-repeat 0 0;
			color:#6A4834;
			background-color:inherit;
			text-align:center;
			padding:10px 0;
			height:147px;
		}
		.contact h2{
			font:bold 37px/31px Arial, Helvetica, sans-serif;
		}
		.contact p{
			font-size:19px;
			line-height:25px;
			text-align:left;
			padding:8px 0 0 27px;
		}
		
/* Sidebar */

.brownBx, .rhtBlock{
	background:url(images/brown-crv-tp.gif) no-repeat 0 0;
	width:283px;
	margin-bottom:8px;
	clear:both;
}
.brownBxBtm{
	background:#D6C89F url(images/brown-crv-btm.gif) no-repeat 0 100%;
	clear:both;
	color:inherit;
}
.brownBxinner{
	padding:10px 15px;
	float:left;
	width:253px;
	margin-top:14px;
	background:#D6C89F;
	color:inherit;
}
 .rhtBlock ul, .brownBxinner ul{
 	margin-top:3px;
 	padding:10px 0 15px 0;
	background:url(images/border.gif) repeat-x 0 0;
 }
 .rhtBlock li, .brownBxinner li{
	background:url(images/arrow.gif) no-repeat 0 10px;
	padding:2px 0 8px 15px;
	width:232px;
	float:left;
	font-weight:bold;
}
/* Sidebar */
		
/* body panel */

/* footer */

#footer{
	background:#825B3E url(images/footer-bg.gif) repeat-x 0 0;
	color:#F0EBDD;
}

#footer .footerinner{
	position:relative;
	width:947px;
	margin:0 auto;
	overflow:hidden;
	height:100%;
	padding:14px 18px 14px 37px;
}
	.footerinner #footerLogo{ float:left; }
	.footerinner .dvRht{
		float:right;
		width:auto;
		text-align:right;
	}
		.dvRht ul{
			padding:5px 0;
		}
		.dvRht ul li{
			padding-right:9px;
			font-size:12px;
			line-height:15px;
			font-weight:normal;
			display:inline;
		}
		.dvRht ul li a, .dvRht p a{
			color:#F0EBDD;
			background-color:inherit;
			text-decoration:none;
			font-weight:normal;
		}
		.dvRht ul li a:hover, .dvRht p a:hover{
			text-decoration:underline;
		}
		.dvRht p{
			font-size:11px;
			padding-bottom:3px !important;
		}

/* footer */


/* Blog */

.navigation{ clear:both; width:98%;}
.navigation .alignleft, .navigation .alignright{ width:auto; float:left; font-weight:bold; font-size:11px;}
.navigation .alignright{float:right}

/* blog */

.post{
	float:left;
	width:96%;
	padding:10px 10px 10px 0;
	clear:both;
}

.post small{
	font-size:12px;
	font-weight:bold;
	padding-bottom:5px;
	clear:both;
}

.postmetadata{
	float:left;
	width:auto
}
.postmetadata a{
	padding:0 5px;
}
.blogPost a{
	font-weight:bold;
}

.blogPost small{
	font:bold 13px/18px Arial, Helvetica, sans-serif;
	color:#578073;
}

.blogPost p{
	padding-top:5px;
	font-size:12px;
}

/* blog */

/* Comments Form */
#commentform h2{
	margin-bottom:10px;
}

#commentform p{
	clear:both;
}
#commentform label{
	width:177px;
	float:left;
	font-size:12px;
	display: block; 
	height:24px;
	clear:both;
	font-weight:bold;
	padding-right:8px;
	text-align:right;
}

#commentform label span{
	color:#ff0000;
}


#author, #email, #url{
	width:282px;
	float:left;
}

#submit, #searchsubmit{
	background:#000;
	border:1px solid #000;
	color:#fff;
	font-size:11px;
	float:left;
	padding:1px 3px;
	cursor:pointer;
	height:25px;
}

legend{
	margin:0 5px;
	padding:0 8px;
}

fieldset{
	border:1px solid #CECECE;
	padding:10px 15px;
	margin-top:5px;
}
/* Comments Form */

/* Comments */
ol.commentlist{ 
	margin:6px 0 10px 0; 
	float:left; 
	width:645px;
	background:#D2C398 !important;
}
.commentlist li{
	list-style:none !important;
	font-style:normal;
	float:left; width:620px;
	font-size:12px;
	color:#000;
	background:url(images/border.gif) repeat-x 0 100%;
}

.commentlist li img{ border:1px solid #fff; float:left; margin:6px 4% 1% 0; background:#fff; padding:1px;}
.commentlist li a{ padding-bottom:10px !important; color:#fff; font-weight:bold;}
.cancel-comment-reply small{ font-size:11px}

h2#comments{ clear:both; padding:10px 0;}
/* Comments */

span.cal{
	background:url(images/cal.gif) no-repeat 0 50%;
	padding-left:15px;
	font-weight:bold;
	font-size:11px;
	color:#6E978B;
	background-color:inherit;
}

/* Blog */


/* weather */

#sfstest-sidebar .text{ font-style:normal !important;}
#sfstest-sidebar .client, #sfstest-page .client { text-align:right !important; padding-top:20px !important; color:#578073 !important;}
div.wpcf7-mail-sent-ok{ clear:both;}

/* weather */

/* Calendar */
#ajax-calendar-1 { clear:both;}
#ajax-calendar-1 h4{
	display:none !important;
}
#wp-calendar{
	margin-bottom:10px !important;
}
#wp-calendar caption {
		font: 26px/31px "Times New Roman",Times,serif !important;
		color:#6A4834 !important;
		background-color:inherit !important;
		background:url(images/border.gif) repeat-x scroll 0 100% !important;
		text-align:left !important;
		padding-bottom:5px !important;
}
#calendar_wrap{ margin-bottom:9px;}
#wp-calendar tr{
	background:#DED7C1 !important;
	color:#444 !important;
	padding:6px 12px 10px 14px !important;
	}
	
#wp-calendar td, #wp-calendar th{
	font-size:12px !important;
	line-height:24px !important;
	width:40px !important;
	text-align:center !important;
	}
	
#wp-calendar tbody td a{
	background-color:#CECECE !important;
	text-decoration:none !important;
	padding:0 5px !important;
	font-weight:bold !important;
	display:block;
}	

#wp-calendar tbody td a:hover{
	background-color:#F9F9F9 !important;
	text-decoration:none !important;
}

td#prev a , td#next a { text-align:left !important; padding-left:5px; font-weight:bold; text-decoration:none; color:#000 !important; }
td#next { text-align:right !important; padding-right:5px}
/* Calendar */

/* Search */
#searchform {
	clear:both;
	margin-bottom:10px;
	width:235px;
}

#search label{
	font:26px/31px "Times New Roman", Times, serif;
	color:#6A4834;
	background-color:inherit;
/*	background:url(images/border.gif) repeat-x scroll 0 100%;
width:250px;*/	
}

#s{
	float:left;
	width:auto;
	height:21px;
	margin:0 3px 10px 0;
	width:180px
}

#searchsubmit{
	float:left;
	margin:0 0 10px 0;
}
/* Search */



/* Video */

.videoBG {
	width: 580px;
	background: url(images/green-bx-large.gif) no-repeat;
	text-align: center;
	padding:10px 0;
}

.videoBG img {
	margin: 0 auto;
}


.videoBGMid {
	width: 500px;
	background: url(images/green-bx-mid.gif) no-repeat;
	text-align: center;
	padding:10px 0;
}

.videoBGMid img {
	margin: 0 auto;
}

/* Contact Form */
.wpcf7 form {
			margin:0;
			text-align:left;
			width:450px;
		}
		.wpcf7 form label{
			float:left;
			width:140px;
			padding-right:10px;
		}
			.wpcf7 form label span{ color:red;}
		.wpcf7 form input, .wpcf7 form textarea{
			width:225px;
			font-size:12px;
			color:#1D1C1B;
			background-color:#fff;
			margin-bottom:10px;
		}
		
		.wpcf7 form #submitcontact{
			background:#744523;
			color:#f0ebdd;
			border:1px solid #40210f;
			text-align:center;
			width:50px;
			height:27px;
			font-weight:bold;
			margin:0 0 0 149px !important;
		}
/* Contact Form */

/* After Before */

.dvRwafter{
	float:left;
	position:relative;
	width:648px;
	padding-bottom:20px;
	clear:both;
}
	.aftertype1, .aftertype1 .tpcrv, .aftertype1 .btmcrv, .aftertype1 .cont,
	.beforetype1 .tpcrv, .beforetype1 .btmcrv, .beforetype1 .cont{
		width:284px;
		float:left;
		position:relative;
	}
		.aftertype1 .cont, .beforetype1 .cont{ 
			padding:0 6px; 
			background:#946d4e; 
			color:#ffeebc; 
			width:271px;
		}	
		
		.aftertype1 .cont2, .beforetype1 .cont2{ 
			padding:0 6px; 
			background:#946d4e; 
			color:#ffeebc; 
			width:315px;
		}
		.cont .txt, .cont2 .txt{
			padding-top:6px;
		}
		
		.aftertype1 .aftertag,
		.aftertype1 .aftertag2{
			position:absolute;
			top:9px;
			left:6px;
		}

	.beforetype1{
		width:284px;
		float:right;
		position:relative;
	}
	.beforetype1 .beforetag, .beforetype1 .beforetag2{
			position:absolute;
			top:9px;
			left:6px;
		}
.aftertype1 .aftertag2, .beforetype1 .beforetag2{ top:19px;}
.aftertype1 .conttype2, .beforetype1 .conttype2 {
	background:url(images/new/yellow-bg.gif) repeat-y 0 0;
	padding:0 6px 10px 6px; 
	color:#ffeebc; 
	width:271px;
	border-bottom:1px solid #bcb7aa;
	clear:both;
}

.aftertype1 .txt2, .beforetype1 .txt2{
	background:url(images/new/brwn-bg.gif) repeat-y 0 0;
	padding:6px 6px 0 6px;  
	color:#ffeebc; 
	width:271px;

}
				
/* After Before */

/* sidebar media */

.media{
	background:#dfd9c7;
	color:inherit;
	padding-bottom:1px;
}

.media img{ margin:0 auto;}

.media a img{ margin-bottom:12px;}

.mediabtmcrv{
	background:#dfd9c7 url(images/btm-crv-social.gif) no-repeat 0 100%;
	height:13px;
	}

.media h3{
	background:url(images/tp-crv-social.gif) no-repeat 0 0;
	font:normal 26px "Times New Roman", Times, serif;
	padding-left:22px;
	color:#f0ebdd;
	text-align:left;
	margin-bottom:6px;
}
/* sidebar media */



/* sidebar new patient forms */

.newPatientForms{
	background:transparent;
	color:inherit;
	padding-bottom:1px;
}

.newPatientForms img{ margin:0 auto;}

.newPatientForms a img{ margin-bottom:1px;}

/* new patient forms */
