/*`xxl` applies to x-large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {

  body {


    /*50%*/

    --font-12: 6px;
    --font-13: 6.5px;
    --font-14: 7px;
    --font-15: 7.5px;
    --font-18: 9px;
    --font-19: 9.5px;
    --font-20: 10px;
    --font-21: 10.5px;
    --font-22: 11px;
    --font-23: 11.5px;
    --font-24: 12px;
    --font-25: 12.5px;
    --font-26: 13px;
    --font-27: 13.5px;
    --font-28: 14px;
    --font-29: 14.5px;
    --font-30: 15px;
    --font-32: 16px;
    --font-35: 17.5px;
    --font-37: 18.5px;
    --font-38: 19px;
    --font-40: 20px;
    --font-43: 21.5px;
    --font-44: 22px;
    --font-45: 22.5px;
    --font-47: 23.5px;
    --font-50: 25px;
    --font-52: 26px;
    --font-55: 27.5px;
    --font-56: 28px;
    --font-78: 39px;
    --font-82: 24.31px
  }
}


/*`xl` applies to large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {

}

/*`lg` applies to medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {
  .suivi-dossier-statut,
  .declaration-incident, .plainte-tuteur, .plainte-institution {
    padding: 35px 10px;
  }
  .suivi-dossier-statut .statut .statut-bullet {
    width: 80px;
  }
  .suivi-dossier-statut .statut .statut-bullet:not(:first-child)::before {
    right: 0;
  }
  .suivi-dossier-statut .status_container{
    /*width: 510px;*/

  }
  .suivi-dossier-statut{
    overflow-x: auto;
  }
}

/*`md` applies to small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

  .navbar-toggler {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  header .navbar-collapse {
    margin-top: 50px;
  }

  header .navbar-nav {
    border: solid 2px var(--primary-color);
    padding: 20px;

  }

  header .dropdown-menu {
    font-size: var(--font-18);
    font-family: 'Cairo-Bold';
    background-color: var(--primary-color);
    width: 100%;
    margin-bottom: 10px;

  }


  /***********************************************************/
  /*********************  table ****************************/
  /***********************************************************/
  table {
    table-layout: fixed; /* Ensures fixed layout */
    width: 100%; /* Optional: Set a maximum width for the table */
  }

  th,
  td, tr {
    width: 50%; /* Distribute the available space equally among three columns */
  }

  /***********************************************************/
  /*********************  Acceuil ****************************/
  /***********************************************************/
  .acceuil .banner-section {
    padding: 0;
    margin: 0;
    height: min-content;
  }

  .acceuil .banner-section .titre h1 {
    font-family: 'Cairo-Black';
    font-size: var(--font-56);
    color: white;
    margin: 5px;
  }

  .acceuil .banner-section .sub-title h2 {
    font-family: 'The-Sans-Plain';
    font-size: var(--font-50);
    color: white;
    margin: 5px;
  }

  .acceuil .banner-section .bouton > a {
    font-family: 'Cairo-Bold';
    font-size: var(--font-21);
    width: auto;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 5px;
  }

  .acceuil .banner-section .banner-row-bg {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
  }

  .acceuil .banner-section .banner-row-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: var(--primary-color-transparent);
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
    z-index: -1;
  }
  .acceuil .cart {
    height: auto;
  }
  .acceuil .services-assurance-btns {
    padding: 30px 20px;
  }
  .MAP-liste-des-centres h1{
    font-size: var(--font-45);
    padding-top: 40px;
  }
  .acceuil .map-container {
    height: auto;
  }
  .acceuil .contactInfoContainer{
    position: relative;
    height: auto;
    width: 100%;
    overflow-y: hidden;
    margin-bottom: 40px;
  }
  .acceuil .banner-section .bouton {
    margin-bottom: 30px;
  }
  /***********************************************************/
  /*********************  About  ****************************/
  /***********************************************************/
  .about {
    width: 100%;
    padding-top: 2px;
    margin: auto;
  }

  .about h1 {
    margin-bottom: 50px;
  }

  .about .about-paragraph {
    padding: 5px;
    margin-bottom: 120px;
  }


  /***********************************************************/
  /****************      nouveautes       *******************/
  /***********************************************************/
  .nouveautes {
    width: 100%;
    margin: auto;
  }

  .nouveautes .card-title {
    font-weight: bolder;
    margin-bottom: 50px;
    margin-top: 10px;
    font-size: var(--font-35);
  }

  .nouveautes .card-text {
    margin-bottom: 50px;
    font-size: var(--font-28);

  }

  /***********************************************************/
  /**************** preparation-dossier   *******************/
  /***********************************************************/
  .preparation-dossier {
    width: 100%;
    margin: auto;
  }
  .services-dassurance > div > h1,
  .assurance-accident-scolaire > div > h1,
  .liste-des-centres > div > h1,
  .preparation-dossier > div > h1 {
    margin-top: 5px;
    margin-bottom: 35px;
    font-size: var(--font-40);
  }
  .preparation-dossier th {
    font-size: var(--font-30);
  }
  .preparation-dossier .rounded-header-bg {
    font-size: var(--font-25);
  }

  .preparation-dossier tbody {
    font-size: var(--font-19);
  }

  .preparation-dossier .separator-grid tr:not(:last-child) td::after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 5%;
    width: 90%;
    border-bottom: solid 2px #0000002d;
    z-index: 1;
  }


  /***********************************************************/
  /****************  liste-des-centres    *******************/
  /***********************************************************/
  .liste-des-centres {
    width: 100%;
    margin: auto;
  }

  .liste-des-centres td h5 {
    font-size: var(--font-30);
  }

  .liste-des-centres td p {
    font-size: var(--font-25);
  }


  .liste-des-centres td:first-child ::after {
    content: '';
  }


  /***********************************************************/
  /****************  assurance-accident-scolaire    *******************/
  /***********************************************************/
  .assurance-accident-scolaire {
    width: 100%;
    margin: auto;
  }

  .assurance-accident-scolaire table td {
    font-size: var(--font-25) !important;
  }

  .assurance-accident-scolaire td h5 {
    font-size: var(--font-25);
  }

  .assurance-accident-scolaire .right-rounded-table-column tr td:first-child {
    font-family: 'Cairo-Regular';
    font-size: var(--font-20);
    padding: 7px;
    width: 60%;

  }
  .services-dassurance .title-withlogo::before {
    right: 5px;
    bottom: 0;
    margin: auto;
  }
  .services-dassurance .title-withlogo {
    width: 95%;
    margin-right: 5px;
  }
  .inter1 .button-center-container>ul>li>a {
     width: 100%;
  }
  .suivi-dossier-statut,
  .suivi-dossier-auth {
    padding: 35px 10px;
  }
  ol.gradient-list>li {
    width: 100%;
  }
  .suivi-dossier-statut .status_container{
    width: 500px;

  }
}

/*`sm` applies to x-small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
  .plainte-tuteur .top-buttons a, .plainte-institution .top-buttons a {
    font-size: var(--font-30);
  }
  .plainte-tuteur .top-buttons, .plainte-institution .top-buttons {
    margin-bottom: 25px;
  }
  .declaration-incident h1, .plainte-tuteur h1, .plainte-institution h1 {
    margin-bottom: 55px;
  }
}

