/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.team-slide-item{
    padding: 0;
}


.team-slide-link {
    border-radius: 7px 7px 20px 7px; 
    background-color: #DDE8F8;
    padding: 8px 10px 16px 10px;
    display: block;
    border: none;
    flex-direction: column;
}

.team-slide-image {
    border-radius: 7px 7px 20px 7px; 
    padding-top: 14px;
    position: relative;
    overflow: hidden;
    background: rgb(0,98,171);
    background: linear-gradient(139deg, rgba(0,98,171,1) 0%, rgba(5,181,200,1) 100%);
    margin-bottom: 11px;
    z-index: 1;
}

.team-slide-image:after {
    content: "";
    position: absolute;
    width: 179px;
    height: 181px;
    border-radius: 50%;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    z-index: -1;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    opacity: 0.08;
}

.team-slide-image img {
    width: 98%;
    position: relative;
    right: -2%;
    height: auto;
}

.js-team-slider .slick-slide {
    margin: 0 10px;
}

.js-team-slider {
    margin: 0 -22px;
    width: calc(100% + 44px);
    padding-bottom: 60px;
}

.team-slide-content h3 {
    font-size: 16px;
    color: #28303C;
    font-weight: 400;
    text-align: center;
}

.team-slide-content {
    padding: 0 15px;
}

.team-slide-content button {
    font-size: 14px;
    color: #0062AB;
    font-weight: 700;
    text-align: center;
    display: block;
    background: transparent;
    padding: 0 20px 0 0;
    margin: 5px auto 0;
    position: relative;
    border: none;
}

.team-slide-content button:before {
    content: "\e91b";
    font-family: 'central-florida-vein';
    font-weight: normal;
    color: #05B5C8;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    font-size: 12px;
    line-height: 1.5em;
}

.team-heading {
    padding-bottom: 8px;
}



@media(min-width: 768px) {

    .team-slide-link{
        flex-direction: column;
    }

    .js-team-slider {
        display: flex;
        margin: 0 -15px;
        width: calc(100% + 30px);
        flex-wrap: wrap;
        padding-bottom: 0;
    }

    .team .js-team-slider .fx-slide{
        display: block;
    }

    .team-slide-item {
        margin: 0 15px 26px;
        width: calc(50% - 30px);
        padding: 0;
    }

    .team-slide-image {
        width: 195px;
        height: 133px;
        margin: 0;
        display: block;        
    }

    .team-slide-image img {
        width: 100%;
        position: relative;
        right: 0;
        height: 100%;
    }

    .team-slide-link {
        display: flex;
        padding: 9px 10px 7px 10px;
        justify-content: space-between;
        flex-direction: row;
    }

    

    .team-slide-content {
        width: 100%;
        padding-top: 10px;
    }

    .team-slide-content h3 {
        font-size: 17px;
        text-align: left;
    }

    .team-slide-content button {
        font-size: 16px;
        margin: 0;

    }

    .team-slide-content h3 span {
        display: inline-block;
    }

    .team-btn {
        text-align: center;
    }
}

@media(min-width: 1200px) {
    .team-slide-item {
        margin: 0 16px 89px;
        width: calc(25% - 32px);
    }

    .js-team-slider {
        margin: 0 -16px;
        width: calc(100% + 32px);
    }

    .team-slide-link {
        display: block;
        padding: 0;
        position: relative;
        flex-direction: column;
    }

    .team-slide-image {
        width: 100%;
        padding-top: 20px;
        transition: all ease 0.3s;
        height: 100%;
    }

    .team-slide-image img {
        width: 100%;
        right: 0%;
    }

    .team-slide-content {
        width: calc(100% - 124px);
        position: absolute;
        left: 19px;
        bottom: -43px;
        z-index: 1;
        background: #DDE8F8;
        padding: 17px 21px;
        width: calc(100% - 31px);
        border-radius: 7px 7px 20px 7px;
        transition: all ease 0.3s;
    }

    .team-slide-content h3 {
        font-size: 20px;
        text-align: center;
    }

    .team-slide-content button {
        font-size: 16px;
        margin: 0;
        background: #0062AB;
        color: #fff;
        padding: 8px 38px 8px 30px;
        border-radius: 7px;
        margin: 10px auto -50px;
        transition: all ease 0.3s;
        opacity: 0;
    }

    .team-slide-link:hover .team-slide-content button {
        margin: 10px auto -32px;
        opacity: 1;
    }
    
    .team-slide-link:hover .team-slide-content {
        background-color: #fff;
        box-shadow: 0 3px 10px rgba(0,0,0,0.16);
    }

    .team-slide-content button:before {
        right: 21px;
    }

    .team-slide-image:after {
        width: 251px;
        height: 255px;
    }

    .team-slide-link:hover .team-slide-image {
        background: rgb(0,98,171);
        background: linear-gradient(139deg, rgba(0,98,171,1) 0%, rgba(0,98,171,1) 100%);
    }
}