/*
Theme Name:     Trainyards
Theme URI:      http://siteURI.com/
Author:         Marketing Breakthroughs
Description:    A custom WordPress design lovingly crafted for Trainyards Medical Center by Marketing Breakthroughs. Based on the open-source Mana framework.
Author:         Marketing Breakthroughs
Author URI:     https://marketingbreakthroughs.com/web-design/
Template:       betheme
Version:        2.0
*/


#Content a {
    font-weight: 700;
}

#Content {
    color: #626262;
}

a.button, a.tp-button, button, input[type="submit"], input[type="reset"], input[type="button"]{
    border-radius: 0 !important;
    font-weight: 700;
}

.drop-shadow {
    box-shadow: 0px 5px 10px rgba(0,0,0,0.37);
}

#Top_bar .logo {
    margin-top: 20px!important;
    margin-bottom: 20px!important;
}


/* Flu Shot Banner */
#wpfront-notification-bar  div.wpfront-message {
    display: block!important;
    padding-top:10px;
    font-weight: bold;
}

#wpfront-notification-bar  div.wpfront-close {
    font-size: 18px;
    top: 20px;
    right: 0;
}


/* menu */

.main-menu{
    background: #00b2e3;
    -webkit-border-radius: 0px 0px 0px 0px;
    -moz-border-radius: 0px 0px 0px 0px;
    -ms-border-radius: 0px 0px 0px 0px;
    -o-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.37);
    z-index:60;
    font-weight: 500 !important;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-current-menu-item, #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
    text-decoration: none !important;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu #mega-menu-item-20 a.mega-menu-link:before {
    font-size: 1.5em;
    color: #262261!important;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item > a.mega-menu-link:active {
    text-decoration: none!important;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item a.dashicons-admin-home:before{
    padding-top:15px;
    font: normal normal normal 14px/1 FontAwesome !important;
    font-size: 2em !important;
}

.dashicons-admin-home:before{
    content: "\f015";
}

.responsive-menu-toggle { display: none; }


#Action_bar{
    font-size:20px;
    font-weight:700;
}

#Action_bar .contact_details{
    float:right !important;
    padding-left:25px;
}

#Action_bar .contact_details .phone{
    padding-left:20px !important;
    padding-right:30px !important;
}

#Action_bar .contact_details .phone ,#Action_bar .contact_details .phone a,
#Action_bar .contact_details .phone:hover ,#Action_bar .contact_details .phone a:hover{
    background-color:white;
    color:#000000;
}

a.button.button-header.button_size_2.button_js.action-bar-contact-button  {
    background-color: #000000!important;
    color: white!important;
    margin-right: 0;
}

.header-magazine #Top_bar .banner_wrapper {
    right: 0!important;
}

.header-magazine #Top_bar .banner_wrapper a:hover {
    background-color: #00b2e3!important;
    color: black!important;
}

#Action_bar .phone {
    border-bottom: 1px solid white;
}

.icon-phone:before {
    transform: scale(-1,1);
}

#Action_bar .social i{
    font-size:1.4em;
}

#Action_bar .call-now-desktop {
    display: block;
}

#Action_bar .call-now-mobile {
    display: none;
}

/* Homepage */

.button-header{
    padding: 10px 40px !important;
    float: right;
    margin-top: 25px;
}

.box{
    border: 2px solid #00b2e3;
}

.box.one-third.column {
    width: 30.333%;
}

.text-center{
    text-align:-webkit-center;
}

/* service box section */
.ser-box{
    border: 2px solid #00b2e3;
    text-align:-webkit-center;
    padding: 20px 20px 0 20px;
    margin: 0!important;
    width: auto!important;
    padding-bottom: 0 !important;
}

.ser-box-2 {
    margin-left: 20px!important;
}

.ser-box-img{
    display:block;
    padding:5px;
}

.ser-box-img img{
    min-height:200px;
}

.ser-box-content{
    color: #626262;
    display:block;
    padding:15px;
    width: auto;
    vertical-align: -webkit-baseline-middle;
    min-height: 540px;
    position: relative;
}

.ser-box-content.half{
    display: inline-block;
    width: 45%;
}

.ser-box-content h3{
    min-height: 10px;
    color:#000000!important;
    padding-bottom:0!important;
}

.ser-box-btn{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 95%;
    padding: 0 3%;
}

.small-text {
    font-size: 14px;
    font-style:italic;
    line-height: 10px;
}




/* cta section */

.cta-sec h2{
    float: left;
    margin-bottom:0;
    line-height: 30px;
}

.cta-sec h2 span{
    display:inline-block;
    vertical-align: middle;
    vertical-align: -webkit-baseline-middle;
    margin-right:20px;
    margin-left: 30px;
}
.cta-sec h2 a{
    display:inline-block;
    vertical-align: middle;
    vertical-align: -webkit-baseline-middle;
    margin-bottom: 0;
}

.cta-sec .button {
    margin-bottom: 0!important;
}

.cta-sec-inner h2 {
    text-align: center;
    margin-bottom:0;
    margin-top: 5px;
}

.new-management {
    margin-top: 20px!important;
}

/* news section */



.news-box{
    text-align:-webkit-center;
}

.news-box-img{
    display:block;
    padding:5px;
}

.news-box-content{
    display:block;
    padding:5px;
    width: auto;
    vertical-align: -webkit-baseline-middle;
    position: relative;
}

.news-box-content p {
    color: #626262;
}

.news-box-content a {
    font-weight: bold;
}

.news-box-content h3{
    min-height:66px;
}

.our-medical-services {
    padding-left: 25%;
}

.our-medical-services ul {
    line-height: 2;
    list-style: none!important;
}

.our-medical-services li {
    font-size: 20px;
    font-weight: bold;
    text-indent: -.7em;
    padding-left: 5px;
}

.our-medical-services li::before {
    content: "• ";
    color: #262261;
}

/* *** Table Styling *** */

.trme-table {
    border: 2px solid #00b2e3;
}

.table-first-column {
    width: 28%;
    font-weight: bold;
    color: #95989A;
}

table tr:first-child td {
    background-image: none!important;
}	

.about-the-director p {
    padding-right: 20px;
}

.schedule-appointment {
    color: gray !important;
}

.practitioner {
    font-weight: bold;
}

.practitioner-table-header {
    background-color: #00b2e3!important;
}

.practitioner-table-header h3 {
    margin-bottom: 0;
    color: white!important;
}

.practitioner-table-header a {
    margin-bottom: 0;
    color: white!important;
}

.faq .question.active .title {
    color: #262261!important;
}

.faq .question .title {
    font-size: 110%!important;
}

.rehab-text{
    display:table;
}

.rehab-text p{
    display: table-cell;
    vertical-align: middle;
}



/* Getting Here section with Map */

.getting-here {
    margin-top:30px!important;
}	

.getting-here p {
    color: #626262;
    padding: 0 10px 0 10px;
}	


/* footer */


#Footer .footer_copy{
    background-color: #fff;
    color: black;
    font-size: 16px;
}

#Footer .footer_copy .one{
    margin:10px 0 0 0 !important;
    padding:0 !important;    
}

.footer-phone {
    font-size:25px;
    font-weight:700;
    color: #00b2e3;
}

.footer-phone a {
    color: #00b2e3!important;
}

.footer_copy .copyright a {
    font-weight: bold!important;
    color: black!important;
}

.footer_copy .mb_right a {
    color: black!important;
}

#media_image-2 {
    margin-top: 40px;
}

.mb_right{
    float:right;
}

#custom_html-2 h3 {
    margin-bottom: 10px!important;
}

#custom_html-2 p {
    margin-bottom: 0!important;
}

#custom_html-3 {
    color: #00b2e3;
    margin-top: 40px;
}

.footer-message {
    color: white;
    font-style: italic;
    margin-top: 25px;
    padding: 0 25px;
}


table th, table td{
    text-align: left !important;
}

table td:first-child, table th:first-child{ 
    color: black !important 
}


span.num {
    width: 25px;
    text-align: -webkit-center;
}

.faq .question .title .num{
    left: 17px !important;
}


/* ***************  */
/* In Between Tablet + Desktop ("Laptop").   */
/* ***************  */

@media screen and  (max-width:1239px) {

    div.ser-box-content{
        vertical-align:top;
        margin: 0;
        padding: 0;
        max-height: 670px;
        min-height: 670px;
        height: 670px;
    }

}

@media screen and (min-width:1025px) and (max-width:1239px) {

    #Footer .column {
        text-align: center;
    }

    #Footer .copyright, .mb_right {
        float: none!important;
    }
	

}



/* ***************  */
/* Tablet Fixes .   */
/* ***************  */

@media screen and (max-width:1024px) {

    h1 {
        font-size: 35px!important;
        line-height: 48px!important;
    }


    ul#mega-menu-main-menu {
        /*         width: 65%!important; */
    }

    #mega-menu-wrap-main-menu {
        /*         margin-left: -40%;
                padding-left: 35%; */
    }

    li#mega-menu-item-20 {
        min-height: 75px!important;
    }

    #Top_bar .top_bar_left .banner_wrapper a.button.button-header.button_size_2.button_js{
        margin:0!important;
        padding:10px 30px!important;
    }

    .cta-sec {
        margin-top: 10px;
    }

    .cta-sec h2 {
        width: 100%;
        margin-bottom: 10px;
    }

    .new-management { margin-top: 30px!important; }

    .google-map { height: 280px!important; }

    #spacer-paragraph { display: none; }

    #custom_html-3 {
        margin-top: 30px;
    }

    .footer-phone { font-size:20px!important; }

    .footer_copy {
        text-align: center!important;
    }

    .footer_copy .copyright {
        float: none!important;
        font-size: 14px;
    }

    .footer_copy .mb_right {
        float: none;
        clear: both;
        font-size: 14px;
    }
		.footlogo{
		width:221px;
		height:100px;
	}


}



/* ***************  */
/* Mobile Menu Fixes + Column Spacing */
/* ***************  */

@media screen and (max-width:759px) {
	
	.footlogo{
		width:300px;
		height:136px;
	}
	

    #wpfront-notification-bar table {
        width: 90%;
    }

    #wpfront-notification-bar  div.wpfront-close {
        font-size: 18px;
        top:unset;
        bottom: 5px;
        right: 5px;
    }


    .mega-menu-toggle {
        position: absolute;
        top: -85px;
        right:10px;
    }

    /*     .section_wrapper[class] {
            padding-left:20px!important;
            padding-right:20px!important;
        } */


    .sec-blue-cta .section_wrapper{
        padding:0 !important;
        max-width:100% !important;
    }

    div.ser-box-content.about-us{
        vertical-align:top;
        margin: 0;
        padding: 0;
        max-height: 300px;
        min-height: 300px;
        height: 300px;
    }

    div.ser-box-content{
        vertical-align:top;
        margin: 0;
        padding: 0;
        max-height: 500px;
        min-height: 500px;
        height: 500px;
    }

    .inner-cta .section_wrapper{
        padding:0  !important;
        max-width:100% !important;
    }

    ul#mega-menu-main-menu li:first-child{
        display: none !important;
    }

    #Top_bar div.logo #logo {
        text-align: left;
        margin: 0;
        padding: 0;
        min-width: 10px;
    }

    .header-stack #Top_bar .logo{
        padding:0 0 !important;
    }

    .header-stack #Top_bar .logo img{
        width:50%;
    }
    .header-magazine #Top_bar .banner_wrapper{
        padding:5px;
        right: 100px !important;
    }

    #Top_bar .menu_wrapper{
        width:100%;
        width:-webkit-fill-available;
    }

    .main-menu{
        position:relative;
    }
    .mega-menu-toggle {
        position: absolute;
        top: -67px;
        right: 0;
    }

    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-1:before {
        content: '\f333';
        font-family: 'dashicons';
        font-size: 35px;
        margin: 0 0 0 5px;
        color: #222;
    }


}


/* ***************  */
/* Smartphone Fixes */
/* ***************  */

@media screen and (max-width:767px) {


    /* Flu Shot Banner */
    #wpfront-notification-bar  div.wpfront-message {
        display: block!important;
        padding-top:0;
        font-weight: bold;
        font-size: 18px;
        line-height: 20px;
    }

    #Header #Top_bar{
        background:#ffffff !important;
    }



    p {
        font-size: 14px!important;
    }	


    #Action_bar {
        min-height: 60px;
    }

    #Action_bar .container {
        padding: 0!important;
    }

    #Action_bar .contact_details {
        margin-top: 5px;
    }

    #Action_bar .contact_details li.slogan { 
        display: inline!important; 
        font-size: 13px;
        float:right;
    }	

    #Action_bar .contact_details .phone {
        float:right;
        clear:both;
        font-size: 17px;
        border: 0;
        background-color:#262261!important;
    }

    #Action_bar .contact_details, #Action_bar .contact-details .phone {
        background-color: #262261!important;
    }

    #Action_bar .contact_details .phone a {
        color: white;
        background-color: #262261;
    }

    #Action_bar .contact_details .icon-phone {
        color: white;
        background-color: #262261;
    }

    #Action_bar .social .facebook i {
        position:absolute;
        left: 65px;
    }

    #Action_bar .call-now-desktop {
        display: none;
    }

    #Action_bar .call-now-mobile {
        display: block;
        padding-right: 20px;
    }

    #Action_bar .action-bar-contact-button {
        background-color: #00b2e3!important;
    }

    a.button.button-header.button_size_2.button_js.action-bar-contact-button  {
        color:white!important;
    }

    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-center {
        margin-left: 0;
        margin-right: 5px;
    }



    .header-magazine #Top_bar div.banner_wrapper {
        position: absolute;
    }

    .header-magazine #Top_bar .banner_wrapper{
        padding:unset;
        right: unset !important;
    }

    .header-stack #Top_bar .logo img {
        width: auto;
    }

    #Top_bar .banner_wrapper a.button.button-header.button_size_2.button_js {
        position: absolute;
        top: -67px;
        left: 20px;
    }

    #Top_bar .top_bar_left .banner_wrapper a.button.button-header.button_size_2.button_js {
        padding: 10px 20px!important;
        background-color: #ffffff!important;
    }

    #Top_bar .banner_wrapper a.button .button_label {
        padding: 7px 0;
    }

    #Top_bar .logo{
        margin: 3px !important;
    }

    #Top_bar div.logo #logo {
        text-align: left;
        margin: 0 0 0 20px;
        padding: 0;
        min-width: 10px;
    }
	
	.mobile-header-mini #Top_bar a.responsive-menu-toggle {
		top: -25px !important;
	}

    .mega-menu-toggle {
        position: absolute;
        top: -55px;
        right:10px;
    }

    #mega-menu-wrap-main-menu .mega-menu-toggle .mega-toggle-block-1:before {
        content: '\f333';
        font-family: 'dashicons';
        font-size: 35px;
        margin: 0 0 0 5px;
        color: #222;
    }

    h2 {
        font-size: 25px!important;
        line-height: 25px!important;
    }

    .news-box-content {
        font-size: 14px;
    }

    .news-box-content h3 {
        font-size: 19px!important;
    }

    .our-medical-services h2 {
        text-align: center;
    }

    .our-medical-services ul {
        margin-left: 60px!important;
    }

    .getting-here h3 {
        font-size: 19px;
    }


    .ser-box{
        border: 2px solid #00b2e3;
        text-align:-webkit-center;
        padding: 0;
        margin: 0 !important;
        width: auto!important;
        padding-bottom: 0 !important;
    }

    .ser-box-2 {
        margin-left: 0 !important;
    }

    div.ser-box-content{
        vertical-align:top;
        margin: 0;
        padding: 7px 15px;
        max-height: unset;
        min-height: unset;
        height: unset;
    }

    .ser-box-content.half {
        width: 90%;
    }

    .ser-box-content {
        min-height: inherit;
        padding: 15px;
    }

    .ser-box-btn {
        position: inherit;
    }

    .cta-sec h2 {
        width: 100%;
        margin-bottom: 10px;
    }

    .ser-box {
        padding: 0;
    }

    .ser-box-2 {
        margin-left:0!important;
    }

    .ser-box-btn {
        padding: 0;
        position: inherit;
        width: 100%;
    }

    .ser-box-btn a.button {
        margin-bottom: 5px;
    }

    .ser-box-content {
        padding: 15px;
    }

    .ser-box-img {
        padding: 13px;
    }

    .ser-box-content h3 {
        font-size: 19px;
        margin-top: 10px;
    }

    .ser-box-btn span {
        font-size: 18px;
    }

    .small-text {
        font-size: 13px;
    }

    .cta-sec {
        margin-top: 10px!important;
        padding: 10px!important;
    }


    .cta-sec h2 span {
        margin: 25px 0 25px 0;
    }

    .cta-sec a.button {
        margin-bottom: 15px!important;
    }

    .our-medical-services {
        padding-left:0;
    }

    .our-medical-services ul {
        line-height: 1.5;
    }

    .cta-sec-inner .column_button {
        text-align: center;
        margin-top: 15px!important;
    }

    .footer_copy .copyright, .footer_copy .mb_right {
        font-size: 13px!important;
    }

    .wp-image-12 { margin-left: 5px!important; }

    .empty-header { display: none; }
    .map-spacer { display: none; }

    #text-2 {
        text-align: center;
    }

    #custom_html-3 {
        margin-top: 0;
    }

    #back_to_top {
        background-color: #00b2e3!important;
    }

    div.google-map{
        height:195px !important;
    }
    .inner-pediatric-img .column.mcb-column.one-second.column_image {
        width: 45% !important;
        clear: unset;
        padding: 0 2%;
    }

}

@media screen and (max-width:479px) {
    .tp-mask-wrap h1{
        font-size:25px !important;
        line-height:30px !important;
    }
	
    #Content img{
        max-width:unset !important;
        width:100%;
    }
    .column.mcb-column.one.column_visual {
        font-size: 14px;
    }
    .alignright,.alignleft{
        margin-left:0 !important;
        margin-right:0 !important;
    }
    table{
        border-radius:0 !important;
    }
	
	#Content .imgfaq{
		width:127px;
		height:100px;
    }

}