/********************** ARTICLE CSS ***************************/

.article-menu {
  }

.article-section {
    --bg-opacity: 1;
    background-color: rgba(var(--body-bg-rgb),var(--bg-opacity))!important;
    border-radius: .25rem!important;
    padding: 1rem!important;
    margin-bottom: 3rem!important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.article-section__title {
    color: #ffbd00;
    font-family: "Arizonia", cursive;
    font-weight: bold;
    font-size: 2rem;
}
.article-section__title-picto {
    font-size: 25px;
}

.article-section-masonry {
    -webkit-column-count: 2;
    -moz-column-count:2;
    column-count: 2;
    
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
    
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;    
    column-gap: 1.5em;
    
    margin: 1.5em;    
    padding: 0;
    font-size: .85em;

    padding: 1rem!important;
}
.article-section-masonry__item {
    display: inline-block;
    width: 100%;
    
    font-family: 'Alata', sans-serif;
    font-size: 1em;
    
    background: #fff;
    margin: 0 0 1em;
    width: 100%;
    
  -webkit-transition:1s ease all;

    /* border: 2px solid black;
    border-radius: 6px;  */
    overflow: hidden; /* to affect the inner elements with the radius */
}
.article-section-masonry__item-title {
    border: 0px solid blue;
    padding: 10px 10px 14px;
}
.article-section-masonry__item-photo {
    max-width:100%; font-size: 0; height: auto; /* to be sure to don't have a spacing after the img due to the inline block function */ 

    object-fit: cover;    border-radius: 75%;
    /* width: 75%; */
    display: flex;
    margin: auto
}
.article-section-masonry__item-photoSquare {
  max-width:100%; font-size: 0; height: auto; /* to be sure to don't have a spacing after the img due to the inline block function */ 

  object-fit: cover;
  /* border-radius: 75%; */
  /* width: 75%; */
  display: flex;
  margin: auto;
  height: 100%;
}
.article-section-masonry__item-text {
    text-align: justify;text-justify: auto;
}
.article-section-masonry__item-picture {

}

/* Container pour l'affichage de l'item photot + infos de précision sur l'hote */
.article-section-masonry__item-grid {  
    display: grid;
    grid-template-columns: minmax(200px,3fr) minmax(50px,1fr);;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 5% 5%;
    grid-auto-flow: row;
    justify-content: center;
    align-content: center;
    justify-items: stretch;
    align-items: stretch;
    grid-template-areas:
      "photo kpi_one"
      "photo kpi_two"
      "photo kpi_three";
    padding: 15px;
  }
  .article-section-masonry__item-grid .photo {  
    justify-self: center; 
    align-self: center; 
    grid-area: photo; 
  }
  .article-section-masonry__item-grid .kpi_one {
    justify-self: stretch; 
    align-self: stretch; 
    grid-area: kpi_one;
    background-color: #ffffff;
    border-radius: 10px;
    border: 3px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3); 
  }  
  .article-section-masonry__item-grid .kpi_two {
    justify-self: stretch; 
    align-self: stretch;
    grid-area: kpi_two;
    background-color: #ffffff;
    border-radius: 10px;
    border: 3px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3); 
   }
   .article-section-masonry__item-grid .kpi_three {
    justify-self: stretch; 
    align-self: stretch; 
    grid-area: kpi_three;
    background-color: #ffffff;
    border-radius: 10px;
    border: 3px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.3); 
  }  
  .article-section-masonry__item-grid .flex-container {
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: center;
      align-items: center;
      align-content: stretch;
      height: 100%;
    }
    .article-section-masonry__item-grid .flex-container > div > img {
      max-height: 50px;
    } 
    .article-section-masonry__item-grid .flex-container > label {
      font-family: "Poppins",sans-serif;
      font-size: 10px;
      font-weight: 700;
      color: #7b7b93;
      width: 100%;
      padding-top: 5px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      text-align: center;
    } 

/* Welcome here, 
 * you can say hello 
 * or see other projects like this 
 * at quentinrenaux.com
 * and we can speak at    
 * twitter : @quentinrenaux 
 * insta : @quentinrenaux
 */

 @import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');

 /* BASIC CODE  
  * ------------------ */
 /* *, div, p, img {  
     padding: 0;
     margin: 0;
     box-sizing: border-box;
     -moz-box-sizing: border-box;
     -webkit-box-sizing: border-box;
 } */
 
 /* BODY CODE  
  * ------------------ */
 /* body {
     font-family: sans-serif;
     margin: 0;
     background: #ddd;
     } */
 
 /* MASONRY GRID 
  * ------------------ */
 .css-masonry { 

 }
 
 /* ITEM 
  * ------------------ */
 /* .item {
     display: inline-block;
     width: 100%;
     
     font-family: 'Alata', sans-serif;
     font-size: 1em;
     
     background: #fff;
     margin: 0 0 1em;
     width: 100%;
     
   -webkit-transition:1s ease all;
 
     /* border: 2px solid black;
     border-radius: 6px;  */
   /*  overflow: hidden; /* to affect the inner elements with the radius */
 /*}
  */
 .item img{ }
 
 /* .item-number {
     border: 2px solid black;
     border-radius: 50%;
     background: #fff;
     
     
     font-size: 0.8em;
     display: flex; /* flex is for center verticaly and horizontaly the number */
   /*  align-items: center;
     justify-content: center;
     width: 50px;
     height: 50px;
     padding: 0 2px 2px 0; /* I display right and bottom padding because of the font who is not center par default : delete if you change the font */
     
    /* position: absolute;
     margin: 5px;
 } */
 
 .item .title {
     /* border: 0px solid blue;
     padding: 10px 10px 14px; */
 }
 
 /* .french {color: grey; font-size: 0.8em;} */
 
 /* MOBILE */
 @media only screen and (max-width: 480px) {
     .article-section-masonry {
         -moz-column-count: 1;
         -webkit-column-count: 1;
         column-count: 1;
     }
    .article-section-masonry__item-grid {  
        grid-template-columns: minmax(75px,1fr) minmax(75px,1fr) minmax(75px,1fr);
        grid-template-rows: 3fr 1fr;
        grid-template-areas:
        "photo photo photo"
        "kpi_one kpi_two kpi_three";
    }    
 }
 
  /* TABLETTE */
 @media only screen and (min-width: 481px) and (max-width: 768px){
    .article-section-masonry {
         -moz-column-count: 1;
         -webkit-column-count: 1;
         column-count: 1;
     }
 }

   /* TABLETTE LANDSCAPE MINI LAPTOP */
 @media only screen and (min-width: 769px) and (max-width: 1024px){
    .article-section-masonry {
         -moz-column-count: 2;
         -webkit-column-count: 2;
         column-count: 2;
     }
 }

   /* LAPTOP */
 @media only screen and (min-width: 1025px) and (max-width: 1600px){
    .article-section-masonry {
         -moz-column-count: 2;
         -webkit-column-count: 2;
         column-count: 2;
     }
 }

    /* DESKTOP */
    @media only screen and (min-width: 1601px) {
      .article-section-masonry {
           -moz-column-count: 3;
           -webkit-column-count: 3;
           column-count: 3;
       }
   }