:root {
    --red: #d90815;  /* rouge */
    --bl: white; /* blanc */
    --rose: ##f1dedf;      /* rose */
  }


@media (max-width: 1000px) { 

    /* COMPORTEMENT MOBILE*/



.nav-overlay-item.item0, .nav-overlay-item.item1, .nav-overlay-item.item2, .nav-overlay-item.item3, .nav-overlay-item.item4, .nav-overlay-item.item5, .search-bar-mobile-icon {
   
    background-size: 27px;
    background-repeat: no-repeat;
    padding-left: 40px;
    font-size: 4px;
    height: 35px;
    display: flex;
    align-items: center;
    background-position-y: center;
    height: 56px;
}
.search-bar-mobile-icon{
    background-image:url("./icons/loupe-mobile.png");
}

.search-bar-mobile {
    display: flex;
    align-items: center;
    width: 60vw;
    height: 83px;
}
img.test {
    width: 100vw;
    top: 245px;
    position: absolute;
    left: 0;
}

.nav-overlay-col1 {
    width: 176px;
}

.nav-overlay-link {
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
    .nav-overlay-item.item0{
  background-image:url("./icons/folder.png");

}
.nav-overlay-item.item5 {
    background-size: 23px;
}
    .nav-overlay-link:hover {
        color: #f5f5f5;
    }
    
.nav-overlay-item.item5 {
    background-size: 23px;
    margin-left: 2px;
    padding-left: 38px;
}


.nav-overlay-item.item1 {
    background-size: 20px;
    margin-left: 5px;
    padding-left: 35px;
}

.nav-overlay-items {
    list-style: none;
    padding: 0;
    margin: 0;
    /* text-align: left; */
    margin-top: 40px;
    display: flex;
    width: 96vw;
    justify-content: center;
}
.nav-overlay-link {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
    .nav-overlay-item.item1{
  background-image:url("./icons/documents.png");
}
    .nav-overlay-item.item2{
  background-image:url("./icons/journal.png");
}
    .nav-overlay-item.item3{
  background-image:url("./icons/qui.png");
}
    .nav-overlay-item.item4{
  background-image:url("./icons/link.png");
}
    .nav-overlay-item.item5{
  background-image:url("./icons/contact.png");
}
.nav-overlay-items {
    list-style: none;
    padding: 0;
    margin: 0;
    /* text-align: left; */
    margin-top: 30px;
    display: flex;
    width: 96vw;
    justify-content: center;
}


.qsn{display:none;}



.pcof-mobile-link {
    display: block;
    width: 100vw;
    height: 160px;
    text-decoration: none;
    cursor: pointer;
    /* background-image: url("./icons/pcof-mobile.png"); */
    background-image: url("./icons/logo-pcof.png");
    background-repeat: no-repeat;
    background-size: 300px;
    background-position: center;
    background-position-y: center;
}
form#laforge_formulaire {
    width: 95vw;
    margin: auto;
}

.lfnj  {
    display:none;
}
.lfnjbl {
    display: flex;
    position: absolute!important;
    top: 0;
    width: 60vw!important;
    /* text-align: center; */
    /* right: 72px; */
    margin-left: calc((100vw - 60vw) / 2);
    align-items: center;
    height: 160px;
}


.lfnjbl figure {
    margin: 0;
}
.txtabo {
        width: 95vw;
    margin: auto;
    margin-bottom: 29px;
}
.mask {
    background: var(--red);
    width: 100%;
    /* background: #0b0b0bba; */
    height: 160px;
    position: relative;
}

.journal-class {
    width: 100vw;
    margin: auto;
    /* margin-top: 40px; */
    margin-bottom: 20px;
}
.container.open{
    display:none;
}

h3.widget-subtitle {
    font-weight: 300;
  
}


.block-menu-rubr {
    width: 88vw;
    display: flex;
    justify-content: center;
    margin: auto;
    gap: 8vw;
    margin-top: 30px;
    flex-wrap: wrap;
    padding-bottom: 34px;
}
.div-rubr-display {
    transition: all 0.25s ease-in-out;
    display: flex;
    /* flex-direction: row; */
    font-size: 1em;
    width: 130px;
    height: 130px;
    /* height: 150px; */
    /* background: #645b5b; */
    background: var(--red);
    border-radius: 5px;
    /* gap: 5vw; */
    font-weight: 700;
    text-align: center;
    /* vertical-align: middle; */
    border: 1px solid var(--red);
    align-items: center;
    /* height: 39px; */
    justify-content: center;
    color: white;
}
.pcof-post-title h1 {
    font-weight: 700;
    font-size: 18px;
}
.update-pcof {
    color: gray;
    font-weight: 600;
    font-family: noto-sans, sans-serif;
    letter-spacing: 0;
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.pcof-post-title {
    width: 96vw;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 8px;
    text-align: center;
    background: #ffd0d4;
    color: var(--red);
    padding-left: 2vw;
    padding-right: 2vw;
}
.pcof-titre {
  display:none;

  
}

.pcof-logo{
    display:None;
}
    .block-article-pcof {
    width: 95%;
    margin-bottom: 5px;
}

.pcof-logo img {
    width: 59px;
    height: auto;
}
.articles-pcof {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 30px;
    width: 100vw;
    margin: auto;
    padding-bottom: 20px;
    flex-direction: column;
    align-content: center;
    padding-top: 3%;
}
.dates-histo-widget h2 {
    font-size: 21px;
}

.items-histo {
    width: 85vw;
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: center;
    height: 223px;
}


.date-histo-date-block {
    margin-top: 10px;
    border: 2px solid var(--red);
    border-radius: 12px;
    display: flex;
}

.item-texte-histo-display {
    width: 100%!important;
    opacity: 1;
    margin-top: 15px;
    margin-left: 0px;
}

.dates-histo-widget {
    width: 84vw!important;
    margin: auto;
    padding: 20px;
    border: 3px solid var(--red);
    background: white;
    border-radius: 11px;
}

.pcof-thumbnail >.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    width: 97vw;
    height: auto;
}

.post-pcof-details {
    width: 97vw;
    margin: auto;
    margin-top: 20px;
    /* margin-bottom: 40px; */
}

#wpadminbar {
    position: fixed!important;
}



    /*MASQUE MENU*/
    
.nav-overlay {
    position: fixed;
    top: 160px;
    left: 0;
    width: 100%;
    height: calc(100vh - 160px);
    background-color: var(--red);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0s ease, visibility 0.3s ease;
}

    .nav-overlay.open {
        opacity: 1;
        visibility: visible;
    }


img.test {
    width: 100vw;
}


.pcof-header.open {
    background: white;
    z-index: 2;
    position: fixed;
}

h2.titre-article-pcof a {
    color: black;
}

    /*CREATION DU BOUTTON HAMBURGER*/
        
        
    .burger {
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        /*top: 10px;
        right: 10px;*/
    }
    
    /*BOUTTON BURGER*/


.burger2 {
    height: 50px;
    width: 50px;
    margin: auto;
    position: absolute;
    top: calc(160px - 29px);
    right: 3vw;
    /* transform: translateY(-50%); */
    /* background: var(--red); */
    border-radius: 10px;
    z-index: 3;
    border: 4px solid var(--red);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*.burger2 {
    height: 50px;
    width: 50px;
    margin: auto;
    position: absolute;
    top: calc(160px - 29px);
    right: 5vw;
    /* transform: translateY(-50%); 
    /* background: var(--red); 
    border-radius: 10px;
    z-index: 3;
    border: 4px solid var(--red);
    background: white;
}*/
    .burger span {
        width: 100%;
        height: 6px;
        background-color: var(--red)!important;
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: background-color 0.3s ease-in-out;
        border-radius: 5px;
    }
    .burger span::before, .burger span::after {
        content: '';
        position: absolute;
        width: 100%;
        left: 0px;
        height: 6px;
        background-color: var(--red)!important;
        transition: transform 0.3s ease-in-out;
        border-radius: 5px;
    }
    
        .burger span::before{
            transform:translateY(-9px);
        }
        .burger span::after{
            transform: translateY(9px);
        }
    
    
        .burger.active span{
            background-color: transparent!important;
    
        }
    
        .burger.active span::before{
            transform: translateY(0px) rotateZ(225deg);
            
    
        }
        .burger.active span::after{
    
            transform: translateY(0px) rotateZ(-225deg);
    
    
        }
    
    
        .horiz {
        position: absolute;
        width: 12px;
        height: 4px;
        background-color: var(--red);
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        transition: background-color 0.3s ease-in-out;
    }
    
        .vertic{
            top:10px;
            left: 6px;
            position: absolute;
            width:12px;
            height:4px;
            background-color: var(--red);
            transform:rotateZ(90deg);
    
            transition: transform 0.3s ease-in-out;
    
        }
    
    .plus {
        height: 24px;
        width: 24px;
        float: right;
        background-color: var(--red) !important;
        z-index: 10;
        position: relative;
        border-radius: 2.5px;
    }
    
        .mod-menu__sub.active{
            display:block!important;
            position: static;
            background-color:blue;
            color:var(--red)!important;
            border: none;
            box-shadow: 0px 0px black;
            width: 100%;
            line-height: 40px;
            margin-top: 10px;	
            margin-left: 20px;
            text-indent: 0px;
        }
    .date-article-pcof {
    color: grey;
    font-weight: bold;
    font-size: 17px;
}
        .vertic.active{
            transform: rotateZ(360deg);
        }
    .divider.deeper.parent {
        /* background: var; */
        /* border: 1px solid; */
        border-radius: 20px;
        margin: 0;
    }
img.search-icon {
    width: 12px;
    text-align: center;
    display: flex;
    align-content: center;
    /* align-items: center; */
    /* justify-content: center; */
    /* position: relative; */
    /* top: 0; */
    border: none;
}


/* Conteneur pour le champ de recherche et l'icône */
.search-form label {
    position: relative; /* Permet le positionnement absolu de l'enfant */
    display: block; /* S'assure que le label prend toute la largeur nécessaire */
    width: 100%; /* Adaptez à la largeur souhaitée pour votre formulaire */
}

/* Le champ de texte de recherche */
.search-form .search-field {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 10px;
    height: 40px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Noto Sans';
    
}

/* Le bouton/icône de recherche */
.search-form .search-icon-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 20px;
}

/* L'image de l'icône */
.search-form .search-icon-button .search-icon {
    width: 16px;
    height: 20px;
    display: block;
}




.pcof-standard-page {
    width: 95vw;}
    
#s {
    border: none;
    border-radius: 5px;
    height: 30px;
    width: 45vw;
}
    .navbar{
        display:none!important;
    }
    .search-bar{
        display:none!important;
    }

   .search-bar-mobile-icon{
    background-image:urel("./icons/loupe-mobile.png");

   }
    .newspaper-block{display: none!important;}
        
    
    ul.wp-block-post-template.is-layout-flow.wp-block-post-template-is-layout-flow {
        display: flex;
        flex-wrap: wrap;
        gap: 30px 30px;
        width: 1020px;
        margin: auto;
        padding-bottom: 20px;
        flex-direction: column;
        align-content: center;
    }

    .description {
display: none;
    }
    
 
 
    
    
         li.category-actus {
            width: calc(100vw - 20px);
           
        }

        .wp-block-query.une-class.is-layout-flow.wp-block-query-is-layout-flow {
            height: inherit;
        }
.slogan {
    width: 90vw;
    font-family: 'nunito sans';
    font-weight: 700;
    font-size: 20px;
    padding-left: 5vw;
    padding-right: 5vw;
    text-align: center;
    margin-top: inherit;
    display: flex;
    margin-bottom: inherit;
    
    height: 160px;
    align-items: center;
    background: var(--red);
    color: white;
}

h2.titre-article-pcof a {
    font-size: 18px; 
    line-height: 25px;
      -webkit-text-size-adjust: 100%;
}

.date-article-pcof {
	color: grey;
	font-weight: bold;
	font-size: 16px;
}

.burger {display: block;}
   
     


      
.pcof-header {
    /* display: flex; */
    /* height: 100px; */
    /* margin-top: inherit; */
    /* flex-direction: row; */
    margin-top:0px;
    height: 160px;
    z-index:1;
    /* width: 100vw; */
    /* flex-wrap: nowrap; */
    /* justify-content: center; */
  
}
.slogan.open{visibility:hidden;
}

    h2.titre-article-pcof a {
    font-size: 4vw;
    line-height: 25px;
      font-optical-sizing: none;

}
.abonnez-pcof {
    max-width: 60vw;
    margin: auto;
    margin-top: 20px;
}


.slogan{visibility: visible; transition: visibility 0.1s ease-in-out;}

        }
 @media (max-width: 400px){

    h2.titre-article-pcof a {
    font-size: 1.5em;
    line-height: 25px;
      font-optical-sizing: none;

}
    .pcof-mobile-link {
   
    background-size: 270px;
   
}
.slogan {
   
    font-size: 20px;



}
 }
        @media (max-width: 360px){
            .date-article-pcof {
   
    font-size: 14px;
}
h2.titre-article-pcof {
    margin: 0;
    margin-bottom: 2px;
    margin-top: 5px;
    color: black!important;
    font-size: 16px;
    vertical-align: top;
    line-height: 22px;
}

            .pcof-mobile-link {
    display: block;
    width: 100vw;
    height: 160px;
    text-decoration: none;
    cursor: pointer;
    /* background-image: url("./icons/pcof-mobile.png"); */
    background-image: url("./icons/logo-pcof.png");
    background-repeat: no-repeat;
    background-size: 240px;
    background-position: center;
    background-position-y: center;
}
h2.titre-article-pcof a {
    font-size: 16px;
    line-height: 23px;
}
    .nav-overlay-link {
    color: white;
    font-size: 16px ;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    width: 100px;
}

.nav-overlay-col1 {
    width: 171px;
}

.slogan {
    font-size: 18px;
    height: 160px;
}

.nav-overlay-items {

    margin-top: 50px;
    
}

.burger2 {
    height: 45px;
    width: 45px;
   
}

.burger span::before, .burger span::after {
    
    height: 5.5px;
    
}
.burger  {
    
    height: 5.5px;
    
}
}