.jws_team {
    &.layout1 {
        .jws_team_inner {
            .jws_team_content {
               padding-left: 24px;
              .team_title {
                font-size: 18px;
                font-weight: 500;
                margin-bottom: -2px;
                margin-top: 20px;
                a {
                    color:var(--heading);
                }
              }  
              .team_job {
                    font-size: 15px;
                    font-weight: 400;
                    color: var(--main);
              }  
            }
            .jws_team_image {
                position:relative;
                overflow: hidden;
                .team_icon {
                    position: absolute;
                    bottom: 0;
                    left: 25px;
                    background: var(--main);
                    padding: 5px 8px;
                    transition: 0.3s all;
                    transform: translatey(100%);
                    -webkit-transform: translatey(100%);
                    will-change: transform;
                    li {
                        display: inline-block;
                        padding: 0 12px;
                        a {
                            color:var(--light);
                            &:hover {
                              color:var(--heading);  
                            }
                        }
                    }
                }
            }
            &:hover {
                .jws_team_image .team_icon {
                  transform: translatey(0);
                   -webkit-transform: translatey(0);  
                }
            }
        }
    }
    &.layout2{
       .jws_team_inner {
        position:relative;
        overflow: hidden;
         &:hover {
          .team-overlay {
            opacity:1;
          }  
          .team_content_inner {
            opacity:1;
            transform: translatey(0);
            -webkit-transform: translatey(0);
          } 
        }
       } 
       .jws_team_content {
             position: absolute;
             top: 50%;
             left: 0;
             padding: 0 10%;
             width: 100%;
             transform: translateY(-50%);
             -webkit-transform: translateY(-50%);
       }
       .team_content_inner {
            transition: 0.3s all;
            opacity: 0;
            transform: translatey(10px);
            -webkit-transform: translatey(10px);
            will-change: transform;
       }
       .team-overlay {
            background: var(--light);
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            transition: 0.3s all;
            opacity: 0;
       }
       .team_title {
            font-size:20px;
            font-weight: bold;
            margin-bottom: 23px;
            a {
                color:var(--heading);
            }
       }
       .team_job {
        color:var(--body);
        font-size:15px;
        font-weight: 400;
        margin-bottom: 2px;
       }
       .team_icon {
        display: flex;
        -webkit-display: flex;
        li {
            display:inline-block;
            &:not(:last-child) {
                margin-right: 13px;
            }
            a {
                background: var(--heading);
                color: #ffffff;
                font-size: 16px;
                width: 28px;
                height: 28px;
                display: block;
                text-align: center;
                border-radius: 5px;
                line-height: 30px; 
                &:hover {
                  background: var(--main);  
                } 
            }
        }
       
       }
    }

}


@media(max-width:767px) {
    .jws_team.layout1 .jws_team_inner .jws_team_image .team_icon li {
           padding: 0 7px; 
           font-size:12px;
    }
}