.teams {
    position: relative;
    z-index: 10;
}

._top60{
  margin-top:60px;
}

.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{
    margin: 0 0 0 auto;
    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;
}

.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__item > div:nth-child(2) {
    line-height: 18px;
}

.teams.in__row .teams__people .teams__item {
    position: initial;
}

.teams__position{
    margin-top:  2px;
    line-height: 16px;
    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: 0 auto 8px;
}

.teams__img img{
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.teams__img._xsmin{
    width: 64px;
    height: 64px;
    border-radius: 24px;
}

.teams__img._min{
    width: 80px;
    height: 80px;
    border-radius: 30px;
}

.teams__img._medium{
    width: 96px;
    height: 96px;
    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: 48px;
    left: 0;
}

.teams__item:nth-child(2){
    top: 212px;
    left: 0;
}

.teams__item:nth-child(3){
    top: 360px;
    left: 0;
}


.teams__item:nth-child(4){
    top: 0;
    left: 136px;
}

.teams__item:nth-child(5){
    top: 196px;
    left: 136px;
}

.teams__item:nth-child(6){
    left: 136px;
    top: 376px;
}

.teams__item:nth-child(7){
    top: 0;
    left: 272px;
}

.teams__item:nth-child(8){
    top: 180px;
    left: 272px;
}

.teams__item:nth-child(9){
    top: 376px;
    left: 272px;
}

.teams__item:nth-child(10){
    top: 0;
    left: 408px;
}

.teams__item:nth-child(11){
    top: 196px;
    left: 408px;
}

.teams__item:nth-child(12){
    left: 408px;
    top: 376px;
}


.teams__item:nth-child(13){
    top: 48px;
    left: 544px;
}

.teams__item:nth-child(14){
    top: 212px;
    left: 544px;
}

.teams__item:nth-child(15){
    top: 360px;
    left: 544px;
}

.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: 1140px) {
    .teams__people{
        height: 540px;
        max-width: 660px;
        margin: 0 auto;
    }

    .half__item.form_half, .half__item.team_half, .half__item {
        width: 100%;
    }
}

@media screen and (max-width: 1024px){
    br.lg_visible {
        display: none;
    }

    .half__item.team_half {
        padding: 0;
    }

    .teams.in__two_row .half__item._first {
        max-width: 100%;
    }

    .teams.in__row .half__item {
        text-align: center;
        max-width:  100%;
    }

    .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: 60px auto -20px;
    }

    .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__people.lg_visible {
        display: none;
    }

    .teams__people.sm_visible {
        display: flex;
    }

}

@media screen and (max-width: 650px){
    .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: 320px;
        height: 620px;
    }

    .teams__position {
        max-width: 96px;
        display: none;
    }

    .teams__item > div:nth-child(2) {
        line-height:  16px;
    }


    .teams__item:nth-child(2) {
        top:  8px;
    }

    .teams__item:nth-child(7) {
        top:  0;
        left:  112px;
    }

    .teams__item:nth-child(5) .teams__img._min,
    .teams__item:nth-child(7) .teams__img._min {
        width: 64px;
        height: 64px;
        border-radius: 24px;
    }

    .teams__item:nth-child(13) {
        top:  8px;
        left:  224px;
    }

    .teams__item:nth-child(10) {
        left:  0;
        top: 120px;
    }

    .teams__item:nth-child(6) {
        left:  112px;
        top: 112px;
    }

    .teams__item:nth-child(11) {
        left:  224px;
        top: 120px;
    }

    .teams__item:nth-child(9) {
        left:  0;
        top: 248px;
    }

    .teams__item:nth-child(8) {
        left:  112px;
        top: 240px;
    }

    .teams__item:nth-child(4) {
        left:  224px;
        top: 248px;
    }

    .teams__item:nth-child(12) {
        left:  0;
        top: 376px;
    }

    .teams__item:first-child {
        left:  112px;
        top: 384px;
    }

     .teams__item:nth-child(15) {
        left:  224px;
        top: 376px;
     }

     .teams__item:first-child .teams__img._xsmin,
     .teams__item:nth-child(15) .teams__img._xsmin {
        width: 80px;
        height: 80px;
        border-radius: 30px;
     }


     .teams__item:nth-child(14) {
        left:  0;
        top:  504px;
     }

     .teams__item:nth-child(5) {
        left:  112px;
        top:  512px;
     }



     .teams__item:nth-child(3) {
        left:  224px;
        top:  504px;
     }






    .teams-gradient {
        right: -120%;
    }

    .teams .form {
        margin: 60px auto 0;
        width: 100%;
    }

    .teams.in__row .btn {
        width: 100%;
        text-align: center;
    }
}
