
i {
    margin: 0px;
    line-height: normal;
    font-family: 'Arial', sans-serif;
}

.team {
    /*padding: 100px 0 40px;*/
    position: relative;
}

.team-img img {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    overflow: hidden;
    width: 100%;
}

.team-member,
.team-img {
    position: relative;
    overflow: hidden;
}

.team-title {
    margin: 30px 0 7px;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
}

.team-member span {
    font-size: 16px;
    color: #444444;
    font-weight: 400;
    text-transform: capitalize;
}

.overlay-team {
    background-color: rgba(20, 20, 20, .4);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.team-details {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    padding: 5%;
    overflow: hidden;
    width: 100%;
    z-index: 2;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.team-img:hover .team-details {
    opacity: 1;
    margin-top: -80px;
}

.team-img:hover .overlay-team {
    opacity: 1;
}

.team-member:hover h6 {
    color: #002147;
    font-weight: bold;
}

.socials a:hover i {
    color: #fff;
    background: #1F3B71;
}

