.main-page-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    visibility: hidden;
}
.main-page-slider__list {
    position: relative;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
.main-page-slide h1 {
    letter-spacing: -1px;
}

.main-page-slide.main-page-slide--dark a:hover p,
.main-page-slide.main-page-slide--dark a:hover h1{
    color: #222;
}

.main-page-slide a:hover p,
.main-page-slide a:hover h1{
    color: #fff;
}

/** SLIDE start */
.main-page-slide {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    background-color: #507497;
    color: #fff;
    position: relative;
    min-height: 600px;
    width: 100%;

    position: relative;
    overflow: hidden;
    padding-bottom: 110px; /** 90 px */
}
.main-page-slide.main-page-slide--dark .main-page-slide__desc p,
.main-page-slide.main-page-slide--dark {
    color: #222;
}
.main-page-slide::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.37);
}
.main-page-slide.main-page-slide--without-bg::after {
    display: none
}
.main-page-slide__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);*/
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transition: -webkit-transform 10s linear;
    transition: -webkit-transform 10s linear;
    -o-transition: transform 10s linear;
    transition: transform 10s linear;
    transition: transform 10s linear, -webkit-transform 10s linear;
    will-change: transform;
}
.main-page-slide__title, .main-page-slide__title * {
    font-size: 54px;
    line-height: 58px;
}
.main-page-slide__title:hover {
    color: inherit;
}
.main-page-slider__controls-wrapper,
.main-page-slide__content {
    max-width: 1264px;
    padding-left: 32px;
    padding-right: 32px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    position: relative;
    z-index: 1;
}
.main-page-slide__content-text {
    max-width: 720px;
}
/** SLIDE end */



/** CONTROLS start */
.main-page-slider__controls {
    position: absolute;
    bottom: 60px; /** 40 px */
    height: 50px;
    width: 100%;
}
.main-page-slider__controls-wrapper {
    height: 100%;
    display: flex;
    justify-content: space-between;
}
.main-page-slider__next-btn,
.main-page-slider__prev-btn {
    position: static;
}
.main-page-slider__prev-btn {
    margin-right: 8px;
}
.main-page-slider-progress {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.main-page-slider-progress__number {
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}
.main-page-slider-progress__bar {
    width: 40px;
    height: 2px;
    margin: 11px 10px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .2);
}
.main-page-slider-progress__bar-active {
    height: 100%;
    background-color: #fff;
    border-radius: 4px;
    display: block;
    width: 0;
}
.main-page-slider__buttons {
    display: flex;
}
.main-page-slider__buttons button {
    margin-top: 0;
}
.main-page-slider__controls--dark .main-page-slider-progress__bar {
    background-color: rgba(0, 0, 0, .2);
}
.main-page-slider__controls--dark .main-page-slider-progress__number {
    color: #222;
}
.main-page-slider__controls--dark .main-page-slider-progress__bar-active {
    background-color: #222;
}
/** CONTROLS end */


/** POPUP start */
.main-page-slider-video-popup.mfp-ready .mfp-close {
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
}
.main-page-slider-video-popup.mfp-bg.mfp-ready {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    opacity: unset;
}
.main-page-slider-video-popup.mfp-ready .mfp-content {
    width: fit-content;
}
/** POPUP end */


/** VIDEO start */
.main-page-slide__video {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    margin: 30px 0;
}
.main-page-slide__video span {
    margin-left: 10px;
    color: #ffffff;
    font-size: 16px;
    line-height: 26px;
}
.main-page-slide__video-item {
    width: 860px;
    height: 461px;
}
.main-page-slide-cookie-error {
    display: flex;
    background-color: #fff;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main-page-slide-cookie-error__title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
    text-align: center;
}
.main-page-slide-cookie-error__text {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    padding-bottom: 30px;
    color: #5E5E5E;
    text-align: center;
}
/** VIDEO end */

@media screen and (max-width: 1024px) {
    .main-page-slide {
        min-height: 500px;
    }
    .main-page-slide__content-text {
        max-width: 600px;
    }
    .main-page-slide__title, .main-page-slide__title * {
        font-size: 32px;
        line-height: 38px;
    }
    .main-page-slide__video-item {
        width: 468px;
        height: 262px;
    }
    .main-page-slider__controls {
        bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .main-page-slide__content-text {
        max-width: 469px;
    }
    .main-page-slide__video-item {
        width: 312px;
        height: 206px;
    }
    .main-page-slide-cookie-error__title {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 0;
    }
    .main-page-slide-cookie-error__text {
        padding-bottom: 20px;
        margin: 0 20px;
    }
}

@media screen and (max-width: 430px) {
    .main-page-slide {
        padding-top: 30px;
        padding-bottom: 64px;
        align-items: stretch;
        flex-direction: row;
    }
    .main-page-slide__content-text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        height: 100%;
    }
    .main-page-slide__content-text h1 {
        margin-top: 0;
    }
    .main-page-slider__buttons {
        display: none;
    }
    .main-page-slider-progress {
        padding-bottom: 20px;
    }
    .main-page-slider__controls {
        bottom: 0;
        height: 75px;
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 28, 84, 0) 0%, rgba(0, 28, 84, 0.25) 100%);
    }
    .main-page-slider__controls--dark .main-page-slider-progress__number,
    .main-page-slider-progress__number {
        color: #fff;
    }

    .main-page-slider__controls--dark .main-page-slider-progress__bar,
    .main-page-slider-progress__bar {
        background-color: rgba(255, 255, 255, .2);
    }
    .main-page-slider__controls--dark .main-page-slider-progress__bar-active,
    .main-page-slider-progress__bar-active {
        background-color: #fff;
    }
    .main-page-slider__controls-wrapper {
        justify-content: center;
        align-items: flex-end;
    }
    .main-page-slider__controls-wrapper, .main-page-slide__content {
        padding-left: 24px;
        padding-right: 24px;
    }
    .main-page-slide__title, .main-page-slide__title * {
        font-size: 30px;
        line-height: 36px;
    }
}