/* Header redesign: 2026-09-19 */
:root {
    --medteh-header-blue: #031a36;
    --medteh-accent: #00a9df;
    --medteh-header-container: 1600px;
}

.t228__imglogo {
    margin-right: 0 !important;
}

/* New logo with text */
#nav821458860 .t228__imgwrapper,
#rec821458860 .tmenu-mobile__container > a {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    width: max-content;
    text-decoration: none;
}

#nav821458860 .t228__imgwrapper::after,
#rec821458860 .tmenu-mobile__container > a::after {
    content: "МЕДТЕХ\A МЕДИЦИНА БУДУЩЕГО";
    white-space: pre;
    color: #ffffff;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.05;
}

#nav821458860 .t228__imgwrapper::after {
    font-size: 18px;
}

#rec821458860 .tmenu-mobile__container > a::after {
    font-size: 14px;
}

#nav821458860 .t228__imglogo,
#rec821458860 .tmenu-mobile__imglogo {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 58px !important;
    object-fit: contain;
    filter: none !important;
}

.site-breadcrumbs {
    padding: 105px 0 0 0;
}

#nav821458860 .t228__right_buttons .t-btn {
    transition: all .3s;
}

#nav821458860 .t228__right_buttons a.request.t-btn:hover {
    background-color: #00a9df!important;
    color: #031a36!important;
}

/* Desktop header */
@media screen and (min-width: 981px) {
    #nav821458860.t228 {
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        height: 92px !important;
        background-color: var(--medteh-header-blue) !important;
        box-shadow: none !important;
    }

    body.home:not(.medteh-header-scrolled) #nav821458860.t228,
    body.front-page:not(.medteh-header-scrolled) #nav821458860.t228 {
        background-color: transparent !important;
    }

    body.home.medteh-header-scrolled #nav821458860.t228,
    body.front-page.medteh-header-scrolled #nav821458860.t228 {
        background-color: var(--medteh-header-blue) !important;
    }

    #nav821458860 .t228__maincontainer {
        display: flex;
        align-items: center;
        width: min(100% - 48px, var(--medteh-header-container));
        max-width: 1600px !important;
        height: 92px !important;
        margin: 0 auto;
    }

    #nav821458860 .t228__padding40px {
        display: none;
    }

    #nav821458860 .t228__leftside {
        min-width: 190px !important;
        flex: 0 0 auto;
    }

    #nav821458860 .t228__leftcontainer,
    #nav821458860 .t228__rightcontainer {
        padding: 0;
    }

    #nav821458860 .t228__imglogo {
        display: block;
        width: 180px !important;
        max-width: 180px !important;
        min-width: 180px !important;
        height: auto;
    }

    #nav821458860 .t228__centerside {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        padding-left: 5%;
        text-align: center !important;
    }

    #nav821458860 .t228__centercontainer {
        width: auto;
    }

    #nav821458860 .t228__list {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        margin: 0;
    }

    #nav821458860 a.t-menu__link-item,
    #nav821458860 .t228__right_buttons a,
    #nav821458860 .t228__right_buttons .t-btn {
        font-family: 'Circe', Arial, sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        color: #ffffff !important;
        text-transform: none;
    }

    #nav821458860 .t228__right_buttons .t-btn,
    #nav821458860 .t228__right_buttons .t-btn:hover,
    #rec821458860 .t-btnflex.t-btnflex_type_button:not(.t-animate_no-hover):hover {
        border-color: #00a9df !important;
        color: #00a9df !important;
        border-radius: 20px;
        padding: 0 35px !important;
        min-height: 38px;
    }

    #nav821458860 a.t-menu__link-item:hover,
    #nav821458860 a.t-menu__link-item:focus-visible,
    #nav821458860 .t-menu__link-item.t-active {
        color: var(--medteh-accent) !important;
    }

    #nav821458860 .t228__rightside {
        min-width: 190px !important;
        flex: 0 0 190px;
    }

    #nav821458860 .t228__rightcontainer {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    #nav821458860 .t-sociallinks {
        display: none;
    }

    #nav821458860 .t228__right_buttons_but {
        text-align: right !important;
    }

    #nav821458860 .t228__right_buttons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 166px;
        min-height: 44px;
        padding: 0 20px !important;
        border: 1px solid #ffffff !important;
        border-radius: 4px;
        color: #ffffff !important;
        box-sizing: border-box;
        transition: background-color .2s ease, color .2s ease;
    }

    #nav821458860 .t228__right_buttons a:hover,
    #nav821458860 .t228__right_buttons a:focus-visible {
        background-color: transparent !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
    }

    /* Dropdown menus */
    #nav821458860 .t228__list ul,
    #nav821458865 .t978__tooltip-menu,
    #nav821458865 .t978__innermenu,
    a[data-tooltip-menu-id="821458865"] + .t978__tooltip-menu {
        background-color: var(--medteh-header-blue) !important;
        border-color: rgba(255, 255, 255, .18);
    }

    #nav821458860 .t228__list ul {
        padding: 14px 0;
        border-radius: 0;
    }

    #nav821458860 .t228__list ul li a,
    #nav821458865 .t978__menu-link,
    #nav821458865 .t978__innermenu-link,
    a[data-tooltip-menu-id="821458865"] + .t978__tooltip-menu a {
        display: block;
        color: #ffffff !important;
    }

    #nav821458860 .t228__list ul li a:hover,
    #nav821458865 .t978__menu-link:hover,
    #nav821458865 .t978__innermenu-link:hover,
    a[data-tooltip-menu-id="821458865"] + .t978__tooltip-menu a:hover {
        color: var(--medteh-accent) !important;
        background-color: rgba(255, 255, 255, .06);
    }
}

/* New logo overrides */
#nav821458860 .t228__imgwrapper,
#rec821458860 .tmenu-mobile__container > a {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    width: max-content;
    text-decoration: none;
}

#nav821458860 .t228__imgwrapper::after,
#rec821458860 .tmenu-mobile__container > a::after {
    content: "МЕДТЕХ\A МЕДИЦИНА БУДУЩЕГО";
    white-space: pre;
    color: #ffffff;
    font-family: 'Circe', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.05;
}

#rec821458860 .tmenu-mobile__container > a::after {
    font-size: 14px;
}

#nav821458860 .t228__imglogo,
#rec821458860 .tmenu-mobile__imglogo {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 58px !important;
    object-fit: contain;
    filter: none !important;
}

/* Mobile header */
@media screen and (max-width: 980px) {
    #rec821458860 .tmenu-mobile {
        background-color: var(--medteh-header-blue) !important;
    }

    #rec821458860 .tmenu-mobile__container {
        min-height: 72px;
        padding: 14px 20px;
    }

    #rec821458860 .tmenu-mobile__imglogo {
        width: 150px !important;
        max-width: 150px !important;
    }

    #rec821458860 .t-menuburger span {
        background-color: #ffffff !important;
    }

    #nav821458860 {
        background-color: var(--medteh-header-blue) !important;
    }

    body.home:not(.medteh-header-scrolled) #rec821458860 .tmenu-mobile,
    body.front-page:not(.medteh-header-scrolled) #rec821458860 .tmenu-mobile,
    body.home:not(.medteh-header-scrolled) #nav821458860 {
        background-color: transparent !important;
    }

    body.home.medteh-header-scrolled #rec821458860 .tmenu-mobile,
    body.front-page.medteh-header-scrolled #rec821458860 .tmenu-mobile,
    body.home.medteh-header-scrolled #nav821458860 {
        background-color: var(--medteh-header-blue) !important;
    }

    #nav821458860 a.t-menu__link-item,
    #nav821458860 .t228__right_buttons a {
        color: #ffffff !important;
    }

    #nav821458860.t-menu__mobile-opened {
        top: 72px !important;
        display: block !important;
        width: 100%;
        height: calc(100vh - 72px) !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background-color: var(--medteh-header-blue) !important;
    }

    #nav821458860.t-menu__mobile-opened .t228__maincontainer {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    #nav821458860.t-menu__mobile-opened .t228__leftside,
    #nav821458860.t-menu__mobile-opened .t228__rightside,
    #nav821458860.t-menu__mobile-opened .t228__padding40px {
        display: none !important;
    }

    #nav821458860.t-menu__mobile-opened .t228__centerside {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
    }

    #nav821458860.t-menu__mobile-opened .t228__centercontainer {
        display: block !important;
        width: 100% !important;
    }

    #nav821458860.t-menu__mobile-opened .t228__list {
        display: block !important;
        width: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 10px 24px 32px !important;
        box-sizing: border-box;
    }

    #nav821458860.t-menu__mobile-opened .t228__list > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #nav821458860.t-menu__mobile-opened .t228__list > li > a {
        display: flex !important;
        align-items: center;
        min-height: 48px;
        padding: 12px 0 !important;
        box-sizing: border-box;
        color: #ffffff !important;
    }
}

#nav821458860 .t228__imgwrapper::after,
#rec821458860 .tmenu-mobile__container > a::after {
    content: none !important;
}

#nav821458860 .t228__imgwrapper,
#rec821458860 .tmenu-mobile__container > a {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    width: max-content;
    text-decoration: none;
}

#nav821458860 .t228__imgwrapper .medteh-brand__text,
#rec821458860 .tmenu-mobile__container > a .medteh-brand__text,
.footer-redesign .medteh-brand__text {
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-family: 'Circe', Arial, sans-serif;
    line-height: 1.05;
}

#nav821458860 .t228__imgwrapper .medteh-brand__text strong,
#rec821458860 .tmenu-mobile__container > a .medteh-brand__text strong,
.footer-redesign .medteh-brand__text strong {
    font-size: 18px;
    font-weight: 600;
}

#nav821458860 .t228__imgwrapper .medteh-brand__text small,
#rec821458860 .tmenu-mobile__container > a .medteh-brand__text small,
.footer-redesign .medteh-brand__text small {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .01em;
}

#nav821458860 .t228__imglogo,
#rec821458860 .tmenu-mobile__imglogo {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 58px !important;
    object-fit: contain;
    filter: none !important;
}

@media screen and (max-width: 980px) {
    .tmenu-mobile__container .t228__imglogo.t228__imglogomobile {
        max-width: 50px !important;
    }

    #nav821458860 .t228__list.t-menu__list {
        background-color: #031a36 !important;
    }
}