.teams {
    position: relative;
    z-index: 10;
}

.teams.in__row .half__item {
    width: 100%;
}

.teams.in__two_row .half__item {
    max-width: 580px;
}

.teams.in__two_row .half__item._first {
    max-width: 360px;
}

.teams-gradient{
    position: absolute;
    width: 1160px;
    height: 1160px;
    bottom: 0;
    right: -10%;
    z-index: -1;
}

.teams .form{
    z-index: 1;
}

.teams__people{
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 50px;
}

.teams.in__row .teams__people {
    margin: 0;
    width: 100%;
    flex-wrap: nowrap;
}

.teams.in__two_row .teams__people {
    padding: 0;
    flex-wrap: wrap;
    margin-top:  -40px;
}

.teams__item{
    position: absolute;
    max-width: 96px;
    width: 100%;
    text-align: center;
    font-size: var(--font--small);
    line-height: 1.33;
}

.teams.in__row .teams__people .teams__item {
    position: initial;
}

.teams__position{
    margin-top:  4px;
    opacity: .3;
}

.teams__img{
    border: 3px solid var(--color--white);
    overflow: hidden;
    -webkit-box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.1);
    margin: 5px auto;
}

.teams__img img{
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.teams__img._xsmin{
    width: 70px;
    height: 70px;
    border-radius: 24px;
}

.teams__img._min{
    width: 86px;
    height: 86px;
    border-radius: 30px;
}

.teams__img._medium{
    width: 102px;
    height: 102px;
    border-radius: 36px;
}

.teams__img._big {
    width: 156px;
    height: 156px;
    border-radius: 56px;
}

.teams.in__row .teams__people .teams__item .teams__img._medium,
.teams.in__row .teams__people .teams__item .teams__img._min,
.teams.in__row .teams__people .teams__item .teams__img._xsmin {
    width: 86px;
    height: 86px;
    border-radius: 30px;
}

.teams.in__row .teams__people .teams__item:not(:last-child) {
    margin-right: 32px;
}

.teams.in__two_row .teams__people .teams__item:not(:nth-child(4)),
.teams.in__two_row .teams__people .teams__item:not(:last-child) {
    margin-right: 40px;
}


.teams.in__row .teams__people .teams__item:nth-child(1),
.teams.in__row .teams__people .teams__item:nth-child(4),
.teams.in__row .teams__people .teams__item:nth-child(7) {
    margin-top: 0;
}

.teams.in__row .teams__people .teams__item:nth-child(2),
.teams.in__row .teams__people .teams__item:nth-child(6),
.teams.in__row .teams__people .teams__item:nth-child(8) {
    margin-top: 40px;
}

.teams.in__row.in__two_row .teams__people .teams__item:nth-child(2),
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(6) {
    margin-top: 0;
}

.teams.in__row.in__two_row .teams__people .teams__item,
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(1),
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(4),
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(8) {
    margin-top: 32px !important;
}


.teams.in__row .teams__people .teams__item:nth-child(3),
.teams.in__row .teams__people .teams__item:nth-child(5),
.teams.in__row .teams__people .teams__item:nth-child(9) {
    margin-top: 20px;
}

.teams.in__row.in__two_row .teams__people .teams__item:nth-child(3),
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(5),
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(7) {
    margin-top: 20px;
}


.teams.in__row.in__two_row .teams__people .teams__item:nth-child(4),
.teams.in__row.in__two_row .teams__people .teams__item:nth-child(8) {
    margin-right: 0px;
}


.teams__item:first-child{
    top: 80px;
    left: 0;
}

.teams__item:nth-child(3){
    top: 40px;
    left: 136px;
}

.teams__item:nth-child(2){
    top: 80px;
    left: 272px;
}

.teams__item:nth-child(5){
    left: 136px;
    top: 200px;
}

.teams__item:nth-child(4){
    top: 220px;
    left: 0;
}

.teams__item:nth-child(6){
    left: 275px;
    top: 260px;
}

.teams__item:nth-child(9){
    top: 430px;
    left: 272px;

}

.teams__item:nth-child(7){
    top: 395px;
    left: 136px;

}

.teams__item:nth-child(8){
    top: 375px;
    left: 0;
}

.more__about {
    display: flex;
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.499891);
    box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.101289);
    border-radius: 36px;
}

.more__about .text-big {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.more__about .arrow__right {
    width: 23px;
    height: 32px;
    margin-left: 40px;
    background-image: url(../img/icon/arrow_right.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.teams.in__row .btn {
    margin-top: 40px;
}

.teams.in__row.in__two_row .btn {
    margin-top: 0;
}

.teams__people.sm_visible {
    display: none;
}

.vpbx-try-callgear {
     margin-top: 80px;
}

@media screen and (max-width: 1400px) {
    .teams.in__two_row .teams__people {
        padding: 0;
    }
}


@media screen and (max-width: 1024px){
    br.lg_visible {
        display: none;
    }

    .teams.in__two_row .half__item._first {
        max-width: 100%;
    }

    .teams.in__row .half__item {
        text-align: center;
        max-width:  100%;
    }

    .teams__people{
        height: 560px;
        max-width: 445px;
        margin: 0 auto;
    }

    .teams.in__row .teams__people {
        height: auto;
        margin: 0 auto;
        padding: 0;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .teams.in__row .teams__people .teams__item .teams__img._medium {
        width: 102px;
        height: 102px;
        border-radius: 36px;
    }

    .teams.in__row .teams__people .teams__item .teams__img._min {
        width: 86px;
        height: 86px;
        border-radius: 30px;
    }

    .teams.in__row .teams__people .teams__item .teams__img._xsmin {
        width: 70px;
        height: 70px;
        border-radius: 24px;
    }

    .teams.in__row .teams__people .teams__item:not(:last-child) {
        margin-right: 0;
    }


    .teams .form {
        margin: 0 auto 8px;
    }

    .teams .form {
        border-radius:  40px;
    }

    .more__about .text-big {
        display: inline-block;
    }

    .more__about .arrow__right {
        width: 18px;
        height: 18px;
        display: inline-block;
        margin-left: 0;
    }


    .teams.in__row .teams__people .teams__item{
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 50%;
        max-width: 100%;
        font-size: 12px;
        top: auto !important;
        left: auto !important;
    }

    .teams.in__row .teams__people .teams__item:nth-child(2n)  {
        margin-top: 40px !important;
        min-height: 140px;
    }

    .teams.in__row.in__two_row  .teams__people .teams__item:nth-child(2n) {
        margin-top: 32px !important;
        min-height: auto;
    }

    .teams.in__row .teams__people .teams__item:nth-child(2n+1)  {
        margin-top: -40px !important;
    }

    .teams.in__row.in__two_row .teams__people .teams__item:nth-child(2n+1) {
        margin-top: 32px !important;    
    }

    .teams.in__row .teams__people .teams__item:first-child  {
        margin-top: 0 !important;
    }

    .teams__item:first-child{
        top: 80px;
        left: 0;
    }

    .teams__item:nth-child(3){
        top: 40px;
        left: calc(50% - 52px);
    }

    .teams__item:nth-child(2){
        top: 60px;
        left: auto;
        right: 0;
    }

    .teams__item:nth-child(5){
        left: calc(50% - 48px);
        top: 200px;
    }

    .teams__item:nth-child(4){
        top: 220px;
        left: 0;
    }

    .teams__item:nth-child(6){
        left: auto;
        right: 0;
        top: 240px;
    }

    .teams__item:nth-child(9){
        top: 375px;
        left: 0;
    }

    .teams__item:nth-child(7){
        top: 395px;
        left: calc(50% - 48px);
    }

    .teams__item:nth-child(8){
        top: 400px;
        left: auto;
        right: 0;
    }

    .teams__people.lg_visible {
        display: none;
    }

    .teams__people.sm_visible {
        display: flex;
    }
}

@media screen and (max-width: 576px){
    .teams.in__row .teams__people {
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .teams.in__row .teams__people .teams__item {
        position: initial;
    }

    .teams.in__row .teams__people .teams__item:nth-child(2),
    .teams.in__row .teams__people .teams__item:nth-child(6),
    .teams.in__row .teams__people .teams__item:nth-child(8),
    .teams.in__row .teams__people .teams__item:nth-child(3),
    .teams.in__row .teams__people .teams__item:nth-child(5),
    .teams.in__row .teams__people .teams__item:nth-child(9) {
        margin-top: 0;
    }

    .teams.in__row .teams__people .teams__item:not(:last-child) {
        margin-right: 0;
    }

    .teams.in__row.in__two_row .teams__people .teams__item {
        margin-right: 0;
    }

    .teams__people{
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        align-items: flex-start;
        max-width: 280px;
        height: auto;
    }

    .teams__item{
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 50%;
        max-width: 100%;
        font-size: 12px;
        top: auto !important;
        left: auto !important;
    }


    .teams__item:nth-child(2n)  {
        margin-top: 40px !important;
        min-height: 140px;
    }

    .teams__item:nth-child(2n+1)  {
        margin-top: -40px !important;
    }

    .teams__item:first-child  {
        margin-top: 0 !important;
    }

    .teams__position {
        max-width: 96px;
    }

    .teams-gradient {
        right: -120%;
    }

    .teams .form {
        margin: 0 -20px 8px;
        width: calc(100% + 40px);
        padding: 48px 20px;
    }


    .form__item_next {
        padding: 0;
    }

    .teams.in__row .btn {
        width: 100%;
        text-align: center;
    }
}

