:root {
  /* Official colors - style guide */
  --afp-blue: #325aff;
  --afp-black: #000;
  --afp-white: #fff;
  /* sub main colors */
  --afp-pink: #FF6E6E;
  --afp-yellow: #ffd223;
  --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-darker-orange: #e06f12;
  --afp-blue-darker: #2544bf;
  --afp-darker-pink: #d96e6e;
  --extremely-light-gray: rgba(0, 0, 0, 0.1);
}
/* BASEâ€¯CSS */
.section-produits-services.logged-in .flex-menu li:nth-child(2) .nav_submenu {position: fixed !important;top: 172px !important}
.section-produits-services.not-logged-in .flex-menu li:nth-child(2) .nav_submenu {position: fixed !important;top: 92px !important}
body.not-logged-in.section-produits-services {padding-top: 128px !important}
@media screen and (max-width: 1023px){
body.not-logged-in.section-produits-services {
    padding-top: 56px !important;
}
}
html {
  font-size: 16px;
  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%;
  border-radius: 10px;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
a {
  text-decoration: none !important;
  color: inherit;
}
/*General CSS*/
#main-container {
  /* max-width: 1280px;
  margin: auto; */
  background-color: var(--afp-black);
}

label#LblmktoRadio_98208_0 {margin-top: 58px}
label[for="Pref_Optin_global_date"] {margin-top: 50px}
.h2-title {
  font-size: 3em;
  text-align: center;
  font-weight: normal;
  margin: auto;
  margin-bottom: 1em;
  padding: 10px;
  max-width: 1417px;
  color: #000 !important;
}
@media screen and (min-width: 1400px) {
  .h2-title {
    font-size: 4em;
  }
}
.h2-title span {
  color: var(--afp-blue);
}
.general-button {
  margin: 0 auto;
  background-color: var(--afp-orange);
  color: var(--afp-white);
  border-radius: 50px;
  font-size: 1.7em;
  font-weight: normal;
  text-align: center;
  width: fit-content;
  width: -moz-fit-content; 
  padding: 0.35em 1em 0.2em 1em;;
  cursor: pointer;
}
.general-button:hover {
  background-color: var(--afp-darker-orange);
}
.separator {
  height: 5px;
  animation: animateBg 5s linear infinite;
  background-image: linear-gradient(0deg,var(--afp-pink),var(--afp-yellow));
  background-size: 100% 1100%;
  border: none;
}
@keyframes animateBg {
  0% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}
/*Header*/
    /*Navbar*/
/* nav {
  background-color: var(--afp-blue);
  height: 70px;
}
nav img {
  height: 70px;
} */
    /*Bloc*/
/* .head-bloc {
  width: 100%;
  height: 200px;
} */
/*Landing content*/
#landing-bloc {
  position: absolute;
  left: 0;
  right: 0
}
.landing-title {
  text-align: center;
  width: 100%;
  position: relative;
  bottom: 2em;
  font-weight: 800;
  font-size: 3em;
  color: var(--afp-white);
}
@media screen and (max-width: 991px) {
  .landing-title {
    font-size: 2em;
  }
}
@media screen and (max-width: 768px) {
  .landing-title {
    font-size: 1.7em;
  }
}
@media screen and (max-width: 480px) {
  .landing-title {
   bottom: 0.5em;
  }
}
@media screen and (max-width: 360px) {
  .landing-title {
    bottom: 3px;
    font-size: 1em;
  }
}
#background-vid {
  border-radius: 0;
  width: 100%;
  filter: brightness(75%);
}
#landing {
  width: 100%;
  position: relative;
  background-color: #000;
  align-items: center;
  display: flex;
}
#search-form{
  width: 90%;
  /* position: absolute;
  left: 0;
  right: 0; */
  text-align: center;
  /* z-index: 1; */
  max-width: 640px;
  margin: auto;
}
#search-radios-container{
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 2em;
}
.search-radio{
  display: none;
}
.search-radio + label{
  border-top: 0.2em solid transparent;
  padding: 0.5rem 2rem;
  width: fit-content;
  width: -moz-fit-content; 
  text-align: center;
  color: var(--afp-white);
  cursor: pointer;
  font-size: 1.2em;
}
.search-radio:checked + label{
  border-bottom: 0.2em solid var(--afp-yellow);
  color: var(--afp-white);
  font-weight: bold;
  width: fit-content;
  width: -moz-fit-content; 
  font-size: 1.2em;
}
#search-input-container{
  display: flex;
  margin-bottom: 1em;
  position: relative;
}
#search-input{
  width: 100%;
  height: 2.5em;
  padding: 0.25em 0.5em;
  border: none;
  border-radius: 35px;
  outline: none;
  line-height: 1.75;
  font-size: 1rem;
}
#search-button{
  width: 2em;
  height: 2em;
  align-self: center;
  border-radius: 50%;
  background-color: var(--afp-yellow);
  border: none;
  cursor: pointer;
  position: absolute;
  right: 3px;
}
#search-button svg {
  color: var(--afp-black);
  width: auto;
  margin: auto;
  height: 1.5em;
}
#search-results{
  max-height: 480px;
  gap: 1rem;
  border-radius: 15px;
  overflow-y: auto;
  scrollbar-color: var(--afp-yellow) transparent;
  scrollbar-width: thin;
  //background-color: var(--afp-darker-white);
}
#search-results::-webkit-scrollbar {
  width: 9px;
}
#search-results::-webkit-scrollbar-track {
  color: var(--afp-yellow);
}
#search-results::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 14px rgba(255, 220, 35, 1);
}
.search-separator {
  width: 90%;
  margin: auto;
  height: 2px;
  background: linear-gradient(to bottom, rgba(255, 110, 110, 1) 0%,rgba(255, 160, 80, 1) 100%);
  border: none;
}
.youtube-search-tile{
  display: flex;
  flex-direction: column;
  width: 80%;
  gap: 1rem;
  margin: 1em auto;
  cursor: pointer;
}
.youtube-search-tile:last-child{
  margin-bottom: 0;
}
@media (min-width: 640px){
  .youtube-search-tile{
      flex-direction: row;
      width: auto;
      margin: 1em;
  }
}
.youtube-search-tile-title{
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.yt-button {
  background: var(--afp-pink);
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto;
  padding: 5px 10px;
  border-radius: 20px;
  color: var(--afp-white);
}
.yt-button:hover {
  background-color: var(--afp-darker-pink);
}
@media screen and (max-width: 992px) {
  #landing-bloc {
    position: relative;
    margin: auto;
  }
  #background-vid {
    position: absolute;
  }
}
@media screen and (max-width: 768px) {
  .search-radio + label, .search-radio:checked + label {
    font-size: 1rem;
  }
}
@media (min-width: 640px){
  .youtube-search-tile-title{
      padding: 0 0.5em;
  }
}
/*Section 1 bloc*/
#section-1{
  background-color: var(--afp-darker-white);
  padding: 4em 1em;
  position: relative;
  top: 0;
  z-index: 1;
}
.section1-bloc {
  display: flex;
  justify-content: space-between;
  padding: 2em;
  position: relative;
  top: 0;
  z-index: 1;
  max-width: 1490px;
  margin: auto;
}
@media screen and (max-width: 768px){
.section1-bloc {
display: flex;
}}
.section-mini-bloc {
  padding: 1em;
  border-radius: 25px;
  width: 30%;
  min-width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--afp-white);
  text-align: center;
  font-size: 1.5em;
  gap: 1.2em;
}
.section-mini-bloc img {
  width: 25% !important;
  margin: auto !important;
}
.align-arrow {
  display: flex;
  flex-direction: column;
  height: 300px;
  justify-content: center;
}
@media screen and (max-width: 1100px) {
  .align-arrow {
    display: none;
  }
  .section1-bloc {
    justify-content: center;
  }
  .section-mini-bloc {
    margin: 1em;
  }
  
}
@media screen and (max-width: 808px) {
  .align-arrow, .section1-bloc {
    display: block;
  }
  .align-arrow {
    height: auto;
    margin: 1rem auto;
  }
  .section1-bloc .section-mini-bloc {
    margin: auto;
    height: 235px;
  }
  .align-arrow img {
    margin: auto !important;
    transform: rotate(90deg);
  }
}
/*Section 2 bloc*/
#section-2{
  background-color: #000;
}
/*Section 3 bloc*/
#section-3 {
  background-color: var(--afp-darker-white);
  padding: 4em 1em;
}
.section3-bloc {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1490px;
  margin: auto;
}
.section3-mini {
  min-width: 300px;
  margin: 2em 1em;
}
.section3-mini.text-bloc {
  width: 35%;
}
.section3-mini.video-bloc3 {
  width: 50%;
}
.text-bloc {
  font-size: 1.5em;
}
.playlist {
  background-color: var(--afp-black);
  width: 100%;
  /* max-width: 500px; */
  height: auto;
  border-radius: 15px;
  position: relative;
  z-index: 1;
  box-shadow: 24px -21px 0px var(--afp-yellow);
}
.ytp-cued-thumbnail-overlay-image {
  background-position: initial !important;
}
@media screen and (max-width:992px) {
  .section3-bloc {
    display: block;
  }
  .section3-mini, .section3-mini.video-bloc3, .section3-mini.text-bloc {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .playlist {
    margin: auto;
    box-shadow: 0px -21px 0px var(--afp-yellow);
  }
}
@media screen and (max-width: 350px) {
  .playlist, .short-vid {
    margin: auto;
  }
  .background {
    left: 0;
    margin: auto;
  }
  .playlist {
    box-shadow: none;
  }
}
div.ytp-cued-thumbnail-overlay-image {
  background-size: contain !important;
  -moz-background-size: contain !important;
  -webkit-background-size: contain !important;
}
/*Section 4 bloc*/
#section-4 {
  background-color: var(--afp-darker-white);
  padding-bottom: 4em;
}
#section-4 .h2-title {
  margin-bottom: 0em;
}
.grey-text {
  width: 60%;
  margin: 1em auto 2em;
  text-align: center;
  font-size: 21px;
  margin-bottom: 3em;
  color: var(--afp-black);
}
#section-4 .overflow-container {
  margin: 1em 0em;
}
#section-4 .separator {
  height: 4px;
}
/*Section 5 bloc*/
#section-5 {
  background-color: var(--afp-darker-white);
  padding: 4em 0em;
}
#section-5 .h2-title {
  margin-bottom: 0;
}
.caroussel {
  display: flex;
  align-items: center;
  position: relative;
}
.yellow-bloc {
  width: 30%;
  position: relative;
  height: 400px;
  background-color: var(--afp-yellow);
}
/* Sorry didn't find another way to do it */
@media screen and (max-width:1330px) {
  .yellow-bloc {
    height: 303px;
  }
}
@media screen and (max-width:992px) {
  .yellow-bloc {
    height: 216px;
  }
}
@media screen and (max-width:768px) {
  .yellow-bloc {
    height: 175px;
  }
}
@media screen and (max-width:576px) {
  .yellow-bloc {
    height: 132px;
  }
}
@media screen and (max-width:430px) {
  .yellow-bloc {
    height: 95px;
  }
}
.section5-img {
  width: 85%;
  border-radius: 20px;
  /* background-color: var(--afp-black); */
  margin: auto;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .section5-img {
    width: auto;
  }
}
/*Section 6*/
#section-6 {
  background-color: var(--afp-darker-white);
  padding: 4em 0em;
}
#section-6 .h2-title {
  margin-bottom: 0;
}
#section-6 .front {
  position: relative;
  z-index: 1;
}
#section-6 .behind {
  position: relative;
  bottom: 14.5em;
}
#section-6 .slide-background {
  background-color: var(--afp-yellow);
  height: 210px;
  width: 369px;
  border-radius: 10px;
  margin-right: 2.5em;
}
.ajust-size2 {
  height: 250px;
}
@media screen and (max-width: 992px) {
  .mini-bloc iframe {
    width: 265px;
    height: 149px;
  }
  #section-6 .slide-background {
    height: 194px;
    width: 330px;
  }
  #section-6 .behind {
    bottom: 13.5em;
  }
}
@media screen and (max-width: 700px) {
  .mini-bloc iframe {
    width: 200px;
    height: 110px;
  }
  #section-6 .slide-background {
    height: 150px;
    width: 228px;
  }
  #section-6 .behind {
    bottom: 10.5em;
  }
  .ajust-size2 {
    height: 200px;
  }
}
/* Section vidéographie */
#section-videographie {
  background-color: var(--afp-darker-white);
  padding: 4em 1em;
}
#section-videographie .section3-mini.video-bloc3, #section-videographie .section3-mini.text-bloc {
  width: 45%;
}
#section-videographie .videographie-vid {
  box-shadow: 24px -21px 0px var(--afp-yellow);
  border-radius: 15px ;
}
@media screen and (max-width:992px) {
  #section-videographie .section3-mini.video-bloc3, #section-videographie .section3-mini.text-bloc {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #section-videographie .videographie-vid {
    margin: auto;
    box-shadow: 0px -21px 0px var(--afp-yellow);
  }
}
/* Section 7 */
#section-7 {
  background-color: var(--afp-darker-white);
  padding: 4em 0em;
  overflow: hidden;
  display: none;
}
.slider7 {
  display: flex;
  justify-content: center;
  gap: 6em;
  align-items: center;
  flex-wrap: nowrap;
  width: fit-content;
  width: -moz-fit-content;
  animation: caroussel 15s infinite;
}
.slider7 img {
  width: 200px;
  min-width: 175px;
  border-radius: 0px;
  position: relative;
}
@keyframes caroussel {
  0% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(-670px);
	}
  100% {
		transform: translateX(0);
	}
}
@media screen and (max-width: 1400px) {
  .slider7 {
    gap: 5em;
  }
}
@media screen and (max-width: 1260px) {
  .slider7 {
    gap: 3em;
  }
}
@media screen and (max-width: 992px) {
  .slider7 img {
    min-width: 140px;
  }
}
@media screen and (max-width: 768px) {
  .slider7 img {
    min-width: 130px;
  }
  .slider7 {
    gap: 2em;
  }
}
/*Section 8*/
#section-8 {
  background-color: var(--afp-white);
  padding: 4em 0em;
}
#section-8 .h2-title span {
  color: var(--afp-orange);
}
.section8-bloc {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1490px;
  margin: auto;
}
.section8-mini {
  width: 40%;
  min-width: 300px;
  margin: 2em 1em;
}
.short-vid {
  max-width: 500px;
  height: fit-content;
  height: -moz-fit-content;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  box-shadow: -31px -33px var(--afp-yellow);
}
@media screen and (max-width:1150px ) {
  .section8-bloc {
    align-items: center;
  }
}
@media screen and (max-width:367px ) {
  .short-vid {
    box-shadow: none;
  }
}
/*Animation*/
  /*Expand animation*/
.black {
  width: 70%;
  margin: auto;
  height: 700px;
  background-color: beige;
}
.text-layout {
  width: 60%;
  margin: auto;
  font-size: 6em;
  font-weight: bold;
  color: var(--afp-white);
  line-height: normal;
}
.pt-transition .text-layout {
  width: 75%;
  max-width: 982px;
}
.text-layout span {
  color: var(--afp-orange);
}
.slide {
  background-color: var(--afp-black);
}
.transition{
  position: relative;
  margin-top: 11em;
  margin-bottom: 1.5em;
  background-color: var(--afp-black);
}
.pt-transition {
  margin-top: 13em;
}
  /*Expand transition*/
#expand-bloc {
  margin: auto;
  font-size: 2em;
  position: relative;
  /* min-width: 70%; */
  max-width: 100%;
  color: white;
}
@media screen and (min-width: 1510px) {
  #expand-bloc {
    margin-bottom: 8rem;
  }
}
#expand-bloc video {
  border-radius: 0px !important;
  margin: auto !important;
}
  /*Slider animation*/
#main-container .container {
  overflow:hidden;
}
.overflow-container {
  margin: 2em 0em;
  overflow: hidden;
  width: 100%;
  position: relative;
}
.slide-bloc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}
@media screen and (max-width: 768px){
.slide-bloc {
width: fit-content;
}
}
iframe{
  border-radius: 10px;
  margin-right: 1em;
  position: relative;
}
.slide-right {
  margin-left: 0;
}
.slide-left2 {
  margin-left: -32em;
}
body { overflow-x: initial; }
/*Stop animlation when screen &amp;amp;amp;amp;amp;amp;amp;amp;lt; 992*/
@media screen and (max-width: 992px) {
  .transition, .pt-transition {
    margin-top: 1em;
  }
  .slide {
    height: auto;
  }
  #expand-bloc {
    width: 100%;
  }
}
/*Responsive font size*/
@media screen and (min-width: 1435px) {
  .text-layout {
    font-size: 6em;
  }
}
@media screen and (max-width: 775px) {
  .text-layout {
    font-size: 4em;
  }
}
@media screen and (max-width: 623px) {
  .text-layout, .pt-transition .text-layout  {
    font-size: 2rem;
    width: 85%;
  }
}
@media screen and (max-width: 700px) {
  .h2-title {
    font-size: 1.5em;
  }
  .text-bloc {
    text-align: center;
    font-size: 1rem;
  }
  .section-mini-bloc, .grey-text {
    font-size: 1rem;
  }
  .general-button {
    font-size: 1.1rem;
  }
}
/*Resize iframe from JS*/
#follow-the-news-video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  position: absolute;
  z-index: 1;
  top: 0;
}
.slide-bloc img {
  width: 36vw;
  /* min-width: 190px; */
  min-height: 115px;
  border-radius: 10px;
  margin-right: 5px !important;
  position: relative;
}
@media screen and (max-width: 808px){
.slide-bloc img {
min-height: inherit !important;
}}
/* slider img */
.slider2 {
  width: 100%;
  height: fit-content;
  height: -moz-fit-content; 
  /* border-radius: 10px; */
  overflow: hidden;
}
.imgs_slides {
  width: 200%;
  height: fit-content;
  height: -moz-fit-content; 
  display: flex;
  align-items: center;
}
/* We have to set display: none;
If not, all of our images would 
be visible at the same time */
.imgs_slides input {
  display: none;
}
.slide2 {
  width: 50%;
  transition: 2s;
  background-color: inherit;
}
.slide2 img { 
  width: 100%;
}
/* .slide img {
  width: 100%;
} */
/* css for slide navigation */
.navigation {
  display: none;
  /* put flex if you want to show */
  justify-content: center;
  margin-top: 1em;
}
.navigation-btn {
  border: 1px solid transparent;
  padding: 10px;
  height: 25px;
  border-radius: 20px;
  cursor: pointer;
  background-color: var(--afp-secondary-grey-100);
  transition: 1s;
}
.navigation-btn:not(:last-child) {
  margin-right: 30px;
}
.navigation-btn:hover {
  background: var(--afp-orange);
}
@media (prefers-reduced-motion: no-preference) {
  .slider2-animation {
    animation: 10s slidy infinite;
  }
}
@keyframes slidy {
  0% { left: 0%; }
  20% { left: 0%; }
  25% { left: 0%; }
  40% { left: -0%; }
  55% { left: -100%; }
  60% { left: -100%; }
  90% { left: -100%; }
}
.slider2 .imgs_slides {
  position: relative;
  width: 200%;
  margin: 0;
  padding: 0;
  font-size: 0;
  left: 0;
  text-align: left;
}
.arabe #search-button {
  left: 3px;
  right: initial;
}
@media (prefers-reduced-motion: no-preference) {
  .arabe .slider2-animation {
    animation: 10s slidy2 infinite;
  }
}
@keyframes slidy2 {
  0% { left: 0%; }
  20% { left: 0%; }
  25% { left: 0%; }
  40% { left: 0%; }
  55% { left: 100%; }
  60% { left: 100%; }
  90% { left: 100%; }
}
.arabe .align-arrow img {
  transform: rotate(180deg);
}
@media screen and (max-width: 808px) {
  .arabe .align-arrow img {
    margin: auto;
    transform: rotate(90deg);
  }
}
.arabe .slider7 {
  animation: carousselar 15s infinite;
}
@keyframes carousselar {
  0% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(670px);
	}
  100% {
		transform: translateX(0);
	}
}
/*Css drupal adaptation*/
.list_dotted li:before {
  display: none;
}
.list_dotted li {
  padding: 0;
}
#search-radios-container input[type=radio]:checked {
  display: none;
} 
#search-radios-container input[type=radio] {
  display: none;
}
.slide2 img {
  margin: 0 !important;
}
#navbar-administration .navbar-tray-vertical > .navbar-lining {
  display: none !important;
}
/* remove drupal title */
.node-type-afp-produit .panel-pane.pane-entity-view.pane-node .line.mb1.bgblue.line.relative.mb2.pt1.pb2.pa0m, .info_social.mb2 {
  display: none;
}
/*For mozilla*/
#breadcrumb.line.hidem {
  display: none;
}
#presentation-container-7 {
   background-color:var(--afp-yellow);
   padding: 1rem;
}
#presentation-container-7 h3 {
    text-align: center;
    margin: 0px 10px;
font-size: 2.5em;
    font-weight: bold !important;
}
#presentation-container-7 p.central-title {
text-align: center;
    margin: 0px 10px;
font-size: 22px;
}
#presentation-7-content {
    display: flex;
    flex-direction: column;
    width: fit-content;
    width: moz-fit-content;
    margin: auto;
    padding: 22px;
    background-color: #fff;
}
main h3:not(.h3-title), main .h3:not(.h3-title) {
  line-height: unset;
}

.general-button p {
  font-size: 1.4rem;
}