
/* reset styles */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    width: 100%;
    line-height: 1;
    font-size: 16px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

input::-moz-placeholder {
    color: var(--main-gray);
}

input::-webkit-input-placeholder {
    color: var(--main-gray);
}

button {
    cursor: pointer;
    background-color: transparent;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400;
    margin: 0;
}

picture {
    display: block;
}

/* glob */
body {
    font-family: 'Montserrats', sans-serif;
    color: var(--main-black);
}


/* main */

body.lock {
    overflow: hidden;
}

.doc__container {
    max-width: 1754px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    padding: 60px 0 160px 0;
    gap: 50px;
}

.doc__img {
    min-width: 320px;
    max-width: 590px;
    max-height: 630px;
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}
.social__link {
    position: absolute;
    bottom: 0%;
    left: 30%;
    transform: translate3d(0%, 30%, 0);
}

.social__link a img {
    border-radius: 5px;
    border: 2px solid #F1F5FF;
    background: #FFF;
    padding: 10px;
    max-width: 80px;
    max-height: 80px;
    min-height: 80px;
    margin-bottom: 0;
    cursor: pointer;
}

.doc__img>img {
    width: 100%;
}

.doc__info {
    max-width: 1114px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.doc__title {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 35px;
    margin-left: 12px;
    position: relative;
}

.doc__title::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 50px;
    background: #2770F1;
    left: -14px;
}

.doc__title>h1 {
    color: #1B315F;
    font-size: 48px;
    font-weight: 800;
    line-height: 50px;
}

.doc__title>h1>span {
    color: #1B315F;
    font-size: 48px;
    font-weight: 400;
    line-height: 50px;
}

.descr>p {
    color: #3F578B;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 65px;
    position: relative;

}

.descr>p::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #D7E2FF;
    left: 0;
    bottom: -30px;
}

.info__wrapp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 35px;
    margin-bottom: 55px;
}

p.base {
    color: #3F578B;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}

p.bold {
    color: #3F578B;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

.col-3 {
    flex: 0 1 calc(33.3333% - 14px);
}

.doc-btn {
    cursor: pointer;
}

.doc-btn>button {
    border-radius: 5px;
    background: #2770F1;
    padding: 17px 40px;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 77px;
}

.table {
    display: table;
}

.row {
    display: table-row;
}

.row-first {
    background: #163063;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
}

.row-first .cell:first-child {
    border-radius: 5px 0 0 0;
}

.row-first .cell:last-child {
    border-radius: 0 5px 0 0;
}

.row-second {
    background: #F1F5FF;
    color: #3F578B;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

.row-second .cell:first-child {
    border-radius: 0 0 0 5px;
}

.row-second .cell:last-child {
    border-radius: 0 0 5px 0;
}

.cell {
    display: table-cell;
    border: 1px solid #FFF;
    padding: 12px;
}


.doc-tab-content {
    display: none;
}

.doc-tab-content.active {
    display: flex;
}

.doc-popup {
    display: none;
}

.doc-tabs__active {
    display: none;
}

.doc-tab {
    color: #3F578B;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.doc-tab::before {
    content: '';
    width: 0;
    height: 2px;
    background: #2770F1;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -22px;
    transition: width .3s cubic-bezier(0, -0.4, 0.28, 0.57);
}

.doc-tab.active {
    color: #2770F1;
    font-weight: 600;
    line-height: 25px;
    text-transform: uppercase;
}

.doc-tab.active::before {
    width: 100%;
}

.docs-tab-container {
    width: 100%;
    padding: 100px 0;
}

.doc-tabs__wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid #D7E2FF;
    gap: 10px;
}

.doc__body p {
    color: #3F578B;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}
.doc__body .review p {
    color: #FFF;
}

.about {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.education h4 {
    color: #3F578B;
    font-size: 22px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 20px;
}

.education ul li span {
    color: #3F578B;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
}

.education ul li {
    color: #3F578B;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 10px;
    list-style-type: none;
}

.education ul li::before {
    content: "\2022";
    color: #1EBB92;
    font-weight: bold;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
}

.education ul {
    margin-bottom: 40px;
}

.licenses {
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    gap: 20px;
}

.swiper.licenses__swiper {
    display: none;
}

/* faq */

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 60px;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.faq-question::before {
    position: absolute;
    content: '';
    background-color: #D7E2FF;
    height: 2px;
    width: 100%;
    bottom: 30px;
}

.faq-question h3 {
    color: #3F578B;
    font-size: 28px;
    font-weight: 600;
    line-height: 30px;
}

.faq-btn {
    border-radius: 5px;
    background: #2770F1;
    padding: 17px 73px;
}

.faq-btn button {
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    white-space: nowrap;
}


.faq_hide-item__content {
    padding: 0 24px;
    pointer-events: none;
    max-height: 0;
    transition: max-height .4s ease, padding .2s ease;

    &.active {
        padding: 24px;
        pointer-events: all;
    }
}

.faq__hide-item__title {
    border-radius: 5px;
    background: #F1F5FF;
    padding: 27px;
    width: 100%;
    display: flex;
}

.faq__head-name {
    color: #3F578B;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
}

.faq_hide-item__content.active {
    padding: 25px;
}

.faq__hide-item {
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

p.faq-text {
    color: #3F578B;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

.faq-hide-item_max-height {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

/* videogallery */

.gallery__wrapper-video {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 20px;
}

.video-col-4 {
    flex-basis: calc((100% - 60px) / 4);
    width: calc((100% - 60px) / 4);
}

.video-item {
    position: relative;
    max-width: 263px;
    max-height: 350px;
    height: 100%;
}
.video-item::before{
    display: none;
}
.video {
    width: 100%;
    height: 100%;
    border-radius: 5px;


}

.video[poster] {
    width: 100%;
    object-fit: cover;
    height: 350px;

}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.play-button.hide {
    display: none;
}
.doc__content .gallery__video{
    height: unset;
}
.doc__content .gallery__video p {
    max-width: 263px;
    color: #3F578B;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    background-color: #F1F5FF;
    padding: 20px;
    border-radius: 5px;    
}

/* articles */

.articles {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.articles__item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 60px 0;
    position: relative;

}

.articles__item::before {
    position: absolute;
    content: '';
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #D7E2FF;

}

.articles__item a {
    color: #3F578B;
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
    text-decoration-line: underline;
}

.articles__item span {
    color: #2770F1;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
}



.hidden {
    overflow: hidden;
}

.modal_active {
    position: fixed;
    top: 0;
    opacity: 1;
    transition: .3s;
    visibility: visible;
}

.modal__content {
    max-width: 1170px;
    padding: 45px 60px;
    background: #f9f9f9;
    border-radius: 3px;
    position: relative;
    box-shadow: 0 5px 15px black;
    border-radius: 10px;
}

.modal__close-button {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    cursor: pointer;
    transition: .3s;
    outline: none;
}

.modal__close-button:hover {
    transition: .3s;
    transform: rotate(180deg);
}

.faq-modal-title {
    color: #1B315F;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    max-width: 408px;
    margin-bottom: 25px;
}

.faq input,
.faq-textarea {
    border-radius: 5px;
    border: 1px solid #D4E2FC;
    color: #1B315F;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
    padding: 15px 20px;
    width: 100%;
}


input::placeholder {
    color: #B9BEC7;
}

.modal-btn {
    border-radius: 5px;
    background: #2770F1;
    width: 100%;
}

.modal-btn button {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 25px;
    padding: 17px;
    margin: 0 auto;
    display: flex;
}

.faq-textarea {
    resize: none;
    min-height: 200px;
    overflow-y: auto;
}




@media (min-width: 600px) {
    .custom__swiper-wrapper {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .custom__swiper-slide {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media (min-width: 1000px) {

    .custom__swiper-slide {
        flex-basis: calc((100% - 60px) / 4);
    }
}

@media (min-width: 1200px) {

    .custom__swiper-slide {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (min-width: 1300px) {

    .custom__swiper-slide {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media (min-width: 1500px) {

    .custom__swiper-slide {
        flex-basis: calc((100% - 60px) / 4);
    }
}

@media (max-width: 1754px) {
    .doc__container {
        padding: 60px 15px 0 15px;
    }

    p.base {
        font-size: 18px;
    }

    p.bold {
        font-size: 18px;
    }

    .doc__title>h2 {
        font-size: 36px;
    }

    .doc__title>h2>span {
        font-size: 36px;
    }

    .info__wrapp {
        row-gap: 20px;
        margin-bottom: 25px;
    }

    .col-3 {
        flex: 0 1 calc(33.3333% - 14px);
    }

    .doc-btn>button {
        font-size: 16px;
        margin-bottom: 34px;
    }

    .doc__container {
        gap: 25px;
    }

    .doc__title {
        margin-bottom: 18px;
    }

    .descr>p {
        margin-bottom: 34px;
    }

    .descr>p::after {
        bottom: -18px;
    }

    .docs-tab-container {
        padding: 50px 0;
    }

    .doc-tab {
        font-size: 16px;
    }

    .row {
        font-size: 14px;
    }

    .faq-question {
        padding-top: 0px;
        padding-bottom: 40px;
    }

    .faq-question::before {
        bottom: 20px;
    }

    .faq-question h3 {
        font-size: 24px;
    }

    .video-col-4 {
        flex-basis: calc((100% - 40px) / 3);
        width: calc((100% - 40px) / 3);
    }

    .articles__item a {
        font-size: 18px;
    }

    .articles__item span {
        font-size: 18px;
    }

    .articles__item {
        flex-wrap: wrap;
        padding: 25px 0;
        gap: 10px;
    }

}

@media (max-width: 1400px) {
    .doc-tab {
        font-size: 14px;
    }

    .video-col-4 {
        flex-basis: calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 1310px) {
    .doc-tab {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .doc__container {
        flex-direction: column;
    }

    .doc-tab {
        font-size: 18px;
    }

    .doc__title>h2 {
        font-size: 28px;
        line-height: 25px;
    }

    .doc__title>h2>span {
        font-size: 28px;
    }

    .video-col-4 {
        flex-basis: calc((100% - 60px) / 4);
        width: calc((100% - 60px) / 4);
    }
}

@media (max-width: 543px) {
    .doc__title::before {
        width: 3px;
        height: 60px;
    }
}

@media (max-width: 900px) {
    .doc-tab {
        font-size: 16px;
    }

    .faq__head-name {
        font-size: 16px;
    }

    .video-col-4 {
        flex-basis: calc((100% - 40px) / 3);
        width: calc((100% - 40px) / 3);
    }

}

@media (max-width: 800px) {
    .doc-tab {
        font-size: 14px;
    }


    /* faq */

    .faq_hide-item__content.active {
        padding: 20px;
    }

    .faq__hide-item__title {
        padding: 15px;
    }

    .faq__head-name {
        font-size: 14px;
    }

    .faq {
        gap: 10px;
    }

    .video-col-4 {
        flex-basis: calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }

}

@media (max-width: 700px) {
    .doc-tab {
        font-size: 12px;
    }

    .col-3 {
        flex: 0 1 calc(50% - 10px);
    }
}

@media (max-width: 610px) {

    .descr>p {
        font-size: 14px;
    }

    .doc_tabs__container {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, .2);
        z-index: 10000;
        opacity: 0;
        pointer-events: none;
        transition: opacity .15s ease;
        overflow-y: auto;
    }

    .doc_tabs__content {
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 70px 20px 20px;
    }

    .doc-tabs__wrapper {
        background-color: #fff;
        border-radius: 20px;
        scale: 0.4;
        transition: scale .4s ease;
    }

    .doc__tabs.active .doc_tabs__container {
        opacity: 1;
        pointer-events: all;
    }

    .doc__tabs.active .doc-tabs__wrapper {
        scale: 1;
    }

    .doc-tabs__active {
        display: block;
        background-color: #2770F1;
        color: #fff;
        border-radius: 5px;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        text-transform: uppercase;
        padding: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
        cursor: pointer;
    }

    .doc-tabs__active::after {
        display: block;
        content: '';
        width: 10px;
        height: 5px;
        background: url(/assets/img/arrow.svg) center center no-repeat;
        background-size: cover;
        transition: transform .2s ease;

    }

    .doc__tabs.active .doc-tabs__active::after {
        transform: rotate(180deg);
    }

    .faq-question {
        padding-bottom: 25px;
    }

    .faq-hide-item_max-height {
        gap: 10px;
    }


    .doc__body p {
        font-size: 14px;
    }

    .table {
        display: flex;
    }

    .row {
        display: flex;
        flex-direction: column;
    }

    .row-first {
        flex: 1 0 30%;
    }

    .row-second {
        flex: 1 0 70%;
    }

    .row-second .cell:first-child {
        border-radius: 0 5px 0 0;
    }

    .row-second .cell:last-child {
        border-radius: 0 0 5px 0;

    }

    .row-first .cell:first-child {
        border-radius: 5px 0 0 0;
    }

    .row-first .cell:last-child {
        border-radius: 0 0 0 5px;
    }

    .licenses {
        display: none;
    }

    .swiper.licenses__swiper {
        display: flex;
    }

    .licenses__swiper {
        width: 600px;
        height: 300px;
    }

    .doc-tabs__wrapper {
        margin-bottom: 25px;
        border-bottom: 0;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .doc-tab::before {
        display: none;
    }

    .doc-tab {
        margin-bottom: 0;
        font-size: 16px;
    }

    /* faq */
    .faq-question {
        gap: 15px;
    }

    .faq-question h3 {
        font-size: 20px;
    }

    .faq-btn button {
        font-size: 16px;
    }

    .faq-question::before {
        display: none;
    }

    .panel-body {
        display: none;
    }

    .panel-body.active {
        display: flex;
        flex-direction: column;
    }

    .education h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .education ul li {
        font-size: 14px;
    }

    .education ul li span {
        font-size: 14px;
    }

    .education ul {
        margin-bottom: 25px;
    }

    p.base {
        font-size: 16px;
    }

    p.bold {
        font-size: 16px;
    }

    .doc__container {
        padding: 30px 15px 0 15px;
    }

    .doc-btn>button {
        width: 100%;
        margin-bottom: 25px;
    }

    .docs-tab-container {
        padding: 40px 0;
    }

    /* videogallery */

    .gallery__video__swiper {
        display: flex;
    }

    .gallery__wrapper-video {
        display: none;
    }

    .articles__item a {
        font-size: 16px;
    }

    .articles__item span {
        font-size: 16px;
    }

    .articles__item {
        padding: 0;
    }

    .articles__item::before {
        display: none;
    }

    .articles {
        gap: 25px;
    }

    .social__link a img {
        padding: 7px;
        max-width: 60px;
        max-height: 60px;
        min-height: 60px;
    }

    .social__link {
        position: absolute;
        bottom: 0%;
        left: 30%;
    }

    .doc__img {
        margin-bottom: 20px;
    }

}

@media (max-width: 400px) {
    .social__link {
        position: absolute;
        bottom: 0%;
        left: 20%;
    }
}
