.teamleader{
    position: relative;
    background: url(../images/bg-team.png) top center fixed;
    background-size: cover;
}

.department-description{
    color: #fff;
}

.department-description h2{
    font-size: 25px;
    margin: 10px 0;
}

.leadership-team .nav li a {
    padding: 10px 20px;
    margin: 0 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    text-transform: uppercase;
    color: #333;
    font-size: 14px;
}

.leadership-team .nav li.active a {
    border-color: #063187;
    background-color: #063187;
    color: #fff;
}

.tab-content{
    padding-top: 40px;
}

.team-item {
    position: relative;
    width: 50%;
    float: left;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.team-item.boots{
    width: 100%;
    display: block;
    text-align: center;
}

.team-item .team-item-image img{
    max-width: 220px;
    margin-right: 20px;
}

.team-item.boots .team-item-image img{
    max-width: 300px;
    margin: 0;
}

.team-item .team-item-info{
    color: #fff;
    margin-top: 5px;
    text-transform: uppercase;
}

.team-item .team-item-info h3{
    font-size: 18px;
}

.team-item.boots .team-item-info h3{
    font-size: 22px;
}

.team-item:nth-child(2n+1){
    padding-left: 20px;
}

.team-item:nth-child(2n+2){
    text-align: right;
    padding-right: 20px;
    flex-direction: row-reverse;
}

.team-item:nth-child(2n+2) .team-item-image img{
    margin-right: 0;
    margin-left: 20px;
}

.members-detail{
    display: flex;
    align-items: center;
}

.members-detail .members-detail-logo img{
    margin-right: 30px;
    max-width: 300px;
}

.members-detail h2{
    margin: 0;
}

.members-detail .position,
.members-detail .level{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
}

.members-detail .description{
    margin-top: 10px;
}

@media (max-width: 767.98px) {

    .team-item{
        display: block;
    }

    .team-item:nth-child(2n+2){
        padding-right: 10px;
    }

    .team-item:nth-child(2n+1){
        padding-left: 10px;
    }

    .team-item .team-item-info{
        text-align: center;
    }

    .team-item .team-item-info h3{
        font-size: 15px;
    }

    .team-item .team-item-info p{
        font-size: 13px;
        text-transform: none;
    }

    .team-item.boots .team-item-image img{
        max-width: 200px;
    }

    .team-item.boots .team-item-info h3{
        font-size: 18px;
    }

    .team-item.boots .team-item-info p{
        font-size: 14px;
    }

    .team-item .team-item-image img{
        max-width: 150px;
        margin: 0!important;;
    }

    .members-detail{
        display: block;
    }

    #sitemodal .modal-content{
        min-width: auto;
    }
}



