/*
Theme Name: Float Theme
Theme URI: http://www.e-rehab.com/
Version: 1.0
Description: Designed by John Mason
Author: John Mason
Author URI: http://www.e-rehab.com
Template: ptcng
*/
@import url(superfish.css);

/*STRUCTURE - header, footer, etc*/
body{background: #596BA0 url('images/bg2.png') repeat-x;}

* html {height:100%}/* IE6 only*/
html { height: 100%;height:auto; } body { min-height: 100%; }

html{  /*background: url('images/1044bg.jpg')top center;*/
color:#333 !important;
overflow-y:scroll;
 }
.wrapper{
    font-family: 'Open Sans', sans-serif !important;
    min-height:100%;
    height:auto !important;
    height:100%;
    margin:0px auto;
    /*background: url('images/1044bg.jpg')top center;*/
    position:relative;
}

.memberships {border:solid 1px #000;background:#FFF;min-height:200px;}

 a:link, a:visited, a:active {color:#d10d0e;}
 a:hover{color:#50639a;}
#headerwrapper{width:100%; height: 150px;background: url('images/1044header.png') center;}

#logowrapper {width: 100%; height: 181px; position: absolute; z-index: 99999; }

#weblogo { width: 984px; height: 181px; background: url('images/1044logo.png'); position: relative; top: -10px; left: -5px; }

#webtitle {color: #FFF; font-family: garamond, georgia, serif;font-size: 26px;font-weight: 700;text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);  position: relative; top: 110px; left: 210px; letter-spacing: 2px;z-index: 9999 !important;}

header{height:181px;width:990px;margin:0 auto;text-align:left; position:relative;    }

#faqTitle{text-align:center;}

.text {width: 95%;}

.contentpic {margin-top: 20px; float: right; width: 210px;}

#topaddr {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
font-weight: bold;
position: absolute;
right: 10px;
text-align: right;
top: 12px;
width: 400px;
letter-spacing: 2px;
z-index:250;
}

#topaddr *{ color: #b7bfd7;/*text-shadow: 1px 1px  0px #111;*/text-decoration:none;}

#topaddr a:hover {color: #fff;text-shadow:none;}
#topaddr span {font-size: 18px;color: #fff;/*text-shadow: 1px 1px 0px #111;*/}
#topaddr a:hover span {color: #b7bfd7;text-shadow:none;}

.main.fullwidth {width: 950px; padding: 30px 20px 0px 20px;}

.slideshow div {display: none;}
.slideshow div *{display: block;}

.gfield_label, .gform_description {color: #464646}

.gform_wrapper .gform_body .gform_fields .gfield input[type=text],
.gform_wrapper .gform_body .gform_fields .gfield input[type=email],
.gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
.gform_wrapper .gform_body .gform_fields .gfield input[type=url],
.gform_wrapper .gform_body .gform_fields .gfield input[type=number],
.gform_wrapper .gform_body .gform_fields .gfield input[type=password],
.gform_wrapper .gform_body .gform_fields .gfield select,
.gform_wrapper .gform_body .gform_fields .gfield textarea {
    color:#464646;
    border:solid 1px #5B0000;
}

#comment, #s {
    color:#464646;
    border:solid 1px #5B0000;
}

a.linkopacity:hover img {
-moz-opacity: 0.7;-khtml-opacity: 0.7;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity = 70);
opacity: 0.7;
}

a.linkopacity img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;-khtml-opacity: 1.0;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity = 100);
opacity: 1.0;
}

#bottomfake {width: 990px; height: 100px;background: url('images/1044contentbg.jpg'); z-index: -5; margin: 0px auto; position: absolute; bottom: 0px; }
.main {padding:0;width:990px;text-align:left;margin:0 auto;text-align:left;overflow:hidden;background: url('images/1044contentbg.jpg');}

.icon16 {width:16px;height:16px;margin-right:3px;}

#slideshow {padding-right: -8px;}

#leftcol {float:left;width:750px;min-height:680px;display:inline;margin:0;padding:0px 20px 0px 0px;}

#rightcol {float:left;width:220px;display:inline;margin:0;padding:0;}

#rightcol .mbbrd1 {margin:0 0 2px 0;border-bottom:1px solid #7A7A7A;}

.list1, .list2  {float: left; width: 320px; position: relative;}
.list2 {left: 50px;}

.page-id-9 .text {width: 600px; }

.textb {height: 220px;}

.aboutlist1, .aboutlist2, .aboutlist3   {float: left; width:200px; position: relative;/* height: 200px; */margin-bottom: 20px;}
 .aboutlist3 {clear: right;min-height: 100px;}
.page-id-5 .cont, .page-id-9 .cont, .cont2 {margin-top: 15px;}
.cont {margin-top:20px;margin-left: 20px; width: 700px; margin-bottom: 20px;}
.cont2 {margin-left: 20px;margin-right:20px; margin-bottom: 20px;}

#homeleft {background-color:#31582D;color:white;padding:14px;width:200px;height:370px;float:left;font-size:200%;}

#homemain {padding:12px;color:#505050;width:500px;float:left;}
.gmap { margin-top: 30px; border: 1px solid #333;  }
.addyaddy {text-align: center; font-weight: bold; margin: 0px auto; position: relative; top: 15px; margin-left: 50px; }

/*MENUS*/

#navwrapper {background:#4f629a no-repeat; height: 26px; width: 990px; margin: 0px auto;}

#navCenter {margin: 0px auto; width: 850px; position: relative; left: 122px;}

#horimenu {

width:990px;margin:0 auto; position:relative;z-index:100;height:26px;}


.current_page_item a {color: #ff8600 !important; text-shadow: 1px 1px 0px #000;}
.sf-menu a {

text-shadow:1px 1px 0px #333333;
font-size: 14px;
/*font-weight: bold;*/
letter-spacing: .1em;
padding:        6px 11px;
border:none;
text-decoration:none;
}


.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
    color: #fff;  /*Match color above*/
}

.sf-menu {
    float:          left;
    /*margin-bottom:    1em;*/
}

.sf-menu li {
    /*background:       transparent;*/
}


.sf-menu li li a {
    border-right:none;
}
.sf-menu li li {
    background:     #54669D;
}
.sf-menu li li li {
    background:     #54669D;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    color:#ff8600;
    outline:        0;

}

/*Text Elements*/
h1,h2,h3,h4,h5,h6{
    padding:.4em 0;
    color:#4f629a !important;
}

.home h1 {
    font-size: 165%;
}

.burgundy {color:#4f629a;}
.burgundystrip{background:#4f629a;padding-top:3px;padding-bottom:3px;color:#FFF;font-weight:bold;text-align:center;}
.burgundybrd{border:solid 1px #4f629a;}

hr {
    border: 0;
    color: #4f629a;
    background-color: #4f629a;
    height: 1px;
    width: 100%;
    text-align: left;
}

/*DESIGN ELEMENTS - boxes and such*/
.fullbar {background:#00f !important;height:130px;width:990px;}
.fullbar:after,.fullbar:before {background:#00f !important;}
.fullbar>* {color:white;text-shadow:1px 1px 1px #000;}
.fullbar .minibanner {float:left;margin:0 13px;}
.fullbar .minibanner:first-child {margin-left:90px}

#footerwrapper {background: url('images/1044footer.png') bottom center; width: 100%; height:217px;  }

#footer {color:#FFFFFF;width:990px; height: 217px; text-align:left;margin:0 auto;text-align:left; }

#footer a:link,#footer a:visited {color:white;text-decoration:none !important;}

#footer  p {padding:6px 8px;margin:0;}


 .staffpic {float: left; width:131px; height: 150px; margin-right: 20px; margin-top: 5px;}
 .stafftext {line-height: 16px;}
.staffwrapper.first {margin-top: 20px;}
.staffwrapper {height: 200px;}

.page-id-19 .text {width: 600px; line-height: 18px;}

.ins1, .ins2 {float: left; width: 300px;}

.rnd {border-radius:10px;}

/* Blog Styles */

.postleftpart {
    width: 185px;
    padding-right: 14px;
    float:left;
}
.postrightpart {
    float: right;
    width: 520px;
}

.post {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 18px;
}

.post h2,.post p {
    margin: 2px 0;
}

.post .entry {
    color:#7f7f7f;
    margin-bottom: 18px;
}

.entry p {
    margin: 10px 0;
}
.single .wp-post-image{
    margin: 0 auto 12px;
    display: block;
}

.addthis_toolbox {
    padding: 30px 0 10px;
}

#maincontent ul li, ol li {padding-bottom:6px;}
#maincontent ul li:last-child, #maincontent ol li:last-child {padding-bottom:0px;}
#maincontent ul ul li:last-child, #maincontent ol ol li:last-child {padding-bottom:0px;}
#maincontent ul ul li:first-child, #maincontent ol ol li:first-child {padding-top:0px;}

/* Secondary unordered list */

#maincontent ul ul {
    list-style-type: none;
}
#maincontent ul ul li:before {
    content: "-"; /* en dash here */
    position: absolute;
    margin-left: -1.1em;
}

/* Tertiary unordered list */
.main ul ul ul li:before {
    content: "\0BB \020"; /* en dash here */
    position: absolute;
    margin-left: -1.1em;
}

.ctr{text-align:center;}
img.ctr  {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.hideme{display:none;}

.mapaddy{font-size:125%;line-height:1.4em;font-weight:bold;}

/* Column Layouts ----------------------------------------------------- */
.one_half{width:48%;}
.one_third{width:30.66%;}
.two_third{width:65.33%;}
.one_fourth{width:22%;}
.three_fourth{width:74%;}
.one_fifth{width:16.8%;}
.two_fifth{width:37.6%;}
.three_fifth{width:58.4%;}
.four_fifth{width:79.2%;}
.one_sixth{width:13.33%;}
.five_sixth{width:82.67%;}
.custom_column{position:relative;margin:0;float:left;}
.one_half,.one_third,.two_third,.three_fourth,.one_fourth,.one_fifth,.two_fifth,.three_fifth,.four_fifth,.one_sixth,.five_sixth{position:relative;margin-right:1%;float:left;min-height:1px;margin-bottom:0;}
.last{margin-right:0!important;clear:right;}

.cont.insurance {padding-top: 25px}

.testimonialtop{margin:12px;padding:10px}
.testimonialtop hr{margin:18px auto 14px;}
.testimonialtop .testimonial{margin:0;padding:0;}
.testimonialtop .burgundystrip{margin-bottom:18px;}

#gallery-ss {width:600px;height:450px;margin:0 auto}
.gallerywrap {margin-top:30px}

.home #socialmedia{
    position:absolute;
    top:330px;
    right:20px;
    z-index:999;
}

#socialmedia{
    position:absolute;
    top:115px;
    right:10px;
    z-index:99992443556564;
    font-size:1.1em;
}

.home a.facebook, .home a.yelp {color:#FFF !important;margin-left:20px;}
.home a:hover.facebook, .home a:hover.yelp {color:gold !important;}

a.facebook2{color:#3b5998 !important;}
a.yelp2 {color:#c41200 !important;}
a:hover.facebook2, a:hover.yelp2 {color:#464646 !important;}

.ctr{text-align:center;}
img.ctr{display:block;margin-left:auto;margin-right:auto;}
div.ctr{display:block;margin:0 auto;}

#hssmember {
    padding: 10px;
    border: solid 1px #000;
    background: #FFF;
    /* margin: 20px auto 0 auto; */
    /* width: 45%; */
}
#hssmember h2 {
    text-align: center;
    /* margin-top: -24px; */
    /* background: #4F629A; */
    width: 77%;
    /* color: #fff !important; */
    /* text-shadow: 1px 1px 1px #444; */
    margin-bottom: 14px;
}