/* HEADER */

.header {
  padding-top: 100px;
}
.header img {
  position: relative;
  top: 3.1%;
  margin: auto 10% -6.5% 10%;
  width: 75%;
  text-align: center;
}
.agenda h1,
.ressources h1 {
  display: inline-block;
  vertical-align: middle;
  padding-top: 10px;
  margin-right: 30px;
}

/* AGENDA + ACTUS */

/* AGENDA */

.agenda .filtres{
  margin-top: 0;
  margin-bottom: 20px;
}
.agenda .grid-carrousel li{
   min-width: calc(100% / 3);
}
.agenda .grid-carrousel figure{
   margin-bottom: 0px !important;
}
.agenda .more {
  opacity: 1;
  cursor: pointer;
}

/* ACTUS */

.actus {
  margin-top: -100px;
  padding: 30px 40px 50px 40px;
  background-color: var(--gris-bleu-clair-B);
  z-index: 2;
  height: max-content;
}
.actus li a{
  border-left: 0;
  padding: 0;
  margin-bottom: 0px;
}
.actus li a:hover{
  padding: 0;
}

/* LAYOUT */

#anniversaire{
  margin-left: 0;
}
#anniversaire img{
  width: 70%;
  margin-top: -35%;
  border: 8px solid var(--gris-bleu-clair-A);
}
#anniversaire .block-type-image{
  margin-bottom: 0;
}
#le-mouvement {
  padding-top: 100px;
  padding-bottom: 0;
  overflow: hidden;
}
#le-mouvement .column-4 {
  z-index: 1;
}
#le-mouvement .column-8 .block-type-heading {
  margin-top: -50%;
}
#le-mouvement .column-8 .block-type-heading,
#le-mouvement .column-8 .block-type-bouton {
  margin-left: 10%;
  position: relative;
  z-index: 1;
}
#le-mouvement .block-type-carte-le-mouvement{
  z-index: 0 !important;
  position: relative;
}
#le-mouvement .carte-mouvement {
  overflow: hidden;
}
#le-mouvement .carte-container {
  width: 125vw;
  margin-top: -55%;
  margin-bottom: -20%;
  right: 30vw;
}
#le-mouvement .carte-pin {
  cursor: default;
}

/* RESSOURCES */

.ressources .ressources-filtres {
  padding-bottom: 4%;
}
.grid-ressources li:nth-of-type(1),
.grid-ressources li:nth-of-type(3){
  grid-row: span 2;
}

@media screen and (max-width: 64em) and (min-width: 48em) {
  .header {
    overflow: hidden;
    padding-top: 140px !important;
    padding-bottom: 50px;
  }
  .header img {
    margin-left: -5%;
    width: 125%;
    text-align: center;
  }
  .agenda .filtres {
    display: none;
  }
  .agenda .grid-carrousel li{
     min-width: 100%;
  }
  .agenda figure img {
    min-height: 40vh;
  }
  #anniversaire{
    margin-top: 0!important;
    align-items: center;
  }
  #anniversaire img{
    width: 70%;
    margin: 0;
    border: 0;
  }
  #anniversaire .block-type-image{
    margin-bottom: 0;
  }
  #cest-quoi img{
    width: 40%;
  }
  #le-mouvement {
    padding-top: 10%;
    padding-bottom: 8%;
    overflow: hidden;
  }
  #le-mouvement .carte-container {
    width: 165vw;
    margin-top: -80%;
    right: 60vw;
  }
  #le-mouvement .column-8 .block-type-heading {
    margin-top: -100%;
  }
  #le-mouvement .column-8 .block-type-heading,
  #le-mouvement .column-8 .block-type-bouton {
    margin-left: -20%;
  }
  #le-mouvement .carte-pin p {
    font-size: 1.05vw;
  }
  .grid-ressources li:nth-of-type(5),
  .grid-ressources li:nth-of-type(6){
    display: none;
  }
}

@media screen and (max-width: 48em) {
  .header img {
    position: relative;
    top: -30px;
    margin: 0 auto -120px auto;
    width: 80%;
    text-align: center;
  }
  .header {
    margin-bottom: 80px;
  }
  .filtres .filtre_tags {
    display: none;
  }
  .agenda .grid-carrousel li{
     min-width: 100%;
  }
  .agenda .filtres {
    display: none;
  }
  .actus {
    margin-top: 0;
  }
  #anniversaire img{
    width: 100%;
    margin-top: 0;
    border: 0;
  }
  #anniversaire .block-type-image,
  #anniversaire .block-type-heading,
  #anniversaire .block-type-grid{
    margin-bottom: 0 !important;
  }
  #cest-quoi img{
    width: 70%;
    margin-bottom: 10px;
  }
  #le-mouvement {
    padding-top: 10%;
    padding-bottom: 20%;
    overflow: hidden;
  }
  #le-mouvement .carte-container {
    width: 160vw;
    margin-top: -70%;
    right: 20vw;
  }
  #le-mouvement .carte-pin p {
    font-size: 1.2vw;
  }
}
