
/*
Theme Name: Lolo Theme
Theme URI: https://testpart.fr/wp-content/themes/lolotheme
Author: Boss
Description: Template WordPress pour le PCOF
Version: 0.0.2
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wdth,wght,YTLC@0,6..12,75..125,200..1000,440..540;1,6..12,75..125,200..1000,440..540&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');



:root {
  --red: #d90815;  /* rouge */
  --bl: white; /* blanc */
  --rose: #f1dedf;      /* rose */
}


body{

  /*font-family: 'Noto-Sans', sans-serif;*/

  font-family: "Noto Sans", sans-serif;
  /*font-optical-sizing: auto;*/
  font-weight: 400;
  font-style: normal;


  margin:0;
}

.download a {
    display: flex;
    align-items: center;
    /* align-content: center; */
    /* flex-wrap: nowrap; */
    /* justify-content: space-between; */
    /* width: 5px; */
}
.abonnez-pcof img {
   
    border-radius: 5px;
}
.abonnez-pcof {
    width: 500px;
    margin: auto;
}
.download img {
    padding-right: 10px;
}

/* debug*/
 /* Style de l'élément contenant le texte */
        #text-container-gen {
            font-family: "Noto Sans", sans-serif;
            font-size: 24px;
            color: #333;
            padding: 20px;
            border: 2px solid #4CAF50; /* Bordure verte */
            border-radius: 10px;
            background-color: #f0f4c3; /* Arrière-plan vert clair */
            width: 400px;
            text-align: center;
            box-shadow: 5px 5px 15px rgba(0,0,0,0.1); /* Ombre légère */
            margin-bottom: 20px;
            line-height: 1.5; /* Espacement des lignes pour la lisibilité */
        }

        /* Style de l'image générée */
        #image-preview-gen {
            max-width: 100%;
            border: 1px solid #ccc;
            border-radius: 5px;
            display: none; /* Initialement caché */
            margin-bottom: 20px;
        }

        /* Style du bouton de téléchargement */
        #download-button-gen, #export-button-gen {
            padding: 10px 20px;
            background-color: #007BFF; /* Bleu */
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            margin-top: 10px;
            display: none; /* Initialement caché */
            transition: background-color 0.3s ease; /* Transition douce */
        }

        #download-button-gen:hover, #export-button-gen:hover {
            background-color: #0056b3; /* Bleu plus foncé au survol */
        }

        #export-button-gen {
            background-color: #4CAF50; /* Vert */
        }

        #export-button:hover {
            background-color: #45a049; /* Vert plus foncé */
        }

        /* Style du champ de texte */
        #text-input-gen {
            width: 400px;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
            margin-bottom: 10px;
        }

        /* Style du conteneur principal pour centrer les éléments */
        .container-gen {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }




.nav-overlay-link {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

img.test {
    width: 180px;
}

.pcof-mobile-link{display: none;}

/*Historique*/
@keyframes shake {
  0%, 100% { transform: rotate(0deg);  }
  25% { transform: rotate(-15deg);  }
  75% { transform: rotate(15deg);  }
}
.item-rond:hover {
  cursor: pointer;
}
.shake {
  animation: shake 0.3s ease-in-out;
}
.dates-histo-widget {
  width: 980px;
  margin: auto;
  padding: 20px;
  border: 3px solid var(--red);
  background: white;
  border-radius: 11px;
}

.item-date-icon {
  background-image: url('./icons/pad2.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 33px;
  width: 62px;
  border-radius: 10px 0 0 10px;
  height: 62px;
}

.item-date-histo-stock {
  visibility: hidden; /* Rend les éléments invisibles mais ils conservent leur espace */
  position: absolute;  /* Important pour ne pas impacter le layout */
  left: -1000px;      /* Les déplace hors de l'écran */
  font-weight: 900;
  font-size: 22px; 
  font-weight: 900;
  font-size: 23px;
  white-space: nowrap;
  padding: 15px;
  color: white;
  background: var(--red);
  border-radius: 0 10px 10px 0;
}

.item-texte-histo-stock{
  display: none;
}

.date-histo-date-block {
  border: 2px solid var(--red);
  border-radius: 12px;
  display: flex;
}
.item-date-histo-display {
    font-weight: 900;
    display: flex;
    font-size: 23px;
    white-space: nowrap;
    text-align: center;
    height: 100%;
    color: white;
    background: var(--red);
    border-radius: 0 10px 10px 0;
    /* text-transform: uppercase; */
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
}
.items-histo {
  width: 1020px;
  display: flex;
  flex-direction: row;
  margin: auto;
  align-items: center;
  height: 100px;
}
.item-date-histo-display-background {
  background: var(--red);
  border-radius: 0 10px 10px 0;
}
.item-texte-histo-display {
  font-weight: 900;
  margin-left: 15px;
 
}
.rond-histo-bar {
  width: 200px;
  display: flex;
  margin: auto;
  justify-content: space-around;
  background-size: 67%;
}
.item-rond {
  width: 16px;
  height: 16px;
  border: 2px solid var(--red);
  border-radius: 20.00px;
  display: flex;
  justify-content: center;
  align-content: center;
}

.item-rond-int {
  width: 13px;
  height: 13px;
  margin: auto;
  border-radius: 10px;
  border: 2px solid white;
  background-color: var(--red);
  opacity: 0;
}

h2.widgettitle {
  text-align: center;
  font-weight: 800;
  margin: 9px;
  color : var(--red)
}
h3.widget-subtitle {
  font-weight: 100;
  text-align: center;
  margin: 9px;
  color : var(--red)
  
}


a.article-date-link {
    color: gray;
}

a {
    text-decoration: none;
   color:var(--red)
}
h2.titre-article-pcof a {
    color: black;
}

ul{
  padding-inline-start:0;
}
.navbar a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}
.wp-block-image img {
  box-sizing: border-box;
  height: auto;
  width: 100%;
  vertical-align: bottom;
}
  .actu{
    color:var(--red)!important;
  }

  h1{

    font-weight: 900;
  }

ul{list-style: none;
}
  .actu {
    background-image: url('./icons/planet.png'); /* your image */
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px; /* Adjust according to image size to push text across. */
    background-size: 20px;
    line-height: 30px;
  }

  .nous{
    display: none;
  }
.qsn {
    background-image: url('./icons/quipcr.png');
    display: flex;
    align-items: center;
    position: absolute;
    left: 50px;
    top: 56px;
    width: 207px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: 34px;
    font-weight: 700;
    padding-left: 44px;
    /* background: left; */
}
  .docu {
    background-image: url('./icons/documentspc.png'); /* your image */
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px; /* Adjust according to image size to push text across. */
    background-size: 15px;
    line-height: 30px;
  }
  .rubr {
    background-image: url('./icons/folderpc.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px;
    background-size: 19px;
    line-height: 27px;
    border-bottom: 2px solid transparent;
    border-top: 2px solid transparent;
} 
  .jour {
    background-image: url('./icons/journalpc.png'); /* your image */
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px; /* Adjust according to image size to push text across. */
    background-size: 20px;
    line-height: 30px;
  }

  .agen {
    background-image: url('./icons/agen.png'); /* your image */
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px; /* Adjust according to image size to push text across. */
    background-size: 17px;
    line-height: 30px;
  }

 .link {
    background-image: url('./icons/linkpc.png');
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px;
    background-size: 20px;
    line-height: 30px;
}
    .contact{
    background-image: url('./icons/contactpc.png'); /* your image */
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 25px; /* Adjust according to image size to push text across. */
    background-size: 17px;
    line-height: 30px;
  }
.lfnjbl  {
  display:none;
}


.lfnj {
    display: block;
    /* position: absolute!important; */
    /* top: -174px; */
    width: 25vw;
    /* text-align: center; */
    /* right: 72px; */
    margin: auto;
}
.nav-overlay{
display: none;
}

nav.navbar {
  background-color: var(--red);
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sous-menu-n1 {
  display: none;
}

ul#menu-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    margin: 0;
    gap: 20px;
}
.post-pcof-details {
  width: 800px;
  margin: auto;
  margin-top: 40px;
  /* margin-bottom: 40px; */
}

.post-pcof-details {
  width: 800px;
  margin: auto;
  margin-top: 40px;
  /* margin-bottom: 40px; */
}

.slogan {
  font-family: 'nunito sans';
  font-weight: 800;
  font-size: 26px;
  width: 814px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
figure.wp-block-image.size-large.laforge {
  margin-bottom: 40px;
}

.journal-abonnement {
  margin-bottom: 10px!important;
}

.pcof-logo img {
    width: 85px;
    height: auto;
}
.content {
  width: 100%;
  margin: auto;
}
.pcof-header {
  display: flex!important;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin-top: 30px;
}
.pcof-titre {
    font-family: 'Nunito Sans';
    font-size: 75px;
    color: var(--red);
    font-weight: 900;
    text-align: center;
    letter-spacing: 10px;
}

.pcof-standard-page {
    width: 800px;
    margin: auto;
    margin-top: 40px;
    /* margin-bottom: 40px; */
}

/**/
.articles-pcof {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 30px;
    width: 1020px;
    margin: auto;
    padding-bottom: 20px;
    padding-top: 30px;
}

.block-article-pcof {
  width: 320px;
  margin-bottom: 5px;
}
h2.titre-article-pcof {
  margin: 0;
  margin-bottom: 10px;
  margin-top: 5px;
  color: black!important;
  font-size: 18px;
  vertical-align: top;
  
line-height: 25px;


}

h1.titre-article-pcof {
  line-height: 18px;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  
}
.block-article-pcof .featured-image img {
  border-radius: 5px;
  width: 100%;
  height: auto;
}

.date-article-pcof {
  color: grey;
  font-weight: bold;
  font-size: 13px;
}


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;
}

.white-block-img {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  /* flex-wrap: nowrap; */
  /* flex-direction: row; */
  width: 100%;
  
}
.red-block-img img {
  box-sizing: border-box;
  width: 160px;
  vertical-align: bottom;
}
.red-block-img {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  /* width: 100%; */
  margin-left: 130px;
}
.newspaper-block .wp-block-group__inner-container.is-layout-constrained.wp-block-group-is-layout-constrained {
  display: flex;
  height: 100%;
}

.wp-block-group.block-lf {
  width: 100%;
  justify-content: flex-end;
  display: flex;
  margin-right: 95px;
}

.wp-block-group.white-block {
  width: calc(50% - (320px / 2));
 
  background: #e0d1cc;
}
.wp-block-group.newspaper-block {
  box-shadow: #b6b0b0 -1px 3px 8px 4px;
  margin-bottom: 31px;
}
.wp-block-group.photo-block {
  width: 320px;

}
.pcof-post-title {
    width: 800px;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 14px;
    text-align: center;
}

.block-pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.block-pagination .page-numbers.current {
  background-color: var(--red);
  color: white;
}
.block-pagination .page-numbers {
  padding: 8px 12px;
  background-color: #f0f0f0;
  /* margin: 0 3px; */
  color: black;
  border-radius: 5px;
}
 .page-numbers:hover ,.wp-block-query-pagination-previous:hover,.wp-block-query-pagination-next:hover{
  background-color: #ddd;
  color: black;
}
span.wp-block-query-pagination-next-arrow.is-arrow-chevron , span.wp-block-query-pagination-previous-arrow.is-arrow-chevron {
  margin: 0;
}
.next.page-numbers, .previous.page-numbers{/*ok*/
  padding: 8px 12px;
  
  margin: 0 4px;
  color: black;
  border-radius: 4px;
}
.block-pagination .page-numbers.current:hover {
  cursor: context-menu;
}


/*Rubriques*/
 .innerRubr {
    width: 80%;
    height: 80%;
    /* padding: 10px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.rubr .item-rubr {
  display: none;
}
.block-menu-rubr {
  width: 670px;
  display: flex;
  /* justify-content: center; */
  margin: auto;
  gap: 20px;
  margin-top: 0;
  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: 150px;
  height: 150px;
  /* height: 150px; */
 /* background: #645b5b;*/
 background: var(--red);
  border-radius: 5px;
  /* gap: 0px; */
  font-weight: 900;
  text-align: center;
  /* vertical-align: middle; */
  border: 1px solid var(--red);
  align-items: center;
  /* height: 39px; */
  justify-content: center;
 
  color: white;
  
}

.content-rubr {
  
  background: #f1dedf;
  padding-top: 20px;
}

h1.rubrtitre {
  color: var(--red);
  font-weight: 900;
  text-align: center;
  font-size: 20px;
  /* background: white; */
  margin: 0;
  margin-bottom: 15px;
}

.div-rubr-display:hover {
  cursor: pointer;
  background: white;
  color: var(--red);
  
}
.results-rbr {
  background : white;
}
.div-rubr-display:hover > a {

  color:var(--red);
}

h1.sub-categorie {
    color: var(--red);
    text-align: center;
    /* height: 64px; */
    padding: 15px;
    margin: 0;
    font-size: 1.5em;
}
.journal-class {
  width: 800px;
  margin: auto;
  margin-top: 40px;
}
.wp-block-group.red-block {

  background: var(--red);
  width: calc(50% - (320px / 2));
}
.wp-block-group.photo-block figure {
  margin: 0;
  
}
.wp-block-group .photo-block img {
  
  width: 320px;
}
.post-pcof-details figure {
  margin-top: 40px;
  /* border-radius: 129px; */
}

figure.wp-block-image.size-large::before{
  border-radius: 5px;
}
figcaption.wp-element-caption{
  border-radius: 5px;
}
:where(.wp-block-columns.is-layout-flex) {
  gap: 20px;
}
.post-pcof-details figure img {
  border-radius: 5px;
}
.wp-block-column {
  flex-basis: content!important;
}

aside.article-sidebar-pcof img {
  border-radius: 5px;
  box-shadow: 2px 3px 6px 0.11px black;
}
.navbar{

  margin-top: 20px;
}

.description {
  text-align: center;
  font-family: 'Nunito Sans';
  font-weight: 900;
  font-size: 25px;
  color: var(--red);
}
img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    border-radius: 5px;
}

.wp-block-separator.has-css-opacity{
  display : none;
}

.wp-block-group__inner-container.is-layout-constrained.wp-block-group-is-layout-constrained{
 position: relative;
}


.wp-block-query.une-class.is-layout-flow.wp-block-query-is-layout-flow {
  height: 970px;
}
p.wp-block-post-excerpt__excerpt {
  font-size: 14px;
}


.histo {
  width: 1020px;
  margin: auto;
}

li.category-actus {
  width: 320px;
  margin-bottom: 5px;
}
.wp-block-post-excerpt {
  height: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-block-post-featured-image {
  margin: 0;
}

h2.wp-block-post-title a {
  margin: 0;
  margin-bottom: 5px;
  margin-top: 10px;
  color: black!important;
  font-size: 15px;
  vertical-align: top;
 
}
.wp-block-group  {
  padding-top: 0!important;
  padding-right: 0!important;
  padding-bottom: 0!important;
  padding-left: 0!important;
}


h2.wp-block-post-title {
    margin: 0;
}

time {
  color: grey;
  font-weight: bold;
  font-size: 13px;
}

/*.wp-block-post-date {
  background: white;
  border-radius: 0 0 4px 0;
  background-image: url('./icons/date.png');
  background-position: left 4px center;
  background-repeat: no-repeat;
  padding-left: 24px;
  background-size: 14px;
  line-height: 24px;
  font-weight: bold;
  font-size: 11px;
  padding-right: 9px;
  
}*/
img.wp-image-245 {
  width: 100%;
}
.wp-block-group.group-sep-actu {
  height: 30px;
  background-image: url('./icons/background.png');
}
.update-pcof {
  color: gray;
  font-weight: 600;
  font-family: "Noto Sans", sans-serif;
  letter-spacing: 0;
  font-size: 16px;
  margin-bottom: 20px;
}
.flex-pcof {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: "Noto Sans", sans-serif;
}
aside.article-sidebar-pcof {
  margin-top: 20px;
  width: 300px;
}

.pcof-thumnail > img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image{
  height: initial;
  margin: auto;
}

.pcof-thumbnail {
  /* margin-left: auto; */
  /* margin-right: auto; */
  /* text-align: center; */
  display: flex;
  justify-content: center;
}

.pcof-thumbnail >.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 800px;
  height: auto;
}

h1.page-title {
  font-size: 15px;
  font-weight: bolder;
  text-align: center;
}


.search-title p.has-text-align-center.a-la-une-sep.une-class {
  padding: 0;
}

.search-title {
  padding: 20px;
}

.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.wp-block-query-pagination .page-numbers.current {
  background-color: var(--red);
  color: white;
}
.wp-block-query-pagination .page-numbers {
  padding: 8px 12px;
  background-color: #f0f0f0;
  /* margin: 0 3px; */
  color: black;
  border-radius: 5px;
}
 .page-numbers:hover ,.wp-block-query-pagination-previous:hover,.wp-block-query-pagination-next:hover{
  background-color: #ddd;
  color: black;
}
span.wp-block-query-pagination-next-arrow.is-arrow-chevron , span.wp-block-query-pagination-previous-arrow.is-arrow-chevron {
  margin: 0;
}


.wp-block-query-pagination-next, .wp-block-query-pagination-previous{
  padding: 8px 12px;
  
  margin: 0 4px;
  color: black;
  border-radius: 4px;
}
.wp-block-query-pagination .page-numbers.current:hover {
  cursor: context-menu;
}

.wp-block-query-pagination-next:hover {
  background: #ddd;
  color: black;
}
.wp-block-query-pagination .page-numbers.dots:hover {
  background-color: #ddd;
  color: black;
  cursor: context-menu;
}



.une-class {
  background: #f7dddf;
  
}


.une-class2 {
  color: var(--red);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 30px;
  margin: 0;
  padding-bottom: 20px;
}

p.has-text-align-center.a-la-une-sep {
  color: var(--red);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 30px;
  margin: 0;
  padding: 20px;
}

.wp-block-post-featured-image {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0px;
}




.search-bar input#searchsubmit {
  display: none;
}

input[type="text"]::placeholder {
  color: #999;
  
  font-weight: 900;
  text-transform: uppercase;
  
}

.search-bar fieldset {
  border: none;
  /* height: 50px; */
  padding: 0;
  margin: 0;
}

html {
  position: absolute;
  width: 100%;
}

.loupe-search {
  background-image: url('./icons/loupe.png');
  background-position: center;
  background-repeat: no-repeat;
  padding-left: 0px;
  background-size: 20px;
  border-radius: 4px 0 0 4px;
  line-height: 40px;
  background-color: var(--red);
  width: 36px;
  height: 35px;
}
.search-bar {
    display: flex;
    align-items: center;
    position: absolute;
    right: 50px;
    top: 50px;
    width: 250px;
    align-content: center;
    flex-wrap: wrap;
}
.form-control:valid {
  background-color: #00FF7F;
}

/*input[type=text] {
  height: 35px;
  width: 200px;
  padding: 12px 15px;
  margin: 8px 0;

  box-sizing: border-box;
  border: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  outline: none;
  background-color: #f7dddf;
  border-radius: 0 4px 4px 0;
  color: var(--red);
  
  font-weight: 900;
  text-transform: uppercase;
}*/
input[type=text]:target , input[type=text]:focus, input[type=text]:focus-visible, input[type=text]:focus-within , input[type=text]:active, input[type=text]:target-within, input[type=text]:hover {
  border: 0px solid var(--red);
  background-color: #f7dddf;
}
input[type=text]:select {
  border: 0px solid var(--red);
  background-color: #f7dddf;
}

#footer-sidebar {
  display:block;
  height: 250px;
  }
  
  #footer-sidebar1 {
  float: left;
  width: 340px;
  margin-left:5px;
  margin-right:5px;
  }
  
  #footer-sidebar2 {
  float: left;
  width: 340px;
  margin-right:5px;
  }
  
  #footer-sidebar3 {
  float: left;
  width: 340px;
  }


