:root {
  /* Official colors - style guide */
  --afp-blue: #325aff;
  --afp-black: #000;
  --afp-white: #fff;
  
  /* sub main colors */
  --afp-pink: #FF6E6E;
  --afp-yellow: #FFD22
  --afp-orange: #FFA050;
  --afp-turquoise: #7DFAAF;
  --afp-purple: #CD73FA;
  --afp-light-blue: #87EBFA;
  --afp-darker-white: #F5F5F7;
  
  /* secondary colors */
  --afp-secondary-grey-100: #9B9187;
  --afp-secondary-grey-80: #AFA79F;
  --afp-secondary-grey-60: #C3BDB7;
  --afp-secondary-grey-40: #D7D3CF;
  --afp-secondary-grey-20: #EBE9E7;
  --afp-secondary-grey-10: #F5F4F3;
  
  
  /* Additional colors - custom */
  --afp-light-green: #7DFAAF;
  --afp-darker-green: #65ce8f;
  --afp-lighter-bleu: #E8F8EB;
  --afp-darker-orange: #e06f12;
  --afp-darker-pink: #d96e6e;
  --afp-blue-darker: #2544bf;
  --extremely-light-gray: rgba(0, 0, 0, 0.1);
  }
  
/* BASE CSS */
html {
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html, body {
  height: 100%;
}
body {
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none !important;
}
#main-container {
  margin: auto;
  width: 100%;
}

/* landing container */
#landing-container {
  background: black url("/communication/products/afp-archives/afp-archives-mlk.jpg") no-repeat;
  background-size: 130%;
}
.black-filter {
  background-color: rgba(0, 0, 0, 0.5);
}
.logo {
  padding: 20px;
}
.logo img{
  height: 50px;
  position: relative;
}

.flex-landing {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  width: 90%;
  max-width: 1280px;
  margin: auto;
  flex-direction: row;
}
.landing-text {
  align-self: center;
  color: var(--afp-white);
  position: relative;
  width: 45%;
}
.h1-landing {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;

}
.para-landing {
  font-size: 3rem;
}
.button-like {
  padding: 10px 20px;
  color: var(--afp-white);
  border-radius: 30px;
  width: fit-content;
  width: -moz-fit-content;
  font-size: 1.8rem;
  margin: auto;
  font-weight: 700;
}

@media screen and (max-width: 1200px) {
  .flex-landing {
      flex-direction: column;
  }
  .h1-landing {
      font-size: 4rem;
  }f
  .para-landing {
      font-size: 2rem;
  }
  .landing-text {
    width: 100%;
  }
  .button-like {
    font-size: 1.2rem;
    border-radius: 20px;
  }
  .landing-form {
    width: 100%;
    position: initial;
  }
}

/* section 1 */
#section-1 {
  padding: 3rem 0;
  margin-bottom: 4rem;
}
.flex-b1 {
  width: 90%;
  max-width: 1280px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.flex-b1 div {
  flex: 1 1 0px;
}
.b1-video {
  align-self: self-start;
  width: 95%;
}
.text-b1 {
  font-size: 20px;
  display: flex;
  flex-direction: column;
}
.bold {
  font-weight: bold;
}
.button-b1 {
  background-color: var(--afp-darker-pink);
  padding: 10px 20px;
  border-radius: 25px;
  width: fit-content;
  width: -moz-fit-content;
  color: white;
  align-self: center;
}
@media screen and (max-width: 1200px) {
  .flex-b1 {
      flex-direction: column;
  }
}

/* Slider 2 */

#section-2 {
  display: none;
  padding: 3rem 0;
  background-color: rgba(1, 0, 1, 0.88);
  color: var(--afp-white);
}
.h2-b2 {
  font-size: 2.5rem;
  text-align: center;
  margin: 0 15px;
  margin-bottom: 2rem;
  font-weight: 600;
}
.flex-b2 {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.flex-b2 div {
  flex: 1 1 0px;
}
.text-b2 {
  font-size: 1.7rem;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 1200px) {
  .flex-b2 {
      flex-direction: column;
  }
}

/* carrousel */
.wrapper {
  max-width: 60em;
  margin: 1em auto;
  position: relative;
}

.wrapper input {
  display: none;
}

.inner {
  width: 500%;
  line-height: 0;
}

/* article {
  width: 20%;
  float: left;
  position: relative;
} 
article img {
  width: 100%;
}*/

/*---- SET UP CONTROL ----*/
.slider-dot-control {
  width: 100%;
  bottom: 0;
  text-align: center;
  margin-top: 15px;
}
.slider-dot-control label {
  cursor: pointer;
  border-radius: 5px;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #bbb;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.slider-dot-control label:hover {
  background: #ccc;
  border-color: #777;
}

/* Slider Styling */
.slider-wrapper {
  width: 100%;
  overflow: hidden;
  /* border-radius: 5px;
  box-shadow: 1px 1px 4px #666; */
  background: #fff;
  background: #fcfff4;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}
.slider-wrapper .inner {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
}

/*---- SET POSITION FOR SLIDE ----*/

#slide5:checked ~ .slider-dot-control label:nth-child(5), #slide4:checked ~ .slider-dot-control label:nth-child(4), #slide3:checked ~ .slider-dot-control label:nth-child(3), #slide2:checked ~ .slider-dot-control label:nth-child(2), #slide1:checked ~ .slider-dot-control label:nth-child(1) {
  background: #333;
}

#slide5:checked ~ .slider-wrapper article:nth-child(5) .info, #slide4:checked ~ .slider-wrapper article:nth-child(4) .info, #slide3:checked ~ .slider-wrapper article:nth-child(3) .info, #slide2:checked ~ .slider-wrapper article:nth-child(2) .info, #slide1:checked ~ .slider-wrapper article:nth-child(1) .info {
  opacity: 1;
}

#slide1:checked ~ .slider-wrapper .inner {
  margin-left: 0%;
}
#slide2:checked ~ .slider-wrapper .inner {
  margin-left: -100%;
}
#slide3:checked ~ .slider-wrapper .inner {
  margin-left: -200%;
}
#slide4:checked ~ .slider-wrapper .inner {
  margin-left: -300%;
}
#slide5:checked ~ .slider-wrapper .inner {
  margin-left: -400%;
}
/*---- TABLET ----*/
@media only screen and (max-width: 850px) and (min-width: 450px) {
  .slider-wrapper {
    border-radius: 0;
  }
}
/*---- MOBILE----*/
@media only screen and (max-width: 450px) {
  .slider-wrapper {
    border-radius: 0;
  }

  .slider-wrapper .info {
    opacity: 0;
  }
}
  /* end carrousel */
  .flex-hashtag {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
      margin-top: 2rem;
    }
    .flex-hashtag div {
      flex-grow: 1;
    }
    .hashtag {
      font-size: 1.8rem;
      font-weight: bold;
      text-transform: uppercase;
      padding: 10px 20px;
      justify-content: space-between;
    }
    .numend {
      background-color: rgb(242, 176, 30);
      max-width: 50px;
    }
    .numgreen {
      background-color: rgb(200, 210, 15);
    }
    .num3 {
      background-color: rgb(205, 115, 250);
    }
    .num4 {
      background-color: rgb(125, 250, 175);
    }
    .num6 {
      background-color: rgb(225, 110, 110);
    }
    .num7 {
      background-color: rgb(134, 236, 247);
    }

.end-b2 {
  width: 90%;
  margin: auto;
}
.sentence-b2 {
  text-align: center;
  font-size: 1.5rem;
}
.button-b2 {
  background-color: var(--afp-blue);
  padding: 10px 20px;
  border-radius: 30px;
  width: fit-content;
  width: -moz-fit-content;
  color: var(--afp-white);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem auto;
}
.button-b2:hover {
  background-color: var(--afp-blue-darker);
}

/* section 3 */
#section-3 {
  display : none;
  padding: 2rem 0;
}
.b3-content {
  width: 90%;
  margin: auto;
}
.b3-content h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 300;
}
.h2-b3 {
  background-color: rgb(255, 187, 162);
  width: 70%;
  margin: auto;
}
.flex-b3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem auto;
}
.flex-b3 div {
  flex: 1 1 0px;
}
.text-b3 {
  font-size: 1.7rem;
  color: rgb(0, 121, 137);
}
.img-b3 {
  margin-bottom: 2rem;
}

svg {
  margin: auto;
  animation: blink 3s ease 0s infinite normal none;
}
@keyframes blink {
0%,
50%,
100% {
  opacity: 1;
}

25%,
75% {
  opacity: 0;
}
}
@media screen and (max-width: 1200px) {
  .flex-b3 {
      flex-direction: column;
  }
}
.text-b1 p, .text-b2 p, .text-b3 p {
  margin-bottom: 1.4rem;
}   

#form-container-double .mktoRequired input[type=checkbox], #form-container-double .mktoRequired input[type=radio], #form-container .mktoRequired input[type=checkbox], #form-container .mktoRequired input[type=radio] {
  -webkit-appearance: auto;
}

/* Drupal adaptation */
.node-type-afp-produit .panel-pane.pane-entity-view.pane-node .line.mb1.bgblue.line.relative.mb2.pt1.pb2.pa0m, .info_social.mb2, #breadcrumb.line.hidem {
  display: none;
}
body {
  overflow-x: initial;
  }
#main-container .img_margin {
  margin: 0px !important;
}
#main-container .img-b3 img {
  margin: auto !important;
}

@media (min-width: 768px) {
  .landing-form p {
    font-size: 1.8rem !important;
  }
}
@media (max-width: 767px) {
  .landing-form p {
    font-size: 1.2rem !important;
  }
}

