:root{
    --highlight-color: #fecf00;
    
}






.team.grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5em;
    text-align: center;
    margin: 40px auto;
}

.team.grid .item{
    position: relative;
}



.team.grid .item .avatar{
    width: 100%; height: 320px;

    display: block;
    background-size: cover!important;
    background-position: center!important;
    position: relative;
    margin: 0 auto 20px auto;
    filter: grayscale(100%);
}

.team.grid .item .avatar .mask{
    position: absolute; top: 0; left: 0;
    width: 100%; height: 0%;
    background: rgba(0,0,0,0.5);
    transition-duration: 0.25s;
}

.team.grid .item .avatar:hover .mask{
    height: 100%;
}

.team.grid .item .avatar .widget{
    position: absolute;
    bottom: 0px; right: 00px;
    width: 30px; height: 30px;
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
    border: 1px solid white;
    border-radius: 50%;
    opacity: 0;
    transition-duration: 0.25s;

}

.team.grid .item .avatar:hover .widget{
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
    opacity: 1;
}

.team.grid .item .avatar .widget::after{
    content: "";
    position: absolute;
    top: 50%; left: 50%; 
    transform: translateX(-50%) translateY(-50%);
    width: 15px;
    height: 1px;
    background: white;
}

.team.grid .item .avatar .widget::before{
    content: "";
    position: absolute;
    top: 50%; left: 50%; 
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
    width: 15px;
    height: 1px;
    background: white;
}

.team.grid .item .text{
    display: block;
    width: 100%;
    margin: 35px auto;
    text-align: left;
}

.team.grid .item .text a{margin-left: 10px;}

.team.grid .item h3{
    color: var(--highlight-color);
    margin-bottom: 5px;
    font-size: 1.2em;
    position: relative;
}

.team.grid .item h3::before{
    content: "";
    position: absolute; 
    top: -9px; left: 0;
    width: 15px;
    border-top: solid 1px var(--highlight-color);
}




.team.grid .item h3::before{
    content: "";
    position: absolute; 
    top: -9px; left: 0;
    width: 15px;
    border-top: solid 1px var(--highlight-color);
}


#team_wrapper{
    margin: 40px auto;
    width: calc(50%);
    text-align: center;
}

#team_wrapper h2{
    font-size: 36px;
    position: relative;
    display: inline-block;
    width: calc(100% - 80px);
    margin: 0 auto 40px auto;
    text-transform: initial!important;
    transform: skew(-5deg);
}

#team_wrapper strong{display: block; margin-bottom: 10px;}
.webwrapper.equipe{min-height: 450px;}
.webwrapper.equipe h1{margin-bottom: 0; position: relative; display: block;}
.webwrapper.equipe h4{margin-bottom: 2em; font-size: 16px; padding: 0; color: #999;}

.webwrapper.equipe p{line-height: 1.5em; font-size: 18px; margin-bottom: 2.5em;}

.webwrapper.equipe .side_img{
    float: right;
    width: 450px; margin: 0 0 20px 20px;
    display: block;
    position: relative;
}



ul.social{
    padding: 0; margin: 0; text-indent: 0;
}

ul.social li{
    padding: 0; list-style: none;
}

ul.social li.facebook{background: url(images/buttons/button-facebook-white.svg) no-repeat; background-size: 20px 20px; background-position: center left;}
ul.social li.twitter{background: url(images/buttons/button-twitter-white.svg) no-repeat; background-size: 20px 20px; background-position: center left;}
ul.social li.linkedin{background: url(images/buttons/button-linkedin-white.svg) no-repeat; background-size: 16px 16px; background-position: center left;}
ul.social li.pinterest{background: url(images/buttons/button-pinterest-white.svg) no-repeat; background-size: 20px 20px; background-position: center left;}
ul.social li.instagram{background: url(images/buttons/button-instagram-white.svg) no-repeat; background-size: 20px 20px; background-position: center left;}
ul.social li.email{background: url(images/buttons/button-email-white.svg) no-repeat; background-size: 16px 16px; background-position: center left;}

ul.social li a{color: var(--highlight-color); text-decoration: none; display: inline-block; padding: 10px 0 10px 30px; position: relative;}
ul.social li a::after{
    content: "";
    position: absolute;
    bottom: 7px;
    left: 30px;
    width: 0;
    border-top: 1px solid var(--highlight-color);
    transition-duration: 0.25s;
}

ul.social li:hover a::after{
    width: calc(100% - 30px);
}

.equipe_list{
    margin: 80px auto;
    padding: 80px 0;
    border-top: 1px solid #999;
}

.equipe_list > h2{
 position: relative;
}

.equipe_list > h2::after{
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    width: 15px;
    border-top: solid 1px var(--highlight-color);
}

@media(max-width: 1240px){
    .webwrapper.equipe .side_img{width: 350px;}
    .team.grid{grid-template-columns: 1fr 1fr;}
}

@media(max-width: 840px){
    .webwrapper.equipe .side_img{width: 250px;}
    .webwrapper.equipe h1{font-size: 36px; margin-bottom: 1em; padding-top: 20px;}
    .webwrapper.equipe h1::before{ top: 5px;}

    .deck_padding{padding: 80px 0;}
}

@media(max-width: 740px){
    .team.grid{grid-template-columns: 1fr;}
}

@media(max-width: 540px){
    .webwrapper.equipe .side_img{width: 100%; margin: 0 0 20px 0; float: initial;}
    .webwrapper.equipe p{font-size: 15px; }
}
