/*
Theme Name: Jeffrey J Foss PT 1399
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: #00457C url('/files/images/bg-html-white.jpg') repeat-y top center;
    overflow-y: scroll;
    position: relative;
    min-height: 100%;
    height: auto !important;
}

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

body {
    height: auto !important;
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: .1em;
    font-weight: normal;
    font-style: normal;
    font-family: 'Lato', sans-serif; 
    background: transparent url('/files/images/bg-logos.png') repeat-x top center;

}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Lora', serif; 
    font-weight: lighter;
}

.home h2 span {font-size: .8em}

.base,.gmaptopper {
    background-color: #00457C !important;
    border-color: #002A4C !important;
}

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

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

.altcolor {
    color: yellow;
}

a:link {
    color: #00457C
}

a:visited {
    color: #888
}

a:hover,a:active {
    color: #f39d48;
    text-decoration: none
}

.box {
    border: 2px solid #00457C;
    background-color: #004080;
    padding: 12px;
}

.box1 {
    border: 2px solid #004080;
    background-color: #00457C;
    padding: 12px;
}

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

.brd1 {
    border: solid 2px #00457C;
}

.dbrd {
    border: solid 2px #004080;
    background-color: #00457C;
    padding: 3px;
}

.dbrd1 {
    border: solid 2px #00457C;
    background-color: #004080;
    padding: 3px;
}

.faqbackground {
    background-color: transparent;
}

.justify {text-align: justify;}
/*-----Header--------*/
header {
    height: 360px;
    width: 990px;
    margin: 0 auto;
    text-align: left;
    background: transparent url('/files/images/bg-photos.png') repeat-x 0px 156px;
    position: relative;
}

.headerinner {
    width: 990px;
    margin: 0 auto;
    position: relative;
    height: 160px;
    background: transparent url('/files/images/bg-html.jpg') repeat-y top center;
}

#topaddr {
    font-family: 'Lora', serif;
    font-size: 16px;
    float: right;
    position: relative;
    right: 15px;
    text-align: right;
    top: -10px;
    width: 400px;
    letter-spacing: 0.06em;
}

#topaddr span {
    line-height: 1.2em;
    display: block;
    font-weight: bold;
    font-size: 1.75em;
    color: #fff;
}

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

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

#topaddr a:hover span {
    color: #f39d48 !important;
}

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

.wrapperinner {
    width: 990px;
    margin: 0 auto;
    position: relative;
    min-height: 700px;
}

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

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

.library-page .main, .faq-page .main {
    float: right;
    width: 730px;
    margin: 0;
    padding: 10px 20px;
}


#sidebar {
	position: absolute;
	top:20px;
    width: 200px;
    height: 645px;
    margin: 0;
    padding: 0;
    background: #002A4C;
    z-index: 400;
}

.mb {
    width:200px;
    height: 210px;
}

.mb a {
    width:144px;
    height: 144px;
    margin: 0 auto;
    display: block;
    position: relative;
}

.mb span {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    display: block;
    font-size: 18px;
    font-family: 'Lora', serif;
    padding-top: 5px;
}

.mb #forms i {
    position: absolute;
    left: 25px;
    top: 30px;
    color: #fff;
}

.mb #appt i {
    position: absolute;
    left: 25px;
    bottom: 30px;
    color: #fff;
}

.mb #testim i {
    position: absolute;
    right: 25px;
    top: 30px;
    color: #fff;
}

.mb a#forms {
    background: transparent url('/files/images/bg-forms.png') no-repeat center
}

.mb a#appt {
    background: transparent url('/files/images/bg-appt.png') no-repeat center
}

.mb a#testim {
    background: transparent url('/files/images/bg-testimonials.png') no-repeat center
}

.mb a#forms:hover {
    background: transparent url('/files/images/bg-forms-hover.png') no-repeat center
}

.mb a#appt:hover{
    background: transparent url('/files/images/bg-appt-hover.png') no-repeat center
}

.mb a#testim:hover {
    background: transparent url('/files/images/bg-testimonials-hover.png') no-repeat center
}

.mb a:hover i {color: #00457C;}

.mb:hover span {color: #F39D46;}


#wrap {
    padding: 0 8px;
}

/*MENUS*/

#horimenu {
    width: 990px;
    margin: 0 auto;
    font-family: arial, serif;
    position: relative;
    z-index: 100;
    height: 34px;
}

#navCenter {  
    width: 950px;
    margin: 0 auto;
}

.current_page_item a {
    color: #004080 !important;
    font-weight: bold;
}

.current_page_item a:hover {
    text-shadow: none;
}

.sf-menu a {
    font-family: 'Lora', serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 14px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;

}

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

.sf-sub-indicator {
    background: url('images/arrows-000000.png') no-repeat -10px -100px;
}

.sf-menu ul {width: 220px;}

.sf-menu {
    float: left;
}

.sf-menu li li a {
    border-right: none;
}

.sf-menu li li {
    background: #CCCCCC;
}

.sf-menu li li li {
    background: #CCCCCC;
}

.sf-menu li:hover {
    text-shadow: 1px 1px 0 #333333;
}

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

/*DESIGN ELEMENTS - boxes and such*/
#footer {
    position: absolute;
    bottom: 0;
    color: #000000;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    padding: 0;
}

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

#footer p {
    padding: 0 8px;
    margin: 0;
    text-align: center;
}

.footerinner {
    width: 990px;
    height: 150px;
    margin: 0 auto;
    background: #c9ddff !important;
}

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

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

.logo {
    position: relative;
    left: 130px;
    top: 10px;
    float: left;
}

.logo a {display: block;}

.headerphotos {
    top: -5px;
    position: relative;
}

.headerphotos .topphoto {
    display: inline-block;
    padding-left: 10px;
}

.headerphotos .topphoto:first-child {
    padding-left: 12px;
}

.headerphotos .topphoto img {
    border-top: 10px solid #f39d48;
    padding-top: 5px;
}

.hours {
    text-align: center;
    position: relative;
    color: #004080 !important;
    top: 54px;
    width: 865px;
    margin: 0 auto;
    font-family: 'Lora', serif;
    letter-spacing: normal;
}

.homebox {
    width: 98%;
    margin: 0 auto;
    background: #00457c;
    color: #fff;
    float: left;
    height: 230px;
    overflow: hidden;
    margin-bottom: 15px;
}

.homebox div {
    width: 280px;
    float: left;
    padding: 10px;
}

.homebox img {
    float: right;
    width: 405px;
    height: 231px;
}

.homebox div h3 {
    color: #f39d48 !important;
}

.homebox span.dropcap {
    font-family: 'Lora', serif; 
    background: none;
    font-size: 25px;
    height: 44px;
    line-height: 42px;
    margin: 0 10px -5px 0;
    width: 40px;
}

textarea#input_1_5 {
    border: 1px solid #ababab;
}

.newgmap {
    overflow: visible !important;
}

#patient-portal-intake td{padding: 4px;}
#patient-portal-intake .ppi-fieldrequired-container {
  color: #B12F31;
  font-size: 8pt;
  margin-left: 4px;
}
#patient-portal-intake fieldset {
  background-color: #EEEEEE;
  border: medium none;
  border-radius: 6px 6px 6px 6px;
  margin-top: -20px;
  padding: 12px;
}

#patient-portal-intake legend {
  color: #166690;
  font-size: 13pt;
  padding-top: 40px;
}

#patient-portal-intake .ppi-field-container {
  margin-right: 2px;
}

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

div.staffBox{
margin:0px 0px 50px 0px;
letter-spacing:0;
}

.staffBox img{
float:left;
margin-bottom:10px;
margin-right:10px;
border:2px solid #000;
}

.staffBox h4{
margin-top:0px;
padding-top:0px;
}

.staffBox div{
margin-left:190px;
width:525px;
}