/*
1.Swiper
2.Navigation
3.Gradient
4.Cards
5.Overlay
6.Typography
7.Content Position
    7.1.First Slide
    7.2.Second Slide
    7.3.Third Slide
    7.4.Fourth Slide
    7.5.Fifth Slide
    7.6.Sixth Slide
    7.7.Seventh Slide
    7.8.Eight Slide
    7.9.Ninth Slide
8.Info Slide
9.Responsive
*/

/* 1.Swiper */

body.page-template-template-history {
    position: relative;
    height: 100vh;
}

.page-template-template-history #wrapper, .page-template-template-history #content {
    position: relative;
    height: 100%;
}

.page-template-template-history body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swiper {
    width: 100%;
    height: 100%;
    background: #000;
}

.swiper-slide {
    font-size: 18px;
    color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 60px;
}

.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 3445px;
    height: 155%;
    background-position-y: -527px;
    -webkit-background-size: cover;
    background-size: cover;
}

.swiper-slide .title {
    font-size: 41px;
    font-weight: 300;
}

.swiper-slide .subtitle {
    font-size: 21px;
}

.swiper-slide .text {
    font-size: 14px;
    max-width: 400px;
    line-height: 1.3;
}

/*2.Navigation */

.history__nav {
    position: absolute;
    left: 190px;
    bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}

.history__arrow {
    display: inline-block;
    flex: 0 0 6px;
    width: 6px;
    height: 12px;
    border: none;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}

.history__arrow_prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.762' height='15.115' viewBox='0 0 8.762 15.115'%3E%3Cpath id='Контур_7' data-name='Контур 7' d='M0,0,2.579,2.626,6.234,6.348l3-3.151L12.287,0' transform='translate(7.348 1.414) rotate(90)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A");
}

.history__arrow_next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.762' height='15.115' viewBox='0 0 8.762 15.115'%3E%3Cpath id='Контур_7' data-name='Контур 7' d='M0,6.348,6.234,0l6.053,6.348' transform='translate(7.762 1.414) rotate(90)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E%0A");
}

.history__dots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    margin: 0 26px;
}

.history__dots-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 10px;
}

.history__dots-item:before {
    content: '';
    box-sizing: border-box;
    display: inline-block;
    height: 15px;
    width: 15px;
    background-color: #008932;
    border-style: solid;
    border-width: 0;
    border-color: #008932;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: border-width 1s ease, border-color .5s ease;
}

.history__dots-item.active:before {
    border-width: 2px;
    border-color: #ffffff;
    opacity: 1;
}

/* 3.Gradient */

.swiper-slide:first-child:after, .swiper-slide:last-child:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    z-index: -1;
}

.swiper-slide:first-child:after {
    left: 0;
    width: 1700px;
    background: linear-gradient(93deg, rgba(31, 37, 59, 1) 0%, rgba(230, 197, 54, 0) 67%);
}

.swiper-slide:last-child:after {
    right: 0;
    width: 3378px;
    background: linear-gradient(-90deg, rgba(13, 23, 43, 1) 0%, rgba(0, 0, 0, 0) 67%);
}

/*4.Cards*/

.history__card-wrapper {
    box-shadow: 0px 3px 46px #0000001A;
}

.history__card {
    width: 535px;
    position: relative;
    padding-left: 60px;
    padding-bottom: 60px;
    background-color: #ffffff;
    filter: drop-shadow(0px 3px 46px rgba(0, 0, 0, .1));
    margin: 60px 0;
}

.history__card:before, .history__card:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
}

.history__card_left {
    border-radius: 0 60px 0 60px;
    padding-top: 25px;
}

.history__card_right {
    padding-top: 70px;
    border-radius: 60px 0 60px 0;
}

.history__card_laptop {
    display: none;
    position: initial;
}

.history__card:before {
    top: 1px;
    transform: translateY(-100%);
}

.history__card:after {
    bottom: 1px;
    transform: translateY(100%);
}

.history__card_left:before {
    border-top-left-radius: 60px;
    clip-path: polygon(0% -16%, 0% 101%, 92% 100%);
    -webkit-clip-path: polygon(0% -16%, 0% 101%, 92% 100%);
}

.history__card_left:after {
    border-bottom-right-radius: 60px;
    clip-path: polygon(100% -1%, 9% 0, 100% 116%);
    -webkit-clip-path: polygon(100% -1%, 9% 0, 100% 116%);
}

.history__card_right:before {
    border-top-right-radius: 60px;
    clip-path: polygon(100% -12%, 100% 101%, 0 111%);
    -webkit-clip-path: polygon(100% -12%, 100% 101%, 0 111%);
}

.history__card_right:after {
    border-bottom-left-radius: 60px;
    clip-path: polygon(91% 0, 0 0, 0 115%);
    -webkit-clip-path: polygon(91% 0, 0 0, 0 115%);
}

.image-card {
    width: 220px;
    height: 315px;
    border-radius: 40px;
    overflow: hidden;
}

.image-card_laptop, .image-card_mobile {
    display: none;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-card {
    position: absolute;
    right: -154.42px;
    z-index: 1;
}

/*5.Overlay*/

.swiper-slide:first-child .history__overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    /*width: 100%;*/
    width: 2121px;
    height: 1362px;
    max-width: initial;
}

.swiper-slide:nth-child(2) .history__overlay {
    position: absolute;
    right: -61%;
    bottom: 0;
    width: 100%;
}

.swiper-slide:nth-child(4) .history__overlay {
    position: absolute;
    bottom: 0;
    left: 183px;
}

.swiper-slide:nth-child(4) .history__overlay_second {
    position: absolute;
    bottom: 0;
    right: -1260px;
}

.swiper-slide:nth-child(6) .history__overlay {
    position: absolute;
    bottom: 0;
    left: 170px;
}

.swiper-slide:nth-child(7) .history__overlay {
    position: absolute;
    bottom: 0;
    left: -645px;
}

.swiper-slide:nth-child(8) .history__overlay {
    position: absolute;
    bottom: 0;
    left: 0px;
}

/*6.Typography*/

.card__title {
    font-family: "Helvetica Neue";
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 45px;
    text-transform: capitalize;
    color: #484848;
    margin-bottom: 20px;
}

.card__text, .card__text p {
    font-family: "Helvetica Neue";
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    position: relative;
    max-width: 338px;
    color: black;
    z-index: 1;
}

.card__text p {
    margin-bottom: 0;
}

.card__text a {
    font-weight: bold;
    color: #008932;
}

.slide__heading {
    padding-bottom: 68px;
}

.slide__subtitle {
    font-family: "Helvetica Neue";
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 22px;
    color: #ffffff;
    margin-bottom: 20px;
}

.slide__title {
    font-family: "Helvetica Neue";
    font-size: 46px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 58px;
    color: #ffffff;
    padding-bottom: 13px;
    margin-bottom: 0;
}

/*7.Content Position*/

.history__content {
    z-index: 1;
}

/*7.1.First Slide*/

.swiper-slide:first-child {
    display: flex;
    align-items: flex-end;
}

.swiper-slide:first-child .history__content {
    margin-left: 121px;
    margin-bottom: 37px;
}

/*7.2.Second Slide*/

.swiper-slide:nth-child(2) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.swiper-slide:nth-child(2) .history__content {
    margin-right: 202px;
    margin-bottom: 131px;
}

.swiper-slide:nth-child(2) .history__content {
    display: flex;
    align-items: flex-end;
}

.swiper-slide:nth-child(2) .image-card {
    bottom: 37px;
}

.swiper-slide:nth-child(2) .history__man {
    position: relative;
    margin-bottom: 0;
    margin-right: 66px;
}

.swiper-slide:nth-child(2) .history__man img:first-child {
    position: absolute;
    bottom: 365px;
    right: 290px;
    z-index: 0;
}

.swiper-slide:nth-child(2) .history__man img:nth-child(2) {
    position: absolute;
    bottom: 160px;
    right: 140px;
    z-index: 1;
}

.swiper-slide:nth-child(2) .history__man img:last-child {
    position: relative;
    z-index: 2;
}

/*7.3.Third Slide*/

.swiper-slide:nth-child(3) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.swiper-slide:nth-child(3) .history__content {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 69px;
    margin-right: 21px;
}

.swiper-slide:nth-child(3) .history__card.history__card_left {
    position: absolute;
    left: -461px;
    bottom: 138px;
}

/* 7.4.Fourth Slide */

.swiper-slide:nth-child(4) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.swiper-slide:nth-child(4) .history__content {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: -94px;
    margin-right: 174px;
}

.swiper-slide:nth-child(4) .history__card.history__card_left {
    position: absolute;
    left: -461px;
    top: -210px;
}

.swiper-slide:nth-child(4) .image-card {
    top: 50%;
    margin-top: -157px;
    background-color: #B2AAA7;
}

/* 7.5.Fifth Slide */

.swiper-slide:nth-child(5) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
}

.swiper-slide:nth-child(5) .history__content {
    display: flex;
    align-items: flex-end;
    margin-right: 401px;
    margin-bottom: 118px;
}

.swiper-slide:nth-child(5) .image-card {
    bottom: 94px;
}

/* 7.6.Sixth Slide */

.swiper-slide:nth-child(6) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 1;
}

.swiper-slide:nth-child(6) .history__content {
    display: flex;
    align-items: flex-end;
    margin-right: 157px;
    margin-bottom: -67.27px;
}

/* 7.7.Seventh Slide */

.swiper-slide:nth-child(7) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.swiper-slide:nth-child(7) .history__content {
    display: flex;
    align-items: flex-end;
    margin-right: 414px;
    margin-bottom: -104.27px;
}

.swiper-slide:nth-child(7) .image-card {
    bottom: 506px;
}

.swiper-slide:nth-child(7) .image-card:last-child {
    bottom: 109px;
}

/* 7.8.Eight Slide */

.swiper-slide:nth-child(8) {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 1;
}

.swiper-slide:nth-child(8) .history__content {
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-right: 111.25px;
    margin-bottom: 34.73px;
}

.swiper-slide:nth-child(8) .history__card_left {
    position: absolute;
    left: -507px;
    bottom: 115px;
}

/* 7.9.Ninth Slide */

.swiper-slide:nth-child(9) {
    display: flex;
    align-items: flex-end;
}

.swiper-slide:nth-child(9) .history__content {
    flex: 0 0 1418px;
    max-width: 1418px;
    margin-bottom: 97px;
    margin-left: 226.67px;
}

.swiper-slide:nth-child(9) .info__divider {
    margin-top: 31px;
    margin-bottom: 37px;
}

/* 8.Info Slide */

.info__item {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 25px;
    color: #ffffff;
    margin-bottom: 27px;
}

.info__item:last-child {
    margin-bottom: 0;
}

.info__person, .info__date {
    display: block;
}

.info__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.info__row_top .info__col:first-child {
    flex: 0 0 141px;
    max-width: 141px;
}

.info__row_top .info__col:nth-child(2) {
    flex: 0 0 112px;
    max-width: 112px;
}

.info__row_top .info__col:nth-child(3) {
    flex: 0 0 104px;
    max-width: 104px;
}

.info__row_top .info__col:nth-child(4) {
    flex: 0 0 157px;
    max-width: 157px;
}

.info__row_top .info__col:nth-child(5), .info__row_top .info__col:nth-child(7) {
    flex: 0 0 115px;
    max-width: 115px;
}

.info__row_top .info__col:nth-child(6), .info__row_top .info__col:last-child {
    flex: 0 0 130px;
    max-width: 130px;
}

.info__row_top .info__col:nth-child(8) {
    flex: 0 0 167px;
    max-width: 167px;
}

.info__row_bottom .info__col_left {
    flex: 0 0 112px;
    max-width: 112px;
}

.info__row_bottom .info__col_right {
    display: flex;
    justify-content: space-between;
    flex: 0 0 786px;
    max-width: 786px;
}

.info__row_bottom .info__col_right .info__col:first-child {
    display: none;
}

.info__row_bottom .info__col:first-child {
    flex: 0 0 112px;
    max-width: 112px;
}

.info__row_bottom .info__row_bottom .info__col_right .info__col:first-child {
    flex: 0 0 159px;
    max-width: 159px;
}

.info__row_bottom .info__row_bottom .info__col_right .info__col:nth-child(3) {
    flex: 0 0 141px;
    max-width: 141px;
}

.info__row_bottom .info__row_bottom .info__col_right .info__col:last-child {
    flex: 0 0 139px;
    max-width: 139px;
}

.info__title {
    padding-bottom: 47px;
}

.info__divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
}

/*9.Responsive*/

@media (min-width: 2100px) {
    .parallax-bg {
        width: 150%;
    }
}

@media (max-width: 1900px) {
    .swiper-slide:nth-child(6) .history__content {
        margin-right: 100px;
    }
    .swiper-slide:nth-child(3) .history__content {
        margin-bottom: 0;
        margin-right: 0;
    }
    .swiper-slide:nth-child(4) .history__content {
        margin-bottom: -30px;
    }
    .swiper-slide:nth-child(4) .history__card.history__card_left {
        top: 0;
        left: -505px;
    }
    .swiper-slide:nth-child(5) {
        align-items: center;
    }
    .swiper-slide:nth-child(5) .history__content {
        margin-bottom: 0;
        margin-right: 140px;
    }
    .swiper-slide:nth-child(7) .history__content {
        margin-bottom: -80px;
    }
    .swiper-slide:nth-child(7) .image-card {
        bottom: 420px;
    }
    .swiper-slide:nth-child(7) .image-card:last-child {
        bottom: 70px;
    }
    .swiper-slide:nth-child(9) {
        justify-content: center;
    }
    .swiper-slide:nth-child(9) .history__content {
        margin-bottom: 30px;
        margin-left: 0;
    }
    .swiper-slide:nth-child(9) .slide__heading {
        display: none;
    }
}

@media (max-width: 1800px) {
    .swiper-slide:first-child .history__overlay {
        width: 100%;
        object-fit: cover;
        height: auto;
    }
    .swiper-slide:nth-child(3) .history__card.history__card_left {
        bottom: 50px;
        left: -510px;
    }
}

@media (max-width: 1700px) {
    .swiper-slide:nth-child(6) .history__content {
        margin-right: 0;
        margin-bottom: -50px;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        max-width: 1200px;
    }
}

@media (max-width: 1630px) {
    .swiper-slide:nth-child(4) .history__content {
        height: 100%;
        top: 111px;
    }
    .swiper-slide:nth-child(4) .history__card_left, .swiper-slide:nth-child(4) .history__card_right {
        display: none;
    }
    .swiper-slide:nth-child(4) .history__card.history__card_left.history__card_laptop {
        display: block;
        position: relative;
        height: calc(100% - 120px);
        left: 0;
        top: 0;
    }
    .swiper-slide:nth-child(4) .history__card_laptop .card__text {
        height: calc(100% - 60px);
        overflow-y: scroll;
    }
    .swiper-slide:nth-child(4) .image-card {
        display: none;
    }
    .swiper-slide:nth-child(4) .image-card_laptop {
        display: inline-block;
    }
    .swiper-slide:nth-child(4) .history__content {
        margin-bottom: 0;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        left: 0;
    }
}

@media (max-width: 1550px) {
    .swiper-slide:first-child .history__content {
        margin-left: 50px;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 1500px), screen and (max-height: 890px) {
    .swiper-slide:first-child .slide__heading {
        padding-bottom: 0;
    }
    .swiper-slide:first-child .slide__subtitle {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .swiper-slide:first-child .slide__title {
        font-size: 36px;
        line-height: 38px;
    }
    .swiper-slide:first-child {
        align-items: center;
    }
    .history__card {
        padding-left: 37px;
        padding-right: 38px;
    }
    .card__text, .card__text p {
        max-width: 100%;
    }
    .image-card {
        right: -190px;
    }
    .swiper-slide:nth-child(2) .history__man {
        margin-right: 15px;
        margin-bottom: 0;
    }
    .swiper-slide:nth-child(2) .history__content {
        margin-right: 140px;
        margin-bottom: 60px;
    }
}

@media (max-width: 1400px) {
    .swiper-slide:nth-child(4) .history__overlay_second {
        right: -992px;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        left: 195px;
        max-width: 992px;
    }
}

@media (max-width: 1450px) {
    .swiper-slide:nth-child(9) {
        align-items: center;
    }
    .swiper-slide:nth-child(9) .history__content {
        margin-bottom: 0;
    }
    .swiper-slide:nth-child(9) .slide__title.info__title {
        font-size: 36px;
        line-height: 38px;
        padding-bottom: 15px;
    }
    .swiper-slide:nth-child(9) .info__item {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .swiper-slide:nth-child(9) .history__content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .info__item:last-child {
        margin-bottom: 0px;
    }
    .swiper-slide:nth-child(9) .info__divider {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .info__row.info__row_top .info__col {
        flex: 0 0 20%;
        max-width: 20%;
        margin-bottom: 21px;
    }
}

@media (max-width: 1350px) {
    .swiper-slide:nth-child(6) .history__overlay {
        max-width: 970px;
    }
}

@media (max-width: 1300px) {
    .swiper-slide:nth-child(6) .history__overlay {
        left: -10px;
    }
    .swiper-slide:nth-child(7) .history__content {
        margin-right: 140px;
    }
}

@media (max-width: 1250px) {
    .swiper-slide:nth-child(2) .history__man img:nth-child(2) {
        right: 102px;
    }
    .swiper-slide:nth-child(2) .history__man img:first-child {
        right: 252px;
    }
}

@media (max-width: 1200px) {
    .history__man img {
        max-width: 150px;
    }
    .swiper-slide:nth-child(2) .history__man img:nth-child(2) {
        right: 90px;
        bottom: 110px;
    }
    .swiper-slide:nth-child(2) .history__man img:first-child {
        right: 180px;
        bottom: 260px;
    }
    .swiper-slide:nth-child(3) {
        justify-content: center;
    }
    .swiper-slide:nth-child(3) .history__content, .swiper-slide:nth-child(8) .history__content {
        height: inherit;
    }
    .swiper-slide:nth-child(3) .history__card_left, .swiper-slide:nth-child(3) .history__card_right, .swiper-slide:nth-child(8) .history__card_left, .swiper-slide:nth-child(8) .history__card_right {
        display: none;
    }
    .swiper-slide:nth-child(3) .history__card.history__card_left.history__card_laptop, .swiper-slide:nth-child(8) .history__card.history__card_left.history__card_laptop {
        display: block;
        position: relative;
        height: calc(100% - 120px);
        left: 0;
        top: 0;
    }
    .swiper-slide:nth-child(3) .history__card_laptop .card__text {
        height: calc(100% - 60px);
        overflow-y: scroll;
    }
    .swiper-slide:nth-child(8) .history__card_laptop .card__text {
        height: calc(100% - 30px);
        overflow-y: scroll;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        left: 15px;
        max-width: 768px;
    }
    .swiper-slide:nth-child(8) .history__card_laptop {
        display: block;
    }
    .swiper-slide:nth-child(8) .history__content {
        margin-bottom: 0;
        margin-right: 0;
    }
}

@media (max-width: 1100px) {
    .swiper-slide:nth-child(2) .history__content {
        margin-bottom: 40px;
    }
    .swiper-slide:nth-child(2) .history__man {
        margin-bottom: 30px;
    }
    .swiper-slide:nth-child(2) .history__man img:nth-child(2) {
        right: 0;
        bottom: 185px;
    }
    .swiper-slide:nth-child(2) .history__man img:first-child {
        right: 0;
        bottom: 400px;
    }
    .swiper-slide:nth-child(4) .history__overlay_second {
        right: -730px;
    }
    .swiper-slide:nth-child(9) .info__row.info__row_bottom .info__col.info__col_left, .swiper-slide:nth-child(9) .info__row.info__row_bottom .info__col.info__col_right {
        max-width: 100%;
        flex: 0 0 auto;
		width: 100%;
    }
    .swiper-slide:nth-child(9) .info__row.info__row_bottom .info__col.info__col_right>* {
        margin: 0 25px;
    }
}

@media (max-width: 992px) {
    .history__card_left:after {
        -webkit-clip-path: polygon(100% -1%, 7% 0, 100% 116%);
        clip-path: polygon(100% -1%, 7% 0, 100% 116%);
    }
    .swiper-slide:nth-child(2) {
        justify-content: flex-start;
    }
    .swiper-slide:nth-child(2) .history__content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }
    .swiper-slide:nth-child(2) .history__card {
        margin-left: -20px;
    }
    .swiper-slide:nth-child(2) .history__man {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }
    .swiper-slide:nth-child(2) .history__man img:last-child {
        margin-bottom: -40px;
    }
    .swiper-slide:nth-child(2) .history__man img:nth-child(2) {
        bottom: -90px;
        right: 30px;
    }
    .swiper-slide:nth-child(2) .history__man img:first-child {
        right: 197px;
        bottom: -45px;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        left: 25px;
        max-width: 576px;
    }
    .history__nav {
        display: none;
    }
    .swiper-slide:first-child:after {
        width: 100%;
        height: 936px;
        /*background: linear-gradient(90deg, rgba(31,37,59,1) 0%, rgba(44,44,44,1) 60%, rgba(31,37,59,0) 100%);*/
        opacity: .49;
    }
    .swiper-slide:last-child:after {
        content: none;
    }
    .swiper {
        background-color: #455168;
        overflow-y: visible;
    }
    .swiper-wrapper {
        flex-wrap: wrap;
    }
    .swiper-slide {
        height: auto;
        padding-left: 0;
        padding-right: 0;
    }
    .slide__heading {
        margin-left: 34px;
    }
    .history__content, .history__card {
        width: 100%;
    }
    .swiper-slide:first-child {
        align-items: flex-start;
        padding-top: 157px;
        padding-bottom: 91px;
    }
    .swiper-slide:first-child .slide__heading {
        padding-bottom: 183px;
    }
    .swiper-slide:first-child .slide__title {
        padding-bottom: 0;
    }
    .slide__subtitle {
        font-size: 20px;
        line-height: 22px;
    }
    .slide__title {
        font-size: 30px;
        line-height: 33px;
    }
    .swiper-slide:first-child .history__content {
        margin-left: 0;
    }
    .swiper-slide:first-child .history__overlay {
        top: 0;
        width: 992px;
    }
    .parallax-bg {
        width: 2684px;
        height: 1792px;
        background-position-y: 0;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .swiper-slide:nth-child(2) {
        padding-top: 0px;
        padding-bottom: 536px;
    }
    .history__man {
        transform: none;
        height: 665px;
        margin-bottom: 40px;
        order: 1;
    }
    .history__man img {
        max-width: 198px;
    }
    .swiper-slide:nth-child(2) .history__card {
        order: 3;
        margin-left: 0;
    }
    .swiper-slide:nth-child(2) .history__man img:first-child {
        position: relative;
        left: 0;
        top: 0;
    }
    .swiper-slide:nth-child(2) .history__man img:nth-child(2) {
        left: 77px;
        top: 190px;
    }
    .swiper-slide:nth-child(2) .history__man img:last-child {
        position: absolute;
        margin-bottom: 0;
        left: 176px;
        top: 390px;
    }
    .swiper-slide:nth-child(2) .history__card .image-card {
        display: none;
    }
    .swiper-slide:nth-child(2) .image-card_mobile {
        display: block;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        order: 1;
        margin-bottom: -80px;
        z-index: -1;
    }
    .swiper-slide:nth-child(2) .history__overlay {
        left: -373px;
        right: initial;
        width: 997px;
        height: 448px;
        max-width: 997px;
        bottom: -40px;
    }
    .swiper-slide:nth-child(3) {
        padding-top: 0;
        padding-bottom: 0;
    }
    .swiper-slide:nth-child(4) {
        padding-top: 615px;
        padding-bottom: 513px;
    }
    .swiper-slide:nth-child(4) .history__overlay {
        bottom: initial;
        top: -180px;
        left: 34px;
        width: 839px;
        height: 867px;
        max-width: 839px;
    }
    .swiper-slide:nth-child(4) .history__content {
        margin-right: 0;
    }
    .swiper-slide:nth-child(4) .image-card_laptop {
        display: none;
    }
    .swiper-slide:nth-child(4) .image-card.image-card_mobile {
        display: block;
        left: 50%;
        top: -38px;
        margin-left: -117.5px;
        z-index: -1;
    }
    .swiper-slide:nth-child(4) .history__overlay_second {
        left: 40px;
        bottom: -83px;
        width: 1529px;
        height: 550px;
        max-width: 1591px;
    }
    .swiper-slide:nth-child(5) {
        padding-top: 0;
        padding-bottom: 532px;
    }
    .swiper-slide:nth-child(5) .history__content {
        margin-right: 0;
    }
    .swiper-slide:nth-child(5) .image-card {
        display: none;
    }
    .swiper-slide:nth-child(5) .history__card_right, .swiper-slide:nth-child(7) .history__card_right {
        border-radius: 0 60px 0 60px;
    }
    .swiper-slide .history__card_left:before {
        clip-path: polygon(0% -10%, 0% 103%, 95% 100%);
        -webkit-clip-path: polygon(0% -10%, 0% 103%, 95% 100%);
    }
    .swiper-slide:nth-child(5) .history__card_right:before {
        border-top-right-radius: 0;
        border-top-left-radius: 60px;
        clip-path: polygon(0% -10%, 0% 103%, 95% 100%);
        -webkit-clip-path: polygon(0% -10%, 0% 103%, 95% 100%);
    }
    .swiper-slide:nth-child(5) .history__card_right:after {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 60px;
        -webkit-clip-path: polygon(100% -1%, 7% 0, 100% 116%);
        clip-path: polygon(100% -1%, 6% 0, 100% 116%);
    }
    .swiper-slide:nth-child(5) .image-card.image-card_mobile {
        display: block;
        left: 50%;
        top: -197px;
        margin-left: -117.5px;
        z-index: -1;
    }
    .swiper-slide:nth-child(6) {
        padding-top: 0;
        padding-bottom: 901px;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        left: -89px;
        top: -501px;
        width: 737px;
        height: 596px;
        max-width: 737px;
    }
    .swiper-slide:nth-child(7) {
        padding-top: 0;
        padding-bottom: 939px;
    }
    .swiper-slide:nth-child(7) .history__overlay {
        left: -1022px;
        top: -980px;
        width: 3581px;
        max-width: 3581px;
        height: 1080px;
    }
    .swiper-slide:nth-child(7) .history__card_right:before, .swiper-slide .history__card_left:before {
        border-top-right-radius: 0;
        border-top-left-radius: 60px;
        clip-path: polygon(0% -28%, 0% 103%, 86% 100%);
        -webkit-clip-path: polygon(0% -28%, 0% 103%, 86% 100%);
    }
    .swiper-slide:nth-child(7) .history__card_right:after {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 60px;
        -webkit-clip-path: polygon(100% -1%, 7% 0, 100% 116%);
        clip-path: polygon(100% -1%, 7% 0, 100% 116%);
    }
    .swiper-slide:nth-child(7) .history__content {
        margin-right: 0;
    }
    .swiper-slide:nth-child(7) .image-card_mobile {
        display: block;
    }
    .swiper-slide:nth-child(7) .image-card_mobile:nth-child(2) {
        right: 115px;
        top: -348px;
        z-index: -1;
    }
    .swiper-slide:nth-child(7) .image-card_mobile:last-child {
        right: 37px;
        top: -170px;
        z-index: -1;
    }
    .swiper-slide:nth-child(8) .history__overlay {
        left: -200px;
        top: -1000px;
        width: 1060px;
        height: 1242px;
        max-width: 1060px;
    }
    .swiper-slide:nth-child(3) .history__card.history__card_left.history__card_laptop, .swiper-slide:nth-child(8) .history__card.history__card_left.history__card_laptop {
        height: initial;
    }
    .swiper-slide:nth-child(8) {
        padding-bottom: 52px;
    }
    .swiper-slide:nth-child(9) {
        padding: 0 37px 50px 36px;
    }
    .info__row.info__row_top .info__col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .swiper-slide:nth-child(9) .info__divider {
        margin-top: 26px;
        margin-bottom: 46px;
    }
    .info__col_left {
        display: none;
    }
    .info__row_bottom .info__col_right {
        flex-wrap: wrap;
    }
    .info__row_bottom .info__col.info__col_right .info__col, .info__row_bottom .info__col.info__col_right .info__item {
        width: 100%;
        margin: 0 0 21px !important;
    }
	
	.info__row_bottom .info__col.info__col_right .info__col{
		margin: 0 !important;
	}
    .info__row_bottom .info__col_right .info__col:first-child {
        display: block;
    }
    .swiper-slide:nth-child(9) .info__item {
        margin-bottom: 21px;
    }
    .swiper-slide:nth-child(8) .history__card_laptop .card__text {
        height: auto;
    }
}

@media (max-width: 768px) {
    .swiper-slide:first-child .history__overlay {
        top: 0;
        width: 768px;
    }
    .slide__heading {
        margin-left: 34px;
    }
    .history__card {
        width: 100%;
    }
    .history__card_left {
        padding-top: 50px;
    }
    .swiper-slide {
        padding-left: 0;
        padding-right: 0;
    }
    .card__title {
        font-size: 25px;
        line-height: 30px;
        color: #000000;
        margin-bottom: 20px;
    }
    .card__text, .card__text p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 576px) {
    .swiper-slide:first-child:after {
        width: 697px;
    }
    .history__card_left:before {
        border-top-left-radius: 60px;
        clip-path: polygon(0% -16%, 0% 101%, 92% 100%);
        -webkit-clip-path: polygon(0% -19%, 0% 103%, 89% 100%);
    }
    .history__card_left:after {
        clip-path: polygon(100% -1%, 10% 0, 100% 118%);
        -webkit-clip-path: polygon(100% -1%, 10% 0, 100% 118%);
    }
}

@media (max-width: 480px) {
    .swiper-slide .history__card_left:before, .swiper-slide:nth-child(5) .history__card_right:before {
        border-top-left-radius: 60px;
        clip-path: polygon(0% -28%, 0% 103%, 86% 100%);
        -webkit-clip-path: polygon(0% -28%, 0% 103%, 86% 100%);
    }
    .history__card_left:after, .swiper-slide:nth-child(5) .history__card_right:after, .swiper-slide:nth-child(7) .history__card_right:after {
        clip-path: polygon(100% -1%, 12% 0, 100% 126%);
        -webkit-clip-path: polygon(100% -1%, 12% 0, 100% 126%);
    }
    .swiper-slide:nth-child(2) .history__overlay {
        bottom: -65px;
    }
    .swiper-slide:nth-child(4) .history__overlay {
        top: -217px;
    }
}

@media screen and (max-height: 1000px) {
    @media (min-width: 992px) {
        .swiper-slide:nth-child(7) .image-card {
            bottom: 337px;
        }
        .swiper-slide:nth-child(7) .image-card:last-child {
            bottom: 12px;
        }
    }
    @media (min-width: 1100px) {
        .card__text p {
            font-size: 14px;
        }
        .swiper-slide:nth-child(3) {
            justify-content: flex-end;
        }
        .swiper-slide:nth-child(3) .history__content {
            align-items: flex-end;
        }
        .swiper-slide:nth-child(4) .history__content {
            align-items: flex-end;
            /* margin-right: 0; */
            margin-right: 184px;
        }
        .swiper-slide:nth-child(3) .history__card.history__card_left {
            bottom: 125px;
        }
        .swiper-slide:nth-child(3) .history__card.history__card_left.history__card_laptop, .swiper-slide:nth-child(4) .history__card.history__card_left.history__card_laptop, .swiper-slide:nth-child(8) .history__card.history__card_left.history__card_laptop {
            display: none;
        }
        .swiper-slide:nth-child(3) .history__card.history__card_left, .swiper-slide:nth-child(3) .history__card.history__card_right, .swiper-slide:nth-child(4) .history__card.history__card_left, .swiper-slide:nth-child(4) .history__card.history__card_right, .swiper-slide:nth-child(8) .history__card.history__card_left, .swiper-slide:nth-child(8) .history__card.history__card_right {
            display: block;
        }
        .swiper-slide:nth-child(4) .image-card {
            display: none !important;
        }
        .swiper-slide:nth-child(4) .image-card_mobile {
            /* bottom: 535px;
            left: 50%;
            z-index: -1; */
            display: block !important;
            bottom: 404px;
            top: initial;
            left: 107%;
            transform: translateX(-50%) !important;
            z-index: 0;
        }
        .swiper-slide:nth-child(4) .history__card.history__card_left {
            /*top: 60px;*/
            top: -81px;
        }
        .swiper-slide:nth-child(8) .history__content {
            align-items: center;
        }
        .swiper-slide:nth-child(6) .history__content {
            margin-bottom: -90px;
        }
        @media (max-height: 900px) {
            .swiper-slide:nth-child(3) .history__card.history__card_left {
                bottom: 40px;
            }
            .swiper-slide:nth-child(7) .history__content {
                margin-bottom: 0;
            }
            .swiper-slide:nth-child(4) .image-card_mobile {
                bottom: 445px;
                left: 116%;
                top: 42%;
            }
        }
        @media (max-height: 800px) {
            .card__text p {
                font-size: 12px;
            }
            .history__man img {
                max-width: 130px;
            }
            .swiper-slide:nth-child(2) .history__man img:nth-child(2) {
                bottom: 158px;
            }
            .swiper-slide:nth-child(2) .history__man img:first-child {
                bottom: 337px;
            }
            .swiper-slide:nth-child(4) .history__card.history__card_left {
                top: 10px;
            }
            .swiper-slide:nth-child(4) .history__content {
                margin-right: 165px;
            }
            .swiper-slide:nth-child(4) .image-card_mobile {
                bottom: 50%;
                margin-bottom: -110px;
                margin-right: 75.5px;
                left: initial;
                right: -50%;
                z-index: 1;
                transform: none !important;
            }
        }
    }
    @media (min-width: 992px) {
        .card__text p {
            font-size: 14px;
        }
    }
    @media (max-height: 850px) {
        .swiper-slide:nth-child(2) .history__content {
            margin-bottom: 0;
        }
    }
    @media (max-height: 700px) {
        .swiper-slide:first-child {
            align-items: flex-end;
        }
        .swiper-slide:nth-child(3) .history__card.history__card_left {
            bottom: -10px;
        }
        .swiper-slide:nth-child(7) .history__content {
            margin-bottom: -75px;
        }
        .swiper-slide:nth-child(8) .history__card_left {
            bottom: 10px;
        }
    }
}

@media screen and (max-height: 1079px) and (min-height: 1001px) {
    .swiper-slide:nth-child(4) {
        align-items: center;
    }
    .swiper-slide:nth-child(4) .history__content {
        height: auto;
    }
    .swiper-slide:nth-child(4) .history__card.history__card_left.history__card_laptop {
        display: none !important;
    }
    .swiper-slide:nth-child(4) .history__card_left, .swiper-slide:nth-child(4) .history__card_right {
        display: block;
    }
    .swiper-slide:nth-child(2) .history__man img:last-child {
        opacity: 1 !important;
        transform: none !important;
    }
    .swiper-slide:nth-child(4) .history__content {
        margin-right: -45px;
    }
    .history__overlay {
        opacity: 1 !important;
        transform: none !important;
    }
}

/*Mobile animation*/

@media (max-width: 992px) {
    .page-template-template-history #wrapper, .page-template-template-history #content {
        position: initial;
        height: auto;
    }
    .card__text, .card__text p {
        height: auto !important;
    }
    .swiper-slide:nth-child(7) .image-card {
        display: none !important;
    }
    .swiper-slide:nth-child(7) .image-card_mobile {
        display: block !important;
    }
    .swiper-slide:nth-child(4) .history__content {
        margin-right: 0;
    }
    .swiper-slide:nth-child(6) .history__overlay {
        left: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .swiper-slide:nth-child(6) .history__overlay {
        left: -89px;
        top: -501px;
        width: 737px;
        max-width: 737px;
    }
}