/*
 * Ce fichier est destiné à corriger le style.css quand on a pas la main sur les fichiers sources SASS.
 * Remettre ces changements dans les fichiers sources si possible.
 */ 

/* @changelog 2020-10-05 [FIX] (Nico) Ajout de CSS */
.evenement__date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 1.8rem;
    color: var(--color00);
}
  
blockquote::after {
    content: "”";
    position: absolute;
    right: -3rem;
    bottom: 0;
    font-family: georgia, serif;
    font-size: 5em;
    height: 0.4em;
    line-height: 0.9;
    color: #a8a8a8;
}
/**
*@changelog 2021-05-19 [FIX] (Marcel) Ajustement du style dans la page edito
*/
.texte-et-video a {
    height: 100%;
}
.texte-et-video .attachment-full  {
  width: 100%;
  height: 100%;
  object-fit: cover;  
}
.content-flexible  {
    margin: 4rem 0;
}
.partenaires img {
    max-height: 200px;
}
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}
.embed-responsive iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-responsive-16by9::before {
    padding-top: 56.25%;
    display: block;
    content: "";
}
.fullwidth {
    width: 100%;
}
.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-column-gap: 30px;
}
.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    grid-column-gap: 25px;
}
.grid4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 20px;
}
#main .h1-container {
    margin-bottom: 3rem!important;
}
.single-evenement .content-flexible .breadcrumb {
    display: none!important;
}
.single-evenement .content-flexible .breadcrumb {
    display: none!important;
}
.single-projet .langue-en .content-flexible .entete, .single-projet .langue-en .pre-footer {
display: none;
}
@media screen and (max-width: 768px) {
   .grid2, .grid3, .grid4 {
       grid-template-columns: 1fr;
   }
   .grid-item {
       margin-bottom: 30px;
   } 
}


/* @changelog 2020-10-05 [EVO] (Romain) Ajout de CSS - Création de sous-menu */



.main-nav>ul>li>.sub-menu a {
    text-transform: uppercase;
    color: white;
    transition-duration: 0.3s;
}

.main-nav>ul>li>.sub-menu a>span:hover {
    font-weight: bold!important;
    transition-duration: 0.3s;
}

@media (min-width: 1024px) {
    .main-nav>ul>li:hover>.sub-menu {
        border-radius: 0;
        left: 50%;
        top: 85px;
        width: auto;
        display: inline-block;
        white-space: nowrap;
    }
    .main-nav>ul>li:hover>.sub-menu {
        background-color: #25b4b1d9;
    }
    .main-nav>ul>li>.sub-menu>li {
        flex: none;
        margin: 0;
    }
    .main-nav>ul>li {
        position: relative!important;
    }
    .main-nav>ul>li>.sub-menu>li>a {
        border-bottom: 0;
        min-height: 0;
    }
    .main-nav>ul>li:hover>a>span {
        padding-bottom: 65px;
        position: relative;
    }

    .menu-item-has-children:hover::after {
        content: url(/wp-content/themes/WP_mPil/images/fleche_bas.png);
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
    #header {
        min-height: 148px;
    }
    
}

.mm-navbar .accessory-nav ul {
    justify-content: space-between!important;
    padding: 0 20px;
}

/* .mm-sronly {
    top: 30px;
    right: 50px;
    width: 100px!important;
    height: 100px;
    color: white;
    font-weight: bold;
}

#mm-main-nav {
    z-index: 1;
    top: 0;
}

.menu-item-has-children .mm-sronly {
    display: none;
} */

@media (max-width: 1023px) {
    .nav-button {
        position: absolute;
        top: 50px;
        right: 50px;
        z-index: 1000;
        height: 50px;
        width: 50px;
        left: unset;
    }
    header{
        justify-content: center;
    }
    header .identity {
        align-items: center;
    }
    .mm-navbar__title {
        text-align: left;
        font-size: 24px;
    }
    .menu-item-has-children > .mm-btn, .menu-item-has-children #mm-2 {
        background: var(--mm-color-background);
    }
    .menu-item-has-children .mm-listitem {
        padding-left: 40px;
    }
    .menu-item-has-children .mm-listitem::before  {
        content: url(/wp-content/themes/WP_mPil/images/fleche_bas.png);
        position: absolute;
        top: 8px;
        transform: rotate(-90deg)!important;
        left: 25px;
    }
    #mm-main-nav {
        top: 116px;
    }

    .mm-slideout    {
        cursor: pointer;
    }
    header {
        height: 116px!important;
    }
    /* .mm-wrapper_blocking {
        overflow: visible;
    }
    body:not(.mm-is-active) #mm-main-nav {
        display: none;
    }
    .mm-wrapper__blocke {
        display: none;
    } */



    

#main-nav {
    position: absolute;
    top: 0px;
    width: 100vw;
    overflow: hidden;
    color: #fff;
    background-color: #000;
    height: 100vh;
}


#main-nav > ul {
    display: block;
    flex-direction: column;
    /* padding-right: 30px;
    padding-top: 100px; */
    overflow: hidden;

    overflow-y: auto;
    height: calc(100vh - 208px);
    position: absolute;
    padding: 0;
    top: 100px;
    padding-top: 0;
    left: 30px;
}
#main-nav > ul > li {
    padding: 20px 0;
    border-top: 1px solid rgba( 255,255,255, 0.75 );
}
#main-nav > ul > li a {
    text-transform: uppercase;
    font-weight: 600;
    color: rgba( 255,255,255, 0.75 );
    font-size: 1.6rem;
}
#main-nav > ul > li a:hover {
    color: white!important;
}
.menu-item-has-children .sub-menu li {
    border: none;
    padding: 0;
    padding-bottom: 5px;
}
.menu-item-has-children .sub-menu {
    padding: 12px 0 3px 30px;
}
.menu-item-has-children .sub-menu li a {
    text-transform: uppercase;
    font-weight: 600;
    color: rgba( 255,255,255, 0.75 );
    font-size: 1.6rem;
}
.menu-item-has-children .sub-menu li::before  {

    content: url(/wp-content/themes/WP_mPil/images/fleche_bas.png);
    position: absolute;
    top: -4px;
    transform: rotate(-90deg)!important;
    left: -39px;

}

.main-nav:not(.mobile-active) {
    display: none;
}
body:not(.mobile-active) .accessory-nav  {
    display: none;
}
.accessory-nav {
    position: fixed;
    bottom: 0;
    padding-right: 30px;
    width: 100%;
}
.accessory-nav ul {
    justify-content: space-between!important;
}
body.mobile-active .accessory-nav {
    border-top: 1px solid rgba( 255,255,255, 0.75 );
}
body.mobile-active {
    overflow: hidden;
}

.main-nav.mobile-active::before {
    content: "Menu";
    position: absolute;
    top: 50px;
    left: 60px;
    font-size: 2.4rem;
    color: #afa7a9;
    
}
}