.cargoton-team .cargoton-team-blog
{
    position: relative;
}
.cargoton-team .cargoton-team-blog::before{
    background: var(--color-theme-primary);
    transform: scale(0,1);

}
.cargoton-team .cargoton-team-blog::after{  
    transform: scale(0,1);
} 
.cargoton-team .cargoton-team-blog .cargoton-team-info
{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    transition: all 0.5s;
}
.cargoton-team .cargoton-team-blog:after,
.cargoton-team .cargoton-team-blog:before {
    content: "";
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 32px;
    right: 32px;
    transition: all 0.5s;
}
.cargoton-team .cargoton-team-blog:after, .cargoton-team .cargoton-team-blog:before 
    {
    display: block;
    background: var(--color-theme-primary);
    z-index: 1;
    transform: scale(0, 1);
}
.cargoton-team .cargoton-team-blog:hover:after, .cargoton-team .cargoton-team-blog:hover:before {
    transform: scale(1);
    -webkit-animation: animate 1.5s;
    animation: animate 1.5s;
}
.cargoton-team-info
{
    padding: 24px;
    opacity: 0;
    z-index: 2;
    text-align: center;
}
.cargoton-team .cargoton-team-blog:hover .cargoton-team-info{
    opacity: 1;
    transition: all 0.5s;
    transition-delay: 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
}
.cargoton-team .cargoton-team-blog .cargoton-team-info .cargoton-team-main-detail
{
    margin-bottom: 16px;
}
 
.cargoton-team-blog .cargoton-team-info .cargoton-team-social ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 0;
}
.cargoton-team-blog .cargoton-team-info .cargoton_speficialize{
    padding: 5px 0;
}
.cargoton-team-blog .cargoton-team-info .cargoton_speficialize span{ 
    font-family: var(--highlight-font-family);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-three);
    text-transform: capitalize;
    color: var(--color-theme-white);
    font-style: italic;
    
}
.cargoton-team-blog .cargoton-team-info .cargoton-team-social ul li a
{
    background-color: var(--color-theme-white);
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    margin: 8px;
}
.cargoton-team-blog .cargoton-team-info .cargoton-team-social ul li a svg{
    width: 20px;
    stroke: var(--color-theme-primary);
}

@-webkit-keyframes animate {
    0%, 100% {
      opacity: 1;
    }
  }
  
  @keyframes animate {
    0%, 100% {
      opacity: 1;
    }
  }
  @media(max-width:340px)
  {
    .cargoton-team .cargoton-team-blog:after, .cargoton-team .cargoton-team-blog:before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 24px;
    right: 24px;
    transition: all 0.5s; 
    }
} 