/*
Theme Name: Souderton Rehabilitaiton Center 1263
Theme URI: http://www.e-rehab.com/
Version: 1.0
Description: Designed by John Mason
Author: John B Mason
Author URI: http://www.e-rehab.com
Template: xwp
*/
@import url(superfish.css);

html {
    background:url('images/patternbg.png');
    overflow-y: scroll;
}

body,td,.bottom,.mceContentBody,.normal {
    color: #444;
}

body {
    background:url('images/topstrip.png') repeat-x;
    font-size: 15px;
    font-weight: normal;
    font-style: normal;
    font-family: "Cabin",sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Francois One",sans-serif;
}

h1 {
	font-size:140%;
    text-shadow: 1px 1px 2px #7eded1;
    text-transform:uppercase;
}

h2 {
	font-size:125%;
}
h3 {
font-size:105%;
margin-bottom:0;
}

.base,.gmaptopper {
    background-color: #2a826a !important;
    border-color: #2a826a !important;
}

.base_sprite,.base_numbers li:before {
    background-image: url(images/shortcodes/sprites/custom_sprite_2a826a.png) !important;
}

.base_text,.base_sprite a,h1,h2,h3,h4,h5,h6,.brd,.testimonial,.colorlist,.bodytext {
    color: #2a826a !important;
}

.altcolor {
    color: #7e130f
}

a:link,a:active {
    color: #001156
}

a:visited {
    color: #001156
}

a:hover {
    color: #2a826a;
    text-decoration: none
}

.box {
    border: 2px solid #2a826a;
    background-color: #fec836;
    padding: 12px;
}

.box1 {
    border: 2px solid #8c8c8c;
    background-color: #592615;
    padding: 12px;
}

.brd {
    border: solid 2px #2a826a;
}

.brd1 {
    border: solid 2px #8c8c8c;
}

.dbrd {
    border: solid 2px #2a826a;
    background-color: #fec836;
    padding: 3px;
}

.dbrd1 {
    border: solid 2px #8c8c8c;
    background-color: #FFF;
    padding: 3px;
}

.faqbackground {
    background-color: #d7d9d9;
}


/*-----Header--------*/
header {
    height: 264px;
    width: 990px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    background:url('images/headerbg.png') no-repeat;
}

#seal{width:127px;height:129px;background:url('images/seal.png') no-repeat;position:absolute;top:32px;left:0;}
#logo{width:386px;height:108px;position:absolute;top:32px;left:138px;}

#hero{position:absolute;top:230px;width:990px;height:332px;}
#socialmedia {height:32px; width:32px; position:absolute; right:8px; top:242px;}

#topaddr {
    font-family: 'Cabin', sans-serif;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: 3px;
    text-align: right;
    top: 45px;
    width: 400px;
    text-shadow: 1px 1px 2px #7eded1;
    letter-spacing: .1em;
    text-transform:uppercase;
}

#topaddr span {
    font-size: 1.4em;
    line-height: 1.05em;
}

#topaddr * {
    text-decoration: none;
    color: #2a826a;
}

#topaddr a:hover {
    color: #001156 !important;
}

#topaddr a:hover span {
    /*font-size: 1.5em;*/
    color: #001156 !important;
}
#fb-icon {
    position: absolute;
    top: 115px;
    right: 7px;
}
#fb-icon i.fa-facebook-square {
    text-shadow: 1px 1px 1px #8C8C8C;
}

/*-------Main Area/Content-------*/
.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -131px;
}

.main {
    position: relative;
    padding: 0;
    width: 990px;
    min-height:450px;
    margin: 320px auto 20px;
    text-align: left;
    overflow: hidden;
    background: transparent;
}

#rightcol {
    float: right;
    width: 730px;
    margin: 0;
    padding: 10px 20px;
}

#sidebar {
	position: absolute;
	top:200px;
    width: 220px;
    height: 500px;
    margin: 0;
    padding: 0;
}

#wrap {
    padding: 0 8px;
}

/*MENUS*/

#horimenu {
    width: 990px;
    margin: 0 auto;
    font-family: 'Francois One', sans-serif;
    position: absolute;
    top:183px;
    z-index: 100;
    height: 34px;
}

#navCenter {width:920px;float:right;}

.current_page_item a {
    color: #fec836 !important
}

.sf-menu a {
    font-family: 'Cabin', sans-serif;
    text-shadow: 1px 1px 0 #333333;
    font-size: 16px;
	/*font-weight: bold;*/
    letter-spacing: 1px;
    padding: 10px 13px;
    border: none;
    text-decoration: none;
    text-transform:uppercase;
}

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

.sf-menu {
    float: left;
}

.sf-menu li li a {
    border-right: none;
    text-shadow:none !important;
    padding: 5px 5px !important;
    text-transform:capitalize;
    font-size:15px;
}

.sf-menu li li {
    background: #2a826a;
}

.sf-menu li li li {
    background: #2a826a;
}

.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    color: #fec836;
    outline: 0;
}

.sf-menu li li:hover, .sf-menu li li.sfHover, .sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
    color: #fec836;
    background:#001156;
    outline: 0;
}

.sf-menu li li li:hover, .sf-menu li li li.sfHover, .sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
    color: #fec836;
    background:#001156;
    outline: 0;
}

/*DESIGN ELEMENTS - boxes and such*/
#footer,.push {
    height: 131px;
}

#footer {
    position: relative;
    color: #FFFFFF;
    width: 100%;
    background:url('images/footerbg.png') repeat-x;
    text-align: left;
    margin: 0 auto;
    padding: 0;
}

#footer a:link,#footer a:visited {
    color: white;
}

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

/*-------- Specific to this site ------------*/
.underline {
    text-decoration: underline;
}

p.addr {list-style-type:none; padding-left:35px !important;text-decoration:none;margin:0 0 12px 0;}
p.addr {height:26px !important; background-image:url("/files/icons/addr.png") !important;background-repeat: no-repeat;}

p.phone {list-style-type:none; padding-left:35px !important;text-decoration:none;margin:0 0 12px 0;}
p.phone {height:26px !important; background-image:url("/files/icons/phone.png") !important;background-repeat: no-repeat;}

p.fax {list-style-type:none; padding-left:35px !important;text-decoration:none;margin:0 0 12px 0;}
p.fax {height:26px !important; background-image:url("/files/icons/fax.png") !important;background-repeat: no-repeat;}

p.mailaddr {list-style-type:none; padding-left:35px !important;text-decoration:none;margin:0 0 12px 0;}
p.mailaddr {height:26px !important; background-image:url("/files/icons/envelope.png") !important;background-repeat: no-repeat;}


.imgshadow {
    box-shadow: 0 0 10px #a0a0a0;
    border: 2px solid #fff;
    margin: 14px;
}

a:hover .imgshadow,a:active .imgshadow{
    box-shadow: 0 0 10px #E78F25;
}

#staffbox{width:auto;min-height:200px;clear:both;border-bottom:1px dotted #888;}
#staffphoto{width:200px;float:left;}
#stafftext{width:730px;float:right;padding-top:15px;}
#stafftext p {margin:0;padding-top:0;padding-bottom:12px;}


.underline {
    text-decoration: underline;
}

.greentext{color:#2a826a;}
.greenbrd {border:solid 1px #2a826a;}
.greenstrip {background:#2a826a;color:#c1d2cb;font-weight:bold;text-align:center;padding:4px;margin-bottom:9px;}

.bluetext{color:#001156;}
.bluebrd {border:solid 1px #001156;}
.bluestrip {background:#001156;color:#FFF;font-weight:bold;text-align:center;padding:4px;margin-bottom:9px;}

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

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

/* Leader Dots */
ul.leaders {
    max-width: 40em;
    margin:0;
    padding: 0;
    overflow-x: hidden;
    list-style: none}
ul.leaders li:before {
    float: left;
    width: 0;
    white-space: nowrap;
    content:
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "}
ul.leaders span:first-child {
    padding-right: 0.33em;
    background: transparent}
ul.leaders span + span {
    float: right;
    padding-left: 0.33em;
    background: transparent;}

img.center {display: block; margin-left: auto; margin-right: auto;}

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

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

.faq-page .question {font-size: 1.2em;}
.faq-page .video {margin-bottom: 20px;}

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

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

.gfield_label, .gform_description {color: #000}

.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 {
	font-family: cabin, sans-serif;
	font-size:13px;
	color:#001156;
	border:solid 1px #2a826a;
	background:#FFF;
}
#s{border:solid 1px #2a826a;}

/* 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:4%;float:left;min-height:1px;margin-bottom:0;}
.last{margin-right:0!important;clear:right;}

legend{margin-bottom:20px;}

#sports-rehab {
    width:80%;
    margin:0 auto;
    position:relative;
}

#indus-rehab {
    width:75%;
    margin:0 auto;
    position:relative;
}

.video-container {
    width:425px;
    height:344px;
}