
@media only screen and (min-width: 992px){
    #bannerSection .formSection {
      position: absolute;
      top: 55%;
      left: 45%;
      transform: translate(-44%, -55%);
      z-index: 99;
    }
    .mobile_primary > ul > li:hover a{
        background-color: #820b0e;
        color: #fff;
    }
    .mobile_primary > ul > li:hover > a::before {
        content: "";
        background: url('../image/menu_bottom.png') no-repeat;
        width: 100%;
        position: absolute;
        top: 39px;
        left: 0;
        height: 100%;
        background-size: 100%;
    }
    .pt-60{padding-top: 60px !important;}
  }

  @media only screen and (max-width: 1023px){
    .mobile_primary {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 45px;
        left: -100%;
        background-color: #fff;
        transition: .5s;
        z-index: 999;
        display: block;
        padding: 0;
        border-radius: 0;
        float: none;
        overflow-y: auto;
        margin-left: 0;
    }
    .mobile_primary.active{
        display: block !important;
        left: 0;
    }
    .mobile_primary ul{
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile_primary ul.menu-navigation{
        position: relative;
        height: calc(100vh - 50px);
        padding-bottom: 54px;
        overflow: scroll;
    }
    .mobile_primary li:first-child{
        border-top: none;
    }
    .mobile_primary ul li{
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
        background: none;
        border-bottom: 1px solid #dbdbdb;
    }
    .mobile_primary ul li a{
        padding: 15px 10px 10px 30px;
        color: #000;
        text-align: left;
        font-size: 14px;
        font-weight: 600;
        line-height: 15px;
    }
    .mobile_primary .sub-menu-button{
        cursor: pointer;
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        height: 40px;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 999;
        padding: 0 0 0 15px;
    }
    .sub-menu-button::after{
        content: '\f0da';
        font-family: 'FontAwesome';
        font-weight: 400;
        font-style: normal;
        font-size: 14px;
        line-height: normal;
        transition: all.5s ease-in-out;
        color: #fff;
    }
    .sub-menu-button::after {
        transform: rotate(0deg);
    }
    .sub-menu-button.open::after {
        transform: rotate(90deg);
        color: #fff;
    }
    .menu-button{
        position: relative;
        top: 0;
        right: 20px;
        display: block;
        background-color: transparent;
        border: 0;
        cursor: pointer;
        transition: all .3s ease;
        font-size: 18px;
        line-height: 30px;
        color: #fff;
        padding: 0;
        z-index: 9999;
        margin-top: 0;
        scale: .75;
    }
    .menu-button .toggle-bar{
        width: 35px;
        height: 3px;
        background-color: #000;
        display: block;
        margin: 6px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .menu-button.toggle .toggle-bar:nth-child(1){
        -webkit-transform: translateY(11px) rotate(45deg);
        -ms-transform: translateY(11px) rotate(45deg);
        -o-transform: translateY(11px) rotate(45deg);
        -moz-transform: translateY(11px) rotate(45deg);
        transform: translateY(11px) rotate(45deg);
    }
    .menu-button.toggle .toggle-bar:nth-child(2){
        opacity: 0;
    }
    .menu-button.toggle .toggle-bar:nth-child(3){
        -webkit-transform: translateY(-8px) rotate(-45deg);
        -ms-transform: translateY(-8px) rotate(-45deg);
        -o-transform: translateY(-8px) rotate(-45deg);
        -moz-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
    .navbar-brand{display: block;}
    .header-menu-container{justify-content: space-between;}
    .header-menu{background-color: #fff;padding: 7px 0;}
    .navbar-brand img { width: 170px; }
  }

  @media only screen and (max-width: 991px) and (min-width: 768px){
    .header-top{display: none;}
    .testimonial-content-card{background-image: none;}
    .banner-form{margin-top: 25px;margin-left: auto; margin-right: auto;}
    .sec-title h2{font-size: 20px;}
    .sec-title p{font-size: 14px;}
    .about-content p{font-size: 14px;}
    .section.section{padding: 20px 0;}
    .speciality-section .card{min-height: auto;}
    .testimonial-person{top: 0; left: 0;}
    .testimonial-author p{font-size: 14px;}
    .testimonial-content-card{ padding: 15% 20px 20px;}
    .testimonial-content-card p{ font-size: 14px;}
    .faq-section .accordion-body p{font-size: 14px;}
    .faq-section .accordion-header span{font-size: 15px;}
    .accordion-body { padding: 0;  }
    .nav.nav-tabs{width: 100%;}
    .tabs.tabs-simple .nav-tabs > li .nav-link{font-size: 16px;}
    .speciality-section .card p{font-size: 15px;}
  }

  @media only screen and (max-width: 767px){
    .testimonial-content-card{background-image: none;}
    .banner-form{margin-top: 25px;margin-left: auto; margin-right: auto;}
    .header-top{display: none;}
    .sec-title h2{font-size: 20px;}
    .sec-title p{font-size: 14px;}
    .about-content p{font-size: 14px;}
    .section.section{padding: 20px 0;}
    .speciality-section .card{min-height: auto;}
    .testimonial-person{top: 0; left: 0;}
    .testimonial-author p{font-size: 14px;}
    .testimonial-content-card{ padding: 15% 20px 20px;}
    .testimonial-content-card p{ font-size: 14px;}
    .faq-section .accordion-body p{font-size: 14px;}
    .faq-section .accordion-header span{font-size: 15px;}
    .accordion-body { padding: 0;  }
    .nav.nav-tabs{width: 100%;}
    .tabs.tabs-simple .nav-tabs > li .nav-link{font-size: 16px;}
    .treatment-card p{font-size: 15px;}
    .treatment-card h2{font-size: 17px;}
    .speciality-section .card p{font-size: 15px;}
    .outer-box-speciality{padding: 0 20px;}
    .banner-form{width: 100%;}
    .expart-slider .owl-item .expert-image img{ height: 290px; object-fit: cover; object-position: top;}
    .sticky-bar {
        background-color: #c71d22;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
        z-index: 99;
        padding: 10px 15px;
        color: #fff;
    }
    .sticky-bar{display: block;}
  }