/* CSS ALL */

/* ------------------------------------------------------------------------------------ */

/* GLOBAL */

@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Black.ttf') format('truetype'); font-weight: 900; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-BlackItalic.ttf') format('truetype'); font-weight: 900; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-ExtraBoldItalic.ttf') format('truetype'); font-weight: 800; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-ExtraLightItalic.ttf') format('truetype'); font-weight: 200; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Light.ttf') format('truetype'); font-weight: 300; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-SemiBoldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal }
@font-face { font-family:'Poppins'; src: url('../fonts/Poppins/Poppins-ThinItalic.ttf') format('truetype'); font-weight: 100; font-style: italic }

@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 0 auto;
    padding: 0 auto;
    position: relative;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* ----------------------------------------------------------------- */

@-webkit-keyframes demo {
    0% {
        background-color: Green;
        opacity:1;
    }
    22% {
        background-color: Yellow;
    }
    77% {
        background-color: Red;
    }
    100% {
        background-color: #777;
    }
}

// *:after, *:before {
    content: "???";
    color: white;
    border-radius: 50%;
    animation: color 0.1s infinite linear;
    -webkit-animation-name: demo;
    -webkit-animation-duration: 90ms;
    -webkit-animation-iteration-count: 100;
    -webkit-animation-timing-function: ease-in-out;
    font-size: 20px;
    font-weight: 700;
}

@keyframes color {
  0% { background-color: violet; }
  15% { background-color: indigo; }
  30% { background-color: blue; }
  45% { background-color: green;  }
  60% { background-color: yellow; }
  75% { background-color: orange; }
  100% { background-color: red; }
}

// * {
    background: #33CCCC15;
    animation: color 0.1s infinite linear;
}


/* ----------------------------------------------------------------- */

body {
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.7;
    color: #777;    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
    background-color: white;
}

.darkmode-switcher {
    background-color: black;
    transition: all 0.3s;
    width: 3rem;
    height: 3rem;
    position: fixed;
    border-radius: 50%;
    border: none;
    right: 32px;
    bottom: 32px;
    left: unset;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.darkmode--activated .darkmode-switcher {
    background-color: white;
    transition: all 0.3s
}

.darkmode--activated header {
    background-color: #24252a;
    transition: all 0.3s;
}

div {
    display: block;
}

.nav {
    display: block;
}

img {
    line-height: 60px;
    width: 100px;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: white;
}

.alert h3 a {
    font-weight: 600;
    color: blue;
}

h1 h2 h3 h4 h5 h6 p {
    color: #333;
}

h2 i {
     padding-right: 0.5em;
}

.span-informatique {
    display: inline-block;
    font-weight: 600;
    color: #f15026;
    position: relative;
    transition: all 0.3s;
}

.span-informatique:before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f15026;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s;
}

.darkmode--activated .span-informatique {
    color: rgba(156,163,175);
    transition: all 0.3s;
}

.darkmode--activated .span-informatique:before {
    background-color: rgba(156,163,175);
    transition: all 0.3s;
}

.darkmode-toggle {
  z-index: 1000;
}

.darkmode--activated h1 {
  color: #edf0f1;
  transition: all 0.3s;
}
.darkmode--activated h2 {
  color: #edf0f1;
  transition: all 0.3s;
}
.darkmode--activated h3 {
  color: #edf0f1;
  transition: all 0.3s;
}

.main-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: rgb(64, 64, 64);
}

.main-subtitle {
  border-left:rgb(64, 64, 64) solid;
  padding-left: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 1.2rem;
  color: rgb(64, 64, 64);
}

.messages {
  margin: 25px 100px 50px 100px;
}

.main-page {
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 100px;
}

.opacity-reduce-25 {
  opacity: 25%;
}

.opacity-reduce-50 {
  opacity: 50%;
}

div.announcement {
  padding: 20px 20px 20px;
  border: 1px solid #e1e1e1;
  background-color: #f9f9f9;
  border-radius: 4px;
  width: fit-content;
  margin: 1rem;
  transition: all 0.3s;
}

.darkmode--activated div.announcement {
  background-color: rgb(64, 64, 64);
  border: 1px solid #6c6c6c;
  transition: all 0.3s;
}

div.announcement p , b {
  font-weight: 400;
  color: black;
  transition: all 0.3s;
}

div.announcement span {
  font-weight: 400;
  transition: all 0.3s;
}

.darkmode--activated div.announcement p , b {
  color: white;
  transition: all 0.3s;
}

a.hyperlink {
  text-decoration: none;
}

a.hyperlink {
  color: #090;
  opacity: 0.6;
  position: relative;
  -webkit-transition: opacity 0.2s ease-in-out 0s;
  -moz-transition: opacity 0.2s ease-in-out 0s;
  transition: opacity 0.2s ease-in-out 0s;
}

a.hyperlink:hover {
  opacity: 1;
}

a.hyperlink:before {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 100%;
  height: 2px;
  z-index: 10;
  background-color: #aca;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

a.hyperlink:hover:before {
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  transform: scaleX(1);
}

mark {
  background-image: linear-gradient(to top, yellow 60%, transparent 0);
  font-weight: 600;
  font-size: 1.2rem;
  color: rgb(64, 64, 64);
}

/* ------------------------------------------------------------------------------------ */

/* NEW NAV */

  .logo {
    cursor: pointer;
  }
  
  .nav__links a,
  .cta,
  .overlay__content a {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: rgb(64, 64, 64);
    text-decoration: none;
  }
.darkmode--activated .nav__links a {
    color: #edf0f1;
    transition: all 0.3s;
}
  .nav__links {
    list-style: none;
    display: flex;
  }

.nav__links li {
    padding: 0px 20px;
}
  
.nav__links li a {
  transition: color 0.3s ease 0s;
}

  .cta {
    padding: 9px 25px;
    color: white;
    background-color: rgb(26, 26, 29, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease 0s;
  }
  .darkmode--activated .cta {
    background-color: white;
    transition: all 0.3s;
    color: rgb(64, 64, 64);
  }
  .cta:hover {
    background-color: rgb(26, 26, 29, 0.75);
  }
  .darkmode--activated .cta:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
  }

  /* Mobile Nav */
  .menu {
    display: none;
  }
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    background-color: #24252a;
    overflow-x: hidden;
    transition: width 0.5s ease 0s;
  }
  .overlay--active {
    width: 100%;
  }
  .overlay__content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .overlay a {
    color: white;
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: color 0.3s ease 0s;
    text-align: center;
  }
  .overlay a:hover,
  .overlay a:focus {
    color: #3ca0e7;
  }
  .overlay .close {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #edf0f1;
  }
  @media screen and (max-height: 1300px) {
    .overlay a {
      font-size: 20px;
    }
    .overlay .close {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }
  @media only screen and (max-width: 1300px) {
    .nav__links,
    .cta {
      display: none;
    }
    .menu {
      display: initial;
    }
}

/* MAIN NAV */
nav {
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    z-index: 50;
    position: relative;
}

/* MAIN NAV | BOUTONS */
ul li {
    list-style: none;
    margin: 0 auto;
    display: inline-block;
    text-decoration: none;
    padding: 0px 25px;
}
li a {
    color: rgb(64, 64, 64);
}
.darkmode--activated li a {
    color: rgba(156,163,175);
    transition: all 0.3s;
}
li:hover {
    cursor: pointer;
}

/* MAIN NAV | SUB-MENU */
ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding-left: 0;
    left: 0;
    display: none;
    background: white;
}
ul li:hover > ul,
ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
    width: 250px;
    text-align: left;
    padding-top: 20px;
    box-shadow: 0px 3px 5px -1px #ccc;
}

/* MAIN NAV | SUB-MENU BOUTONS */
ul li ul li {
    width: 100%;
    margin-bottom: 20px;
    border-style: none;
    transition: all 0.25s ease;
}
ul li ul li a:not(:hover) {
  transition: all 0.25s ease;
}

/* BELL */
.notification {
  text-decoration: none;
  position: relative;
  display: inline-block;
  border-radius: 2px;
}

.notification:hover {
  opacity: 75%;
}

.notification .badge {
  position: absolute;
  top: -15px;
  right: -15px;
  padding: 1px 7.5px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

/* BUTTON DARKMODE */
.darkmode--activated ul li ul {
    background-color: #24252a;
    transition: all 0.3s;
}

/* ------------------------------------------------------------------------------------ */

/* DESIGN BACKGROUND */
.pager-section {
    background-color: rgba(82,189,178, .15);
    padding: 75px 0 85px;
}

.page-container {
    max-width: 100%;
    padding: 0 15px;
}

.pager-section .pager-content {
    position: relative;
    z-index: 1;
}

.text-center {
    text-align: center!important;
}

.pager-section .pager-content > h2 {
    color: #2b2b2b;
    font-size: 65px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: all 0.3s;
}

.darkmode--activated .pager-section .pager-content > h2 {
    color: rgba(156,163,175);
}

ul {
    padding: 0;
    margin: 0;
}

.pager-section .pager-content > ul li {
    display: inline-block;
    position: relative;
    padding: 0 12px;
}

.pager-section .pager-content > ul li:last-child:before {
    display: none;
}

.pager-section .pager-content > ul li:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 1px;
    height: 15px;
    margin-left: 2px;
    background-color: #575757;
    transform: translateY(-50%);
    margin-top: 2px;
}

.pager-section .pager-content > ul li a, .pager-section .pager-content > ul li span {
    display: inline-block;
    font-size: 14.23px;
    transition: all 0.25s ease;
}

.pager-section .page-titlee {
    color: #f15026;
    font-size: 4.6vw;
    font-weight: 600;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 991px)
.pager-section .page-titlee {
    font-size: 100px;
}

/* ------------------------------------------------------------------------------------ */

/* BTN */
.btn {
  margin: 10px 5px 10px;
  background-color: rgb(64, 64, 64);
  border: none;
  border-radius: 100px;
  color: white;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.3s;
}
.btn:hover {
  background-color: rgb(90, 90, 90);
  transition: all 0.3s;
}

/* Interro */

.nav__links a.nav-a-interro:hover {
  color: #ff9d9d;
}

.darkmode--activated .nav__links a.nav-a-interro:hover {
  color: #ff9d9d;
}

.nav__links a.nav-a-interro {
  color: red;
}

.darkmode--activated .nav__links a.nav-a-interro {
  color: red;
}

.btn-interro {
  margin: 0;
  background-color: #8f130c;
  vertical-align: middle;
}

.btn-interro:hover {
  background-color: #a7302a;
  color: #f7a7a3;
}

.alert-error-interro {
  display: flex;
}

h3.alert-error-interro-msg {
  vertical-align: middle;
  align-items: center;
  display: flex;
  margin-right: 15px;
}

/* BOUTONS EXERCICES */

/* Boutons */
.accordion {
  width: fit-content;
  background-color: grey;
  border: none;
  outline: none;
  text-align: left;
  padding: 15px 20px;
  font-size: 18px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 5px;
}

.accordion:after {
  content: "\f078";
  font-family: "fontawesome";
  font-size: 18px;
  float: right;
  margin-left: 15px;
}

.accordion.is-open:after {
  content: "\f077";
}

.accordion:hover,
.accordion.is-open {
  background-color: rgb(165, 165, 165);
}

/* Boutons actifs */
.accordion-actif {
  width: fit-content;
  background-color: #1595c8;
  border: none;
  outline: none;
  text-align: left;
  padding: 15px 20px;
  font-size: 18px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 5px;
}
.accordion-actif:after {
  content: "\f078";
  font-family: "fontawesome";
  font-size: 18px;
  float: right;
  margin-left: 15px;
}
.accordion-actif.is-open:after {
  content: "\f077";
}
.accordion-actif:hover,
.accordion-actif.is-open {
  background-color: dodgerblue;
}

/* Boutons inactifs */
.accordion-inactif {
  width: fit-content;
  background-color: rgb(122, 122, 122);
  border: none;
  outline: none;
  text-align: left;
  padding: 15px 20px;
  font-size: 18px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 5px;
}
.accordion-inactif:after {
  content: "\f078";
  font-family: "fontawesome";
  font-size: 18px;
  float: right;
  margin-left: 15px;
}
.accordion-inactif.is-open:after {
  content: "\f077";
}
.accordion-inactif:hover,
.accordion-inactif.is-open {
  background-color: gray;
}

/* Contenu du bouton */
.accordion-content {
  background-color: #eee;
  border-left: 1px solid whitesmoke;
  border-right: 1px solid whitesmoke;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}
.accordion-content p {
  margin-top: 10px;
}
.fa-eye {
  margin-right: 10px;
}
.fa-download {
  margin-right: 10px;
}

/* Sub-boutons */

img.view {
  filter: brightness(0.7);
  transition: all 0.5s;
  margin: 15px;
  width: 10%;
  height: 10%;
}

img.view:hover {
  filter: brightness(1);
  transform: scale(1.05);
}

.darkmode--activated .accordion-content p {
  color: #ccc;
  transition: all 0.3s;
}
.darkmode--activated .accordion-content p.warning-msg {
  color: #9F6000;
  transition: all 0.3s;
}
.darkmode--activated .accordion-content {
  background-color: rgb(75, 75, 75);
  transition: all 0.3s;
}

/* ------------------------------------------------------------------------------------ */

/* FOOTER */

section.footer {
  width: 100%;
  display: inline-block;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  z-index: 2;
  position: relative;
  bottom: 0;
}

.footer-distributed {
  background-color: rgba(82,189,178, .15);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: normal 16px sans-serif;
  padding: 50px 50px;
}

.footer-distributed .footer-left p {
  color: #8f9296;
  font-size: 14px;
  margin: 0;
}

/* Footer links */
.footer-distributed p.footer-links {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 10px;
  padding: 0;
  transition: ease .25s;
}

.footer-distributed p.footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  transition: ease .25s;
  color: #575757;
}

.footer-distributed .footer-links a:before {
  content: "·";
  font-size: 20px;
  font-weight: 800;
  left: 0;
  color: #575757;
  display: inline-block;
  padding-right: 5px;
  margin-left: 10px;
  margin-right: 10px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

.footer-distributed .footer-right {
  float: right;
  margin-right: 50px;
  max-width: 180px;
  bottom: 15px;
}

.footer-distributed .footer-right a:hover{transform:scale(1.1); -webkit-transform:scale(1.1);}

.footer-distributed p.footer-links a:hover{
  color: rgb(119, 119, 119);
}

.portal {
  padding-top: 13px;
}

.portal a {
  color: #575757;
  cursor: pointer;
}

.custom-shape-divider-bottom-1636207059 {
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1636207059 svg {
  position: relative;
  display: block;
  width: 135%;
  height: 200px;
}

.custom-shape-divider-bottom-1636207059 .shape-fill {
  fill: #292c2f;
}

/* Media Queries */

@media (max-width: 600px) {
  .footer-distributed .footer-left, .footer-distributed .footer-right {
    text-align: center;
  }
  .footer-distributed .footer-right {
    float: none;
    margin: 0 auto 20px;
  }
  .footer-distributed .footer-left p.footer-links {
    line-height: 1.8;
  }
}