/*===========LG AND XLG=========== */
@media(min-width:1600px){
    /* ================NAVBAR LG && XLG================== */
    .ws-logo{
        padding: 15px 15px 8px; 
    }    
   
    .navbar-collapse #menu-topnavmenu > li{
        font-size:22px;
        height:54px;
    }
    /* ========= LOCATIONS ========= */    
    .location-wrapper .location-content {
        padding: 80px 80px 60px;
    }
    
   .main-content {
    max-width: 1850px;
    margin: 0 auto 50px;}
    
    
    
    
}
/* MD && UP*/
@media(min-width:1050px){
    /* ================NAVBAR MD && UP================== */
    .navbar{
        /*position: fixed;*/
        right: 0;
        left: 0;
        z-index: 1030;
    }
    .menu-topnavmenu-container{
        margin-top: 20px;
    }
    .dropdown-toggle{
        display: none;
    }
    .nav>li>a:hover, .nav>li>a:focus {
        background-color: transparent;
        color: #00aebc;
    }
    .dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
        text-decoration: none;        
        background-color:rgba(255,255,255,0.1);
        color: white;
    }
    .navbar-collapse ul li.dropdown li a{
        color: white;
        font-size: 14px;
        padding: 0 8px;
        margin: 0;
        line-height: 30px;
    }
    .dropdown:hover > ul.dropdown-menu{
        display: block;     
        top:77px;
    }
    .navbar-collapse #menu-topnavmenu > li {
        font-size:22px;
        font-family: LatoMed;
        height:77px;
    }
    .navbar-collapse .menu-topnavmenu-container >ul>li:last-child{
        padding-left: 65px;
        margin-left: 35px;
    } 
    .navbar-collapse .menu-topnavmenu-container >ul>li:last-child a{
        float:right;
        font-size: 24px;
        padding-right: 10px;
    }
    .phone-icon{
        position: absolute;
        top:-22px;
        left:0;
        width:65px;
        height:92px;
        background-color: #00aebc;
        border-bottom-left-radius: 35px;
        border-bottom-right-radius: 35px;
    }
    .phone-icon div{
        background-position: -290px -5px;
        position: absolute;
        bottom: 16px;
        height: 47px;
        width: 49px;
        background-repeat: no-repeat;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
    }
    .top-image{
        height: 525px;
        /* margin-top: -100px; */
     }
    
    .main-content {
        min-height: 800px;    
    }
    /***********third level navigation*************/

    #menu-topnavmenu li li:hover ul{
        display: block;
        left: 99.8%;
        top: -8px;
        color: white;
        background-color: rgba(0, 174, 188, 0.9);
        box-shadow: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    #menu-topnavmenu li li:hover ul:before{
        content: none;
      }
  
    /**************TREATMENT MD && UP***************/
    body .treatment-prog-squares .row{
        height:535px;            
    }
    body .treatment-prog-squares .row >[class*='col-']{
        height:100%;
    }
    /**************LOCATIONS MD && UP***************/
    .location-wrapper .row .title {
        font-size: 36px;
        line-height: 1.15em;
    }
    body .treatment-prog-squares .row [class*='col-'] [class*='col-']{
        height:50%;
    }
    /**************INNER PAGE MD && UP***************/
    /*.ws-page .content-section {
        padding-bottom: 50px; 
    }*/
    .ws-page .content-section img.featured-image {
        margin-bottom: 40px;
    }
    /*.ws-page .sidebar {
        max-width: 300px;
    }*/
    
    .next-to-sidebar .content-section, .breadcrumbs-section .col-sm-7 h1, .breadcrumbs-section .col-sm-7 ol {
      max-width: 97%;
      margin-left: 3%; }   
      
    .full-width-container .content-section {    
      max-width: 100%;
      margin-left: 0;}  
      
    .yellow-box .title, .blue-box .title {
      font-size: 23px;}
      
    .ws-page .breadcrumbs-section .full-width-container .col-sm-8 {
      padding:0;}    
    
    
}
/* only MED */
@media(max-width:1320px)and (min-width:1050px){
    .top-image{
        height:400px;
    }
    /* ================NAVBAR ONLY MD================== */
    .navbar-collapse ul li a{
        font-size: 15px;
    }
    li.dropdown:hover .dropdown-menu:before {
        position: absolute;
        pointer-events: none;
        border-left: 16px solid transparent;
        border-right: 16px solid transparent;
        border-bottom: 12px solid #00aebc;
    }
    #menu-topnavmenu >li >a{
        padding-bottom: 0px;
    }
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
        background-color: rgba(0, 174, 188, 0.9);   
        box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
        -webkit-box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
        -moz-box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.06);
        top:52px;
    }
    .navbar-collapse #menu-topnavmenu li {
        font-size: 15px;
        font-family: LatoMed;
        height: 44px;
    }
    .navbar-collapse #menu-topnavmenu > li{
        height: 52px;
    }
    
    /*.page-template-default .breadcrumbs-section, .page-template-page_with_custome_sidebar .breadcrumbs-section {
        margin-top: 66px;
        }*/
    .navbar-collapse ul li a {
        padding-left: 7px;
        padding-right: 7px;}
    
    body .navbar-collapse .menu-topnavmenu-container >ul>li:last-child .phone-icon div{
        bottom: 8px;
        height: 24px;
        width: 24px;
        background-size: 247px  79px;        
        background-position: -137px -3px;
    }
    body .navbar-collapse .menu-topnavmenu-container >ul>li:last-child .phone-icon{
        /*top: -13px;*/
        left: 0;
        width: 35px;
        height: 60px;
        width:35px;
    }
    body .navbar-collapse .menu-topnavmenu-container >ul>li:last-child {
        padding-left: 40px;
        margin-left: 10px;
    }
    .navbar-collapse .menu-topnavmenu-container > ul > li:last-child a {    
      font-size: 16px;}

    body .menu-topnavmenu-container {
        margin-top: 12px;
        /*margin: 20px 0 10px;*/
    }
    body .navbar-collapse li a{
        padding-top:10px;
    }
    
   
    
    /*==========HELPERS  ONLY MD===============*/
    body h1{
        font-size: 55px;
        line-height: 65px;
    }
    body .treatment-prog-text.row div:first-child {
        margin-top: 38px;
    }
    /* ===============INNER PAGE ONLY MD===================== */
    

    .blog-section .text-wrapper {
       padding: 33px 40px;
    }
}
/* For tablets and smaller devices*/
@media(max-width:1600px){
    body .ws-logo img{
        width:180px;
        height:auto;
    }
    body .ws-logo {
        padding: 10px 10px 5px;
    }
}
/* For tablets*/
@media(max-width:1600px) and (min-width:1050px){

    body .main-content{
        background-size:600px 600px;
        background-position: center center;
        padding-top: 70px;
        /*padding-bottom: 0;*/
        padding-bottom: 70px;
    }
  
   
    body .row.main-content .content {
        font-size: 18px;
    }

    body .row.main-content .content p:not(:first-child) {
        margin-top: 15px;
    }
    
    body.home .location-wrapper .row .content{
        margin-top:20px;
    }
     /***************TREATMENT SECTION********************/
     body .treatment-prog-squares .row{
        height:1070px;
    }
    body .treatment-prog-squares .row >[class*='col-'] {
        height: 50%;
    }    
    body .treatment-prog-text.row{
        padding: 30px 0px;
    }
    body .treatment-prog-text.row div:first-child {
        font-size: 30px;
    }
    
    body .treatment-prog-text.row h2 {
        margin: 10px 0 20px;
    }

    body .treatment-prog-text.row div:nth-child(2) {
        font-size: 18px;
        line-height: 1.5em;
    }

.location-wrapper .location-content {
    padding: 50px 50px 40px;}  
    


}

@media(max-width:1300px) and (min-width:1350px){
 
.home h2 {font-size: 45px; line-height: 1.25em;}
    
}

@media(max-width:1600px)and (min-width:1300px){
 
    .navbar-collapse #menu-topnavmenu li {
        font-size: 18px;}
        .navbar-collapse #menu-topnavmenu > li{
            height:54px;
        }
      
    .navbar-collapse ul li a {
         padding: 7px 10px;}
    body .navbar-collapse .menu-topnavmenu-container >ul>li:last-child {     
        margin-left: 20px;}     
    body .ws-logo img{
        width:220px;
        height:auto;} 
    .phone-icon {
        top: -35px;}
    .navbar{
        /*height: 80px;*/
    }
    /*.page-template-default .breadcrumbs-section, .page-template-page_with_custome_sidebar .breadcrumbs-section {
        margin-top: 85px;
    }*/
    .home .location-wrapper .location-img {
        height:auto;
    }  
    /*.ws-page .breadcrumbs-section{
        margin-top: 75px;
    }*/ 
    /*body .navbar-collapse #menu-topnavmenu > li{
        height:64px;
    }*/
    body .dropdown:hover > ul.dropdown-menu{
        top: 55px;
    }
    
}

