/* 



 Theme Name: Drug Rehab Theme



 Theme URL: http://www.digitizedmarketing.com/



 Author: Digitized Marketing



 Author URL: http://www.digitizedmarketing.com/



 Description: Drug rehab, Alcohol Rehab and Detox theme for wordpress from DM



 Version: 1.0



 License: GNU General Public License



 License URI: license.txt



 Tags:



*/















html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,



dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,



a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,



strong, sub, sup, tt, var, legend, fieldset {



	margin: 0;



	padding: 0;



}







img, fieldset {



	border: 0;



}







/* set image max width to 100% */



img {



	max-width: 100%;



	height: auto;



	width: auto\9; /* ie8 */



}







/* set html5 elements to block */



article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display: block}







body{background: url(images/body-bg.png) repeat-x #FFF; background-position:top !important; font-family:Arial, Helvetica, sans-serif}



.page-width{width:969px;margin:0 auto}



header {width:980px;margin:0 auto; position:relative; height:483px}



#mid-content{width:976px;margin:50px auto 0;position:relative;display:block}



header h1 {height:108px}
header a img {margin-top:35px}



a{text-decoration:none;color:#04b2d1}



div.top-phone img {position:absolute; right:2px;top:10px}



.lbgph{width:6px;height:61px; display:inline-block;float:left; background:url(images/header-number-bg.png) no-repeat left top}



.rbgph{width:6px;height:61px; display:inline-block;float:right; background:url(images/header-number-bg.png) right bottom no-repeat}



.mbgph{width:317px;height:55px; display:inline-block;background:url(images/header-number-bg.png) 0 -61px repeat-x;color:#03b2d1;font-size:18px;font-weight:bold;padding-top:6px}



.cnow{font-size:18px;font-weight:normal;color:#afafaf}



div.mbgph p.pbg{ background:url(images/icon-phone1.png) no-repeat 0 5px;padding-left: 30px}



.pnum{font-size:24px;font-weight:bold;color:#616161}







#lnav-bg{background:url(images/nav-bg.png) left top no-repeat;width:8px;height:44px;display:block;float:left}



#rnav-bg{background:url(images/nav-bg.png) 100% -88px no-repeat;width:8px;height:44px;display:block;float:right}







ul{list-style:none}



nav{margin:30px Auto 0;width:981px}



nav ul li{float:left;height:44px;background:url(images/nav-bg.png) 0 -44px repeat-x}



nav ul li a{color:#FFF;padding: 14px 30px;line-height: 44px;font-size: 14px; background: url(images/separator.png) no-repeat 0 50%;height:44px; width:100%}



nav ul li:first-child a{color:#FFF;padding: 14px 31px;line-height: 44px;font-size: 14px; height:44px; width:100%;background:none}



nav ul li:hover{background:url(images/nav-bg.png) repeat-x scroll 0 -176px transparent}



nav ul li:hover.firstnav span#lnav-bg{background-position: 0 -132px}



nav ul li:hover.lastnav span#rnav-bg{background-position: left bottom}











aside.left {float:left}



aside.left div.top {background:url(images/sidebar-left-bg.png) no-repeat top left; width:228px; height:10px}



aside.left div.mid {background:url(images/sidebar-left-bg.png) repeat-y -228px 0px; width:200px; padding:3px 15px}



aside.left div.bot {background:url(images/sidebar-left-bg.png) no-repeat top right; width:228px; height:10px}



aside.left h2 {font-size:18px; color:#03b2d1; text-align:center; font-weight:bold; background:url(images/sidbar-hrl.png) 0px 32px no-repeat; height:32px; padding-bottom:7px; padding-top:2px; margin-bottom:10px}



span.receptionist {width:187px;margin: 0 auto 5px;display:block}



aside.left section {margin-bottom:10px;width:228px}



p.call2{margin-left:10px;color:#afb9bb;font-size:20px;font-weight:bold;background:url(images/icon-phone-small.png) 0 2px no-repeat;padding-left:20px;margin-top:5px}



p.pnum2{color:#4f5a5c; font-size:30px;font-weight:bold;margin-left:6px}



.testi{float:left;margin-right:5px}



p.testimon {color:#788486;font-size:.75em}











section.rehab-post {float:left; width:487px;margin-left:15px;margin-top:4px;margin-right:15px}



article section img {float:left; margin-right:10px}



article section p {color:#788486;font-size:.85em;line-height:24px}





















article {border-bottom:1px dashed #c1c1c1;padding-bottom:30px;margin-bottom:50px}



article h2 {color: #04B2D1;font-size: 1.3em;margin-bottom:10px}
article h3 {color: #04B2D1;font-size: 1.3em;margin-bottom:10px}
article h1 {color: #04B2D1;font-size: 1.3em;margin-bottom:10px}















aside.right {float:left}



aside.right div.top {background:url(images/sidebar-right-bg.png) no-repeat top left; width:228px; height:10px}



aside.right div.mid {background:url(images/sidebar-right-bg.png) repeat-y -228px 0px; width:200px; padding:3px 15px}



aside.right div.bot {background:url(images/sidebar-right-bg.png) no-repeat top right; width:228px; height:10px}



aside.right h2 {font-size:18px; color:#FFF; text-align:center; font-weight:bold; background:url(images/sidbar-hrr.png) 0px 32px no-repeat; height:32px; padding-bottom:7px; padding-top:2px; margin-bottom:10px}



aside.right section {margin-bottom:10px;width:228px}



aside.right ul li a{color:#FFF; font-size:.80em;}



aside.right ul li{    background: url(images/sidebar-dots2.png) no-repeat scroll 0 0 transparent;

    line-height: 12px;

    padding: 7px 0}

	

aside.right ul li:first-child {

    background: none;

}









footer{height:314px;width:100%;background:url(images/footer-bg.png) 0 0 repeat-x;position:relative}



footer div.copyr{background:url(images/copy-bg.png) repeat-x; height:55px;position:absolute;bottom:0;width:100%}



footer ul li{float:left} footer ul {display:block;margin-top:3px}



footer ul li a {color:#848484; font-size:12px; padding:0px 10px}



footer ul li a:hover {color: #333}



footer ul li span {color: #848484; font-size:10px}



footer p {text-align:center; color:#848484; font-size:12px}



div.ftrlinks { width:394px;margin:0 auto}



footer div.footer-info {float:left;width:290px; background:url(images/footer-div.png) left top no-repeat; padding-left:31px; min-height:211px; margin-top:40px; margin-left:10px}



footer section {width:968px; margin:30px auto 0}



footer section .bgnone {background:none;padding:0;margin-left:0}



footer h3 {font-weight:normal;color:#FFF;margin-bottom:20px}



footer div.footer-info img{float:left;margin-right:5px;}



div.footer-info p{color:#FFF; font-size:.90em;text-align:left}



footer p.copyr {margin: 0 auto;padding-top: 6px; width: 20%}







.clr {clear:both}















































/* The Nivo Slider styles */



.slider-wrapper{margin:88px auto 0; width:968px; position:relative}



.nivoSlider {



	position:relative;



}



.nivoSlider img {



	position:absolute;



	top:0px;



	left:0px;



}



/* If an image is wrapped in a link */



.nivoSlider a.nivo-imageLink {



	position:absolute;



	top:0px;



	left:0px;



	width:100%;



	height:100%;



	border:0;



	padding:0;



	margin:0;



	z-index:6;



	display:none;



}



/* The slices and boxes in the Slider */



.nivo-slice {



	display:block;



	position:absolute;



	z-index:5;



	height:100%;



}



.nivo-box {



	display:block;



	position:absolute;



	z-index:5;



}



/* Caption styles */



/* This parent can be any width and height */
.block {
  text-align: left;
  margin-left:0px;
  margin-right:0px;
}

/* The ghost, nudged to maintain perfect centering */
.block:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  /* margin-right: -0.25em; */ /* Adjusts for spacing */
}

/* The element to be centered, can
   also be of any width and height */ 
.centered {
  display: inline-block;
  vertical-align: middle;
  width: 380px;
}

.my-caption {
	
	position:absolute;
	left:10px;
	top:0px;
	bottom:0px;
	
	background:none;
	color:#fff;
	width:390px;
	height: 264px;
	z-index:8;
	font-size:36px;
	line-height:36px;
	
}



.nivo-caption p {



	padding:5px;



	margin:0;



}



.nivo-caption a {



	display:inline !important;



}



.nivo-html-caption {



    display:none;



}



/* Direction nav styles (e.g. Next & Prev) */



.nivo-directionNav a {



	position:absolute;



	top:45%;



	z-index:9;



	cursor:pointer;



}



.nivo-prevNav {



	left:0px;



	display:none;



}



.nivo-nextNav {



	right:0px;display:none;



}



/* Control nav styles (e.g. 1,2,3...) */



.nivo-controlNav a {



	position:relative;



	z-index:9;



	cursor:pointer;



}



.nivo-controlNav a.active {



	font-weight:bold;



}







.nivo-controlNav {



    top: 280px;



    position: absolute;



    left: 45%;



}







.nivo-controlNav a {



    display:block;



    width:16px;



    height:16px;



    background: url(images/slider-circle.png) no-repeat;



    text-indent:-9999px;



    border:0;



    margin-right:7px;



    float:left;



}



.nivo-controlNav a.active {



    background-position:0 -16px;



}







.nivoSlider a img {height:264px}























		.black_overlay{



			display: none;



			position: absolute;



			top: 0%;



			left: 0%;



			width: 100%;



			height: 2000px;



			background-color: black;



			z-index:1001;



			-moz-opacity: 0.8;



			opacity:.80;



			filter: alpha(opacity=80);



			cursor:default;



		}



		.white_content {



			display: none;



			position: absolute;



			top: 88px;



			background-color: white;



			z-index:1002;



			overflow: auto;



		}



































/* thickbox */















#TB_window {



  font: 12px Arial, Helvetica, sans-serif;



  color: #333333;



}



#TB_secondLine {



  font: 10px Arial, Helvetica, sans-serif;



  color:#666666;



}



#TB_window a:link {color: #666666;}



#TB_window a:visited {color: #666666;}



#TB_window a:hover {color: #000;}



#TB_window a:active {color: #666666;}



#TB_window a:focus{color: #666666;}



/* ----------------------------------------------------------------------------------------------------------------*/



/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/



/* ----------------------------------------------------------------------------------------------------------------*/



#TB_overlay {



  position: fixed;



  z-index:100;



  top: 0px;



  left: 0px;



  height:100%;



  width:100%;



}



.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}



.TB_overlayBG {



  background-color:#000;



  filter:alpha(opacity=75);



  -moz-opacity: 0.75;



  opacity: 0.75;



}



* html #TB_overlay { /* ie6 hack */



     position: absolute;



     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');



}



#TB_window {



  position: fixed;



  background: #ffffff;



  z-index: 102;



  color:#000000;



  display:none;



  border: 4px solid #525252;



  text-align:left;



  top:50%;



  left:50%;



}



* html #TB_window { /* ie6 hack */



position: absolute;



margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');



}



#TB_window img#TB_Image {



  display:block;



  margin: 15px 0 0 15px;



  border-right: 1px solid #ccc;



  border-bottom: 1px solid #ccc;



  border-top: 1px solid #666;



  border-left: 1px solid #666;



}



#TB_caption{



  height:25px;



  padding:7px 30px 10px 25px;



  float:left;



}



#TB_closeWindow{



  height:25px;



  padding:11px 25px 10px 0;



  float:right;



}



#TB_closeAjaxWindow{



  padding:7px 10px 5px 0;



  margin-bottom:1px;



  text-align:right;



  float:right;



}



#TB_ajaxWindowTitle{



  float:left;



  padding:7px 0 5px 10px;



  margin-bottom:1px;



}



#TB_title{



  background-color:#e8e8e8;



  height:27px;



}



#TB_ajaxContent{



  clear:both;



  padding:2px 15px 15px 15px;



  overflow:auto;



  text-align:left;



  line-height:1.4em;



}



#TB_ajaxContent.TB_modal{



  padding:15px;



}



#TB_ajaxContent p{



  padding:5px 0px 5px 0px;



}



#TB_load{



  position: fixed;



  display:none;



  height:13px;



  width:208px;



  z-index:103;



  top: 50%;



  left: 50%;



  margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */



}



* html #TB_load { /* ie6 hack */



position: absolute;



margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');



}



#TB_HideSelect{



  z-index:99;



  position:fixed;



  top: 0;



  left: 0;



  background-color:#fff;



  border:none;



  filter:alpha(opacity=0);



  -moz-opacity: 0;



  opacity: 0;



  height:100%;



  width:100%;



}



* html #TB_HideSelect { /* ie6 hack */



     position: absolute;



     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');



}



#TB_iframeContent{



  clear:both;



  border:none;



  margin-bottom:-1px;



  margin-top:1px;



  _margin-bottom:1px;



}









/*Form7*/





.wpcf7-text, .wpcf7-captchar {width:193px; margin:5px 0 10px 0}

.wpcf7-textarea {width:193px;height: 100px;margin:5px 0 10px 0}



.wpcf7-select {margin:5px 0 10px 0}



input.wpcf7-submit { background:url(images/submitbtn.png) no-repeat top left; width:107px; height:31px;color:#FFF; border:none; cursor:pointer}



input.wpcf7-submit:hover {background-position:right top;}



.wpcf7-validation-errors {color:red; font-size:12px;}



span.wpcf7-not-valid-tip { width:170px !important; color:red; left:5% !important;}





.wpcf7-form p {color: white;font-size: .80em;}

.hideblock {display:none;}