.block-home{
    background-color: #e3e3ea;
    height: calc(100vh - 91px);
    max-height: 702px;
    
}
.home-header{
    background-color: #e3e3ea;
    padding-top: 38px;
}
.current-lang  a{
    border-bottom: 1px solid #5b5b5b;
    padding-bottom: 5px;
}

.news-item__image img{
    width: 100%;
    height: 100%;
}

.staff-photo img{
    width: 298px;
    height: 392px;
    object-fit: cover;
}

.content h1 span{
    font-weight: 700;

    color: #e31e24;
}
/* .banner__home2 .banner-slogan .btn.grey_inherit2{
    border: 1px solid #fff;
    background-color: inherit;
    color: #fff;
}
.banner__home2 .banner-slogan .btn.grey_inherit2:hover{
    border: 1px solid #fff;
    background-color: #fff;
    color: #555;
    cursor: pointer;
} */
/* .banner__home2 .banner-slogan{
    color: #fff;
}
.banner__home2 .banner-slogan p{
    color: #fff;
}
.banner__home2 .banner-slogan  a{
    color: #fff;
} */
.callback-section-title p:not(:first-child){
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 20px;
    color: #555;
    font-family: GothamProRegular;
}
main{
    padding-top: 155px;
}
main.homepage{
    padding-top: 0px;
}
.online-registrations {
    margin-bottom: 150px;
}

.social-links a img{
    width: 18px;
    height: 18px;
    transition: .3s;
}
@media (max-width: 767px) {
.block-home{
    height: auto;
}
.first-screen-buttons {
    position: relative;
    left: 0;
    right: 0;
    top: 0px;
    background-image: none;
    height: auto;
    background-position: 50% 50%;
    width: 100%;
    /* height: 300px; */
    background-size: cover;
}
.main-btns {
    /* top: -15px; */
    bottom: 85px;
    max-width: 147px;
    height: 80px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: -32px;
    top: unset;
}


   

}

.ui.heart.rating .icon{
    position: relative;
    width: 20px;
    height: 20px;
}

.ui.heart.rating .active.icon:before, .ui.heart.rating .icon:before{
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #fff;
}

.rating-wrapper{
    margin-left: 7px;
    display: inline-flex;
    white-space: nowrap;
    /* font-size: 20px; */
}

.page-numbers{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #bababa;
    transition: .3s;
    text-decoration: none;
    margin-left: 3px;
    margin-right: 3px;
}

.page-numbers.current{
    border: 1px solid #555;
    color: #555;
    border-radius: 50%;
}

.page-numbers svg{
    width: 12px;
    height: 12px;
}
.prev.page-numbers svg{
    transform: rotate(180deg);
}
/* .pages-numbers a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #bababa;
    transition: .3s;
    text-decoration: none;
    margin-left: 3px;
    margin-right: 3px;
    border: 1px solid #555;
    color: #555;
    border-radius: 50%;
} */

/* .main-rev{
    margin-right: 10px;
} */


.doc-select{
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-left: 6px;
    border-radius: 10px;
    color: #555;
    font-size: 13px;
    font-family: GothamProRegular;
    cursor: pointer;
    display: inline-block;
    border: 1px solid #555;
    border-radius: 10px;
    width: 256px;
    height: 45px;
    
}
.ul-select{
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-left: 6px;
    border-radius: 10px;
    color: #555;
    font-size: 13px;
    font-family: GothamProRegular;
    cursor: pointer;
    display: inline-block;
    border: 1px solid #555;
    border-radius: 10px;
    width: 256px;
    height: 45px;
}
.select_hide{
    display: none;
}
.select_hide.active{
    display: block;
}
.doc-select::after{
    content: "";
        color: #555;
    font-size: 13px;
    font-family: GothamProRegular;
    background-position: center;
    background-size: cover;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 16px;
    right: 6px;
  
    background-repeat: no-repeat;
}
.ul-select::after{
    content: "";
        color: #555;
    font-size: 13px;
    font-family: GothamProRegular;
    background-position: center;
    background-size: cover;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 16px;
    right: 6px;
  
    background-repeat: no-repeat;
}
.select_hide{
    position: absolute;
    top: 35px;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #fff;
    height: 160px;
    overflow: scroll;
    overflow-x: hidden;
    background-color: #fff;
    box-shadow: -4px -2px 20px -5px rgba(0,0,0,.26);
}    
.select_hide li {
    margin: 0;
    padding-top: 9px;
    padding-bottom: 9px;
    padding-left: 7px;
    text-align: left;
    color: #555;
        font-size: 13px;
        font-family: GothamProRegular;
}    

.select_hide li:hover{
    color: #fff;
    background-color: #e31e24;
}

.question-item__answer .doctor-info{
    margin-left: 36px;
}

.question-item-inner.active .question-item__answer .doctor-wrapper{
    width: 100%;
}

.online-registrations .reg-form .form-row .form-group input, .online-registrations .reg-form .styledSelect {
    background-color: #fff;
}
.online-ask .ask-form .form-row .form-group input, .online-ask .ask-form .styledSelect{
    background-color: #fff;
}

.online-check-doctor-service .check-doctor-service-form .form-row .form-group input, .online-check-doctor-service .check-doctor-service-form .styledSelect {
    background-color: #fff;
}


.online-check-center-health .check-center-health-form .form-row .form-group input, .online-check-center-health .check-center-health-form .styledSelect, .online-leave-ask .leave-ask-form .form-row .form-group input, .online-leave-ask .leave-ask-form .styledSelect{
    background-color: #fff;
}

.preloaders{
    background-color: #fff;
    min-height: 100%;
}
.preloaders:before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 50%;
    border-color: #929292 transparent;
    border-style: double;
    border-width: 6px;
    -webkit-animation: spinAnimation 1.2s linear infinite;
    animation: spinAnimation 1.2s linear infinite;
    z-index: 112;
}
.preloaders{
    background-color: #fff;
    min-height: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 110;
}
.question-section.preloaders {
    background-color: unset;
    min-height: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 110;
    opacity: 0.5;
    padding-right: 60px;
}
.all-staff.preloaders{
    opacity: 0.5;
}

.review-section.preloaders {
    background-color: unset;
    min-height: 100%;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 110;
    opacity: 0.5;
    padding-right: 60px;
}
.review-section.preloaders{
    opacity: 0.5;
}

.questions-carousel.preloaders{
    opacity: 0.5;
}

/* .questions-carousel.preloaders:after {
    content: "";
    display: block;
    position: absolute;
    background-color: #fff;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 111;
    -webkit-animation: spinAnimation 1.2s linear infinite;
    animation: spinAnimation 1.2s linear infinite;
    
} */

.staff-item__image{
    background-size: cover;
}


@keyframes spinAnimation{
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(1turn);
    }

}
@media screen and (min-width: 641px){
.our-service-list .flex{
    column-gap: 9px;
     justify-content: unset;
}
}




/* .top-menu li.menu-item-has-children:hover > ul, .top-menu li.menu-item-has-children:focus > ul, .top-menu li.menu-item-has-children.focus > ul {
    right: -130px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.15s linear, transform 0.15s linear;
} */
body:not(.overlay-header) .top-menu ul {
    background-color: #fff;
}

.overlay-view {
    display: none;
    position: fixed;
    z-index: 1300;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
}
.modal-review {
    display: none;
    position: fixed;
    z-index: 1300;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
}

.overlay-view .modal_mini {
    min-height: 140px;
}
.overlay-view .modal {
    position: absolute;
    z-index: 110;
    color: #101E2A;
    background-color: #fff;
    padding: 38px 40px 40px 40px;
}
.modal-review .modal_mini {
    min-height: 140px;
}
.modal-review .modal {
    position: absolute;
    z-index: 110;
    color: #101E2A;
    background-color: #fff;
    padding: 38px 40px 40px 40px;
}

body.hide-b::before {
    content: "";
    background-color: #0c0c0c;
    opacity: 0.7;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: fixed;
    transition: all 0.3s 0.3s;
    z-index: 1090;
}

body.hide-b {
    transition: all 0.3s 0.3s;
}
.overlay-view .modal__subtitle {
    color: #0d0d0d;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
.overlay-view .modal__descr {
    position: relative;
    color: #0d0d0d;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    z-index: 105;
}

.overlay-view .modal__close {
    position: fixed;
    top: -30px;
    right: 0px;
    font-size: 41px;
    line-height: 21px;
    color: #ff5353;
    cursor: pointer;
    z-index: 104;
}
.modal-review .modal__subtitle {
    color: #0d0d0d;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
.modal-review .modal__descr {
    position: relative;
    color: #0d0d0d;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    z-index: 105;
}

.modal-review .modal__close {
    position: fixed;
    top: -30px;
    right: 0px;
    font-size: 41px;
    line-height: 21px;
    color: #ff5353;
    cursor: pointer;
    z-index: 104;
}
.staff-item__action.btn.red.red_inherit.callback-btn.callback-btn_doctor{
    margin-top: 40px;
}

.btn-bot {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000;
}

.btn-bot svg path {
    fill: #32ade8;
    transition: fill 0.3s;
}

@media screen and (min-width: 1200px) {
    .btn-bot:hover svg path {
        fill: #e31e24;
        transition: fill 0.3s;
    }
}

@media screen and (min-width: 320px) {
    .btn-bot:active svg path {
        fill: #e31e24;
        transition: fill 0.3s;
    }
}

.main-header-elem-inner {
    display: flex;
}

.staff-item .shadow-box{
    min-height: 374.5px;
}

.review-empty{
    text-align: center;
    font-size: 18px;
    font-weight: 600;
margin: 30px auto;
}

.price-accordion__inner .accordion-item .price-accordion-toggle-title p, h3, h2{
    color: #fff;
    margin-bottom: 0;
    text-align: left;
    font-family: AdobeCleanBold;
}
.carousel-owlc .title {
    font-family: AdobeCleanBold;
  
}

.price-accordion .title h1, h2, h3 {
    font-size: 27px;
    margin-bottom: 52px;
    line-height: 24px;
    color: #555;
    text-align: center;
    font-family: AdobeCleanBold;
}

.our-service-video{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    gap: 15px;
    margin-bottom: 60px;
    row-gap: 70px;
}
.service-item-video{
    height: 300px;
    width: 370px;
}



.service-item-video a{
    position: relative;
}
.yotube-item {
    position: absolute;
    top: 50%;  
    left: 50%; 
    transform: translate(-50%, -50%); 
    z-index: 1;
}
.yotube-item img{
   /*  width: 70px; */
    height: 70px;
    object-fit: cover;
}
.yot-place{
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}
.title-item{
    margin: 20px auto;
}
.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    max-width: max-content;
    width: 100%;
    min-width: 165px;

    top: 40px;
   /*  left: 0px; */
}

.search-results li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.search-results-none{
    display: none;
}
.search-results li:last-child {
    border-bottom: none;
}

.search-results a {
    text-decoration: none;
    color: #333;
    display: block;
}
.logo, .main-header-elem{
    position: unset;
}

.none-select .styledSelect{
    opacity: 0.6;
    pointer-events: none;
}

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

    .top-menu li a {
   
        line-height: 1.4;
    }

}
@media screen and (max-width: 768px){
.our-service-video{
    
        display: grid;
        grid-template-columns: repeat(2,1fr);

    }
}
@media screen and (max-width: 556px){
    .our-service-video{
        
            display: grid;
            grid-template-columns: repeat(1,1fr);

        }
    }
/* .mob-menu-wrapper .top-menu li.menu-item-has-children::after{
    display: inline-block;
    margin-left: 15px;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    position: absolute;
    top: 16px;
}

.mob-menu-wrapper .top-menu li.menu-item-has-children{
    position: relative;
} */

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

    .mob-menu-wrapper .sub-menu{
        left: -85px;
        min-width: 300px;
        
    }

    .mob-menu-wrapper .sub-menu li .sub-menu{
        display: none;
    }
    .mob-menu-wrapper .top-menu li.menu-item-has-children .sub-menu li.menu-item-has-children::after{
        display: none;
    }
} */

/* .sub-menu li .sub-menu {
    position: absolute;
    left: 40%;
    top: -20px;
    width: 200px;
    min-width: 230px;
    display: none;
} */

@media screen and (min-width: 767px){
.top-menu > li {
    list-style-type: none;
    display: block;
    text-align: left;
    cursor: pointer;
/*     position: relative; */
    padding: 15px 6px;
}

.next-el-second-absolute{
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
    display: none;
}
.top-menu li a{
 
    transition: all 0.2s ease-in-out;
}
.top-menu li a:hover{
    color: #e31e24;
    transition: all 0.2s ease-in-out;
}

.sub-menu.first-sub .next-el-second-absolute li:last-child {
    border-bottom: unset!important;
}
.sub-menu.second-subli:last-child {
    border-bottom: unset!important;
}
.show .next-el-second-absolute{
    opacity: 1;
    transition: opacity 0.3s ease;
    visibility: visible;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: unset!important;
    /* padding-left: 20px; */
}
.next-el-second-absolute li a{
    font-size: 12px;
}

/* .next-el-first-absolute:not(.second-sub) a {
    font-size: 14px!important;
} */
.next-el-first-absolute li{
    position: relative;
    line-height: 35px;
}
.megamenu.megamenu-bg-img.mains{
   /*  display: block !important; */
    transform: translateY(0px);
    transition: all .2s ease-in;
    opacity: 1;
    visibility: visible;
}
.megamenu.megamenu-bg-img{
    transform: translateY(40px);
    transition: all .2s ease-in;
    opacity: 0;
    visibility: hidden;
    padding: 20px 30px;

}
.megamenu-row{
    max-width: max-content;
}
.sub-menu li {
   /*  padding-top: 6px;
    padding-bottom: 6px; */
   /*  position: relative; */
   /*  padding-left: 20px; */
    width: 100%;
/*     padding-right: 20px; */
    border-bottom: 1px solid #d3d3d3 !important;
    
}
.megamenu-row .sub-menu.first-sub li.menu-item-has-children {
    position: relative;
   
}


.megamenu-row .sub-menu.first-sub li.menu-item-has-children::after{
    content: "";
    display: block;
    position: absolute;
    right: 0px;
   
    padding-right: 15px;
    top: 18px;
    transform: translateY(-50%) rotateX(0);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555555' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    width: 12px;
    height: 7px;
    transition: all .2s ease-in;
}
/* .megamenu-row .menu-item-has-children:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23038B86' stroke-width='1.5'/%3E%3C/svg%3E");
    transform: translateY(-50%) rotateX(180deg);
} */
.megamenu-row .sub-menu.first-sub .menu-item-has-children.active:after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e31e24' stroke-width='1.5'/%3E%3C/svg%3E");
    transform: translateY(-50%) rotateX(180deg);
}

.megamenu-row .menu-item-has-children.active .next-el-second-absolute .menu-item-has-children:after {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e31e24' stroke-width='1.5'/%3E%3C/svg%3E");
    transform: translateY(-50%) rotate(270deg);
}


.menu-item-has-children.sub-menu.second-sub{
    position: relative;
}

.sub-menu li:hover > .sub-menu.third-sub{
    top: 0%!important;
    opacity: 1;
    transform: translateY(0)!important;
    background-color: #fff;
    background: #fff;
    left: 100%;
   /*  min-width: max-content; */

   max-width: 320px;
   width: 100%;
}
.next-el-third-absolute{
    padding: 10px 20px;
}

.top-menu  .megamenu-row li a:hover{
    color: #e31e24;
    transition: all 0.2s ease-in-out;
}


 .next-el-zero-relative{
    position: relative;
 }


.top-menu > li > .megamenu {
    top: 40px;
    transition: all .2s ease-in;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-position: bottom right;
    transition: all .2s ease-in;
    width: 100%;
    overflow-y: scroll;
    padding: 20px 30px;
    left: 0px;
    position: absolute;
    z-index: 99;
    background: #fff;
    transition: all .2s ease-in;
    border-radius: 10px;
    height: calc(100vh - 230px);
}


.next-el-zero-absolute .menu-item-has-children::after {
    display: none;
}
.next-el-zero-absolute li{
    position: relative;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    border-bottom: unset!important;
   /*  margin-right: 30px; */
}

 .icon-menu {
    padding-left: 34px;
    font-size: 17px;
    color: #222222;
    font-weight: 600;
    margin: 5px 0 15px;
    display: block;
}
.logo-menu{
    width: 28px;
    height: 30px;
    position: absolute;
    left: 0px;
}
.logo-menu img{
    width: 100%;
    height: 100%;
}
.top-menu-mega{
position: relative;
}
.sub-menu.first-sub li{
    border-bottom: 1px solid #d3d3d3 !important;
}

.sub-menu.zero-sub li:hover > .sub-menu.first-sub {
    top: 0%;
    left: 100%;
    opacity: 1;
    background-color: #fff;
    background: #fff;
}

.sub-menu.sub-menu-47{
    z-index: 1111!important;
    position: absolute!important;
    background: #fff;
}

.next-el-2-relative{
    max-height: 270px;
    overflow: auto;
}
.next-el{
    max-height: 270px;
    overflow: auto;
    position: absolute;
    z-index: 33333;
    width: 100%;
}
.next-el-zero-absolute{
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    display: grid;
    row-gap: 20px;
    column-gap: 40px;
}

 .sub-menu.zero-sub li{
    display: block;
 }

 .sub-menu.first-sub{
    margin-top: 20px;
}

.sub-menu.third-sub{
    z-index: 1;
    text-align: left;
    background-color: #fff;
    background: #fff;
    transition: opacity .3s, transform .2s, -webkit-transform .2s;
    position: absolute;
    top: -99999px;
    left: -99999px;
    opacity: 0;
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0,0,0,.18), 0 3.007px 7.80863px rgba(0,0,0,.09), 0 0.51684px 1.56168px rgba(0,0,0,.05);
    list-style-type: none;
}


.page-template-template-spa .sub-menu li, .page-template-template-spa li:hover > .sub-menu {
    top: 100%;
    left: 0px;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.page-template-template-spa .sub-menu li:hover > .sub-menu {
    top: 0%;
    left: 100%;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    max-height: 200px;
    overflow: auto;
}

.page-template-template-spa .sub-menu {
    width: 275px;
    /* margin-top: 15px; */
    /* padding: 15px; */
    padding: 10px 0;
    z-index: 999999;
    text-align: left;
    background-color: #fff;
    /* border-top: 2px solid #038B86; */
    /* box-shadow: 0 5px 10px 0 rgba(89, 227, 158, 0.093); */
    transition: opacity .3s, transform .2s, -webkit-transform .2s;
    position: absolute;
    top: -99999px;
    left: -99999px;
    opacity: 0;
    transform: translateY(20px);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0,0,0,.18), 0 3.007px 7.80863px rgba(0,0,0,.09), 0 0.51684px 1.56168px rgba(0,0,0,.05);
    list-style-type: none;
}


.page-template-template-spa .top-menu li {
    position: relative;
}


.page-template-template-spa .sub-menu li {
    border-bottom: unset!important;;
    padding-top: 6px;
    padding-bottom: 6px;
    position: relative;
    padding-left: 20px;
    width: 100%;
    padding-right: 20px;
}


.page-template-template-dentistry .sub-menu li, .page-template-template-dentistry li:hover > .sub-menu {
    top: 100%;
    left: 0px;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.page-template-template-dentistry .sub-menu li:hover > .sub-menu {
    top: 0%;
    left: 100%;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    max-height: 200px;
    overflow: auto;
}

.page-template-template-dentistry .sub-menu {
    width: 275px;
    /* margin-top: 15px; */
    /* padding: 15px; */
    padding: 10px 0;
    z-index: 999999;
    text-align: left;
    background-color: #fff;
    /* border-top: 2px solid #038B86; */
    /* box-shadow: 0 5px 10px 0 rgba(89, 227, 158, 0.093); */
    transition: opacity .3s, transform .2s, -webkit-transform .2s;
    position: absolute;
    top: -99999px;
    left: -99999px;
    opacity: 0;
    transform: translateY(20px);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0,0,0,.18), 0 3.007px 7.80863px rgba(0,0,0,.09), 0 0.51684px 1.56168px rgba(0,0,0,.05);
    list-style-type: none;
}


.page-template-template-dentistry .top-menu li {
    position: relative;
}


.page-template-template-dentistry .sub-menu li {
    border-bottom: unset!important;;
    padding-top: 6px;
    padding-bottom: 6px;
    position: relative;
    padding-left: 20px;
    width: 100%;
    padding-right: 20px;
}



.menu-hover:hover > .sub-menu {
    top: 100%;
    left: 0px;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.top-menu > .menu-hover > .megamenu {

    width: 300px;

}
.menu-hover .sub-menu li:hover > .sub-menu {
    top: 0%;
    left: 100%;
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    max-height: 200px;
    overflow: auto;
}

/* .menu-hover .sub-menu {
    width: 275px;
    padding: 10px 0;
    z-index: 999999;
    text-align: left;
    background-color: #fff;
    transition: opacity .3s, transform .2s, -webkit-transform .2s;
    position: absolute;
    top: -99999px;
    left: -99999px;
    opacity: 0;
    transform: translateY(20px);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0,0,0,.18), 0 3.007px 7.80863px rgba(0,0,0,.09), 0 0.51684px 1.56168px rgba(0,0,0,.05);
    list-style-type: none;
}
 */

 .top-menu li.menu-hover {
    position: relative;
}


.menu-hover .sub-menu li {
    border-bottom: unset!important;;
    padding-top: 6px;
    padding-bottom: 6px;
    position: relative;
    
    width: 100%;
    
}
/* .menu-hover .sub-menu  {
        width: 275px;
        padding: 10px 0;
        z-index: 999999;
        text-align: left;
        background-color: #fff;
        transition: opacity .3s, transform .2s, -webkit-transform .2s;
        position: absolute;
        top: -99999px;
        left: -99999px;
        opacity: 0;
        transform: translateY(20px);
        z-index: 20;
        box-shadow: 0 15px 40px rgba(0,0,0,.18), 0 3.007px 7.80863px rgba(0,0,0,.09), 0 0.51684px 1.56168px rgba(0,0,0,.05);
        list-style-type: none;
}
 */

 .menu-hover .megamenu.megamenu-bg-img.main-hover {

    transform: translateY(0px);
    transition: all .2s ease-in;
    opacity: 1;
    visibility: visible;
    display: block;
 /*    width: 300px; */
    height: auto;
    width: max-content;
    overflow: auto;
    border-radius: 0px;
    max-height: calc(100vh - 200px);
    
}

.menu-hover .megamenu.megamenu-bg-img {
    width: max-content;
    transform: translateY(0px);
    transition: all .2s ease-in;
    opacity: 0;
    visibility: hidden;
    display: block;
    /* width: 300px; */
    height: auto;
    overflow: auto;
    border-radius: 0px;

    max-height: calc(100vh - 200px);
    
}


.menu-hover .next-el-zero-absolute {

    display: flex;
    flex-direction: column;
    row-gap: 6px;
    column-gap: 6px;
    max-height: calc(100vh - 200px);
}

.sub-menu.fourth-sub{
    padding-left: 12px;
}

}

.mob-menu-wrapper .top-menu li.menu-item-has-children {
    position: relative;
    width: 100%;
    text-align: center;
}
.mob-menu-wrapper .top-menu li {
    margin-bottom: 14px;
    margin-top: 14px;
}

.mob-menu-wrapper .top-menu .menu-item-has-children::after {
    display: inline-block;
    margin-left: 15px;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    position: absolute;
    top: 14px;
    transition: all 0.2s ease-in;
    right: 12px
}
.mob-menu-wrapper .top-menu {
    padding: 0px 10px;
}

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

    .mob-menu-wrapper .sub-menu{
        left: 0px;
        min-width: 300px;
        /* max-height: 336px; */
        overflow: auto;
        max-width: 100%;
         width: 100%;
         text-align: center;
        
    }
    .sub-menu li, li:hover > .sub-menu{
        left: 0px;
    }
    .mob-menu-wrapper .sub-menu li .sub-menu{
        display: none;
        max-width: 100%;
        width: 100%;
    }
    .mob-menu-wrapper .top-menu li .sub-menu li  a{
        font-size: 15px;
        padding-bottom: 0px;
        font-weight: 400;
        padding: 0px 10px;
    }

   /*  .mob-menu-wrapper .top-menu .menu-item-object-page.menu-item-has-children a{
        font-weight: 700;
    } */

   /*  .mob-menu-wrapper .top-menu  .sub-menu .menu-item-has-children a{
        font-weight: 700;
        font-size: 16px;
    } */

    .mob-menu-wrapper .top-menu .sub-menu li.menu-item-has-children::after {
        display: inline-block;
        margin-left: 15px;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        position: absolute;
        top: 8px;
        transition: all 0.2s ease-in;
        right: 12px;
    }
    .mob-menu-wrapper .top-menu li.menu-item-has-children.active::after {
        transform: rotate(180deg);
        transition: all 0.2s ease-in;
    }
    .top-tel-wrapper{
        margin-top: 12px;
    }
    .top-tel-wrapper:last-child{
        margin-top: 0px;
    }
    .top-tel.flex{
        margin-top: 4px;
    }
    .mob-menu-wrapper .sub-menu li .sub-menu li::after{
        display: none!important;
    }
    .mob-menu-wrapper .sub-menu li .sub-menu .sub-menu{
        display: none!important;
    }
}

.search-form.flex{
    display: none;
}

.doctors-frame{
    padding: 12px;
    /* box-shadow: 0px 0px 2px 2px #e31e24; */
    border: 2px solid #e31e24;
    margin-bottom: 20px;
}

.doctors-frame p:last-child {
    margin-bottom: 0px;
}

    