/* ======================
style-1
============================*/

.revamps-team .revamps-heading-title a{
    color: var(--color-theme-secondary);
}

.revamps-team.team-style-one .revamps-team-blog {
    position: relative;
}

.revamps-team.team-style-one .revamps-team-blog::before {
    background: var(--color-theme-primary);
    transform: scale(0, 1);

}

.revamps-team.team-style-one .revamps-team-blog::after {
    transform: scale(0, 1);
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-info {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-info .share.revamps-team-social {
    position: absolute;
    bottom: 30px;
}

.revamps-team.team-style-one .revamps-team-blog:after,
.revamps-team.team-style-one .revamps-team-blog:before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 32px;
    right: 32px;
    transition: all 0.5s;
}

.revamps-team.team-style-one .revamps-team-blog:after, 
.revamps-team .revamps-team-blog:before {
    display: block;
    background: var(--color-theme-primary);
    z-index: 1;
    transform: scale(0, 1);
}

.revamps-team.team-style-one .revamps-team-blog:hover:after, 
.revamps-team .revamps-team-blog:hover:before {
    transform: scale(1);
    -webkit-animation: animate 1.5s;
    animation: animate 1.5s;
}

.revamps-team.team-style-one .revamps-team-info {
    padding: 30px;
    opacity: 0;
    z-index: 2;
}

.revamps-team.team-style-one .revamps-team-blog:hover .revamps-team-info {
    opacity: 1;
    transition: all 0.5s;
    transition-delay: 0.2s;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-info .revamps-team-main-detail {
    margin-bottom: 16px;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-info .revamps_speficialize {
    color: var(--color-theme-white);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-three);
    text-transform: uppercase;
    color: var(--color-theme-white);
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul li a {
    background-color: var(--color-theme-white);
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul li:last-child a {
    margin: 0;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul li a:hover {
    background: var(--color-theme-secondary);
    color: var(--color-theme-white);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: .3s;
    transition: .3s;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul li a i {
    width: 20px;
    color: var(--global-font-color);
    transition: all 0.5s;
}

.revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul li a:hover i {
    color: var(--color-theme-white);
}

@-webkit-keyframes animate {
    0%, 100% {
        opacity: 1;
    }
}

@keyframes animate {
    0%, 100% {
        opacity: 1;
    }
}

@media(max-width:400px) {
    .revamps-team.team-style-one .revamps-team-blog:after, 
    .revamps-team.team-style-one .revamps-team-blog:before {
        content: "";
        position: absolute;
        top: 15px;
        bottom: 15px;
        left: 15px;
        right: 15px;
        transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        -webkit-transition: all .5s ease-in-out;
    }

    .revamps-team.team-style-one .revamps-team-blog .revamps-team-info .share.revamps-team-social {
        bottom: 0;
    }

    .revamps-team.team-style-one .revamps-team-info {
        padding: 0px;
    }

    .revamps-team.team-style-one .revamps-team-blog .revamps-team-social ul li a {
        width: 40px;
        height: 40px;
        font-size: 14px;
        line-height: 40px;
    }
}

.revamps-team.team-style-one .revamps-team-blog {
    margin-bottom: 30px;
}

.revamps-team.team-style-one .owl-carousel .revamps-team-blog {
    margin-bottom: 0;
}

.revamps-team .revamps-team-img img {
    width: 100%;
}

/*===== team-style-2 ====*/

.team-style-two .revamps-team-blog {
    display: flex;
    background-color: var(--color-theme-grey);
}

.revamps-team.team-style-two .revamps-team-img {
    width: 100%;
}

.revamps-team.team-style-two .revamps-team-img img {
    height: 100%;
    object-fit: cover;
}

.team-style-two .revamps-team-blog .revamps-team-info {
    padding: 50px;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-main-detail {
    margin-bottom: 118px;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-main-detail .revamps_speficialize {
    margin-bottom: 10px;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-social ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    margin-bottom: 0;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-social ul li {
    margin-right: 16px;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-social ul li:last-child {
    margin-right: 0;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-social ul li a {
    background-color: var(--color-theme-white);
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: var(--color-theme-primary);
    display: inline-block;
    text-align: center;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-social ul li a i{
    transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    -webkit-transition: none;
}

.team-style-two .revamps-team-blog .revamps-team-info .revamps-team-social ul li a:hover {
    background-color: var(--color-theme-primary);
    color: var(--color-theme-white);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: .3s;
    transition: .3s;
}

@media (max-width: 1199px) {
    .team-style-two .revamps-team-blog .revamps-team-info {
        padding: 30px;
    }
}

@media (max-width: 1024px) {
    .team-style-two .revamps-team-blog {
        display: block;
    }

    .team-style-two .revamps-team-blog .revamps-team-info .revamps-team-main-detail {
        margin-bottom: 25px;
    }
}

/*==================================
team-grid
=============================================*/

.revamps-team-style-grid.team-style-one .revamps-team-blog {
    margin-bottom: 30px;
}

.revamps-team-style-grid.team-style-two .revamps-team-blog {
    margin-bottom: 30px;
}


