/* Clients */
.clients {
    min-height: 690px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.clients .tablet {
    display: none;
}

.clients__title {
    margin-bottom: 10px;
}

.clients__desc {
    max-width: 450px;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #333E56;
}

.clients__list {
    list-style: none;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.clients__item {
    position: absolute;
    -webkit-filter: drop-shadow(0px 18px 58px rgba(15, 15, 15, 0.1));
    filter: drop-shadow(0px 18px 58px rgba(15, 15, 15, 0.1));
    -webkit-transition: all .7s;
    -o-transition: all .7s;
    transition: all .7s;
    cursor: pointer;
}

.clients__item img {
    height: 100%;
}

.clients__item:nth-of-type(1) {
    height: 80px;
    left: 85px;
    top: 55px;
}

.clients__item:nth-of-type(2) {
    left: 110px;
    bottom: 130px;
    height: 81px;
}

.clients__item:nth-of-type(3) {
    left: 290px;
    top: 240px;
    height: 81px;
}

.clients__item:nth-of-type(4) {
    bottom: 81px;
    left: 526px;
    height: 60px;
}

.clients__item:nth-of-type(5) {
    top: 87px;
    left: 759px;
    height: 58px;
}

.clients__item:nth-of-type(6) {
    right: 396px;
    bottom: 112px;
    height: 70px;
}

.clients__item:nth-of-type(7) {
    top: 228px;
    right: 293px;
    height: 75px;
}

.clients__item:nth-of-type(8) {
    top: 69px;
    right: 76px;
    height: 90px;
}

.clients__item:nth-of-type(9) {
    right: 75px;
    bottom: 182px;
    height: 83px;
}

.clients:hover .desktop .clients__item:nth-of-type(1) {
    -webkit-transform: translate(32px, 20px);
    -ms-transform: translate(32px, 20px);
    transform: translate(32px, 20px);
}

.clients:hover .desktop .clients__item:nth-of-type(2) {
    -webkit-transform: translate(10px, -30px);
    -ms-transform: translate(10px, -30px);
    transform: translate(10px, -30px);
}

.clients:hover .desktop .clients__item:nth-of-type(3) {
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
}

.clients:hover .desktop .clients__item:nth-of-type(4) {
    -webkit-transform: translate(10px, -50px);
    -ms-transform: translate(10px, -50px);
    transform: translate(10px, -50px);
}

.clients:hover .desktop .clients__item:nth-of-type(5) {
    -webkit-transform: translate(10px, 10px);
    -ms-transform: translate(10px, 10px);
    transform: translate(10px, 10px);
}

.clients:hover .desktop .clients__item:nth-of-type(6) {
    -webkit-transform: translate(10px, -20px);
    -ms-transform: translate(10px, -20px);
    transform: translate(10px, -20px);
}

.clients:hover .desktop .clients__item:nth-of-type(7) {
    -webkit-transform: translate(10px, -20px);
    -ms-transform: translate(10px, -20px);
    transform: translate(10px, -20px);
}

.clients:hover .desktop .clients__item:nth-of-type(8) {
    -webkit-transform: translate(-10px, 25px);
    -ms-transform: translate(-10px, 25px);
    transform: translate(-10px, 25px);
}

.clients:hover .desktop .clients__item:nth-of-type(9) {
    -webkit-transform: translate(-10px, -20px);
    -ms-transform: translate(-10px, -20px);
    transform: translate(-10px, -20px);
}

.clients__item.active {
    height: 80px;
}

.clients__item.active .clients-popup {
    height: 130px;
    width: 350px;
    padding: 20px 20px 20px 110px;
    -webkit-transform: translate(-18px, -20px);
    -ms-transform: translate(-18px, -20px);
    transform: translate(-18px, -20px);
    opacity: 1;
}

.clients__item.active.left .clients-popup {
    width: 360px;
    padding: 20px 120px 20px 20px;
    /*left: initial;*/
    -webkit-transform: translate(calc(-100% + 100px), -19px);
    -ms-transform: translate(calc(-100% + 100px), -19px);
    transform: translate(calc(-100% + 100px), -19px);
}

.clients__item.active .clients-popup__title {
    font-size: 24px;
}

.clients__item.active .clients-popup__desc {
    font-size: 16px;
}

.clients-popup {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    background: #fff;
    -webkit-box-shadow: 0 18px 58px rgba(16, 30, 82, 0.1);
    box-shadow: 0 18px 58px rgba(16, 30, 82, 0.1);
    border-radius: 20px;
    text-align: left;
    top: 0;
    left: 0;
    z-index: -1;
    -webkit-transition: all .7s, opacity .3s;
    -o-transition: all .7s, opacity .3s;
    transition: all .7s, opacity .3s;
    opacity: 0;
}

.clients__item.left .clients-popup {
    /*left: initial;*/
    /*right: 0;*/
    width: 360px;
    padding-left: 20px;
    padding-right: 120px;
}

.clients-popup__title {
    font-weight: 600;
    /*font-size: 24px;*/
    font-size: 0;
    line-height: 30px;
    color: #231E57;
    margin-bottom: 7px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.clients-popup__desc {
    font-weight: 400;
    /*font-size: 16px;*/
    font-size: 0;
    line-height: 26px;
    color: #918FA9;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

/* \Clients */


/* Adaptive */
@media (max-width: 1060px) {
    .desktop .clients__item:nth-of-type(1) {
        left: 50px;
    }

    .desktop .clients__item:nth-of-type(2) {
        left: 70px;
    }

    .desktop .clients__item:nth-of-type(3) {
        left: 60px;
    }

    .desktop .clients__item:nth-of-type(4) {
        left: 205px;
    }

    .desktop .clients__item:nth-of-type(5) {
        left: 400px;
    }

    .desktop .clients__item:nth-of-type(6) {
        bottom: 40px;
        right: 305px;
    }

    .desktop .clients__item:nth-of-type(7) {
        right: 130px;
    }

    .desktop .clients__item:nth-of-type(8) {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .clients {
        -webkit-box-pack: initial;
        -ms-flex-pack: initial;
        justify-content: initial;
        -webkit-box-align: initial;
        -ms-flex-align: initial;
        align-items: initial;
        text-align: left;
        padding: 80px 16px 60px;
        min-height: initial;
        background: var(--clients-mob-bg);
        background-size: cover;
    }

    .clients__list {
        display: none;
    }

    .clients__list.tablet {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        position: initial;
        height: initial;
        margin-top: 30px;
        padding-top: 20px;
    }

    .clients__item {
        position: initial;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: calc(100% / 5);
        -webkit-filter: none;
        filter: none;
        margin-bottom: 30px;
    }

    img.clients__img {
        width: 90px;
        height: initial;
    }
}

@media (max-width: 685px) {
    .clients__item {
        width: calc(100% / 3);
    }

    .clients__title {
        margin-bottom: 5px;
    }

    .clients__desc {
        font-size: 14px;
        line-height: 20px;
        color: #231E57;
    }
}

@media (max-width: 450px) {
    .clients__img {
        width: 80px;
    }
}

/* \Adaptive */