/* css genéral */

body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;     
    background-color: transparent;
}

/* DEBUT: Menu horizontal */

.header {
    overflow: hidden;
    background-color: #f1f1f1;
    font-size:1em;
    padding: 10px 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header a {
    float: left;
    color: black;
    text-align: center;
    margin: 0 10px 0 0;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    line-height: 25px;
    border-radius: 4px;
  }  

  .header a.logo {
    background-image: url("../images/logoStatsNoplp.png") !important;
  }

  .header a:hover {
    background-color: #ddd;
    color: black;
  }

  .header a.active {
    background-color: #3e9175;
    color: white;
  }

  .header-right {
    float:unset
  }
/* FIN: Menu horizontal */


/* DEBUT : Liste des chiffres clés de l'émission */
list{  
    /* display: flex; */
    align-items: center;
    justify-content: center;

}
/* box-shadow */
ol.gradient-list > li::before, ol.gradient-list > li {
    box-shadow: 0.25rem 0.25rem 0.6rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.125rem rgba(75, 0, 0, 0.05);
  }
  ol.gradient-list {
    counter-reset: gradient-counter;
    list-style: none;
    margin: auto;
    width: 50%;
    padding-left: 10px;
  }
  ol.gradient-list > li {
    background: white;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    counter-increment: gradient-counter;
    margin-top: 1rem;
    min-height: 3rem;
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
  }
  
  ol.gradient-list > li::before, ol.gradient-list > li::after {
    background: #3e9175;
    border-radius: 1rem 1rem 0 1rem;
    content: "";
    height: 3rem;
    left: -1rem;
    overflow: hidden;
    position: absolute;
    top: -1rem;
    width: 3rem;
  }
  ol.gradient-list > li::before {
    align-items: flex-end;
    content: counter(gradient-counter);
    color: #fff7f2;
    display: flex;
    font: 900 1.8em/1 "Montserrat";
    justify-content: flex-end;
    padding: 0.125em 0.25em;
    z-index: 1;
  }

  ol.gradient-list > li + li {
    margin-top: 2rem;
  }
/* FIN : Liste des chiffres clés de l'émission */

/* DEBUT: Accordeon */

.accordion-bral {
    min-height: 0;
    min-width: 220px;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    margin: 0px!important;
  }
  .accordion-bral .ac-label {
    font-family: Arial, sans-serif;
    padding: 5px 20px;
    position: relative;
    display: block;
    height: auto;
    cursor: pointer;
    color: #777;
    line-height: 33px;
    font-size: 19px;
    background: #EFEFEF;
    border: 1px solid #CCC;
  }
  .accordion-bral .ac-label:hover {
    background: #BBB;
  }
  .accordion-bral input + .ac-label  {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .accordion-bral input:checked + .ac-label,
  .accordion-bral input:checked + .ac-label:active {
    background-color: rgba(79, 79, 79, 0.5) !important;
    color: #FFF;
    box-shadow: 0px 0px 0px 1px rgba(155, 155, 155, 0.3), 0px 2px 2px rgba(0, 0, 0, 0.1);
  }
  .accordion-bral input.ac-input {
    display: none;
  }
  .accordion-bral .article {
    background: rgb(255, 255, 255);
    overflow: hidden;
    height: 0px;
    max-height: auto;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .accordion-bral .article p {
    color: #777;
    line-height: 23px;
    font-size: 14px;
    padding: 20px;
  }
  .accordion-bral input:checked ~ .article i {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  .accordion-bral input:checked ~ .article.ac-content {
    height: auto;
  }
  
  .accordion-bral i {
    position: absolute;
    transform: translate(-30px, 0);
    margin-top: 16px;
    right: 0;
  }
  .accordion-bral input:checked ~ .ac-label i:before {
    transform: translate(2px, 0) rotate(-45deg);
  }
  .accordion-bral input:checked ~ .ac-label i:after {
    transform: translate(-2px, 0) rotate(45deg);
  }
  .accordion-bral i:before, .accordion-bral i:after {
    content: "";
    position: absolute;
    background-color: #808080;
    width: 3px;
    height: 9px;
  }
  .accordion-bral i:before {
    transform: translate(-2px, 0) rotate(-45deg);
  }
  .accordion-bral i:after {
    transform: translate(2px, 0) rotate(45deg);
  }


/* FIN: Accordeon */

/* DEBUT : sections poiur Facebook et Twitter */


.items{ 
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 30px 20px;
  grid-column-gap: 20px;
  grid-row-gap: 30px;
  }
  
  .item img{
  width: 100%;
  cursor: pointer;
  height: 100px;
  object-fit:scale-down;
  transition:0.2s ease;
  }
  
  .item img:hover{
  transform: scale(1.7);
  }
  
  .item h4{
      padding: 5px;
      text-align: center;
      background-color: green;
      color:blanchedalmond;
  }
  .item div{
      background-color: aliceblue;
      color: blue;
      margin-bottom: 20px;
  }
  .item button{
      border: none;
      outline:none;
      background-color: green;
      color: white;
      font-size: 20px;
      padding: 5px 30px;
      border-radius: 4px;
      cursor: pointer;
      margin: 0 auto;
      display: block;
      transition: 0.2s all;
  }
  .item button:hover{
      transform: scale(1.08);
  }

/* FIN : sections poiur Facebook et Twitter */



/* DEBUT : Tableau */
table {
    border-spacing: 1;
    border-collapse: collapse;
    overflow: hidden;
    width: 100%; 
    margin: 10px auto;
    position: relative;
  }
  table * {
    position: relative;
    left:0;
    top:0;
  }

  .caption {
    background-color: indianred;
    color:white;
    border-radius: 6px;
  }

  table td, table th {
    padding-left: 8px;
    font-weight: lighter;
  }
  table thead tr {
    height: 20px;
    background: #3e9175;
    font-size: 1em;
    color:#f1f1f1;
  }
  table tbody tr {
    /* height: 48px; */
    border-bottom: 1px solid #E3F1D5;
  }
  table tbody tr:last-child {
    border: 0;
  }
  table td, table th {
    text-align: left;
  }
  table td.l, table th.l {
    text-align: right;
  }
  table td.c, table th.c {
    text-align: center;
  }
  table td.r, table th.r {
    text-align: center;
  }


/* FIN : Tableau */

/* pour la partie Responsive */

@media screen and (max-width: 500px) {

    /* menu responsive */
    .header a {
      float: none;
      display: block;
      text-align: left;
    }
    .header-right {
      float: none;
    }
/* accordeon responsive */

  .accordion-bral .ac-label {
  font-family: Arial, sans-serif;
  padding: 5px 20px;
  position: relative;
  display: block;
  height: auto;
  padding-right: 40px;
  cursor: pointer;
  color: #777;
  line-height: 33px;
  font-size: 19px;
  background: white;
  border: 1px solid #CCC;
}
  .accordion-bral i {
  position: absolute;
  transform: translate(-30px, 0);
  margin-top: 2%;
  right: 0;
}

/* pour boutton twitter et fb */
.items{
  grid-template-columns: repeat(1,1fr);
}
  }
