/*
 Theme Name:     Thème enfant
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Jérôme Desbordes
 Author URI:     http://www.webmaster-freelance.com/
 Template:       Divi
 Version:        2.1.8
*/
 
 

.galerieProjets ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
     list-style-type:none
}

.galerieProjets ul li{
    margin: 0 7px;
}

.lienHeader{
    color:  white !important;
}



.page-id-92 h2 {
    margin: 60px 15px 0;
    padding: 0;
    font-weight: 300;
}
.page-id-92 h2 span {
    margin-left: 1em;
    color: #aaa;
    font-size: 85%;

}
.page-id-92 .column {
    margin: 15px 15px 0;
    padding: 0;
}
.page-id-92 .column:last-child {
    padding-bottom: 60px;
}
.page-id-92 .column::after {
    content: '';
    clear: both;
    display: block;
}
.page-id-92 .column div {
    position: relative;
    float: left;
    width: 300px;
    height: 200px;
    margin: 0px 10px 40px 10px;
    padding: 0;
}
.page-id-92 .column div:first-child {
    margin-left: 0;
}
.page-id-92 .column div span {
    position: absolute;
    bottom: -20px;
    left: 0;
    z-index: -1;
    display: block;
    width: 300px;
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    opacity: 0;

}
.page-id-92 figure {
    width: 300px;
    height: 200px;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}
.page-id-92 figure:hover+span {
    bottom: -36px;
    opacity: 1;
}



/* Shine */
.hover14 figure {
    position: relative;
}
.hover14 figure::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}
.hover14 figure:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}
@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}


/* Menu */

ul.sub-menu ul.sub-menu{
    width:  500px !important;
}

ul.sub-menu ul.sub-menu li a{
    width:  450px !important;
}

.et-social-linkedin a.icon:before {
    content: "\E09D";
}

/*
SECTION grid3 mobile first
*/
.grid3{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.grid3 .uneCarte{
    width: 95%;
    margin: 5px auto;
    background-position: center center;
    background-size: cover;

}

.uneCarte h2 {
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1.4em;
    width: 75%;
    margin: 115px auto;
    border-radius: 25px;
    background: rgba(255, 255, 255, 1);
    line-height: 1.5em;
    transition: all 0.8s;
}


/* SECTION grid3
medium desktop 1101 -> 1501 porduit unique 3 par ligne
***********************************************************************************/

@media screen and (min-width: 1101px) {
    .grid3{
        display: flex;
    }   
    .grid3 .uneCarte{
        width: 31%;
        margin: 1%;
    }

    .uneCarte h2 {
        text-align: center;
        padding: 15px;
        font-weight: bold;
        font-size: 1em;
        width: 75%;
        margin: 115px auto;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.4);
        line-height: 1.5em;
        transition: all 0.8s;
    }
    .uneCarte h2:hover {
        background: rgba(255, 255, 255, 1);
        transition: all 0.8s;
    }
}