/*
THEME NAME: Detox Treatment Center Finder
THEME URI: 
DESCRIPTION: 
VERSION: 1.0
AUTHOR: Dsquared Media
AUTHOR URI: http://www.dsquaredmedia.net
TAGS: 
*/

/* Two-column with sidebar on left from the /examples/ folder  */
@import url(//fonts.googleapis.com/css?family=Montserrat:400,700);
@import url('fonts/stylesheet.css');
@import url('style/container.css');
@import url('style/menu.css');
@import url('style/sidebar.css');
@import url('style/liquid-slider.css');

/* Just some example content */
div.skip-link {
position:absolute;
right:1em;
top:1em;
}

h2 {
	color: #f8a300;
    font-family: 'Open Sans',sans-serif;
    font-size: 18px;
    line-height: 35px;
}

div#menu {
background:#EEE;
height:1.5em;
margin:1em 0;
width:100%;
}

div#menu ul,div#menu ul ul {
line-height:1;
list-style:none;
margin:0;
padding:0;
}

div#menu ul a {
display:block;
margin-right:1em;
padding:0.2em 0.5em;
text-decoration:none;
}

div#menu ul ul ul a {
font-style:italic;
}

div#menu ul li ul {
left:-999em;
position:absolute;
}

div#menu ul li:hover ul {
left:auto;
}

.entry-title,.entry-meta {
clear:both;
}

div#container,div#primary {

}

form#commentform .form-label {
margin:1em 0 0;
}

form#commentform span.required {
background:#fff;
color:#c30;
}

form#commentform,form#commentform p {
padding:0;
}

input#author,input#email,input#url,textarea#comment {
padding:0.2em;
}

div.comments ol li {
margin:0 0 3.5em;
}

textarea#comment {
height:13em;
margin:0 0 0.5em;
overflow:auto;
width:66%;
}

.alignright,img.alignright{
float:right;
margin:1em 0 0 1em;
}

.alignleft,img.alignleft{
float:left;
margin:1em 1em 0 0;
}

.aligncenter,img.aligncenter{
display:block;
margin:1em auto;
text-align:center;
}


p.wp-caption-text{
font-style:italic;
}


div#nav-above {
margin-bottom:1em;
}

div#nav-below {
margin-top:1em;
}

div#nav-images {
height:150px;
margin:1em 0;
}

div.navigation {
height:1.25em;
}

div.navigation div.nav-next {
float:right;
text-align:right;
}

.ls-nav-left-arrow a:before{
	content:"<";
}
.ls-nav-right-arrow a:before{
	content:">";
}
.ls-nav-left-arrow a, .ls-nav-right-arrow a{
	color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    margin: 110px 0 0;
}
.ls-nav-left-arrow a:hover, .ls-nav-right-arrow a:hover{
	text-decoration:none;
}
.plisting_slider {
    box-sizing: border-box;
    float: left;
    margin: 0 0 0;
    min-height: 100px;
    padding: 0;
    position: fixed;
    width: 100%;
	z-index:9;
    left: 0;
    top: 121px;
	transition: all 1s linear 0s;
}
.plisting_slider.listslider_fixed {
    top: 59px;
	transition: all 1s linear 0s;
}
.premium_list{
	 background: none repeat scroll 0 0 #FFFFFF;
    box-shadow: 0 0 6px #CCCCCC;
    box-sizing: border-box;
    height: 120px;
    margin: 0 auto 6rem;
    max-width: 796px;
    padding: 25px;
    position: relative;
    width: 100%;
}
.slides{
	width:100% !important;
	height:85px !important;
}
.slider_left {
    float: left;
    width: 25%;
}
.slider_left img{
    max-width: 100%;
}
.slider_middle {
    float: left;
    text-align: center;
    width: 42%;
}
.slider_right {
    float: right;
    width: 33%;
}
.panel > div {
    max-width: 800px;
    width: 767px !important;
}
.slider_middle > a {
    font-size: 28px;
    color: #1A324B;
    font-weight: 100;
}
.slider_middle > a:hover {
    color: #FF9C00;
	text-decoration:none;
}
.slider_middle .location_location {
    color: #ff9c00;
    font-size: 13px;
}
#demo1 .prev {
    background: url("images/ar.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 10px;
    position: absolute;
    right: 20px;
    top: 5px;
    width: 5px;
	text-indent:-9999px;
}
#demo1 .prev:hover {	
    background-position: left bottom;
}
#demo1 a.next {
    background: url("images/ar.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    position: absolute;
    right: 11px;
    top: 5px;
    width: 5px;
    height: 10px;
	text-indent:-9999px;
    background-position: right bottom;
}
#demo1 a.next:hover {
    background-position: right top;
}
#treatment_phone_wrapper.slider_p_n > a#treatment_phone {
    border-radius: 2px;
    height: auto;
    line-height: normal;
    padding: 17px;
    font-family: proxima_nova_rgregular;
    text-align: center;
    font-size: 23px;
	width:158px;
	background: #114d8c; /* Old browsers */
	background: -moz-linear-gradient(top, #114d8c 0%, #1a324c 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#114d8c), color-stop(100%,#1a324c)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #114d8c 0%,#1a324c 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #114d8c 0%,#1a324c 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #114d8c 0%,#1a324c 100%); /* IE10+ */
	background: linear-gradient(to bottom, #114d8c 0%,#1a324c 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#114d8c', endColorstr='#1a324c',GradientType=0 ); /* IE6-9 */
}
#treatment_phone_wrapper.slider_p_n > a#treatment_phone:hover {
    color:#fff;
	background: #1a324c; /* Old browsers */
	background: -moz-linear-gradient(top, #1a324c 0%, #114d8c 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1a324c), color-stop(100%,#114d8c)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #1a324c 0%,#114d8c 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #1a324c 0%,#114d8c 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #1a324c 0%,#114d8c 100%); /* IE10+ */
	background: linear-gradient(to bottom, #1a324c 0%,#114d8c 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a324c', endColorstr='#114d8c',GradientType=0 ); /* IE6-9 */
}
.slider_right > p {
    display: none;
}
.bot_plist {
     bottom: 0;
    color: #FF9C00;
    font-size: 10px;
    position: absolute;
    right: 6px;
    font-family: open sans;
}
.tb_hs{
	bottom: -9px;
    left: 50% !important;
    position: absolute !important;
    top: auto !important;
	margin:0 0 0 -7.5px;
}
.home_statelink {
    padding: 0 70px;
    clear: both;
    width: 100%;
	overflow:hidden;
	background-image:url(images/bmap.png);
    box-sizing: border-box;
}
div.sidebar.sidebar_homelink {
    float: right;
    overflow: visible;
    padding: 0;
    width: 32.5%;
}
.home_statelink_left {
    float: left;
    width: 62%;
}
.home_statelink_left ul{
	list-style:none;
}
.home_statelink_left ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 12px;
    color: #1a324b;
}
.home_statelink_left ul li a:hover {
    color: #f57b20;
	text-decoration:none;
	padding-left:5px;
}
#limheight {
	padding:0;
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3; /*3 in those rules is just placeholder -- can be anything*/
}

#limheight li {
    
}
.homepage_selectstate {
    position: relative;
}
.home_side_phone > a {
    width: 100%;
    text-align: center;
    float: left;
    margin: 20px 0 0;
    padding: 20px 0;
	font-family: proxima_nova_rgregular;
    font-size: 27px;
    color: #fff;
    border-radius: 3px;
	background: #f89a1c; /* Old browsers */
	background: -moz-linear-gradient(top, #f89a1c 0%, #f47521 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f89a1c), color-stop(100%,#f47521)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f89a1c 0%,#f47521 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f89a1c 0%,#f47521 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f89a1c 0%,#f47521 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f89a1c 0%,#f47521 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f89a1c', endColorstr='#f47521',GradientType=0 ); /* IE6-9 */
}
.home_side_phone > a:hover {
	text-decoration:none;
	background: #f47521; /* Old browsers */
	background: -moz-linear-gradient(top, #f47521 0%, #f89a1c 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f47521), color-stop(100%,#f89a1c)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f47521 0%,#f89a1c 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f47521 0%,#f89a1c 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f47521 0%,#f89a1c 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f47521 0%,#f89a1c 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f47521', endColorstr='#f89a1c',GradientType=0 ); /* IE6-9 */
}
.home_side_phone > a span{
	background-image:url(images/pn.png);
	background-repeat:no-repeat;
	padding: 0 0 0 23px;
    background-position: left;
}
#home_box_video{
	background:url("images/home_box_video.png") no-repeat scroll 0 bottom #f69d18;
    color: #FFFFFF;
    height: auto;
    margin: 0 0 2rem;
    padding: 30px 20px;
    position: relative;
    text-align: center;
    transition: all 1s linear 0s;
}
#home_box_video h3 {
    font-size: 28px;
    color: #10253b;
    font-weight: 600;
	margin:0;
}
#home_box_video h4 {
    font-size: 28px;
    color: #fff;
    font-weight: 900;
	margin:20px 0 0;
}
#home_box_video h4 a {
    color: #fff;
}
.hbv_video {
    margin: 20px auto 0;
    width: 90%;
    max-width: 650px;
}
.hbv_video img, .hbv_video iframe{
    max-width: 100%;
}
.tre_left_logo {
    float: left;
    margin: 0 30px 0 0;
}
#home_blog li.home_blog_li a.pic {
    float: left;
    margin: 0 0 20px;
    max-height: 227px;
    overflow: hidden;
    width: 100%;
}
.tre_right_cont h1.single_color {
    color: #1C3951;
    font-size: 30px;
    font-weight: 600;
}
.tre_right_cont {
    font-size: 15px;
}
.single_color_main {
    color: #324248;
    font-size: 24px;
    font-weight: 100;
}
.sts_phone{
	color: #FFFFFF !important;
    float: left;
    font-size: 18px;
    font-weight: bold;
    margin: 16px 0 0;
    padding: 7px 0;
    text-align: center;
    width: 100%;
	cursor:pointer;
	opacity:1 !important;
	background: #f89b1c; /* Old browsers */
	background: -moz-linear-gradient(top, #f89b1c 0%, #f47521 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f89b1c), color-stop(100%,#f47521)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f89b1c 0%,#f47521 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f89b1c 0%,#f47521 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f89b1c 0%,#f47521 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f89b1c 0%,#f47521 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f89b1c', endColorstr='#f47521',GradientType=0 ); /* IE6-9 */
	border-radius: 5px;
}
.sts_phone:hover{
	background: #f47521; /* Old browsers */
	background: -moz-linear-gradient(top, #f47521 0%, #f89b1c 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f47521), color-stop(100%,#f89b1c)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f47521 0%,#f89b1c 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f47521 0%,#f89b1c 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f47521 0%,#f89b1c 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f47521 0%,#f89b1c 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f47521', endColorstr='#f89b1c',GradientType=0 ); /* IE6-9 */
}
.stc .ratingRight {
    float: right;
    margin-top: 9px;
    width: auto;
}
.minfheight {
    min-height: 700px;
}
.tabswrap {
    background: none repeat scroll 0 0 #F8F8F8;
    float: left;
    margin: 0 0 2rem;
    overflow: hidden;
    width: 100%;
}
h1 {
	  color: #424b53;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 15px;
    padding: 0;
}
.tabswrap ul.tabs {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.tabswrap ul.tabs li {
    border-left: 1px solid #F8F8F8;
    box-sizing: border-box;
    display: inline;
    float: left;
	margin-bottom: 0;
    width: 33.333333%;
	text-align:center;
}
.tabswrap ul.tabs li:first-child {
    border-left: 0px solid #F8F8F8;
}
.tabswrap ul.tabs li a {
    background: none repeat scroll 0 0 #162B40;
    border: 0 none ;
    border-bottom:2px solid #ff9c00;
    float: left;
    padding: 8px 0;
    width: 100%;
}
.tabswrap ul.tabs li a.active {
    background: none repeat scroll 0 0 #f8f8f8;
    border: 0 none;
    border-bottom:2px solid #f8f8f8;
	text-decoration:none;
}
.tabswrap .tab-content {
    padding: 0;
}

.tabswrap .tab-content ul {
    margin: 0;
    padding: 0;
}
.tabswrap .tab-content ul li {
    border-bottom: 1px solid #DDDDDD;
    padding: 10px;
	overflow: hidden;
	margin: 0;
}
.tabswrap .tab-content ul li span.tab_thumb {
    float: left;
    margin: 0 10px 0 0;
    max-width: 75px;
}
.tabswrap .tab-content ul li span.tab_thumb img{
    height:auto;
}
.tabswrap .tab-content ul li a{
    font-size:14px;
	color:#424B53;
	font-weight:600;
}
.tabswrap .tab-content ul li a:hover{
	color:#FF9C00;
	text-decoration:none;
}
iframe {
    max-width: 100%;
}

.city-contact-form-section{
	float: left;
	width: 750px;
	height: 253px;
	background: url(images/city-contact-form-bkg.jpg) no-repeat 0 0 / 100% 100% transparent;
}
.city-contact-form-section h1{
	color: #fff;
	font-size: 24px;
	line-height: 30px;
	font-weight: 300;
	margin-top: 40px;	
	margin-bottom: 40px;
	padding-left: 160px;
	padding-right: 160px;
	text-align: center;
}
.city-contact-form-section h1 span{
	color: #f47a20;
}
.city-primary-form-section{
	float: right;
	border:1px solid #000;
}
.city-contact-form-section form p{
	margin: 0;
	padding: 0;
}
.city-contact-form-section .wpcf7{
	text-align: center;
}
.city-contact-form-section form input[type=tel]{
	padding: 15px 20px;
	border: 1px solid #576c81;
	border-radius: 5px 0 0 5px;
	background-color: #fff;
	margin: 0;
}
.city-contact-form-section form input[type=submit]{
	padding: 15px 20px;
	background-image: -ms-linear-gradient(top left, #091624 0%, #1A324B 100%);
	background-image: -moz-linear-gradient(top left, #091624 0%, #1A324B 100%);
	background-image: -o-linear-gradient(top left, #091624 0%, #1A324B 100%);
	background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #091624), color-stop(1, #1A324B));
	background-image: -webkit-linear-gradient(top left, #091624 0%, #1A324B 100%);
	background-image: linear-gradient(to bottom right, #091624 0%, #1A324B 100%);
	border: 1px solid #576c81;
	border-radius: 0 5px 5px 0;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	margin: 0;
}
.city-contact-lbl{
	text-align: center;
	color: #fff;
	font-size: 12px;
}
.city-form-section:before, .city-form-section:after{
	content: " ";
	display: table;
}
.city-form-section:after{
	clear: both;
}
.city-search-result-title{
	background: url(images/title_border.png) no-repeat bottom center transparent;
	text-align: center;
	font-size: 30px;
	line-height: 30px;
	margin: 0;
	padding: 30px 0;
	font-weight: 300;
	color: #ff9c00;
}
.city-search-row{
	margin-left: -2%;
	margin-right: -2%;
	padding: 50px 0;
}
.city-search-row:after{
	clear: both;
}
.city-search-row:before, .city-search-row:after {
	content: " ";
	display: table;
}
.state-city-list{
	padding: 0 45px;
	margin-top: 50px;
	margin-bottom: 50px;
	display: inline-block;
	width: 100%;
}
.state_description .sub_content_title{
	margin-top: 50px;
}
.state-city-list, .state-city-list:after, .state-city-list:before{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.bt-span2-5{
	float: left;
	width: 20%;
}
.bt-span2-5 a:last-child{
	background: url(images/grey_arrow.png) no-repeat 0 center transparent;
	padding: 0 0 0 20px;
	color: #385167;
	text-decoration: none;
}
.bt-span2-5 a:hover{
	color: #f47820;
	background: url(images/orange-arrow.jpg) no-repeat 0 center transparent;
	text-decoration: none;
}
.bt-span4{
	float: left;
	width: 33.3333%;
	padding: 0 2%;
}
.bt-span4, .bt-span4:before, .bt-span4:after, .bt-span2-5, .bt-span2-5:before, .bt-span2-5:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.bt-span3{
	float: left;
	width: 25%;
	padding: 0 2%;
}
.bt-span3, .bt-span3:before, .bt-span3:after{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.city-search-row .bt-span4, .city-search-row .bt-span3{
	text-align: center;
}
.city-search-row h3{
	text-align: center;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
	color: #324248;
	word-break: break-word;
	min-height: 60px;
}
.city-search-row p{
	font-weight: 600;
	color: #aeaeae;
	font-size: 14px;
}
.city-search-row a{
	color: #324248;
	-webkit-transition: all 0.25s ease-out;
	-moz-transition: all 0.25s ease-out;
	-o-transition: all 0.25s ease-out;
	transition: all 0.25s ease-out;
}
.city-search-row a:hover {
	color: #ff9c00;
}
.wpcf7-form div.wpcf7-response-output{
	float: none;
	clear: both;
	width: auto !important;
}
#home_box_7{
	background-size: 100% 100%;
}
.homepage-top-title{
	margin-bottom: 105px;
}
.homepage-top-title h1{
	padding: 0 100px;
}
.homepage-top-title h1, .homepage-top-title h1 strong{
	text-align: center;
	font-size: 58px;
	font-weight: 300;
	color: #fff;
	text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.19);
	line-height: 65px;
	margin: 65px 0;
}
.homepage-top-title h1 strong{
	color: #fc9c06;
}
.homepage-top-title p{
	text-align: center;
	color: #fff;
	font-size: 19px;
	margin: 0;
}
.homepage-top-title a{
	color: #fff;
	text-decoration: underline;
}
.clearfix{
	float: none;
	clear: both;
}
.homepage_selectstate #limheight{
	margin: 0;
}
.homepage_selectstate .sub_content_title{
	margin: 0 0 40px 0;
}
.home_search_wrapper{
	margin: -115px auto 60px;
	width: 950px;
}
.home_search_section{
	border: 3px solid #23405f;
	display: inline-block;
	width: 100%;
	padding: 50px 60px;
	background-image: -ms-linear-gradient(top, #2E4D6D 0%, #142638 100%);
	background-image: -moz-linear-gradient(top, #2E4D6D 0%, #142638 100%);
	background-image: -o-linear-gradient(top, #2E4D6D 0%, #142638 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #2E4D6D), color-stop(1, #142638));
	background-image: -webkit-linear-gradient(top, #2E4D6D 0%, #142638 100%);
	background-image: linear-gradient(to bottom, #2E4D6D 0%, #142638 100%);
}
.home_search_section, .home_search_section:after, .home_search_section:before{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.home_search_section #search_zip{
	float: left;
	padding: 14px;
	border-radius: 8px;
	background: #fff;
	text-align: center;
	width: 550px;
	margin: 0;
	font-size: 15px;
	color: #1a324b;
	font-style: italic;
}
.home_search_section input[type=submit]{
	float: right;
	padding: 15px;
	width: 200px;
	margin: 0;
	border-radius: 8px;
}
.sidebar_homelink #owl-demo{
	margin: 50px 0;
}
.sidebar_homelink #owl-demo .list-slide{
	border: 1px solid #1d354d;
	padding-bottom: 0;
}
.sidebar_homelink #owl-demo .list-phone{
	padding-bottom: 0;
}
.sidebar_homelink #owl-demo .owl-item div{
	padding-left: 0;
	padding-right: 0;
}

.relatedposts .relatedthumb {
    box-sizing: border-box;
    float: left;
    padding: 20px 10px;
    text-align: center;
    width: 25%;
}
.relatedposts .relatedthumb img{
	width:100%;
	height:auto;
}






@media screen and (max-width: 1210px){ 
	#home_blog li.home_blog_li a.pic {
		max-height: 223px;
	}
}
@media screen and (max-width: 1190px){ 
	.plisting_slider.listslider_fixed {
		top: 85px;
		transition: all 1s linear 0s;
	}	
	.home_statelink {
		padding: 0 20px;
	}
	#home_blog li.home_blog_li a.pic {
		max-height: 161px;
	}
}
@media screen and (max-width: 880px){ 
	.premium_list{
		width:586px;
		height:210px;
	}
	.slides {
		height: 176px !important;
	}
	.slider_left {
		float: left;
		width: 180px;
	}
	.slider_right {
		clear: both;
		float: left;
		text-align: center;
		width: 74.0%;
		margin-top: 16px;
	}
	.slider_middle {
		float: left;
		width: 330px;
	}		
	.center_icon {
		padding: 200px 0 20px;
		text-align: center;
	}
	#home_blog li.home_blog_li a.pic {
		max-height: 112px;
	}
}	
@media screen and (max-width: 800px){ 	
	.home_statelink_left {
		float: left;
		width: 100%;
	}
	div.sidebar.sidebar_homelink {
		width: 100%;
	}
}
@media screen and (max-width: 768px){ 
	.plisting_slider{
		display:none;
	}
	.center_icon {
		padding: 0px 0 20px;
		text-align: center;
	}
}
@media screen and (max-width: 640px){ 
	.premium_list {
		height:370px;
		width: 266px;
	}
	.slider_left {
		float: left;
		padding: 0 0 20px;
		width: 92%;
		text-align: center;
	}
	.slider_middle {
		float: none;
		margin: 0 auto;
		text-align: center;
		width: 260px;
		clear: both;
		padding: 0 42px 0 0;
		box-sizing: border-box;
	}
	.slider_middle > a {
		color: #424B53;
		font-size: 14px;
		font-weight: 100;
	}
	.slider_middle .location_location {
		color: #FF9C00;
		font-size: 12px;
	}
	.slider_right {
		clear: both;
		float: left;
		margin-top: 16px;
		text-align: left;
		width: 100%;
	}
	
	.slides {
		height: 336px !important;
	}
}
@media screen and (max-width: 640px){ 
	#limheight {
		-moz-column-count: 2;
		padding: 0;
	}
}
@media screen and (max-width: 600px){ 
	#home_blog li.home_blog_li a.pic {
		max-height: 220px;
	}
}
@media screen and (max-width: 510px){ 
	.tre_left_logo {
		margin: 0 0 10px;
		text-align: center;
		width: 100%;
	}
	.tre_right_cont {
		text-align: center;
	}
	ul.jamie_social li {
		max-width: 82px;
	}
	.relatedposts .relatedthumb{
		width:50%;
	}
}
@media screen and (max-width: 400px){ 
	
	.relatedposts .relatedthumb{
		width:100%;
		padding:0 0 30px;
	}
	.ratingLeft {
		float: left;
		width: 100%;
		margin: 10px 0 0;
	}
	.stc .ratingRight {
		width: 100%;
	}
	.ratingLi {
		height: auto;
		text-align:center;
	}
	.city-contact-form-section{
		width: 100%;
		height: auto;
		float: none;
		padding: 10px;
	}
	.city-contact-form-section h1{
		padding: 10px;
		margin: 0;
		font-size: 16px;
	}
	.city-contact-form-section, .city-contact-form-section:before, .city-contact-form-section:after, .city-contact-form-section form input[type=tel], .city-contact-form-section form input[type=tel]:before, .city-contact-form-section form input[type=tel]:after {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.city-contact-form-section form input[type=tel]{
		width: 100%;
		border-radius: 0;
	}
	.city-contact-form-section form input[type=submit]{
		width: 100%;
		border-radius: 0;
	}
	.city-primary-form-section{
		float: none;
		border: 0;
	}
	.bt-span4{
		float: none;
		width: 100%;
		padding: 20px 0;
	}
	.bt-span3{
		float: none;
		width: 100%;
		padding: 20px 0;
	}
	.bt-span2-5{
		float: none;
		width: 100%;
	}
	.city-search-row {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
	
	.wp-pagenavi b.currentpage, .wp-pagenavi .pagenav{
		display: inline-block;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	#nav-below{
		display: inline;
	}
	.state-city-title{
		padding: 30px 10px;
	}
	.homepage-top-title h1{
		padding: 0;
		font-size: 15px;
		font-size: 20px;
		line-height: 35px;
		margin: 30px 0;
		color: #1d3854;
	}
	.homepage-top-title h1 strong{
		font-size: 20px;
		line-height: 35px;
		color: #1d3854;
	}
	.homepage-top-title p, .homepage-top-title a{
		font-size: 15px;
		color: #1d3854;
	}
	.home_search_wrapper{
		width: 100%;
		margin: 0;
	}
	.homepage-top-title{
		margin-bottom: 30px;
	}
	.home_search_section{
		padding: 20px 10px;
		text-align: center;
	}
	.home_search_section #search_zip{
		float: none;
		width: auto;
		display: block;
	}
	.home_search_section input[type=submit]{
		float: none;
		width: auto;
		margin-top: 20px;
	}
}
@media screen and (min-width: 768px) and (max-width: 960px){ 
	.ratingLeft {
		float: left;
		width: 100%;
		margin: 10px 0 0;
	}
	.stc .ratingRight {
		width: 100%;
	}
	.ratingLi {
		height: auto;
		text-align:center;
	}
	ul.jamie_social li {
		max-width: 81px;
	}
	ul.jamie_social li:nth-child(2) {
		max-width: 60px;
	}
}