: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-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);
  /* Others */
  --max-height-landing-presentation-container: 1280px;
  --min-height-landing-presentation-container: min(
    var(--max-height-landing-presentation-container),
    min(100vh, 100vw)
  );
  }
  
/* 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 {
  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%;
  background-color: var(--afp-white);
}
/* Landing Container */
#landing-container {
   min-height: var(--min-height-landing-presentation-container);
  background-image: url("/communication/products/etx/etx-daily-b0-bg.png");
  background-size: cover;
  background-position-x: center ;
  color: var(--afp-white);
}
.max-content {
  max-width: 1280px;
  margin: auto;
}
#landing-container nav {
  display: flex;
  justify-content: space-between;
  background-color: var(--afp-white);
  padding: 1rem;
  align-items: center;
  font-size: 18px;
}
#landing-container nav ul {
  display: flex !important;
  gap: 2rem;
  color: var(--afp-black);
  list-style-type: none !important;
  font-weight: 700;
  text-transform: uppercase;
}
#landing-container nav ul li {
  padding: 5px 10px;
}
#landing-container nav ul li:hover {
  background-color: var(--afp-secondary-grey-20);
  padding: 5px 10px;
}
.landing-button {
  padding: 10px 30px;
  background-color: rgb(52, 34, 101);
  width: fit-content;
  width: -moz-fit-content;
  border-radius: 22px;
  text-transform: uppercase;
}
.landing-button:hover {
  background-color: rgb(78, 67, 109);
}
.b0-content {
  min-height: 90vh;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 0 10px;
}
.b0-text, .b0-illustration {
  flex: 1 1 0px;
}
.b0-title {
  margin: 3rem 0 2rem;
}
.b0-h2 {
  background-color: var(--afp-white);
  color: var(--afp-black) !important;
  line-height: 40px;
  text-transform: uppercase;
  padding: 5px 10px;
  font-size: 1.4rem;
  font-weight: 500;
  width: fit-content;
  width: -moz-fit-content;
}
.purple {
  background-color: rgb(52, 34, 101);
  color: var(--afp-white) !important;
}
.b0-para {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.4rem;
  text-transform: uppercase;
}
.b0-video {
  padding:56.25% 0 0 0;
  position:relative;
}
.b0-video iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%
}
@media screen and (max-width: 1000px) {
  nav ul {
      display: none;
  }
}
@media screen and (max-width: 992px) {
  .b0-content {
      flex-direction: column;
  }
  .b0-video {
      padding: 0;
  }
  .b0-video iframe {
      position: initial;
      width: 692px;
      height: 399px;
  }
}
.b0-img img {
  height: auto;
}
@media screen and (max-width: 767px) {
  .b0-img {
      max-width: 500px;
      margin: auto;
  }
  .b0-video iframe {
      width: 100%;
      height: 100%;
  }
}
/* Section 1 */
#section-1 {
  padding: 3rem 10px 0;
}
.b1-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.b1-text {
  width: 40%;
}
.b1-illustration {
  width: 60%;
  align-self: flex-end;
}
.b1-h3 {
  font-size: 2rem !important;
  text-transform: uppercase !important;
  padding: 5px 20px 5px 10px !important;
  width: fit-content !important;
  display: inline !important;
  line-height: 50px !important;
  font-weight: 700 !important;
}
.pink {
  background-color: var(--afp-pink);
  color: var(--afp-white) !important;
}
.b1-text p {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 2rem 0;
}
.bold {
  font-weight: 500;
}
.b1-img {
  position: relative;
}
.b1-img-frame img {
  position: relative;
  z-index: 2;
  margin: auto;
}
.b1-img-in img {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 87.5% !important;
  right: 0;
  left: 0;
  margin: auto;
}
#main-container article {
  height: 0px;
}
@media screen and (max-width: 992px) {
  .b1-content {
      flex-direction: column;
  }
  .b1-illustration, .b1-text {
      width: 100%;
  }
  #bg-img-in {
      width: 100%;
  }
  .first-order {
      order: -1;
  }
}
@media screen and (max-width: 768px) {
  .b1-h3 {
      font-size: 1.5rem;
      line-height: 40px;
  }
  .b1-text p {
      font-size: 1rem;
  }
}
/* Section 2 */
#section-2 {
  padding: 3rem 10px 0;
  background-color: var(--afp-pink);
  color: var(--afp-white);
}
.white {
  background-color: var(--afp-white);
  color: var(--afp-black);
}
.b1-video-in label {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  margin: auto;
  width: 72%;
  cursor: pointer;
}
#b2-img {
  z-index: -2;
}
#button-img {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0;
  left: 0;
  z-index: 2;
}
.b1-video-in video, .close-btn {
  display: none;
}
.b1-video-in video {
  position: absolute;
  width: 63%;
  margin: auto;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
}
#btnControl {
  display: none;
}
#btnControl:checked + label video, #btnControl:checked + label .close-btn {
  display: block;
}
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: auto;
  font-size: 20px;
  color: var(--afp-black);
  background-color: var(--afp-secondary-grey-20);
  width: fit-content;
  width: -moz-fit-content;
  font-weight: 700;
  padding: 2px 8px;
  z-index: 3;
}
#btnControl:checked + label img {
  filter: brightness(27%);
}
@media screen and (max-width: 500px) {
  .b1-video-in label {
      bottom: 12px;
  }
}
/* Section 3 */
#section-3 {
  padding: 3rem 10px;
  min-height: var(--min-height-landing-presentation-container);
  background-image: url("/communication/products/etx/etx-daily-b3-img.jpg");
  background-size: cover;
  background-position-y: 80%;
  background-position-x: center ;
}
.b3-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 95vh;
}
.b3-text p {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 2rem 0;
  max-width: 500px;
}
@media screen and (max-width: 768px) {
  .b3-text p {
      font-size: 1rem;
  }
  #section-3, .b3-content {
      min-height: 0;
  }
}
/* Section 4 */
#section-4 {
  padding: 3rem 10px;
  min-height: var(--min-height-landing-presentation-container);
  background-color: rgb(52, 34, 101);
  color: var(--afp-white);
  display: flex;
  flex-direction: column;
}
.b4-h3 {
  font-size: 2.5rem !important;
  text-align: center;
  text-transform: uppercase !important;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #FFF !important;
}
.slider {
  width: 100%;
  height: fit-content;
  height: -moz-fit-content; 
  border-radius: 10px;
  overflow: hidden;
}
.imgs_slides {
  width: 400%;
  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;
}
.slide {
  width: 25%;
  transition: 2s;
}
/* css for slide navigation */
.navigation {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}
#radio2:checked ~ .navigation label
{
  background: palevioletred;
}
.navigation-btn {
  cursor: pointer;
  border-radius: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #bbb;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.navigation-btn:not(:last-child) {
  margin-right: 30px;
}
.navigation-btn:hover {
  background: #ccc;
  border: 4px solid black;
}
/* The checked attribute is used with
reference to &amp;amp;amp;amp;lt;input type="radio"&amp;amp;amp;amp;gt;, 
when radio button is clicked the 
class will shift w.r.t  left margin 
as mentioned which results in image 
slider */
#radio1:checked~.first {
  margin-left: 0;
}
#radio2:checked~.first {
  margin-left: -25%;
}
#radio3:checked~.first {
  margin-left: -50%;
}
#radio4:checked~.first {
  margin-left: -75%;
}
.quote-container {
  width: fit-content;
  margin: auto;
  text-align: center;
  font-size: 1.5rem;
}
.quote-container img {
  margin: 3rem auto;
}
.quote {
  max-width: 720px;
  margin: 2rem 0;
}
.quote-attribution-company-name {
  font-style: italic;
}
@media screen and (max-width: 768px) {
  .b4-h3 {
      font-size: 1.5rem;
  }
  .quote-container {
      font-size: 1rem;
  }
  .quote {
      overflow-wrap: anywhere;
  }
}
/* Section 5 */
#section-5 {
  padding: 3rem 10px;
  background-color: var(--afp-pink);
}
.b5-h3 {
  text-align: center;
  font-size: 2.5rem !important;
  text-transform: uppercase !important;
  background-color: rgb(52, 34, 101);
  padding: 5px !important;
  max-width: 690px;
  margin: auto;
  margin-bottom: 3rem;
  color: var(--afp-white) !important;
  font-weight: 700 !important;
  line-height: normal !important;
}
.b5-illustration {
  width: 80%;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .b5-h3 {
      font-size: 1.5rem;
  }
  .b5-illustration {
      width: 100%;
  }
}
/* Section 6 */
#section-6 {
  padding: 3rem 1rem;
  scroll-margin-top: 140px;
}
.b6-h3 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  max-width: 650px;
  margin: 0 auto 2rem;
}
/* Section 7 */
#section-7 {
  padding: 3rem 1rem;
  border-top: 1px solid var(--afp-black);
}
.b7-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 2rem;
  font-size: 1rem;
  flex-wrap: wrap;
}
.b7-content div {
  min-width: 150px;
}
.b7-content h4 {
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}
.b7-para {
  max-width: 520px;
}
.b7-links ul {
  list-style-type: none;
  padding-left: 10px;
}
.b7-links ul li {
  margin-bottom: 10px;
}
.b7-img {
  max-width: 150px;
}
.b7-img2 {
  max-width: 300px;
}
/* drupal adpatation */
.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;
}
#main-container .img_margin {
  margin: auto !important;
}
#main-container .list_dotted li:before {
  display: none;
}
#main-container .list_dotted {
  margin-bottom: 0;
}
#navbar-administration .navbar-tray-vertical &amp;amp;amp;amp;gt; .navbar-lining {
  display: none !important;
}

.page-node-type-afp-produit a, .page-node-type-afp-produit a:hover {
  color: black !important;
}

.page-node-type-afp-produit .landing-button a {
  color: white !important;
}

a.primary.blue, button.primary.blue {
  color: white !important;;
}