@font-face {
    font-family: whitney;
    src: url("../fonts/Whitney-Medium.ttf") format("ttf"),
    url("../fonts/Whitney-Medium.ttf") format("ttf");
    src: url("../fonts/Whitney-Medium.woff") format("woff"),
    url("../fonts/Whitney-Medium.woff") format("woff");
    font-style: normal;
}

:root {
    --hb-blue: #2f5597;
    --hb-blue-dark: #1f3766;
    --hb-blue-soft: #e9eff9;
    --hb-ivory: #eeecd9;
    --hb-ivory-light: #faf8ee;
    --hb-green: #20b978;
    --hb-text: #263238;
    --hb-muted: #6f7680;
    --hb-line: rgba(47, 85, 151, .14);
    --hb-radius: 24px;
    --hb-shadow: 0 18px 48px rgba(31, 55, 102, .14);
    --hb-section-space: 74px;
}


html, body {
    font-family: whitney;
    color: #65615f;
    font-size: 14px;
    outline: none;
}

a:hover,
a:active, .master-top a:focus {
    text-decoration: none;
}
p{
    line-height: 26px;
}
header {
    padding: 10px 0;
    padding-bottom: 7px;
}

header .blocks > div {
    display: inline-block;
}

header .blocks .left,
header .blocks .right,
header .blocks .right > div {
    display: inline-block;
}

header .blocks .right {
    padding-top: 35px;
    float: right;
}

p {
    font-size: 16px;
    padding: 0 0 6px 0;
}

.container {
    width: 100%;
    max-width: 1170px;
}

header .logo-holder {
    display: inline-block;
    float: left;
}

header .descriptor {
    text-transform: uppercase;
    display: inline-block;
    padding-left: 35px;
    line-height: 102px;
    float: left;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
}

.mobile-heal {
    display: none;
}

header .language .dropdown {
    text-transform: uppercase;
}

header .language .dropdown-menu {
    min-width: 20px;
}

.has-error label {
    color: #ef0002;
}

.has-error .upload-link {
    color: #ef0002;
}

.has-error input,
.has-error textarea {
    border: 1px solid #ef0002 !important;
}

textarea {
    max-width: 100%;
}

.dropdown-lang,
.dropdown-lang:hover,
.dropdown-lang:active,
.dropdown-lang:focus {
    color: #65615f;
    text-decoration: none;
    font-size: 19px;
    font-weight: 500;
    margin-right: 20px;
}

.social a {
    color: #1bad73;
    font-size: 26px;
    padding-left: 5px;
}

footer {
    background: #f4f1f1;
    padding: 50px 0;
}

footer ul.menu {
    padding-left: 0;
    list-style: none;
}

footer ul.menu li a,
footer .social-block {
    font-size: 19px;
    color: #878483;
    font-weight: 500;
}

footer ul.menu li {
    margin: 5px 0;
}

footer .social > a {
    font-size: 30px;
}

footer .logo-holder p {
    margin-top: 7px;
    color: #1bad73;
    font-size: 16px;
    font-weight: 600;
}

#wrap {
    position: relative;
}

#main {
    width: 552px;
}

.master-top {
    width: 552px;
    height: 282px;
    background-image: url('../images/top.png');
    position: relative;
    z-index: 21;
}

.master-top > .mt-link-center {
    display: block;
    margin: 0 auto;
    width: 25%;
    text-align: center;
    padding-top: 6em;
    position: absolute;
    left: 50%;
    margin-left: -13%;
    top: 0%;
}

.col-sm-4,
.col-sm-3 {
    margin-bottom: 36px;
}

.master-bottom {
    z-index: 20;
    position: relative;
}

.square {
    width: 276px;
    height: 250px;
    float: left;
    background: #46ba96;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: -moz-linear-gradient(top, #16a67c 0%, #94e479 100%);*/
    background: -webkit-linear-gradient(top, #00a77b 0%, #26db73 100%);
    /*background: linear-gradient(to bottom, #46ba96 0%,#9be494 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#46ba96', endColorstr='#9be494',GradientType=0 );*/
}

.master-bottom:not(:last-child) .square{
    border-bottom: 2px solid #fff;
}


.square.left {
    border-right: solid white 2px;
}

.square .mt-link-center {
    display: block;
    text-align: center;


}

#outer {
    position: relative;
    transform-origin: top right;
}

.main-menu {
    width: 100%;
}

.reviews .video-item iframe {
    width: 100%;
    height: 200px;
}

.responsive-row {
    margin-right: -15px;
    margin-left: -15px;
}

section.bg-gray {
    background: #fbfafa;
}

.section {
    padding-bottom: 37px
}

.section .title {
    display: block;
    margin: 5px 0 45px 0;
    color: #1bad73;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.section .title:before {
    content: '';
    width: 44px;
    height: 2px;
    background: #1bad73;
    float: none;
    position: absolute;
    bottom: 36px;
    right: calc(50% - 22px);
}

.section .link-block {
    margin-top: 0px;
}

.section .link-block a.link {
    text-decoration: underline;
    text-transform: uppercase;
    color: #878483;
    font-size: 16px;
}

.box {
    background-color: #fff;
    border-radius: 10px;
    -moz-box-shadow: 0 0 20px #c6c6c6;
    -webkit-box-shadow: 0 0 20px #c6c6c6;
    box-shadow: 0 0 20px #c6c6c6;
    overflow: hidden;
    display: flex;
    flex-direction: column;

}

.main-box {
    height: 430px;
    position: relative;
    box-sizing: border-box;
    max-width: 320px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    -moz-box-shadow: 0 0 20px #c6c6c6;
    -webkit-box-shadow: 0 0 20px #c6c6c6;
    box-shadow: 0 0 20px #c6c6c6;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.main-box .image-holder img {
    width: 100%;
}

.main-box .image-holder {
    width: 100%; /* Ширина области */
    margin: 0; /* Обнуляем отступы */
    overflow: hidden; /* Прячем всё за пределами */
    max-height: 280px;
}

.partner-box {
    height: 350px;
    position: relative;
    box-sizing: border-box;
    max-width: 320px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    -moz-box-shadow: 0 0 20px #c6c6c6;
    -webkit-box-shadow: 0 0 20px #c6c6c6;
    box-shadow: 0 0 20px #c6c6c6;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.partner-box .image-holder img {
    width: 320px;
    height: 280px;
}

.partner-box .image-holder {
    width: 100%; /* Ширина области */
    margin: 0; /* Обнуляем отступы */
    overflow: hidden; /* Прячем всё за пределами */
    max-height: 280px;
}

.box.master-box {
    height: 394px;
    -webkit-animation-fill-mode: forwards;
    position: relative;
    box-sizing: border-box;
    transition: all 500ms ease;
    max-width: 320px;
    margin: 0 auto
}

.box-inner {
    transition: all 500ms ease;
    text-align: center;
}

.box-inner img {
    width: 200px;
    float: left;
    position: relative;
    box-sizing: border-box;
    transition: all 500ms ease;

}

.master-box:hover .box-inner {
    margin-top: -360px;
    position: relative;
    box-sizing: border-box;
}

.box .image-holder img {
    width: 100%;
}

.box .image-holder {
    width: 100%; /* Ширина области */
    margin: 0; /* Обнуляем отступы */
    overflow: hidden; /* Прячем всё за пределами */
    max-height: 280px;
}

.box .content {
    padding: 25px;
    float: left;
    max-width: 100%;
}

.box .content .name {
    color: #13b877;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 20px;
}

.box .content .description {
    font-size: 16px;
    color: #595959;
}

.box-inner > h3 {
    padding-top: 15px;
}

.box-inner > .ascendancy, .box-inner > .about-doctor, .box-inner > .name-therapy, .box-inner > .about-social {
    padding-left: 21px;
    padding-right: 21px;
}

.box-inner > .about-doctor {
    font-size: 14px;
    /*line-height: 20px;*/
    padding-bottom: 0;
}

.about-social {
    font-size: 30px;
    padding-top: 20px;
}

.about-social .fa {
    padding: 0 12px;
    color: #1bad73;
    transition: all 300ms ease;
}

.about-social .fa:hover {
    opacity: .7;
}


.content.grid {
    display: grid;
    grid-gap: 20px;
    grid-row-gap: 20px;
    align-items: stretch;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.info {
    width: 312px;
    max-width: 100%;
    display: block;
}

.ascendancy {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    color: #1bad73;
    margin-bottom: 20px;
    margin-top: 30px;
}

.pull-left > span {
    font-size: 18px;
}

.pull-right > a {
    color: #1bad73;
    font-size: 18px;
}

.master-top-description {
    color: #fff;
    font-size: 1.3em;
    line-height: 2.3em;
    text-transform: uppercase;
}

ul.nav.navbar-nav {
    width: 100%;
    display: flex;
}

.navbar {
    margin-bottom: 0;
}

.navbar-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.navbar-toggler {
    border-color: rgba(0, 0, 0, .15);
    margin-left: auto;
}

.mt-0 {
    margin-top: 0 !important;
}

.zabol [class*="col-"] {

}

.news-titel {
    line-height: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #13b877;
    margin-bottom: 22px;
    margin-top: -5px;
}
.news-titel a{
    color: #13b877;
}
.news-titel a:active,
.news-titel a:hover,
.news-titel a:focus{
    color: #13b877;
}

.date {
    font-size: 16px;
}

span.date {
    text-indent: 10px;
    display: inline-block;
}

.date i.far.fa-calendar-alt {
    color: #32bb91;
}

.news-about {
    padding-top: 12px;
    line-height: 1.6;
    padding-bottom: 10px;
    font-size: 16px;
}

.news-block.row {
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    .about-panent-block {
        display: flex;
        margin-top: 30px;
        justify-content: space-around;
    }
    .about-panent-block img {
        width: 45% !important;
    }

    .navbar-nav > li:hover > a {
        color: #13b877 !important;
    }
    .item-description-about {
        width: 100%;
        float: left;
    }
}


@media (min-width: 767px) {
    .navbar-nav > li > a {
        padding-top: 26px;
        padding-bottom: 25px;
        font-size: 16px;
        text-transform: uppercase;
        font-weight: 600;
    }
    ul.nav.navbar-nav > li {
        font-size: 16px;
        flex-wrap: nowrap;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 100%;
        text-align: center;
    }

    ul.nav.navbar-nav li:after {
        content: '';
        width: 2px;
        height: 33px;
        background: #e6e6e6;
        position: absolute;
        left: 0;
        top: 17px;
    }

    ul.nav.navbar-nav li:first-child:after {
        display: none;
    }
}

ul.nav.navbar-nav li.active a {
    color: #13b877;
}

ul.nav.navbar-nav a {
    background: transparent !important;
}

.name-therapy {
 text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 10px;
    line-height: 26px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}
.name-therapyq {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 0px;
    line-height: 20px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}
/*.name-therapy:after{
    content: '';
    width: 44px;
    height: 2px;
    background: #1bad73;
    float: none;
    position: absolute;
    bottom: 23px;
    right: calc(50% - 22px);
}*/

@media (max-width: 768px) {
    h1.h1-banner {
        color: #1bad73!important;
        text-align: center;
        font-size: 17px !important;
    }
    .main-menu{
        background: url(../images/mobbaner.png);
    }

    .dropdown-phone .fa-phone-volume {
        color: #1bad73;
    }
    .dropdown-phone .dropdown-menu {
        left: -182px;
    }
    .phoneg {
    color: #48b787;
}
    .social a {
        font-size: 22px;
    }
    /*.dropdown-lang, .dropdown-lang:hover,
    .dropdown-lang:active,
    .dropdown-lang:focus {
        font-size: 17px;
        margin-right: 10px;
    }*/
    .dropdown-phone .dropdown-lang {
        font-size: 18px;
    }
    .dropdown-phone .dropdown-menu > li > a {
        text-align: left;
    }
    .main-page.container.hd-container{
        width: 93%;
    }
    .main-page.container.hd-container .blocks .right{
        display: block!important;
    }
    .news-block{
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }
    ul.nav.navbar-nav {
        width: 100%;
        display: block;
        text-align: center;
    }

    ul.nav.navbar-nav li {
        width: 100%;
        display: block;
        float: left;
    }

    .navbar {
        min-height: 50px;
    }
}

.breadcrumb {
    padding: 16px 0 0 10px;
    margin-bottom: 10px;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #878483 !important;
}

.breadcrumb > .active {
    color: #13b877;
}

.nt-small {
    font-size: 15px;
    color: #13b877;
    padding-left: 46px;
    padding-right: 46px;
    padding-bottom: 4px;
}

.nt-small:after {
    display: none;
}

.row.contacts {
    font-size: 16px;
}

.row.contacts i {
    color: #1bad73;
    font-size: 20px;
    padding-right: 3px;
}

.ct-icon {
    display: block;
    float: left;
    margin-top: 9px;
}

.ct-info {
    float: left;
    margin-left: 5px;
}

.ct-info a,
.ct-info span {
    margin-top: 2px;
    font-size: 16px;
    display: block;
    line-height: 32px;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.sub-title {
    font-size: 17px;
    text-transform: uppercase;
}

span.green-link a {
    font-size: 18px;
}

a {
    color: #65615f;
}

.ct-form-row {
    border: 1px solid #dfd8d2;
    border-radius: 10px;
    padding: 15px;
    margin-right: 0;
    margin-left: 0;
}

.ct-h4 {
    text-align: center;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 34px;
}

label.ct-plholder {
    font-size: 14px;
    line-height: 28px;
    font-weight: 400;
}

label.ct-plholder.necessarily:after {
    content: '*';
    position: absolute;
    color: #1bad73;
    font-weight: 600;
    font-size: 14px;
    text-indent: 3px;
}

textarea.form-control,
input.form-control.form-control-lg {
    margin-bottom: 20px;
}

.form-control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: white;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: none;
}

.form-control.form-control-lg:focus {
    outline: none !important;
    border: 1px solid #1bad73;
    box-shadow: none;
}

.ct-btn {
    position: relative;
    text-align: center;
    line-height: 100px;
}

button.btn.btn-primary.ct-button {
    background: #1bad73;
    border: none;
    padding: 12px 36px;
    font-size: 14px;
    text-transform: uppercase;
}

span.green-link > a,
span.file-uplogread > a {
    color: #1bad73;
    text-decoration: underline;
}

@media (max-width: 991px) {

    section.main-links .menu-main-1 {
        height: 185px;
    }

    section.main-links .menu-main-2 {
        height: 185px;
    }

    section.main-links .menu-main-3 {
        height: 185px;
    }
    section.main-links .menu-main-4 {
        height: 185px;
    }

    .responsive-row .mit {
        background-color: #fff;
    }
    .read-more-default-block {
        flex-wrap: wrap;
    }
    .read-more-default-img-block {
        width: 100% !important;
        justify-content: center;
        height: auto!important;
    }

    footer .social-block{
        text-align: center!important;
    }
    .embed-responsive-16by9{
        margin-right: 0!important;
    }
    .banner-head-main {
        /*  background-position: 43% 80%!important;
          background-size: 161%;*/
    }

    .master-box:hover .box-inner {
        margin-top: -297px;
        position: relative;
        box-sizing: border-box;
}

    .ct-form-row {
        border: none;
    }

    .box.master-box {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        height: 388px;
    }

    .row-gridsec [class*="col-"] {
        margin-bottom: 25px;
    }

    .row-grid [class*="col-"] {
        margin-bottom: 25px;
    }
}

.lang-mobile {
    display: none;
}

@media (max-width: 768px) {
    .content.grid {
        justify-items: center;
    }

    .navbar.navbar-default {
        background: transparent;
        min-height: 50px;
    }

    .lang-mobile {
        display: block;
        float: right;
        margin-top: 13px;
    }

    .right {
        display: none !important;
    }

    .box {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .nav.navbar-nav {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .image-holder {
        text-align: center;
        display: block;
        margin: 0 auto;
        max-width: 320px;
    }

    .articles-block-main .image-holder{
        max-width: 100%;
    }

    .descriptor {
        display: none !important;
    }

    .container.hd-container {
        float: none;
        /*float: left;*/

    }

    .logo-holder.text-center {
        zoom: 0.7;
    }

    nav.navbar.navbar-default {
        margin-top: 9px;
        min-height: 50px;
    }

    header .blocks .right {
        padding-top: 15px;
        float: right;
    }

    .container.hd-container {
        width: 62%;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .content.grid{
        grid-template-columns: auto;
    }
}



div#wrap {
    opacity: .75;
}

h1.h1-banner {
    font-size: 26px;
    color: #01804e;
    font-style: italic;
    letter-spacing: 1px;
    padding-top: 17px;
    font-weight: 600;
}

span.banner-sub {
    font-size: 22px;
    text-align: right;
    width: 100%;
    display: block;
    font-weight: 300;
    margin-bottom: -11px;
}

.banner-head-main {
    background-image: url('../images/main_background.jpg');
    background-position: center !important;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1220px) {
    #wrap {
        zoom: .9;
    }
    .about-partners-block .about-partners-block__item {
        width: 33%;
    }
}

@media screen and (max-width: 990px) {
    footer {
        text-align: center;
    }

    .banner-head-main {
        height: 400px;
    }

    .main-item {
        padding-top: 40px !important;
    }
}

@media screen and (max-width: 460px) {
    .read-more-default-img-block img {
        /* width: 100% !important; */
    }

    .mobile-heal {
        display: block;
        font-size: 16px;
        color: #818282;
        padding-top: 0px;
        padding-bottom: 10px;
        font-weight: 600;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
    }

    .mit {
        padding: 0;
    }
    .box {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .main-item {
        zoom: 0.7;
    }
    .read-more-default-img-block {
        /* flex-direction: column; */
        /* height: auto!important; */
        /* align-items: center; */
    }
    .responsive-row {
        margin: 0px;
    }

}

@media screen and (max-width: 768px) {
    /*.h1-banner {
        margin-top: 70px;
    }*/

    .banner-head-main {
        height: auto;
        background-image: none;
    }

    span.banner-sub {
        margin-bottom: 20px;
        text-align: right;
        font-size: 14px;
    }

}

.mit {
    background-color: #1bad73;
    color: white;
    text-align: center;
}

.main-item {
    padding-top: 26px;
}

.main-item a h3 {

    text-decoration: none;
    color: white;
}

.main-item:first-child {
    padding-bottom: 36px;
    margin-bottom: 0;
}

.main-item:nth-child(2) {
    padding-bottom: 36px;
    margin-bottom: 0;
}

.main-item:nth-child(3) {
    padding-bottom: 36px;
    margin-bottom: 0;
}
.box.boxed {
    display: grid;
}

.file-upload a {
    padding-left: 10px;
    color: #1bad73;
    text-decoration: underline;
}

.form-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.form-file + label {
    color: #0D5D87;
    cursor: pointer;
    background-color: white;
    display: inline-block;
}

.form-file + label span {
    font-family: inherit;
}

.form-file + label .fa:before {
    margin-right: 10px;
    font-family: FontAwesome;
}

.js .form-file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.form-file + label {
    max-width: 80%;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 10px 20px;
}

.no-js .form-file {
    display: none;
}

.form-file:focus + label, .form-file.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.form-file + label {
    color: #4cc081;
}

.form-file:focus + label, .form-file.has-focus + label,
.form-file + label:hover {
    color: #4cc081;
}

.section h1.title {
    color: #1bad73;
    font-weight: 600;
}

.name-therapy:active,
.name-therapy:focus {
    text-decoration: none;
}

.name-therapy:hover,
.about-social a:hover {
    color: #4cc081;
}

.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    line-height: 1.42857143;
    color: #65615f;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.social-block {
    font-size: 17px;
    padding: 0 0 10px 0;
}

@media (max-width: 670px) {
    ol.breadcrumb {
        display: none;
    }
    .about-partners-block .about-partners-block__item {
        width: 47%;
        margin-right: 10px;
    }
}

.box-inner > h3 {
    transition: all 0.3s ease;
}

.box.master-box:hover .box-inner > h3 {
    margin-top: 100px;
}

/**********************/

.plh {
    line-height: 24px;
}

span.green {
    color: #13b877;
    font-weight: 600;
}

.h3-semit {
    text-align: center;
    color: #13b877;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.7;
}

.panel-heading .accordion-toggle {
    transition: all 0.5s ease;
}

.panel-heading .accordion-toggle:after {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f105";
    float: right;
    color: #13b877;
    font-size: 28px;
    margin-top: -3px;
    transition: all 0.5s ease;
}

.panel-heading .accordion-toggle.collapsed:after {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f105";
    float: right;
    color: #13b877;
    font-size: 28px;
    margin-top: -3px;
    transform: rotate(90deg);
    transition: all 0.5s ease;
}

a.fancy {
    display: block;
   /* max-width: 310px;*/
    margin: 0 auto 18px auto;
}

.fancy {
    position: relative;
    text-align: right;
}

.fancy:before {
    font-family: "Font Awesome 5 Free" !important;
    content: "\f337";
    font-weight: 900;
    background: rgba(0, 0, 0, 0.86);
    font-size: 26px;
    color: white;
    position: absolute;
    padding: 0 6px;
    border-radius: 5px;
    margin: 9px;
    right: 0;
}

.panel.panel-default {
    border-color: transparent;
}

.zab-accordion .accordion-button {
    background: #f9f8f8;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    color: #13b877;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.zab-accordion .accordion-button:focus,
.zab-accordion .accordion-button:not(.collapsed) {
    background: #f9f8f8;
    box-shadow: none;
    color: #13b877;
}

.zab-accordion .accordion-button:after {
    display: none;
}

.zab-accordion .accordion-item {
    border: 0;
}

.panel-body {
    border-top: transparent !important;
    border-bottom: transparent !important;
    box-shadow: transparent;
}

.panel.panel-default {
    box-shadow: none;
}

.panel-heading {
    padding: 26px;
    border-radius: 10px;
    background: #f9f8f8;
}

a.accordion-toggle {
    color: #13b877;
    font-size: 18px;
    font-weight: 600;
}

.patient-text p {
    padding: 0 0 4px 0;
}

h3.name-therapy.nt-small {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    flex-direction: column;
    justify-content: center;
}

.category-block {
    display: flex;
}

.navbar-default {
    background-color: #f4f1f1;
}

.articles-block-main .image-holder {
    max-height: 187px;
}

.articles-block-main .box {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

section.main-links .menu-main-1 {
    background: -webkit-linear-gradient(top, #00a77b 0%, #26db73 100%);
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

section.main-links .menu-main-2 {
    background: -webkit-linear-gradient(top, #00a77b 0%, #26db73 100%);
    border-bottom: 1px solid #fff;

}

section.main-links .menu-main-3 {
    background: -webkit-linear-gradient(top, #00a77b 0%, #26db73 100%);
    border-right: 1px solid #fff;

}
section.main-links .menu-main-4 {
    background: -webkit-linear-gradient(top, #00a77b 0%, #26db73 100%);
}

#more {
    display: none;
}

.read-more-btn {
    color: #1bad73;
    cursor: pointer;
}
.read-more-btn:hover {
    text-decoration: underline;
    color: #01804e;
}

.read-more-default-block {
    display: flex;
    margin-top: 30px;
}

.read-more-default-img-block {
    margin-bottom: 15px;
    float: right;
    width: 365px;
    height: 250px;
}
.read-more-default-img-block img {
float:left; display:block; 
}

.read-more-default-img-block img {
    width: 47%;
    cursor: pointer;
}
.read-more-default-img-block img:hover {
    transform: scale(1.4);
}

.read-more-default-img-block img:not(:last-child){
    margin-right: 10px;
}

.news-about p{
    padding: 0;
}
.navbar-collapse{
    border: none;
}
.navbar-nav {
    margin: 0;
}
.fancy img{
    margin-left: auto;
    margin-right: auto;
   /* max-width: 450px;*/
    min-width: 150px!important;
    width: 100%!important;
}
.zabol .image-wrap{
    max-width: 340px;
    float:left;
    padding: 0 20px 20px 20px;
}
.name-therapy.name-therapy-3 {
    padding: 20px;
    margin: 0;
}
.map-block{
    margin-right: 20px;
    padding-bottom: 265px;
}
.map-block .embed-responsive-item{
    max-height: 265px;
}
.reviews .review-item{
    margin-bottom: 20px;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
}
.doctors-block{
    margin-top: 20px;
}
.page-about h3.title{
    margin-top: 20px!important;
}
.vm{
    float: left;
}
.vm .image-wrap{
    max-width: 232px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 20px 18px 0px;
    padding: 0;
    -moz-box-shadow: 0 0 20px #c6c6c6;
    -webkit-box-shadow: 0 0 20px #c6c6c6;
    box-shadow: 0 0 20px #c6c6c6;
}
.vm .about-social {
    text-align: center;
}
.vm .vm-social {
    background: #fff;
}
.vm .about-social a {
    color: #1bad73;
}
.vm .about-social {
    padding-top: 15px;
    padding-bottom: 15px;
}
.item-palat {
    max-width: 500px;
    margin: 20px
}
.slick-slide {
    outline: none;
}
.partners-block img{
    max-width: 200px;
    width: 100%;
}
.partners-block .img-wrap{
    text-align: center;
}
.partners-block .text{
    margin-bottom: 20px;
}

.about-partners-block {
    display: flex;
    flex-wrap: wrap;
}

.about-partners-block__item {
    width: 25%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.about-partners-block__item:hover {
    transform: scale(1.2);
    transition: 0.3s;
}

.p-video iframe{
    width: 100%;
    max-width: 444px;
    max-height: 210px;
}
.review-item .reviews-page{
    padding: 15px 0 15px 0;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    min-height: 85px;
}
.review-item {
    border-radius: 10px;
    -moz-box-shadow: 0 0 20px #c6c6c6;
    -webkit-box-shadow: 0 0 20px #c6c6c6;
    box-shadow: 0 0 20px #c6c6c6;
    overflow: hidden;
}
.review-item .reviews-page a{
    color: #1bad73;
}
.review-item .reviews-page a:hover,
.review-item .reviews-page a:focus,
.review-item .reviews-page a:active{
    color: #1bad73;
}
footer .menu-block{
    text-align: center;
}
footer .social-block{
    text-align: right;
}

.doctors-block .col-md-4 {
    margin-top: 20px
}
.dropdown-phone .dropdown-lang i:first-child {
    margin-left: 5px;
}
.dropdown-phone .dropdown-lang span {
    font-weight: 600;
    font-size: 18px;
}
@media (max-width: 392px) {
    .main-page.container.hd-container{
        width: 100%;
    }
    .dropdown-phone .dropdown-menu {
        left: -146px;
    }
    .about-partners-block .about-partners-block__item {
        width: 100%;
    }
}
.dropdown-phone i.fa-phone-volume{
    font-size: 23px;
}
.navbar-header .logo-holder {
    margin-left: 10px;
}
.navbar-header .logo-holder a{
    margin-top: -10px;
}
.navbar-header .dropdown-phone{
    margin-top: 15px;
    float:right;
}
.mt-link-center{
    -webkit-transition: transform .2s;
    -moz-transition: transform .2s;
    -ms-transition: transform .2s;
    -o-transition: transform .2s;
    transition: transform .2s;
}
.mt-link-center:hover{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.banner-head .photo-block {
    text-align: center;
}
.banner-head .photo-block img {
    max-width: 300px;
}
@media (max-width: 400px) {
    .banner-head .photo-block img {
        max-width: 260px;
    }
}

.zab-accordion .panel-heading{
    padding: 0;
}
.zab-accordion a.accordion-toggle,
.zab-accordion .accordion-button.accordion-toggle{
    padding: 26px;
    display: block;
}
.absolute-phone-header {
    display: block;
    position: absolute;
    color: #65615f;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-right: 20px;
    width: 239px;
}
.absolute-phone-header:nth-child(1) {
    top: -22px;
}
.absolute-phone-header:nth-child(2) {
    top: 24px;
}
.absolute-phone-header > a > span {
    font-size: 18px;
    font-weight: 500;
}
footer .copyright{
    margin-top: 30px;
}
footer .copyright p {
    font-size: 14px;
    text-align: center;
    line-height: 20px;
}

.main-video-item .item-logo::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.47;
    position: absolute;
}

.video-main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.waves-block {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waves-block .waves {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid #fff;
    box-sizing: border-box;
    opacity: 0;
    border-radius: 100%;
    z-index: -1;
    animation: animate 1s linear infinite;
}

@keyframes animate {
    0%
    {
        width: 50px;
        height: 50px;
    }
    50%
    {
        opacity: 0.8;
        border: 1px solid #fff;
    }
    100%
    {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.video-main .wave-1 {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.video-main .video {
    height: 50px;
    width: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 100%;
    background: 0 0;
    color: #fff;
    display: inline-block;
    background: #fff;
    opacity: 0.7;
    transition: 0.5s all;
}

.video-main .video i {
    width: 10px;
    color: #4dd98f;
}
.cursor-pointer {
    cursor: pointer;
}
.video:hover {
    opacity: 1;
    transition: 0.5s all;
}

.main-video-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: #ccc;
}

.modal-content iframe{
    width: 100% !important;
    margin-bottom: -5px!important;
    height: 335px!important;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg2 {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}


/* The Modal (background) */
.modal-image {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content-image {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
      
}

/* Add Animation - Zoom in the Modal */
.modal-content-image, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content-image {
        width: 100%;
    }
}

.item-description {
    height: 160px;
    overflow: hidden;
    margin-bottom: 20px;
}
.welcomewords__description .item-description-active {
    height: auto;
}

.item-button {
    text-decoration: underline;
    color: #1bad73;
    cursor: pointer;
}

.read-more-block-first {
    font-size: 17px;
    line-height: 30px;
    padding: 0px 0px;
}

.about-panent-block img {
    width: 100%;
}


.about-panent-block img:hover {
    transform: scale(1.3);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.item-description-about {
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
        padding: 10px 33px;
}

.item-description-active-about {
    height: auto;
    overflow: initial;
}

.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

@media screen and (max-width: 768px) and (min-width: 480px) {
    .zabol {
        max-width: 700px;
        margin: 0 auto;
    }
    .read-more-default-block > .read-more-default-img-block {
        width: 100% !important;
    }

}


.about-desc p {font-size: 13px !important;padding: 0px !important;margin: 0px !important;}

.mnheit {
    min-height:40px !important;
}

/* Bootstrap 5 redesign pass: blue medical brand direction. */
html,
body {
    background: var(--hb-ivory-light);
    color: var(--hb-text);
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-size: 16px;
}

a {
    color: var(--hb-blue);
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

a:hover,
a:focus {
    color: var(--hb-blue-dark);
}

header {
    background: rgba(250, 248, 238, .94);
    border-bottom: 1px solid var(--hb-line);
    box-shadow: 0 10px 28px rgba(31, 55, 102, .06);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .blocks {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
}

header .blocks > div,
header .blocks .left,
header .blocks .right,
header .blocks .right > div,
header .logo-holder,
header .descriptor {
    display: block;
    float: none;
}

header .blocks .left {
    align-items: center;
    display: flex;
    min-width: 0;
}

header .logo-holder img {
    height: auto;
    max-width: 172px;
}

header .descriptor {
    border-left: 1px solid var(--hb-line);
    color: var(--hb-muted);
    font-size: 14px;
    letter-spacing: 1.8px;
    line-height: 1.35;
    margin-left: 26px;
    max-width: 360px;
    padding-left: 26px;
}

header .blocks .right {
    align-items: center;
    display: flex;
    gap: 16px;
    padding-top: 0;
}

.dropdown-lang,
.dropdown-lang:hover,
.dropdown-lang:active,
.dropdown-lang:focus {
    color: var(--hb-text);
    font-size: 16px;
    margin-right: 0;
}

.dropdown-lang.phoneg {
    align-items: center;
    background: var(--hb-blue);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(47, 85, 151, .22);
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    min-height: 44px;
    padding: 10px 18px;
    white-space: nowrap;
}

header .language .dropdown-lang {
    align-items: center;
    background: #fff;
    border: 1px solid var(--hb-line);
    border-radius: 999px;
    display: inline-flex;
    gap: 6px;
    min-height: 40px;
    padding: 8px 13px;
}

.dropdown-menu {
    border: 1px solid var(--hb-line);
    border-radius: 16px;
    box-shadow: var(--hb-shadow);
    padding: 8px;
}

.dropdown-item {
    border-radius: 10px;
    color: var(--hb-text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--hb-blue-soft);
    color: var(--hb-blue-dark);
}

.social a,
.review-item .reviews-page a,
.section .title,
.section h1.title,
.box .content .name,
.read-more-btn,
.file-upload a,
.vm .about-social a {
    color: var(--hb-blue);
}

.main-menu {
    background:
        radial-gradient(circle at 13% 20%, rgba(238, 236, 217, .85), transparent 32%),
        linear-gradient(135deg, #f8f6ed 0%, #eef3fb 48%, #dfe8f5 100%);
}

.banner-head-main {
    background-image:
        linear-gradient(90deg, rgba(250, 248, 238, .95) 0%, rgba(250, 248, 238, .78) 38%, rgba(47, 85, 151, .10) 100%),
        url('../images/main_background.jpg');
    background-position: center !important;
    background-size: cover;
    border-bottom: 1px solid var(--hb-line);
    min-height: 560px;
    padding: 72px 0 62px;
}

.banner-head-main .row {
    align-items: center;
}

.banner-head {
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 34px;
    box-shadow: var(--hb-shadow);
    padding: 42px 38px;
}

h1.h1-banner {
    color: var(--hb-blue-dark);
    font-size: clamp(32px, 4vw, 58px);
    font-style: normal;
    letter-spacing: -.8px;
    line-height: 1.05;
    margin: 0 0 18px;
    padding-top: 0;
}

span.banner-sub {
    color: var(--hb-blue);
    font-size: clamp(18px, 2vw, 26px);
    letter-spacing: .04em;
    margin-bottom: 0;
    text-align: left;
    text-transform: uppercase;
}

#wrap {
    opacity: 1;
}

#main {
    max-width: 552px;
    width: 100%;
}

#outer {
    filter: drop-shadow(0 24px 44px rgba(31, 55, 102, .18));
    transform-origin: center;
}

.square {
    background: linear-gradient(145deg, var(--hb-blue) 0%, #4774bb 100%);
    border-color: rgba(255, 255, 255, .72) !important;
}

.square:hover {
    background: linear-gradient(145deg, var(--hb-blue-dark) 0%, var(--hb-blue) 100%);
}

.master-top-description {
    color: #fff;
    font-size: 1.08em;
    letter-spacing: .08em;
}

.main-links {
    background: var(--hb-ivory-light);
}

.mit {
    background: transparent;
    color: var(--hb-text);
}

.main-item {
    padding: 8px !important;
}

.main-item a {
    align-items: center;
    background: linear-gradient(145deg, var(--hb-blue) 0%, #4774bb 100%);
    border-radius: 22px;
    box-shadow: var(--hb-shadow);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 156px;
    justify-content: center;
    padding: 22px 12px;
    text-decoration: none;
}

.main-item a:hover,
.main-item a:focus {
    color: #fff;
    transform: translateY(-3px);
}

.main-item a h3 {
    color: #fff;
    font-size: 16px;
    letter-spacing: .04em;
    margin: 0;
    text-transform: uppercase;
}

section.main-links .main-item,
section.main-links .menu-main-1,
section.main-links .menu-main-2,
section.main-links .menu-main-3,
section.main-links .menu-main-4 {
    background: transparent;
    border: 0;
}

.main-item img,
.master-top-icon img {
    filter: brightness(0) invert(1);
}

.section {
    padding: var(--hb-section-space) 0;
}

.section .title,
.section h1.title {
    color: var(--hb-blue-dark);
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.02em;
    margin-bottom: 34px;
}

.section .title:before {
    background: var(--hb-blue);
    border-radius: 999px;
    height: 4px;
}

.read-more-default-block {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius);
    box-shadow: var(--hb-shadow);
    color: var(--hb-text);
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    line-height: 1.72;
    margin: 42px 0 0;
    padding: 32px;
}

.read-more-default-block strong {
    color: var(--hb-blue-dark);
}

.read-more-default-block a {
    color: var(--hb-blue) !important;
    font-weight: 600;
}

.read-more-default-img-block {
    display: grid;
    float: none;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.read-more-default-img-block img {
    background: var(--hb-ivory);
    border: 1px solid var(--hb-line);
    border-radius: 18px;
    display: block;
    float: none;
    height: auto;
    margin: 0 !important;
    max-width: 100%;
    padding: 8px;
    transform: none !important;
    width: 100%;
}

.bg-gray {
    background: var(--hb-blue-soft);
}

.reviews .review-item,
.box,
.box.boxed {
    background: #fff;
    border: 1px solid var(--hb-line);
    border-radius: var(--hb-radius);
    box-shadow: 0 16px 38px rgba(31, 55, 102, .12);
}

.reviews .review-item {
    max-width: none;
}

.main-video-item {
    background-color: var(--hb-blue-soft);
    min-height: 220px;
}

.video-main .video {
    opacity: .96;
}

.video-main .video i {
    color: var(--hb-blue);
}

.review-item .reviews-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 74px;
    padding: 18px;
}

.section .link-block a.link {
    background: var(--hb-blue);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(47, 85, 151, .22);
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    padding: 12px 24px;
    text-decoration: none;
}

.section .link-block a.link:hover,
.section .link-block a.link:focus {
    background: var(--hb-blue-dark);
    color: #fff;
    transform: translateY(-2px);
}

.navbar-default {
    background-color: rgba(250, 248, 238, .96);
}

.navbar-nav > li > a,
ul.nav.navbar-nav li.active a {
    color: var(--hb-blue-dark);
}

ul.nav.navbar-nav li.active a,
.navbar-nav > li:hover > a {
    color: var(--hb-blue) !important;
}

footer {
    background: linear-gradient(135deg, var(--hb-blue-dark) 0%, var(--hb-blue) 100%);
    color: rgba(255, 255, 255, .78);
    padding: 58px 0 32px;
}

footer .logo-holder p,
footer ul.menu li a,
footer .social-block,
footer .copyright p {
    color: rgba(255, 255, 255, .82);
}

footer ul.menu li a:hover,
footer .social > a:hover {
    color: #fff;
}

footer .social > a {
    align-items: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin-left: 8px;
    padding: 0;
    width: 42px;
}

@media (max-width: 990px) {
    .banner-head-main {
        min-height: 0;
        padding: 48px 0;
    }

    .banner-head {
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
    }

    header .blocks {
        display: grid;
        gap: 10px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    header .blocks .left {
        flex: 1 1 auto;
        min-width: 0;
    }

    header .logo-holder img {
        max-width: 128px;
    }

    header .blocks .right {
        align-items: flex-end;
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
        width: 178px;
    }

    header .blocks .right .language {
        display: none;
    }

    header .language .dropdown-lang {
        font-size: 14px;
        min-height: 34px;
        padding: 6px 10px;
    }

    .dropdown-lang.phoneg {
        background: transparent;
        box-shadow: none;
        color: var(--hb-green);
        font-size: 16px;
        padding: 0;
    }

    .mobile-heal {
        background: var(--hb-ivory-light);
        color: var(--hb-blue-dark);
        display: block;
        font-size: 13px;
        letter-spacing: .08em;
        padding: 10px 18px;
    }

    .banner-head-main {
        background-image: linear-gradient(180deg, #f8f6ed 0%, #e9eff9 100%);
        padding: 24px 0 0;
    }

    .banner-head {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0 18px 18px;
        text-align: left;
    }

    h1.h1-banner {
        color: var(--hb-blue-dark) !important;
        font-size: 30px;
        margin-bottom: 10px;
    }

    span.banner-sub {
        font-size: 15px;
        text-align: left;
    }

    .banner-head .photo-block {
        margin: 22px -18px 0;
        overflow: hidden;
        text-align: center;
    }

    .banner-head .photo-block img {
        max-width: 100%;
        width: 100%;
    }

    .main-links .container,
    .main-links .responsive-row,
    .main-links .row {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .main-links .row {
        --bs-gutter-x: 12px;
        display: block;
    }

    .main-links .responsive-row {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
    }

    .main-links .mit {
        overflow: hidden;
        padding: 6px !important;
        width: 100%;
    }

    .main-item {
        display: block;
        flex: none;
        margin: 0 24px 18px;
        max-width: none;
        padding: 6px 0 !important;
        width: auto;
        zoom: 1;
    }

    .main-item a {
        border-radius: 18px;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
        min-height: 138px;
        width: 100%;
    }

    .read-more-default-block {
        display: block;
        margin-top: 28px;
        padding: 18px;
    }

    .read-more-default-img-block {
        margin-bottom: 22px;
    }

    .read-more-default-img-block img {
        padding: 6px;
    }

    .section {
        padding: 48px 0;
    }

    footer,
    footer .social-block {
        text-align: center;
    }
}

/* Desktop homepage polish: closer to the original layout, cleaner Bootstrap 5 finish. */
@media (min-width: 992px) {
    header {
        background: rgba(250, 248, 238, .98);
        padding: 14px 0;
    }

    header .blocks {
        gap: 24px;
        min-height: 82px;
    }

    header .logo-holder img {
        max-width: 184px;
    }

    header .descriptor {
        border-left-color: rgba(47, 85, 151, .16);
        color: #5f6672;
        font-size: 15px;
        letter-spacing: 2.1px;
        line-height: 1.45;
        margin-left: 28px;
        max-width: 410px;
        padding-left: 28px;
    }

    header .blocks .right {
        gap: 18px;
    }

    header .blocks .right > .dropdown-phone.d-none.d-md-block {
        display: none !important;
    }

    .dropdown-lang.phoneg {
        background: transparent;
        box-shadow: none;
        color: var(--hb-blue-dark);
        font-size: 17px;
        font-weight: 600;
        min-height: auto;
        padding: 0;
    }

    .dropdown-lang.phoneg::before {
        color: var(--hb-blue);
        content: '\f095';
        font-family: 'Font Awesome 5 Free';
        font-size: 15px;
        font-weight: 900;
        margin-right: 8px;
    }

    header .language .dropdown-lang {
        background: transparent;
        border: 0;
        color: var(--hb-text);
        font-size: 16px;
        font-weight: 600;
        min-height: auto;
        padding: 0;
    }

    header .social {
        align-items: center;
        display: flex !important;
        gap: 10px;
    }

    header .social a {
        align-items: center;
        background: transparent;
        border-radius: 0;
        color: var(--hb-blue);
        display: inline-flex;
        font-size: 24px;
        height: auto;
        justify-content: center;
        line-height: 1;
        padding: 0;
        text-decoration: none;
        width: auto;
    }

    header .social a:hover,
    header .social a:focus {
        color: var(--hb-blue-dark);
        text-decoration: none;
        transform: translateY(-1px);
    }

    .main-menu {
        background: #f6f4e9;
    }

    .banner-head-main {
        background-image:
            linear-gradient(90deg, rgba(248, 247, 238, .24) 0%, rgba(248, 247, 238, .12) 40%, rgba(47, 85, 151, .02) 100%),
            url('../images/main_background.jpg');
        background-position: center top !important;
        background-repeat: no-repeat;
        background-size: cover;
        border-bottom: 0;
        min-height: 498px;
        overflow: hidden;
        padding: 0;
    }

    .banner-head-main > .container {
        max-width: none;
        min-height: 498px;
        padding-left: max(30px, calc((100vw - 1170px) / 2));
        padding-right: 0;
    }

    .banner-head-main .row {
        --bs-gutter-x: 0;
        align-items: stretch;
        min-height: 498px;
        width: 100%;
    }

    .banner-head {
        align-items: flex-start;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 36px 32px 0 0;
        text-align: right;
    }

    h1.h1-banner {
        color: var(--hb-blue-dark);
        font-size: clamp(27px, 2.4vw, 36px);
        font-style: italic;
        font-weight: 700;
        letter-spacing: -.2px;
        line-height: 1.25;
        margin: 0 0 12px auto;
        max-width: 640px;
        text-shadow: 0 1px 18px rgba(255, 255, 255, .74);
    }

    span.banner-sub {
        color: #555f6a;
        display: block;
        font-size: clamp(18px, 1.6vw, 24px);
        font-weight: 500;
        letter-spacing: .02em;
        margin-left: auto;
        max-width: 640px;
        text-align: right;
        text-shadow: 0 1px 14px rgba(255, 255, 255, .82);
        text-transform: none;
    }

    #wrap,
    #main,
    #outer {
        height: 100%;
        max-width: none;
        width: 100%;
    }

    #wrap {
        opacity: 1;
        position: relative;
    }

    #main {
        margin-left: auto;
    }

    #outer {
        border-left: 1px solid rgba(255, 255, 255, .58);
        display: grid;
        filter: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        transform: none;
    }

    .master-bottom {
        display: contents;
    }

    .square {
        align-items: center;
        background: linear-gradient(145deg, rgba(47, 85, 151, .88) 0%, rgba(91, 133, 196, .80) 100%);
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .64) !important;
        border-right: 1px solid rgba(255, 255, 255, .64) !important;
        display: flex;
        float: none;
        height: auto;
        justify-content: center;
        overflow: hidden;
        position: relative;
        width: auto;
    }

    .square::before {
        background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .20), transparent 36%);
        content: '';
        inset: 0;
        opacity: 0;
        position: absolute;
        transition: opacity .24s ease;
    }

    .square:hover,
    .square:focus-within {
        background: linear-gradient(145deg, rgba(31, 55, 102, .94) 0%, rgba(47, 85, 151, .88) 100%);
    }

    .square:hover::before,
    .square:focus-within::before {
        opacity: 1;
    }

    .square .mt-link-center {
        align-items: center;
        color: #fff;
        display: flex;
        flex-direction: column;
        gap: 18px;
        height: 100%;
        justify-content: center;
        position: relative;
        text-decoration: none;
        width: 100%;
        z-index: 1;
    }

    .master-top-icon img {
        max-height: 58px;
        max-width: 64px;
    }

    .master-top-description {
        color: #fff;
        font-size: 19px;
        font-weight: 500;
        letter-spacing: .08em;
        line-height: 1.25;
        text-transform: uppercase;
    }

    .read-more-default-block {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        color: #5d6268;
        display: block;
        font-size: 17px;
        line-height: 1.76;
        margin: 32px 0 0;
        padding: 0 4px 0;
    }

    .read-more-default-block::after {
        clear: both;
        content: '';
        display: table;
    }

    .read-more-default-img-block {
        display: grid;
        float: right;
        gap: 22px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 8px 0 24px 54px;
        max-width: 366px;
        width: 36%;
    }

    .read-more-default-img-block img {
        background: transparent;
        border: 0;
        border-radius: 8px;
        padding: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    header .descriptor {
        font-size: 13px;
        letter-spacing: 1.4px;
        margin-left: 18px;
        max-width: 300px;
        padding-left: 18px;
    }

    header .blocks .right {
        gap: 12px;
    }

    .banner-head-main > .container {
        padding-left: 24px;
    }

    .master-top-description {
        font-size: 17px;
    }
}
