
.team {
    background: #fff;
    border-radius: 10px;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    transition: .2s
}
.team:hover {
/*    box-shadow: 0 4px 20px 0 rgba(19, 59, 240, 0.1);*/
}
.team-img {
    overflow: hidden;
    position: relative;
    max-height: 428px;
    cursor: pointer;
}
.team-img:before {
    content: '';
    display: block;
    padding-top: 115%;
}
.row--sm .team-img:before {
/*    padding-top: 126%;*/
}
.team-img:after {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(19,59,240,1) 0%, rgba(19,59,240,0) 100%);
    opacity: 0.2;
    pointer-events: none;
}
.team-img img {
    width: 100%;
    /*min-height: 100%;*/
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.team-info {
    padding: clamp(1rem, 1rem + 1vw, 2rem);
}
.team .social a, .teaam-social a {
    font-size: 28px;
    color: #05044A;
}
.team .social a:hover,
.teaam-social a:hover
{
    color: #0025EB;
}

.team-content {
    padding: clamp(1.5rem, 1.2573rem + 1.0356vw, 2.5rem);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    z-index: 1;
    transition: .3s;
    background: #fff;
}

.team:hover .team-content {
    opacity: 1;
    pointer-events: auto;
}


.team--sm {
    background:transparent;
    border-radius: 0;
    box-shadow: none;
}
.team--sm .team-img {
    max-height: 305px;
    border-radius: 10px;
    position: relative;
}
.team--sm .team-info {
    text-align: center;
    padding: 16px 0 0 0;
}
.team--sm .team-content {
    background: linear-gradient(to bottom, rgba(5,4,74,0.5) 0%, rgba(19,59,240,0.9) 100%);
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 12px;
}
.team--sm .team-content .social a {
    color: #fff;
}
.team--sm .team-content .social a:hover {
    color: #B9FF4F;
}


.team-quote {
    font-size: 30px;
}

.row:not(.row--sm) .team-img {
    cursor: default;
}
.row.row--sm .team {
    cursor: pointer;    
}



@media (max-width: 1199px) {
    .row--team-scroll {

    }
    .row--team-scroll > *{
        width: 268px;
    }
}
@media (max-width: 767px) {
    .row--team-scroll > *{
        width: 194px;
    }
    .team .h4 {
        font-size: 14px;
    }
    .team .h5 {
        font-size: 13px;
    }
    .team--sm .team-content .h5 {
        font-size: 11px;
    }
}




.modal-team .modal-dialog {
    max-width: 1232px;
}
.modal-team .modal-content {
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0px 5px 20px 0px #133BF01A;
}
.modal-team .btn-close {
    float: right;
    display: block;
    opacity: 1;
    padding: 0;
    border-radius: 0;
    width: 18px;
    height: 18px;
    background-image: url(../../../assets/img/icons/close-modal.svg);
    background-size: 100%;
    margin-bottom: 12px;
    margin-right: 0;
    margin-left: auto;
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 12;
}
.modal-team .modal-body {
    padding: 0;
}
.modal-team .team-img {
    max-height: 394px;
}

.team-btn {
    display: none;
}


@media (max-width: 1199px) {
    /* .row:not(.row--sm) .team-info {
        margin-top: 20px;
    } */
    .team-info {
        margin-top: 20px;
        text-align: left;
        padding-top: 0;
    }

    .modal-team .modal-dialog {
        max-width: 600px;
    }

}
@media (max-width: 767px) {

    .team-img {
        height: 292px;
        border-radius: 8px;
    }
    .row--sm .team-img {
        height: 184px;
    }
    .team .h4 {
        font-size: 20px;
    }

    .row--sm .social {
        display: none;
    }
    .team-btn {
        display: block;
        width: 22px;
        height: 22px;
        background:url(../../../assets/img/icons/plus.svg) no-repeat center;
        background-size: 22px;
        margin-left: auto;
    }

    .modal-team .modal-content {
        border-radius: 12px;
        padding: 26px 32px 40px 32px;
    }

}

.row--sm .team:hover {
    box-shadow: 0px 4px 40px 0px #133BF033;
}