/*------------------------------------------
                Common
-------------------------------------------*/

.block--team-card .team-inner,
.block--team-card .team-inner .image-wrapper{
    position: relative;
    overflow: hidden;
}

.block--team-card .team-inner .image-wrapper img {
    transition: all 0.3s linear 0s;
    display: block;
    width: 100%;
}

.block--team-card .team-inner .image-wrapper .secondary-image img  {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
}

.block--team-card.designer-secondary-image-active:hover .team-inner .image-wrapper > img{
    opacity: 0;
}

.block--team-card:hover .team-inner .image-wrapper .secondary-image img{
    opacity: 1;
    transform: translateY(0px);
}

.block--team-card .rte-content>*{
    width: 100%;
}


.block--team-card .profiles {
    margin: unset;
    padding: unset;
    list-style: none;
}

.block--team-card .profiles .social-item{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.block--team-card .profiles .social-item a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.block--team-card.designer-image--hover-zoom img {
    transform: scale(1.005) translateZ(0);
    transition: transform .35s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}

.block--team-card.designer-image--hover-zoom:hover img {
    transform: scale(1.03);
}


/*------------------------------------------
               Info Below Left
-------------------------------------------*/

.block--team-card.designer-item-layout--info-below-left  .rte-content .name,
.block--team-card.designer-item-layout--info-below-left  .rte-content .position,
.block--team-card.designer-item-layout--info-below-left  .rte-content .profiles {
    opacity: 0;
    transform: translateX(30px);
    transition: transform .45s cubic-bezier(.16,.32,.26,.92),opacity .45s ease-out;
    transition-delay: 0s,0s;
}

.block--team-card.designer-item-layout--info-below-left:hover  .rte-content .name,
.block--team-card.designer-item-layout--info-below-left:hover  .rte-content .position,
.block--team-card.designer-item-layout--info-below-left:hover  .rte-content .profiles {
    opacity: 1;
    transform: translateX(0);
}

.block--team-card.designer-item-layout--info-below-left:hover  .rte-content .position{
        transition-delay: .15s;
}

.block--team-card.designer-item-layout--info-below-left:hover  .rte-content .profiles {
     transition-delay: .3s;
}

/*------------------------------------------
                Info From Bottom
-------------------------------------------*/

.block--team-card.designer-item-layout--info-from-bottom  .rte-content {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.22,.61,.36,1);
    padding: 30px;
    z-index: 1;
}

.block--team-card.designer-item-layout--info-from-bottom:hover  .rte-content{
    transform: translateY(0);
}

/*------------------------------------------
                Info on Hover Inset
-------------------------------------------*/
.block--team-card.designer-item-layout--info-on-hover-inset  .rte-content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity .25s ease-out,all .3s cubic-bezier(.46,.03,.52,.96);
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    padding: 5%;
}

.block--team-card.designer-item-layout--info-on-hover-inset:hover  .rte-content {
    opacity: 1;
    -webkit-clip-path: inset(10px 10px 10px 10px);
    clip-path: inset(10px 10px 10px 10px);
    transition-delay: 0s,.15s;
}


/*------------------------------------------
                Info On Hover
-------------------------------------------*/

.block--team-card.designer-item-layout--info-on-hover .rte-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    padding: 20px 30px;
}

.block--team-card.designer-item-layout--info-on-hover:hover .rte-content {
    opacity: 1;
}


/*------------------------------------------
                Social Position on Hover
-------------------------------------------*/
.block--team-card.designer-item-layout--social-position-on-hover .image-wrapper {
    border-radius: inherit;
    transition: all 0.3s linear 0s;
    width: 100%;
    overflow: hidden;
    padding-top: 80px;
}

.block--team-card.designer-item-layout--social-position-on-hover  .rte-content .position {

    font-size: 70px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 70px;
    margin: 0;
    transition: all 0.5s linear;
    position: absolute;
    top: 0px;
    right: 0px;
    text-transform: uppercase;
    color: #e4e4e4;
    text-shadow: 0px 0px 2px #f5f5f5, 0px 0px 2px #f5f5f5;
    display: none;
}

.block--team-card.designer-item-layout--social-position-on-hover:hover  .rte-content .position {
    display: block;
    width: auto;
    transform: translateX(100%);
    animation: move 15s linear infinite;
    white-space: nowrap;
}

@keyframes move {
    to {
        transform: translateX(-100%);
        letter-spacing: 10px;
    }
}

.block--team-card.designer-item-layout--social-position-on-hover .image-wrapper .profiles,
.block--team-card.designer-item-layout--social-on-hover .image-wrapper .profiles {
    position: absolute;
    bottom: 15px;
    justify-content: center;
    width: 100%;
    left: 0;
    opacity: 0;
    transition: all 0.3s linear 0s;
}

.block--team-card.designer-item-layout--social-position-on-hover:hover .image-wrapper .profiles,
.block--team-card.designer-item-layout--social-on-hover:hover .image-wrapper .profiles {
    opacity: 1;
    transform: translateY(0px);
}


