/*
Theme Name: Mass Sport & Spine Physical Therapy 615
Theme URI: http://www.e-rehab.com/
Version: 3.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-color: #ffffff;
    overflow-y: scroll;
    position: relative;
    min-height: 100%;
    height: auto !important;
}

body,td,.bottom,.mceContentBody,.normal {
    color: #0077a2;
}

body {
    height: auto !important;
    font-size: 16px;
    line-height: 1.4em;
    font-weight: normal;
    font-style: normal;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Raleway', sans-serif;*/
}

.underline {
    text-decoration: underline;
}

.faq-page .question {font-size: 1.1em;}
.faq-page .video {margin-bottom: 20px;}

.base,.gmaptopper {
    background-color: #A6CE39 !important;
    border-color: #A6CE39 !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: #A6CE39 !important;
}

.altcolor {
    color: #ceac39
}

a:link {
    color: #ceac39
}

a:visited {
    color: #ddd;
}

a:hover,a:active {
    color: #ceac39;
    text-decoration: none
}

.box {
    border: 2px solid #0077A2;
    background-color: #A6CE39;
    padding: 12px;
}

.box1 {
    border: 2px solid #A6CE39;
    background-color: #A6CE39;
    padding: 12px;
}

.brd {
    border: solid 2px #0077A2;
}

.brd1 {
    border: solid 2px #A6CE39;
}

.dbrd {
    border: solid 2px #0077A2;
    background-color: #A6CE39;
    padding: 3px;
}

.dbrd1 {
    border: solid 2px #A6CE39;
    background-color: #0077A2;
    padding: 3px;
}

.faqbackground {
    background-color: #efefef;
}


/*-----Header--------*/
header {
    height: 155px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    background-color: #fff;
    position: relative;
    position: fixed;
    z-index: 10;
}

.header-content {
    position: relative;
    width: 990px;
    margin: 0 auto;
}

#topaddr {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 18px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 24px;
    /* width: 518px; */
    letter-spacing: .1em;
}

.logo {
    display: block;
    width: 366px;
    height: 108px;
    position: relative;
    top: 12px;
}

#topaddr span {
    line-height: 1.8em;
    font-weight: bold;
}

#topaddr a {
    display: inline-block;
    margin-bottom: 10px;
    width: 245px;
}

#topaddr * {
    text-decoration: none;
    color: #0077A2;
}

#topaddr a:hover {
    color: #ceac39 !important;
}

#topaddr a:hover span {
    color: #ceac39 !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;
    overflow: hidden;
    background: transparent;
    /*min-height: 500px;*/
}

#maincol {
    width: 950px;
    margin: 0;
    padding: 10px 20px;
}

#wrap {
    padding: 0 8px;
}

/*MENUS*/
#horimenu {
    width: 980px;
    margin: 0 auto;
    /*font-family: arial, serif;*/
    position: relative;
    z-index: 100;
    height: 34px;
    top: 12px;
}

.current_page_item a {
    color: #A6CE39 !important
}

.sf-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    /*text-shadow: 1px 1px 0 #333333;*/
    font-size: 14px;
    /*font-weight: bold;*/
    letter-spacing: 1px;
    padding: 10px 9px;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
}

.sf-menu a, .sf-menu a:visited {/* visited pseudo selector so IE6 applies text colour*/
 color: #0077A2;/*Match color above*/
}

.sf-menu {
    float: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
     -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.sf-menu li li a {
    border-right: none;
}

.sf-menu li li {
    background: #ffffff;
}

.sf-menu li li li {
    background: #ffffff;
}

.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    color: #000;
    outline: 0;
}

/*DESIGN ELEMENTS - boxes and such*/
#footer {
    bottom: 0;
    color: #FFFFFF !important;
    width: 100%;
    text-align: left;
    margin: 0 auto;
    padding: 0;
    /*position: absolute;*/
}

#footer a:link,#footer a:visited {
    color: white;
}

#footer p {
    padding: 0 8px;
    margin: 0;
}

.footer-content {
    width: 990px;
    margin: 0 auto;
    letter-spacing: .1em;
}

.footer-content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-content > div {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    width: 33%;
    padding: 15px 30px;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
}

.footer-content > div:nth-child(1) {
    border-right: 1px solid #444;
    text-align: center;
}
.footer-content div:nth-child(2) {
    text-align: center;
    line-height: 2em;
}
.footer-content > div:nth-child(3) {
    border-left: 1px solid #444;
}

.footer-content h1 {color: #fff !important;text-align: center;font-size: 1.8em;letter-spacing: .05em;}

.footer-content ul {list-style-type: none; padding-left: 0px;}

#footer .current_page_item a, #footer a:hover  {color: #0077A2 !important;}

#menu-footer{
    -webkit-column-count: 2;/* Chrome, Safari, Opera */
    -moz-column-count: 2;/* Firefox */
    column-count: 2;
    text-transform: uppercase;
    line-height: 2em;
}

.cards {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.card {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    width: 33%;
    padding: 9px;
}

#home-top, #home-bottom {
    width: 990px;
    margin: 0 auto 30px auto;
}

#home-top {border-bottom: 1px solid #444;}

#top-cards, #bottom-cards {margin: 15px auto;}

#top-cards .card a div, #top-cards .card div {
    padding: 10px;
    background: #A6CE39;
    margin: 0 auto;
    display: block;
    font-size: 1.5em;
    color: #fff;
    text-align: center;
}

#top-cards .card a:hover div {
    background: #0077A2;
}

#top-cards .card span {
    display: block;
    padding: 15px;
    letter-spacing: .05em;
    text-align: center;
}

#home-top .cards .card:nth-child(1) {
    border-right: 1px solid #000;
}

#home-top .cards .card:nth-child(3) {
    border-left: 1px solid #000;
}

#home-bottom .cards .card .photo {
    background-image: url('/files/-new/homesprite.png');
    background-repeat: no-repeat;
    height: 212px;
    width: 317px;
    margin: 0 auto 20px auto;
}

#home-bottom .cards .card:nth-child(1) .photo {
    background-position: 0px 0px;
}

#home-bottom .cards .card:nth-child(2) .photo {
    background-position: -336px 0px;
}

#home-bottom .cards .card:nth-child(3) .photo {
    background-position: -673px 0px;
}

#bottom-cards .card h1 {
    color: #0077A2 !important;
    font-weight: lighter;
    font-size: 1.8em;
    text-align: center;
}

#bottom-cards .card a {
    text-align: center;
    display: block;
    padding: 12px;
    color: #fff;
    background: #A6CE39;
    width: 75%;
    margin: 20px auto 10px auto;
    text-transform: uppercase;
    font-size: 1.3em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: .03em;
}

#bottom-cards .card a:hover {
    background: #0077A2;
}

#bottom-cards .card span {
    line-height: 2em;
    padding: 5px;
    display: block;
    text-align: center;
}

#slider {
    /*background: transparent url('/files/-new/slider-ph.jpg') no-repeat 0px 0px; */
    /*height: 800px;*/
    width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: -5;
    margin-top: 155px;
}

#slider-text-ss {
    position: absolute !important;
    width: 990px !important;
    margin: 0 auto;
    z-index: 1000;
    left: 0;
    right: 0;
}

#slider-text-ss h1 {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    text-shadow: 1px 1px 10px #444;
    color: #ffffff !important;
    line-height: 1.2em;
    font-size: 50px;
}

/*#slider-text-ss div:nth-child(1) {width: 100% !important;top: 75px !important;}
#slider-text-ss div:nth-child(2) {width: 100% !important;top: 200px !important;}
#slider-text-ss div:nth-child(3) {width: 100% !important;top: 450px !important;}

#slider-text-ss div:nth-child(1) h1 {
    text-align: left;
}
#slider-text-ss div:nth-child(2) h1 {
    text-align: right;
}
#slider-text-ss div:nth-child(3) h1 {
    text-align: center;
}*/

#slider-text-ss div:nth-child(1) {width: 100% !important;top: 75px !important;}
#slider-text-ss div:nth-child(2) {width: 100% !important;top: 75px !important;}
#slider-text-ss div:nth-child(3) {width: 100% !important;top: 75px !important;}

#slider-text-ss div:nth-child(1) h1 {
    text-align: left;
}
#slider-text-ss div:nth-child(2) h1 {
    text-align: right;
}
#slider-text-ss div:nth-child(3) h1 {
    text-align: left;
}

#home-list {
    list-style-type: none;
}

.columns {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
}

#home-form {background-color: #f5f5f5;padding-top: 0;clear: both;}
#home-form h1 {text-align: center;color: #444 !important;font-size: 1.8em;padding-top: 20px;}
#home-form #gform_1 {/* background-color: #f0f0f0; *//* width: 600px; */ margin: 0 auto;}
#gform_wrapper_1 {max-width: 100%;}
#home-form-content {
    position: relative;
    padding-bottom: 20px;
    background-color: #f0f0f0;
    width: 600px;
    margin: 0 auto;
}
#home-form .fa-arrow-up {}
#gform_submit_button_1 {
    background: #0f52ba;
    color: #fff;
    text-transform: uppercase;
    width: 100%;
    border: none;
    padding: 12px 0;
}

#gform_1 textarea {    background: #fff;
    margin: 0 auto;
    display: block;}

#home-form-content .toverytop {
    background: #fff;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    display: block;
    position: absolute;
    top: -28px;
    left: 48%;
    color: #666;
    text-transform: uppercase;
}

.gform_wrapper .hidden_label input.large, .gform_wrapper .hidden_label select.large, .gform_wrapper .top_label input.large, .gform_wrapper .top_label select.large {
    margin: 0 auto;
    display: block;
}

.socialmedia {
    position: fixed;
    z-index: 1000;
    left: 0px;
    background: hsla(0, 100%, 100%, .8);
    padding: 5px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    top: 280px;
}

.socialmedia a {
    display: block;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 10px;
    top: 0;
}

.socialmedia a i.fa {
    background: #0077a2;
    border-radius: 8px;
    box-sizing: border-box;
    color: #fff;
    font-size: 25px;
    height: 40px;
    padding: 5px;
    text-align: center;
    width: 40px;
    vertical-align: middle;
    display: table-cell;
}

.socialmedia a:hover i.fa {
  background: #A6CE39;
}

.socialmedia a i.fa-twitter {background-color: #1dcaff}
.socialmedia a i.fa-facebook {background-color: #3b5998}
.socialmedia a i.fa-google-plus {background-color: #dd4b39}
.socialmedia a i.fa-youtube{background-color: #cd201f}
.socialmedia a i.fa-yelp {background-color: #af0606}

.sf-sub-indicator {
    background: url('images/arrows-000000.png') no-repeat -10px -100px;
}

/*#layerslider_2 h1 {color: #0077a2 !important; text-shadow: 1px 1px 5px #fff;}
#layerslider_2 h1.whitetxt {color: #ffffff !important; text-shadow: 1px 1px 5px #0077a2;}*/

#layerslider_3 h1 {color: #ffffff !important;}

#services {width: 695px}

#maincontent {
    top:155px;
    padding-bottom: 155px;
}

.page-id-776 #maincontent {
    top: 20px;
    padding-bottom: 20px;
}

.home #maincontent {
    top:0px;
    padding-bottom: 0px;
}

.fixedheader {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.wrapper {
  flex: 1;
}

#menu-item-6 ul {
    width: 350px;
}

/*#menu-item-6 ul.sf-menu li li:hover ul, #menu-item-6 ul.sf-menu li li.sfHover ul {
    left: 320px;
}
*/

ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul {
    left: 350px;
}

.newgmap {
    overflow: visible !important;
}

.blue {
    background: none !important;
    color: #00437f !important;
}

.home-test #slider-text-ss div {
    top: 10px !important;
}

.home-test #slider-text-ss h1 {
    font-size: 2em !important;
    background: hsla(0,0%,27%,.2);
    padding: 10px;
    display: inline-block;
}

.home-test #slider-text-ss div:nth-child(1) {width: 100% !important;/* top: 75px !important; */}
.home-test #slider-text-ss div:nth-child(2) {width: 990px !important;/* left: 0 !important; *//* right: 0 !important; */}
.home-test #slider-text-ss div:nth-child(3) {width: 100% !important;/* top: 75px !important; *//* right: 0px !important; */}

.home-test #slider-text-ss div:nth-child(1) h1 {
    text-align: left;
}
.home-test #slider-text-ss div:nth-child(2) h1 {
    text-align: right;
}
.home-test #slider-text-ss div:nth-child(3) h1 {
    text-align: left;
}