.team-members-wrap {
    * {
        text-transform: none;
    }
    a {
        text-decoration: none;
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
    }

    .member-name {
        display: inline-block;
        position: relative;
        z-index: 1;
        font-size: 18px;
        font-weight: 800;
        font-style: normal;
        font-stretch: normal;
        line-height: normal;
        letter-spacing: 0.6px;
        text-align: center;
        color: #222222;
    }
    .member-position {
        font-size: 13px;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: normal;
        letter-spacing: 0.2px;
        color: #999999;
    }
} // end .team-members-wrap

// inline style
.team-members-wrap.inline {
    .btn-wrap{
        padding-bottom: 15px;
        clear: both;
        padding-top: 65px;
    }

    &.yes{
        .team-member {
            padding: 15px;
        }
        .team-member .social{
            bottom: 20px;
        }
    }
    .team-member {
        height: 400px;
        padding: 0;
        .member-wrap{
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            height: 100%;
        }

        .member-info-wrap {
            width: 100%;
            height: 100%;
            position: relative;
            visibility: hidden;
            opacity: 0;
            background-color:rgba(255, 255, 255, 0.9);
            -webkit-transition: all 350ms ease;
            transition: all 350ms ease;
        }
        .member-info {
            position: relative;
            top: 46.7%;
            padding: 0 15px;
            width: 100%;
            text-align: center;
        }
        .member-name::before {
            content: '';
            position: absolute;
            height: 12px;
            width: 100%;
            bottom: -6px;
            left: 0;
            z-index: -1;
            background-color: #ffdd65;
        }
        .member-position {
            margin-top: 5px;
        }
        .social {
            position: absolute;
            bottom: 37px;
            width: 100%;
            text-align: center;
        
            .soc-item {
                padding: 0 13px 0 13px;
            }
            .fa {
                font-size: 18px;
                -webkit-transition: all 350ms ease;
                transition: all 350ms ease;
            }
            .fa:hover {
                color: #f54ea2;
            }
        }
    }
    .team-member:hover .member-info-wrap {
        visibility: visible;
        opacity: 1;
    }
} // inline style

// slider style
.team-members-wrap.slider {
    .content-slide {
        position: relative;
        height: 350px;
        text-align: center;
        border: solid 2px #f6f6f6;
        -webkit-transition: all 350ms ease;
        transition: all 350ms ease;

        .social {
            width: 100%;
            text-align: center;
            margin-top: 33px;
            visibility: hidden;
            opacity: 0;
            -webkit-transition: all 350ms ease;
            transition: all 350ms ease;
        
            .soc-item {
                padding: 0 13px 0 13px;
            }
            .fa {
                font-size: 18px;
                -webkit-transition: all 350ms ease;
                transition: all 350ms ease;
            }
            .fa:hover {
                color: #f54ea2;
            }
        }
        .photo-wrap {
            width: 100%;
            -webkit-transition: all 350ms ease;
            transition: all 350ms ease;

            .member-photo {
                max-width: 145px;
                max-height: 158px;
                margin-top: 12px;
            }
        }
        .member-info {
            position: absolute;
            bottom: 32px;
            width: 100%;
        }
        .member-name {
            font-size: 18px;
            font-weight: 800;
            font-style: normal;
            font-stretch: normal;
            line-height: normal;
            letter-spacing: 0.6px;
            color: #222222;
        }
    }
    .content-slide:hover {
        .social {
            visibility: visible;
            opacity: 1;
        }
        .photo-wrap {
            margin-top: 15px;
        }
    }
    .swiper3-button-prev, .swiper3-button-next {
        position: absolute;
        top: 50%;
        width: auto;
        height: auto;
        color: #000;
        background-image: none;
        margin: 0px;
        padding: 0px;
        font-size: 20px;
        -webkit-transition: all 350ms ease;
        -moz-transition: all 350ms ease;
        -ms-transition: all 350ms ease;
        -o-transition: all 350ms ease;
        transition: all 350ms ease;
        &:hover{
            color: #f54ea2;
        }
    }
    .swiper3-button-prev {
        left: -70px;
    }
    .swiper3-button-next {
        right: -70px;
    }
} // end slider style

// inline text style
.team-members-wrap {
    &.inline_text {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        .info-wrapper {
            width: 30%;
            .title {
                margin-bottom: 60px;
                font-size: 55px;
                font-weight: 800;
                letter-spacing: .2px;
                -ms-word-wrap: break-word;
                word-wrap: break-word;
            }
        }
        .team-list-wrap {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            width: 70%;
            li {
                width: calc(33.33333% - 25px);
                margin-bottom: 50px;
                list-style: none;
            }
        }
        .team-member {
            .s-back-switch {
                position: relative;
                -webkit-background-size: cover;
                background-size: cover;
                background-position: center;
                width: 100%;
                height: 240px;
                &:hover {
                    .social {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
            .social {
                position: absolute;
                right: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                padding: 15px;
                background-color: #ffffff;
                text-align: center;
                opacity: 0;
                visibility: hidden;
                -webkit-transition: opacity .3s ease, visibility .3s ease;
                -o-transition: opacity .3s ease, visibility .3s ease;
                transition: opacity .3s ease, visibility .3s ease;
                a {
                    -webkit-transition: color .3s ease;
                    -o-transition: color .3s ease;
                    transition: color .3s ease;
                    &:not(:last-of-type) {
                        margin-right: 20px;
                    }
                    &:hover {
                        color: #f54ea2;
                    }
                }
            }
        }
        .member-info {
            padding-top: 20px;
            text-align: center;
        }
    }
    &.slider_modern {
        .team-member {
            .s-back-switch {
                position: relative;
                -webkit-background-size: cover;
                background-size: cover;
                background-position: top center;
                width: 100%;
                height: 300px;
                &:hover {
                    .social {
                        -webkit-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08);
                        box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08);
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
            .social {
                position: absolute;
                right: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                padding: 15px;
                background-color: #ffffff;
                text-align: center;
                opacity: 0;
                visibility: hidden;
                -webkit-transition: opacity .3s ease, visibility .3s ease;
                -o-transition: opacity .3s ease, visibility .3s ease;
                transition: opacity .3s ease, visibility .3s ease;
                a {
                    -webkit-transition: color .3s ease;
                    -o-transition: color .3s ease;
                    transition: color .3s ease;
                    &:not(:last-of-type) {
                        margin-right: 20px;
                    }
                    &:hover {
                        color: #f54ea2;
                    }
                }
            }
        }
        .member-info {
            padding-top: 20px;
            text-align: center;
        }
        .swiper3-button-next,
        .swiper3-button-prev {
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            transform: translateY(-50%);
            background-image: none;
            font-size: 20px;
            color: #d1d0d0;
            text-align: center;
        }
        .swiper3-button-prev {
            left: -30px;
        }
        .swiper3-button-next {
            right: -30px;
        }
    }
}

// slider style with full width container
.vc_row-no-padding {
    .team-members-wrap.slider {
        text-align: right;
        
        .swiper3-button-prev, .swiper3-button-next {
            display: inline-block;
            position: relative;
            margin-top: 10px;
        }
        .swiper3-button-prev {
            left: 0px;
            margin-right: 35px;
        }
        .swiper3-button-next {
            right: 15px;
        }
    }
} // end slider style with full width container

@media (min-width: 1300px) and (max-width: 1399px) {
    .team-members-wrap.slider {
        .swiper3-button-prev {
            left: -40px;
        }
        .swiper3-button-next {
            right: -40px;
        }
    }
}

@media (min-width: 1250px) and (max-width: 1299px) {
    .team-members-wrap.slider {
        .swiper3-button-prev {
            left: -35px;
        }
        .swiper3-button-next {
            right: -35px;
        }
    }
}

@media (max-width: 1249px) {
    .team-members-wrap.slider {
        text-align: right;
        
        .swiper3-button-prev, .swiper3-button-next {
            display: inline-block;
            position: relative;
            margin-top: 10px;
        }
        .swiper3-button-prev {
            left: 0px;
            margin-right: 20px;
        }
        .swiper3-button-next {
            right: 0px;
        }
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .team-members-wrap.inline {
        .member-info{
            top: 40%;
        }
        .member-name {
            margin-bottom: 5px;
        }
        .team-member .social {
            position: absolute;
            bottom: 15px;
        }
    } // end team-members-wrap.inline
    .team-members-wrap.inline .btn-wrap{
        padding-top: 45px;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    .team-members-wrap.inline {
        .team-member.col-4 {
            .social {
                position: absolute;
                bottom: 25px;
            
                .soc-item {
                    padding: 0 10px 0 10px;
                }
            }
        }
    } // end team-members-wrap.inline
}

@media only screen and (max-width: 767px){
    .team-members-wrap.inline .btn-wrap{
        padding-top: 30px;
    }
    .team-members-wrap.inline.yes .team-member{
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .team-members-wrap.inline {
        .team-member.col-2,
        .team-member.col-3,
        .team-member.col-4 {
            width: 50%;
        }
    }
    .team-members-wrap.inline.yes .team-member{
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .team-members-wrap.inline.yes .team-member{
        padding-bottom: 15px;
        padding-top: 0;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    .team-members-wrap.inline {
        .team-member.col-4 {
            .member-name {
                margin-bottom: 5px;
            }
            .social {
                position: absolute;
                bottom: 10px;
            
                .soc-item {
                    padding: 0 10px 0 10px;
                }
            }
        }

        .team-member.col-3 {
            .social {
                position: absolute;
                bottom: 20px;
            
                .soc-item {
                    padding: 0 9px 0 9px;
                }
            }
        }
    } // end inline style
}

@media (max-width: 480px) {
    .team-members-wrap.inline {
        .team-member.col-2,
        .team-member.col-3,
        .team-member.col-4 {
            width: 100%;
        }
        .team-member.col-4, .team-member.col-2 {
            .social {
                position: absolute;
                bottom: 18px;
            
                .soc-item {
                    padding: 0 8px 0 8px;
                }
            }
        }

        .team-member.col-3 {
            .social {
                position: absolute;
                bottom: 12px;
                .soc-item {
                    padding: 0 7px 0 7px;
                }
            }
        }

        .team-member.col-2 {
            .social {
                position: absolute;
                bottom: 20px;
            
                .soc-item {
                    padding: 0 8px 0 8px;
                }
            }
        }
    } // end inline style

    .team-members-wrap.slider {
        .content-slide {
            height: 325px;

            .photo-wrap {
                width: 100%;
                -webkit-transition: all 350ms ease;
                transition: all 350ms ease;
    
                .member-photo {
                    max-width: 135px;
                    max-height: 140px;
                    margin-top: 10px;
                }
            }
        }
    } // end slider style
}

@media (max-width: 380px) {
    .team-members-wrap.inline {
        .team-member.col-3 {
            .member-name {
                margin-bottom: 0;
            }
            .social {
                position: absolute;
                bottom: 12px;
            
                .soc-item {
                    padding: 0 7px 0 7px;
                }
            }
        }
    }
}

@media (max-width: 991px) {
    .team-members-wrap {
        &.inline_text {
          -webkit-box-orient: vertical;
          -webkit-box-direction: normal;
          -ms-flex-direction: column;
          flex-direction: column;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          .info-wrapper,
          .team-list-wrap {
            width: 100%;
          }
          .info-wrapper {
            margin-bottom: 60px;
            text-align: center;
              .title {
                  margin-bottom: 40px;
              }
          }
            .team-list-wrap {
              margin-left: 0;
              -webkit-box-pack: center;
              -ms-flex-pack: center;
              justify-content: center;
                li {
                    width: calc(50% - 25px);
                  padding: 0 10px;
                }
            }
        }
        &.slider_modern {
            .team-member {
                .s-back-switch {
                    height: 380px;
                }
            }
        }
    }
}
@media (max-width: 768px) {
    .team-members-wrap {
        &.inline_text {
            .info-wrapper {
                .title {
                    margin-bottom: 30px;
                    font-size: 30px;
                }
            }
            .team-list-wrap {
                li {
                    width: calc(50% - 15px);
                    margin-bottom: 30px;
                }
            }
        }
    }
}
@media (max-width: 480px) {
    .team-members-wrap {
        &.inline_text {
            .team-list-wrap {
                li {
                    width: 100%;
                }
            }
        }
        &.slider_modern {
            .team-member {
                .s-back-switch {
                    height: 350px;
                }
            }
        }
    }
}