/* grid */
.container {
    width: 100%;
    max-width: 1280px;
    padding-right: 16px;
    padding-left: 16px;
    margin: 0 auto;
}

.container__content {
    width: 100%;
    max-width: 1184px;
    padding-right: 0;
    padding-left: 0;
    margin: 0 auto;
}

.blank_page {
    padding-top: 40px;
    padding-bottom: 40px;
}

.container__flex {
    display: block;
}

.nowrap {
    white-space: nowrap;
}

.through {
    text-decoration: line-through;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.hide_mobile {
    display: none!important;
}

.hide_desktop {
    display: block!important;
}

.top_padding {
    height: 88px;
}

.flex {
    display: flex;
}

.flex__sb {
    justify-content: space-between;
}

.flex__ac {
    align-items: center;
}

.flex__as {
    align-items: stretch;
}

.flex__grow {
    flex-grow: 1;
}

.flex__wrap {
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .hide__mobile {
        display: block!important;
    }
    
    .hide__desktop {
        display: none!important;
    }

    .top_padding {
        height: 106px;
    }

    .container__content {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* overlays */
.overlay__grey {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 110;
    background: #787A87;
}

.overlay__grey.active {
    display: block;
}

/* tabs */
.tabs__container {
    display: none;
}

.tabs__container.active {
    display: block;
}

.hor__tabs {
    overflow-y: auto;
}

.hor__tabs__item {
    margin-right: 24px;
    padding: 8px 0;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
}

.hor__tabs__item.active {
    border-bottom: 4px solid #91B83F;
    color: #8798A5;
}

/* search form */
.search__form {
    padding: 24px;
    border-radius: 24px;
}

.search__input {
    background: #fff url(/img/search_form_ico.svg) 16px center no-repeat;
    padding-left: 50px;
    width: 100%;
}

.search__input:focus {
    border-color: #91B83F;
}

.search__btn {
    width: 200px;
    margin-left: 8px;
}

.forms__input-search .form__label {
    left: 50px;
}

@media (max-width: 768px) {
    .search__form {
        padding: 12px;
    }

    .search__btn {
        display: none;
    }
}

/* banner parallax */
/* .bkg__parallax {
    background-position: center;
    background-size: 100% auto;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
} */

.bkg__parallax {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.bkg__parallax__img {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

@media (max-width: 768px) {
    .bkg__parallax {
        height: 300px;
    }
}

/* reviews slider */
.reviews__slider__item {
    flex-direction: column;
    width: calc(33% - 1px);
    min-width: 288px;
    padding: 24px;
    border-radius: 24px;
    height: 400px;
    cursor: pointer;
}

.reviews__slider__header {
    gap: 24px;
    align-items: start;
}

.reviews__slider__ava {
    min-width: 64px;
    max-width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.reviews__slider__gig {
    margin: 0 0 0 8px;
    position: relative;
    top: -5px;
}

.reviews__slider__cover {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.reviews__slider__cover img {
    display: block;
    position: relative;
    z-index: 1;
}

.reviews__slider__top h4 {
    padding-top: 10px;
}

.reviews__slider__play {
    padding: 10px 0 0 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 20px;
}

.reviews__slider__time {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    right: 20px;
    background:#F5F7E9;
    padding: 4px 8px;
    border-radius: 8px;
}

/* consult form */
.consult__wrap {
    gap: 8px;
}
.consult__form {
    padding: 48px;
    width: 67%;
    border-radius: 24px;
}

.consult__form .title {
    max-width: 600px;
    padding: 0 0 20px 0;
}

.consult__form__inputs {
    padding: 20px 0;
    gap: 8px;
}

.consult__form__input {
    flex: 1;
}

.consult__img {
    width: 33%;
    border-radius: 24px;
    overflow: hidden;
}

.consult__img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

@media (max-width: 768px) {
    .consult__form {
        width: 100%;
        padding: 24px;
    }

    .consult__img {
        display: none;
    }

    .consult__form__inputs {
        flex-direction: column;
    }
}

/* news and blog slider */
.news__slider,
.blog__slider {
    overflow: hidden;
}

.news__slider__img {
    overflow: hidden;
}

.news__wrapper {
    align-items: stretch;
}

a.news__slider__item {
    width: calc(25% - 8px);
    min-width: 288px;
    border-radius: 24px;
    overflow: hidden;
    height: auto;
}

.news__slider__video {
    width: calc(25% - 8px);
    min-width: 288px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    align-self: stretch;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 24px;
}

a.news__slider__item img,
a.news__slider__item img {
    transform: scale(100%,100%);
    display: block;
    transition: 1s all ease-in-out;
}

a.news__slider__item:hover img,
a.news__slider__item:hover img {
    transform: scale(110%,110%);
    transition: .2s all ease-in-out;
}

.news__slider__title {
    flex-direction: column;
    align-items: start;
    min-height: 200px;
    padding: 16px 24px 24px 24px;
    background: #fff;
}
.useful-info .news__slider__title {
    background: #F6F7F9;
}

.news__slider__title .h4 {
    padding: 0 0 10px 0;
}

a.news__slider__item:hover .grey__dark {
    color: #91B83F;
}

.news__slider__bottom {
    padding-top: 24px;
}

.news__slider__cover {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.news__slider__cover img {
    display: block;
    opacity: .5;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s all ease-in-out;
}

.news__slider__video:hover .news__slider__cover img {
    opacity: .7;
}

.news__slider__doc {
    position: relative;
    z-index: 2;
    flex: 1;
    flex-direction: column;
    justify-content: start;
    gap: 8px;
}

.news__slider__docimg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.news__slider__play {
    position: relative;
    z-index: 2;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.news__slider__ico {
    width: 64px;
    height: 64px;
    padding: 20px 0 0 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.news__slider__videotitle {
    position: relative;
    z-index: 2;
    flex: 1;
    flex-direction: column;
    justify-content: end;
}

.news__slider__videotitle .h4 {
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .news__slider,
    .blog__slider {
        overflow: visible;
    }

    .news__slider__bottom {
        display: none;
    }
}

/* gallery horizontal */
.gallery__hor {
    padding-right: 70px;
    position: relative;
}

.gallery__hor__swiper {
    overflow: hidden;
}

.gallery__hor__item {
    width: calc(50% - 8px);
    min-width: 300px;
    border-radius: 24px;
    overflow: hidden;
}

.gallery__hor__item img {
    display: block;
}

.gallery__hor__btns {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 1024px) {
    .gallery__hor {
        padding-right: 0;
    }

    .gallery__hor__swiper {
        overflow: visible;
    }

    .gallery__hor__btns {
        display: none;
    }   
}

/* video modal */
.video__modal {
    flex-direction: column;
    height: calc(100vh - 32px);
    width: calc(100% - 32px);
    justify-content: center;
    align-items: center;
    display: none;
    position: fixed;
    z-index: 115;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.video__modal.active {
    display: flex;
}

.video__modal__content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* flex-grow: 1; */
}

video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.video__modal__info {
    max-width: 400px;
}

.video__modal__doc {
    gap: 8px;
}

.video__modal__ava {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
}

.video__modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 24px  0 0 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #fff;
    cursor: pointer;
}

.video__modal__close svg {
    display: block;
}


/* .video__modal {
    display: none;
    position: fixed;
    z-index: 115;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-height: calc(100vh - 16px);
    max-width: calc(100vw - 16px);
}

.video__modal.active {
    display: block;
}

.video__modal__v {
    width: 100%;
    max-width: 30vw;
    flex-direction: column;
    height: 100vh;
    align-items: stretch;
}

.video__modal__video {
    position: relative;
    overflow: hidden;
}

.video__modal video {
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   object-fit: cover;
} */