/*
Theme Name: Border Therapy 1397
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 {
position: relative;
min-height: 100%;
}
#footer {/* position: absolute; *//* bottom: 0; *//* width: 100%; */}

* {
margin:0; padding:0;
}
html {position: relative;/* min-height: 100%; */}
body { position:absolute; top:0; bottom:0; right:0; left:0; }
body{min-height:100%;    margin: 0;}

html {
    background: #0801e5;
    background-image: url('/files/images/sliver.png'); /*fallback*/
    background-image: url('/files/images/sliver.png'), -moz-linear-gradient(top,  #040299 0%, #0801e5 100%);
    background-image: url('/files/images/sliver.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#040299), color-stop(100%,#0801e5));
    background-image: url('/files/images/sliver.png'), -webkit-linear-gradient(top,  #040299 0%,#0801e5 100%);
    background-image: url('/files/images/sliver.png'), -o-linear-gradient(top,  #040299 0%,#0801e5 100%);
    background-image: url('/files/images/sliver.png'), -ms-linear-gradient(top,  #040299 0%,#0801e5 100%);
    background-image: url('/files/images/sliver.png'), linear-gradient(to bottom,  #040299 0%,#0801e5 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#040299', endColorstr='#0801e5',GradientType=0 );*/
    background-repeat: repeat-y;
    background-position: top center;
    overflow-y: scroll;
    position: relative;
    /* min-height: 100%; */
    /* height: auto !important; */
    height: 100%;
}

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

body {
    font-size: 15px;
    line-height: 1.5em;
    letter-spacing: .03em;
    font-weight: normal;
    font-style: normal;
    font-family: 'Open Sans', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Open Sans', sans-serif;
}

h1 span {font-weight:normal;font-size:90%;}

.base,.gmaptopper {
    background-color: #040299 !important;
    border-color: transparent !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: #040299 !important;
}

h3 span {color: #99ccff; }

.altcolor {
    color: #000099
}

a:link {
    color: #006699
}

a:visited {
    color: #1c4980
}

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

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

.box1 {
    border: 2px solid #000099;
    background-color: #ffffff;
    padding: 12px;
}

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

.brd1 {
    border: solid 2px #006699;
}

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

.dbrd1 {
    border: solid 2px #006699;
    background-color: #000099;
    padding: 3px;
}

.faqbackground {
    background-color: transparent;
}


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

.headerinner {
    height: 150px;
}

#topaddr {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: bold;
  position: relative;
  top: 50px;
  width: 285px;
  letter-spacing: .1em;
  float: left;
  text-align: center;
  left: 124px;
  line-height: 1.3em;
}

#topaddr span {
  display: block;
  line-height: 1.2em;
  font-style: normal;
  font-weight: lighter;
  color: #0702f9;
  font-size: 1.1em;
}

#topaddr * {
  color: #040299;
  font-weight: bolder;
  font-style: italic;
}

#topaddr a:hover {
    color: #706EFF !important;
    text-shadow: 1px 1px 5px #ffde01;
}

#topaddr a:hover span {
    color: #706EFF !important;
    text-shadow: 1px 1px 5px #ffde01;
}

#translate{position:absolute;top:25px;right:300px;z-index:100;}

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

.wrapperinner {
    width: 990px;
    margin: 0 auto;
    position: relative;
    /*min-height: 1000px;*/
    min-height: 1240px;
    flex: 1;
    min-height: 100vh;
}

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

#leftcol,
.library-page .main,
.faq-page .main {
    float: left;
    width: 658px;
    margin: 0;
    padding: 10px 20px 10px 50px;
    min-height: 1200px;
}

#sidebar {
    position: absolute;
    top: -1px;
    width: 228px;
    margin: 0;
    padding: 0;
    right: 34px;
    color: #fff;
    background: transparent url('/files/images/bg-sidebar-top.jpg') repeat-x 0px 0px;
    z-index: 10;
}

#wrap {
    padding: 0 8px;
}

/*MENUS*/


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

.current_page_item a {
    color: #ffde01 !important
}

.sf-menu a {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 10px;
    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;
}

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

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

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

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

.sf-menu ul {
    width: 200px;
}
/*DESIGN ELEMENTS - boxes and such*/
#footer {
  /* position: absolute; */
  /* bottom: 0; */
  color: #FFFFFF;
  width: 100%;
  height: 211px;
  text-align: left;
  background: transparent url('/files/images/bg-footer.png') no-repeat bottom center;
}

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

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

.footerinner {
    left: -122px;
    /* height: 211px; */
    position: relative;
    /* top: 28px; */
    width: 695px;
    margin: 30px auto 0 auto;
    padding: 37px 0 20px 0;
    background: #040299;
}

.footerinner p a:hover {color: #ffde01 !important}
/*-------- Specific to this site ------------*/
.underline {
    text-decoration: underline;
}

.faq-page .question {font-size: 1em;}
.faq-page .video {margin-bottom: 20px;}
.question a, .faq-page h3 a {color: #04029D;}
.question a:hover, .faq-page h3 a:hover {color: #ffde01;}

.mb {
    width: 194px;
    height: 98px;
    margin: 0 auto 8px auto;
}

.mb a {border: 2px solid #000;}

.logo {
    position: relative;
    top: 2px;
    left: 27px;
    width: 215px;
    display: block;
    float: left;
}

.tagline {
    position: relative;
    color: #0400f5;
    top: 65px;
    font-size: 23px;
    font-style: italic;
    width: 271px;
    float: left;
    left: 68px;
}

.social {
    width: 50px;
    position: relative;
    float: right;
    right: 35px;
    top: 10px;
    text-align: center;
}

.social a {display: block;}

.social a:hover  {opacity: .7}
.fa-facebook-square {color: #3b5998}
.fa-twitter-square {color: #1dcaff}
.fa-youtube-square {color: #cd201f}

#sidebar .location {
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 5px;
    background: transparent url('/files/images/bg-locations.png') no-repeat 0px 0px;
    height: 539px;
}

#sidebar .location li a {
    color: #fff;
    display: table;
    height: 84px;
    padding: 10px;
    background: transparent;
    width: 208px;
}

#sidebar .location li a:hover {
    color: #ffde01;
    text-shadow: 1px 1px 8px #444;
}

#sidebar .location li a span {
    font-size: 1.3em;
    font-weight: bold;
    display: block;
    padding-top:6px;
}

#sidebar .location li div a p {
    margin-bottom: 0;
    display: table-footer-group;
    vertical-align: bottom;
}
#sidebar .location li {height: 100px;}
#sidebar .location li:last-child a {height: 94px}
#sidebar .sb-services {padding: 15px;}
#sidebar .sb-services h1 {color: #fff !important;text-align: center;text-transform:uppercase;letter-spacing:5px;}
#sidebar .sb-services h2, #sidebar .sb-services h3 {color: #5553e6!important;}
#sidebar .sb-services a {color: #fff;}
#sidebar .sb-services a:hover {color: #ffde01;}

#slider {
    /*background: transparent url('/files/images/slide-1.jpg') no-repeat 0px 0px;?*/
    width:672px;
    height:279px;
    border: 10px solid #e1e1e1;
    position: relative;
    left: 25px;
}

.announcements {
    position: relative;
    left: -25px;
    background: #040299;
    width: 672px;
    min-height: 250px;
    padding: 10px;
    color:#FFF;
}
.afterannouncements{
    position: relative;
    left: -25px;
    width: 672px;
    height:21px;
background:url('images/bottomshadow.png') no-repeat;
margin-bottom:40px;
}

.announcements h3 {
    margin-bottom: 0;
    color: #fff !important;
    font-weight: lighter;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px
}

.announcements p {
    margin-top: 15px;
    text-align: left;
    margin-right: 12px;
    line-height: 1.2em;
    color:#FFF;
}

a.announcementlink {color: #ffde01 !important; text-transform: uppercase;}
a:hover.announcementlink {text-decoration: underline;color:#fff !important;}

.announcements .one_third p {
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
    margin-right: 0;
    color: #fff
}
.announcements .one_third a {
    color: #7473ec;
    font-size: 1.1em;
    text-shadow: 1px 1px 1px #000;
    display: block;
    margin-bottom: 2px;
}
.announcements .one_third a:hover {color: #ffde01; text-decoration: none;}

.homebanners {
    background: transparent url('/files/images/bg-homebanners.png') no-repeat 0px 0px;
    width: 695px;
    height: 130px;
    position: relative;
    left: -25px;
    padding-top: 30px
}

.homebanners div {
    width: 160px;
    height: 80px;
    background: #040299;
    float: left;
    margin: 0 7px;
    display: table;
}
.homebanners div:last-child {margin: 0 0px 0 7px;}

.homebanners div a {
  color: #fff;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000;
  letter-spacing: .02em;
  line-height: 1.2em;
}

.homebanners div:hover {background: #ffde01;}
.homebanners div a:hover {color:#040299}

.paperwork ul li {padding-bottom: 7px;}

.newgmap {overflow: visible !important;}

/*textarea:focus {
    background: #ffff9a;
}*/

textarea#input_1_4 {
    border: 1px solid #aaaaaa;
}

.homephoto {
    -ms-transform: rotate(7deg); /* IE 9 */
    -webkit-transform: rotate(7deg); /* Chrome, Safari, Opera */
    transform: rotate(7deg);
    box-shadow: 2px 2px 6px #444;
    border: 8px solid #fff;
}

.imgshadow{
    box-shadow: 2px 2px 6px #444;
    border: 8px solid #fff;}

#about-ss {width:450px; height:300px }
.orange{background:transparent !important;}

#new-office.box {clear: both;}
#new-office.box * {color: #444 !important; text-align: center;}
