    /*
Theme Name: AMPT 1437
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);
@import url(bodyimg.css);

html {
    background: #fff;
    overflow-y: scroll;
    position: relative;
    min-height: 100%;
    height: auto !important;
}

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

body.home {background: transparent url('/files/images/bg-sliver2.png') repeat-x 0 0;}

body {
    height: auto !important;
    font-size: 15px;
    line-height: 1.6em;
    letter-spacing: .03em;
    font-weight: normal;
    font-style: normal;
    font-family: 'Lato', sans-serif;
    background: transparent url('/files/images/bg-sliver-inner.png') repeat-x 0 0;
    overflow: hidden;

}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Droid Serif', serif;
    font-weight: lighter;     letter-spacing: .05em;
}

h1 {font-size: 28px;}
h2 {font-size: 28px;}
h3 {font-size: 26px;}

h3 span{font-weight:normal !important;}

.fr{float:right;margin-left:15px;margin-bottom:5px;}

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

.gmaptopper {height: 28px;}
.gmap {margin: 0 0 20px 0;}

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

h1,h2,h3,h4,h5,h6,.bodytext{color: #155091 !important;}
h1 span, h2 span, h3 span {color: #406ba3 !important;font-size: .7em;}

.testimonial{ color: #155091 !important }
.colorlist, .base_text { color: #155091 !important}

.whtborder{border:thick solid #FFF;}

.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;
}

.altcolor { color: #155091 !important }
a:link { color: #7B0101;text-decoration:underline; }
a:visited,a:active { color: #7B0101;text-decoration:underline; }
a:hover { color: #155091; text-decoration: none }

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);
}

.main {padding:15px;}

.box {
    border:2px solid #155091;
    background-color:#ffffff;
    padding:12px;
    border-radius: 8px;
    margin-bottom:16px;
}

.box1 {
    border:2px solid #99a5ca;
    background-color:#ffffff;
    padding:12px;
    border-radius: 8px;
    margin-bottom:16px;
}

.brd {border:solid 2px #155091;}
.brd1 {border:solid 2px #99a5ca;}
.dbrd {border:solid 2px #155091;background-color:#99a5ca;padding:3px;}
.dbrd1 {border:solid 2px #99a5ca;background-color:#155091;padding:3px;}

.underline {text-decoration: underline;}

.faq-page .question {font-size: 1em;}
.faq-page .video {margin-bottom: 20px;}
.faqbackground {background: transparent;}
/*-----Header--------*/
header {
    height: 198px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

.headerinner {
    position: absolute;
    width: 990px;
    margin: 0 auto;
    height: inherit;
    background: transparent url('/files/images/bg-header.png') no-repeat top center;
    left: 0;
    right: 0;
}

a.facebook{color:#3b5998;}
a.twitter{color:#00aced;}
a.gplus{color:#dd4b39;}
/*a.yelp{background:#c41200;color:#fff;height: 30px;}*/
a.yelp{color:#c41200;}
a.linkedin{color:#0077b5;}
a.youtube{color:#cd201f;}
a.facebook:hover, a.twitter:hover, a.gplus:hover, a.youtube:hover, a.linkedin:hover, a.yelp:hover {color:#464646;}
.fa-google-plus-square{padding-right:12px;}
.fa-facebook-square{padding-right:12px;}
.fa-twitter-square{padding-right:12px;}
#socialmedia{position:absolute;top:2px;right:4px;width:450px;height:42px;text-align:right;z-index:999;}
/*.home a.facebook, .home a.twitter{color:#FFF !important;}*/
/*.home a.facebook:hover, .home a.twitter:hover{color:#bac8f1 !important;}*/

.logo {
    width: 682px;
    height: 173px;
    display: block;
    float: left;
    position: relative;
    top: 10px;
    left: 5px;
}

#topaddr {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: normal;
    position: absolute;
    text-align: right;
    top: 46px;
    letter-spacing: .1em;
    right: 1px;
    width: 288px;
    line-height: 1.6em;
}

#topaddr span {
    line-height: 1.5em;
    display: block;
    font-size: 1.3em;
    font-weight: bold;
}

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

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

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

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

.main {
    position: relative;
    padding: 0;
    width: 990px;
    margin: 0 auto;
    text-align: left;
    background: transparent;
    min-height: 300px;
    z-index: 200;
}

.faq-page .main, .library-page .main, .error404 .main, .search .main {padding: 20px; width: 950px;}

.home #maincol {min-height: 213px;}

#maincol {padding: 20px;min-height:350px;}

#slider {
    width: 1600px;
    height: 350px;
    margin: 0 auto;
    /*background: transparent url('/files/images/therapy-slide.jpg') no-repeat 0 0;*/
    position: relative;
    top: -8px;
    z-index: -1;
}

/*MENUS*/
#horimenu {
    width: 939px;
    margin: 0 auto;
    font-family: arial, serif;
    position: relative;
    z-index: 1000;
    height: 34px;
    top: -21px;
}

.current_page_item a {
    text-shadow: 1px 1px 2px #444;
    color: #ffffff !important;
    background-color: #155091;
}

.sf-menu a {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    letter-spacing: .15em;
    padding: 9px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    line-height: normal;
}

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

.sf-menu {
    float: right;
    z-index: 500;
}

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

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

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

.sf-menu li:hover > a, .sf-menu li.sfHover, .sf-menu a:hover {
    outline: 0;
    color: #ffffff !important;
    background-color: #155091;
}

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

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

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

#menu-item-6 ul{width:300px;}

/*DESIGN ELEMENTS - boxes and such*/
#footer {
    position: absolute;
    bottom: 0;
    color: #FFFFFF;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    padding: 0;
    font-family: 'Cabin', sans-serif;
    background: #165091 url('/files/images/footer-bg.jpg') repeat-x 0 0;
    min-height: 150px
}

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

#footer a:hover {color: #155091;}

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

#footerinner {
    width: 990px;
    margin: 0 auto;
    position: relative;
}

/*FRONT PAGE STYLES*/
#top-homeboxes {
    height: 297px;
    position: relative;
    width: 990px;
    margin: -70px auto 0 auto;
}

#top-homeboxes .top-homebox {
    width: 240px;
    height: 297px;
    float: left;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-right:10px;
}

#top-homeboxes .top-homebox{
    background: url('/files/images/box-sliver-black.jpg') repeat 0 0;
    }

#top-homeboxes .top-homebox:first-child,
#top-homeboxes .top-homebox:last-child  {background: transparent url('/files/images/box-sliver-blue.jpg') repeat 0 0;}

#top-homebox .top-homebox:hover {
    background-color: #555;
    opacity: .8;
}

#top-homeboxes .top-homebox a {
    display: block;
    text-align: center;
    width: 120px;
    margin: 0 auto;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 5px;
    color: #fff;
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-transform: uppercase;
    text-decoration:none;
}

#top-homeboxes .top-homebox a:hover {background: #fff; color: #000;}

#top-homeboxes .top-homebox:first-child {
    background: #013066;
    margin-right: 10px;
    width: 240px;
}

#top-homeboxes .top-homebox {
    background: #1d1d1d;
    margin-right: 10px;
    width: 240px;
}

#top-homeboxes .top-homebox:first-child h3,
#top-homeboxes .top-homebox:last-child h3,
#top-homeboxes .top-homebox:nth-child(2) h3 {/* height: 88px */margin-top: 22px;margin-bottom: 10px;}

#top-homeboxes .top-homebox:last-child {
    background: #013066;
    width: 240px;
    margin: 0;
    float: left;
}

#top-homeboxes .top-homebox h3 {
    color: #fff !important;
    text-align: center;
    font-size: 1.4em;
    margin-bottom: 4px;
    margin-top: 10px;
    line-height: 1em;
    text-shadow: 2px 2px 2px #000;
    font-family: 'Droid Serif', serif;
    letter-spacing: .05em;
    font-weight: bold;
}

#top-homeboxes .top-homebox p {
    color: #fff;
    margin-bottom: 0px;
    padding: 9px 10px 5px 26px;
    line-height: 1.2em;
    letter-spacing: .06em;
}

#intro {
    width: 75%;
    margin: 40px auto 0 auto;
}

#intro h1 {
    text-align: center;
}

#bottom-homeboxes {
    margin: 52px auto 0px auto;
    width: 990px;
    height: 308px;
    padding-bottom: 42px;
}

#bottom-homeboxes .bot-homebox {width: 315px; height: 406px; float: left;background-color: #ebebeb;margin: 0px 16px 30px;border: 1px solid #003065;}
#bottom-homeboxes .bot-homebox img {display: block;margin: 10px auto;}
#bottom-homeboxes .bot-homebox p {color: #464646;padding: 10px 18px 0px 18px;line-height: 1.35em;}
#bottom-homeboxes .bot-homebox h3 {margin:0;padding:0;text-align: center;}

#bottom-homeboxes .bot-homebox a {display: block;text-decoration: none;}
#bottom-homeboxes .bot-homebox:hover {background: #98A4CA}
#bottom-homeboxes .bot-homebox:first-child {
    margin-left: 0px;
    margin-right: 0px;
}
#bottom-homeboxes .bot-homebox:last-child {
    margin-right: 0px;
    float: right;
    margin-left: 0px;
}
#minibannerbox {background:#99a5ca;width:100%;height:250px;}
#minibanners {
    width: 972px;
    margin: 15px auto 0 auto;
    padding-top:20px;
    height: 230px;
}

#minibanners .mb {
    width: 213px;
    height: 213px;
    float: left;
    margin: 0 20px;
}

#minibanners .mb:first-child {
    margin-left: 0;
}

#minibanners .mb:last-child {
    margin-right: 0;
}

#minibanners .mb a {
    background: transparent url('/files/images/mb-background.png') no-repeat 0 0;
    display: table;
    width: 213px;
    height: 213px;
    font-family: 'Droid Serif', serif;
    text-decoration:none;
}

#minibanners .mb a:hover {background: transparent url('/files/images/mb-background-hover.png') no-repeat 0 0;}
#minibanners .mb a:hover span {color: #fff;}
#minibanners .mb a span {
    font-family: 'Lato', sans-serif;
    text-align: center;
    display: table-cell;
    line-height: 1em;
    color: #003267;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: .05em;
    vertical-align: middle;
    font-size: 2em;
}

#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;}

/* Blog Styles */

.postleftpart {
    width: 240px;
    padding-right: 14px;
    float:left;
}
.postrightpart {
    float: right;
    width: 680px;
}

.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;
}

.reviewsignature {
    color: #155091 !important;font-style: italic;
    font-weight: bold;
    text-align: right;
}

.reviewdate {
    color: #155091 !important;font-style: italic;
    font-weight: bold;
    text-align: right;
    margin-bottom: 28px;
}

.run-prices-box {
    background: rgba(153,165,202,0.6);
    /*background: #99A5CA;*/
    width: 100%;
    height: 370px;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 10px;
}

.run-prices-box h4 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 0px;
}

.run-prices-box strong {
    color: #155091 ;
}

.getpt1st-box {
    background: #026898 none repeat scroll 0 0;
    display: block;
    height: 250px;
    margin: 0 auto;
    text-align: center;
    width: 990px;
    margin-top: 50px;
}

#maincontent ul li, ol li {padding-bottom:9px;}
#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;
}

/* Leader Dots */
ul.leaders {
    max-width: 60em;
    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: #FFF}
ul.leaders span + span {
    float: right;
    padding-left: 0.33em;
    background: #FFF}


.espanol {
    text-align: center;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 0;
    background: hsla(0,0%,94%,.4);
    /* width: 468px; */
    margin:  0 auto;
    clear: both;
}
.espanol i {
    color: hsla(211,100%,20%,.5);
}
.espanol span {
    display: block;
    font-size: 1.3em;
    padding-left: 10px;
    color: hsla(0,0%,27%,.7);
}

table{border-collapse:collapse;}

.blackstrip{background:#000;padding:4px;color:#FFF;text-align:center;margin-bottom:10px}
.greystrip{background:#ddd;padding:4px;text-align:center;margin-bottom:10px}
.nowrap{white-space: nowrap;}

table.schedule td {border:solid 1px #000;}

/*table.schedule tr:nth-child(even) {background: #CCC}
table.schedule tr:nth-child(odd) {background: #FFF}*/