/* Local overrides and maintenance modal */

html,
body {
    background: #ffffff;
    color-scheme: light;
}

.logo__img {
    max-width: 220px;
    height: auto;
    display: block;
}

.header__container {
    align-items: flex-start;
    gap: 12px;
}

.header__container .logo {
    width: auto;
    flex: 0 0 auto;
    padding-top: 18px;
}

.header__container .main-menu {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 28px;
}

.header__container .header__search {
    flex: 0 0 auto;
    margin-top: 42px;
    margin-right: 0;
}

.header__container .header__contact {
    width: auto;
    flex: 0 0 auto;
    padding-top: 48px;
    white-space: nowrap;
}

.header__container ul.slimmenu {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 6px;
}

.header__container ul.slimmenu li {
    float: none;
    margin-right: 18px;
}

.header__image {
    padding: 20px 16px 28px;
    box-sizing: border-box;
}

.video__block {
    align-items: center;
    column-gap: 20px;
}

.video__text {
    text-align: left;
    padding: 10px 10px 0 20px;
}

.video__text-item {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.35;
}

.header__image-tagline {
    text-align: left;
    padding-left: 10px;
}

.header__contact a {
    color: #02174E;
    word-break: break-all;
}

ul.slimmenu li a {
    padding: 12px 0;
}

.news-block__single-thumbnail--empty {
    background: #e8eef2;
}

.main-menu--dnone .slimmenu {
    margin-top: 40px;
}

.tech-modal[hidden] {
    display: none !important;
}

.tech-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.tech-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 23, 78, 0.45);
}

.tech-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 2px solid #54afca;
    border-radius: 12px;
    padding: 36px 28px 28px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 16px 40px rgba(2, 23, 78, 0.18);
}

.tech-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #02174E;
    cursor: pointer;
}

.tech-modal__title {
    margin: 0 0 12px;
    font-family: 'Montserrat-ExtraBold', sans-serif;
    font-size: 22px;
    color: #02174E;
}

.tech-modal__text {
    margin: 0 0 24px;
    font-size: 17px;
    line-height: 1.45;
    color: #02174E;
}

.tech-modal__ok {
    min-width: 140px;
    padding: 12px 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(9 118 45), rgb(62 136 83));
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.tech-modal__ok:hover {
    background: linear-gradient(180deg, rgb(91 201 128), rgb(62 136 83));
}

body.tech-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .video {
        width: 100%;
    }

    .video__block {
        flex-direction: column;
    }

    .video__block-left,
    .video__block-right {
        width: 100%;
    }

    .header__image-tagline {
        font-size: 22px;
        text-align: center;
        padding: 16px 0 0;
    }
}
