/*-----------------------------------------*/
/*	 MÉDIA QUERIES
/*-----------------------------------------*/

/* ----------- MIN-WIDTH : 576PX ----------- */
@media (min-width: 576px) {
}

/* ----------- MIN-WIDTH : 768PX ----------- */
@media (min-width: 768px) {
}

/* ----------- MIN-WIDTH : 992PX ----------- */
@media (min-width: 992px) {
  .home .hero-accueil {
    margin-top: 3rem;
  }

  .home .row_hero-acces .contenu-encart {
    padding-left: 0.1rem;
  }

  section.hero {
    margin-top: 4rem;
  }

  /* NAVIGATION PRIMAIRE */
  .navbar-expand-lg .offcanvas .offcanvas-body {
    justify-content: flex-end;
  }

  /* Positionnement vertical dropdown */
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    margin-top: 1rem;
  }

  /* Navbar primaire */
  /*   .navbar-primaire {
    justify-content: flex-end;
  } */

  /* Navigation */
  ul.navbar-nav {
    position: relative;
    justify-content: space-between;
    align-items: flex-end;
    width: 90%;
    padding-top: 0.9rem;
  }

  li.nav-item {
    display: flex;
    align-items: flex-end;
  }

  /* Typographie */
  .navbar {
    font-size: 0.8rem;
    line-height: 1rem;
  }
  .dropdown-menu {
    font-size: 0.7rem;
    line-height: 1rem;
  }

  .navbar .nav-link span {
    font-size: 0.8rem;
  }

  /* Dropdown */
  .navbar-nav .dropdown-menu {
    border-radius: 20px;
  }

  .navbar-nav .dropdown-menu li {
    margin-bottom: 0.75rem;
  }
  .navbar-nav .dropdown-menu li:last-of-type {
    margin-bottom: 0;
  }

  /*   .navbar-nav .dropdown-menu a {
    position: relative;
  } */

  /* Megamenu patient */
  li.nav-item.dropdown.nav-item-patient {
    position: static;
    /* supprime la règle position: relative et permet que dropdown-menu se dimensionne sur nav-primaire */
  }

  .navbar-nav .megamenu-patient,
  .navbar-nav .megamenu-patient .container {
    padding: 0;
  }

  .navbar-nav .megamenu-patient {
    width: 100%;
    margin: 0;
  }

  .navbar-nav .megamenu-patient .row {
    margin-left: 0;
    margin-right: 0;
    padding: 1.5rem 0 1.5rem 2.5rem;
  }

  .megamenu-patient .row-etapes li.titre-etape {
    font-size: 0.65rem;
  }

  .megamenu-patient a:hover::before,
  .menu-biosagis a:hover::before {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: 0.2rem;
    display: inline-block;
    height: 0.7rem;
    width: 0.7rem;
  }

  .megamenu-patient .row-parcours a:hover::before,
  .menu-biosagis a:hover::before {
    background: url(../assets/pictos/fleche-droite-bleu-nuit.svg) no-repeat center center;
  }

  .megamenu-patient .row-etapes a:hover::before {
    background: url(../assets/pictos/fleche-droite.svg) no-repeat center center;
  }

  /* Menu Biosagis */
  .navbar-nav .menu-biosagis {
    padding: 1.5rem 0 1.5rem 2.5rem;
    /* min-width: 15rem; */
    width: 13rem;
  }

  /* ACCUEIL */
  /* Titre et visuels */
  .home .hero-accueil .row_titrage {
    margin-bottom: 4rem;
  }

  .home .hero-accueil .hero_titre-visuels {
    padding-top: 5rem;
  }

  .home .hero-accueil .row_visuels {
    margin-top: 8rem;
  }

  .home .hero-accueil .visuels-personna {
    position: relative;
    /* height: 10rem; */
    /* max-height: 270px; */
  }

  .home .hero-accueil .visuels-personna::before {
    position: absolute;
  }

  /* Hero */
  .home .hero-accueil .row_hero-acces .bandeau-acces {
    background-color: rgb(61, 183, 228);
  }

  .home .hero-accueil .encart-lien {
    background-color: transparent;
  }

  .home .row_hero-acces .extrait {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    padding-right: 5%;
  }

  /* Accès */
  .home .col_preparez {
    padding-right: 0;
  }
  .home .col_realisez {
    padding-left: 0;
    padding-right: 0;
  }
  .home .col_recuperez {
    padding-left: 0;
  }

  .home .row_titre-acces {
    position: relative;
  }

  .home .row_acces {
    margin-top: 7rem;
    /* bottom: 7rem; */
  }

  .home .row_acces .col_personna,
  .home .row_acces .col_acces,
  .home .row_acces .col-encart-lien {
    margin-bottom: 1rem;
  }

  /* Accès Pro */
  .home .acces-pro .row_acces {
    display: flex;
    flex-direction: row-reverse;
  }

  /* Accès Biosagis */
  .home .acces-biosagis .row_acces {
    margin-top: 1rem;
    /* bottom: 7rem; */
  }

  /* Hero */
  .hero .visuel-hero {
    /* Détache le visuel hero du bord droit de son background  */
    margin-left: -10%;
  }

  .hero .claim {
    position: relative;
    top: 5%;
    width: 70%;
    text-align: right;
  }

  .page-politique-de-protection-des-donnees-personnelles-des-patients .hero h1 {
    font-size: 2.6rem;
    margin-top: -3rem;
    margin-bottom: 0;
    /* Réajuste verticalement le h1 de 3 lignes */
  }

  .row_contenu-editorial .focus .marqueur::after {
    content: "";
    position: absolute;
    display: block;
    background-color: #fff;
    height: 120%;
    width: 110%;
    top: -10%;
    left: -2rem;
    left: -1rem;
    z-index: 2;
    border-radius: 10px;
  }

  .page-vos-resultats-danalyses .urgence::after {
    content: "";
    position: absolute;
    display: block;
    background-color: rgb(255, 99, 25);
    height: 120%;
    width: 110%;
    top: -10%;
    left: -2rem;
    left: -1rem;
    z-index: 2;
    border-radius: 10px;
  }

  /* Actualités */
  .listing-actus .bloc-editorial-article {
    height: 13rem;
  }
  .listing-actus .row_editorial-article .extrait {
    /* padding-bottom: 3rem; */
  }

  .listing-actus .row_editorial-article h2 {
    margin-bottom: 0.4rem;
  }
  .listing-actus .row_editorial-article .extrait {
    margin-top: 0.4rem;
  }

  /* Date et catégories */
  .listing-actus .date-cats {
    align-items: flex-end;
  }
  .listing-actus .bloc-date-cats {
    padding-right: 3rem;
    padding-right: 20%;
    text-align: right;
  }
  .listing-actus ul.post-categories {
    flex-direction: column;
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-site .col_doctolib-serveur {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
  }

  .footer-site .col_doctolib-serveur .lien-doctolib {
    margin-bottom: 2rem;
  }

  .footer-site .liens-nav-pdp,
  .footer-site .col_doctolib-serveur {
    font-size: 0.8rem;
  }

  /* Cookies */
  .footer-site .col_cookies {
    justify-content: flex-end;
  }
}

/* ----------- MIN-WIDTH : 1200PX ----------- */
@media (min-width: 1200px) {
  .hero .visuel-hero {
    /* Détache le visuel hero du bord droit de son background  */
    margin-left: -3%;
  }

  ul.navbar-nav {
    width: 85%;
  }
}

/* ----------- MIN-WIDTH : 1400PX ----------- */
@media (min-width: 1400px) {
}

/* ----------- MIN-WIDTH : 1400PX ----------- */
@media (min-width: 2800px) {
}

/* ----------- MAX-WIDTH : 360PX ----------- */
@media (max-width: 360px) {
  .titrage_icotype {
    background-size: 2rem 2rem;
  }
}

/* ----------- MAX-WIDTH : 450PX ----------- */
@media (max-width: 450px) {
  .home .hero-accueil h1 {
    font-size: 2.5rem;
  }
}

/* ----------- MAX-WIDTH : 575.98PX ----------- */
@media (max-width: 575.98px) {
  /* <*> Picto flèche */
  .home .row_hero-acces .encart-lien::after {
    left: 7.5%;
    /* left: 8.333%; */
  }
  .home .row_hero-acces .encart-lien:hover::after {
    transform: scale(1) translateY(-50%) translateX(30%);
  }
}

/* ----------- MAX-WIDTH : 767.98PX ----------- */
@media (max-width: 767.98px) {
  /* Cookies */
  .footer-site .col_cookies {
    margin-top: 0.5rem;
  }
}

/* ----------- MAX-WIDTH : 991.98PX ----------- */
@media (max-width: 991.98px) {
  .home .hero-accueil {
    margin-top: 6rem;
  }

  /* Menu Offcanvas */
  .navbar .offcanvas {
    width: 100%;
    background-color: #f7f6f2;
    transition: transform 0.5s ease-in-out;
  }

  .navbar .offcanvas.offcanvas-end {
    border-left: none;
  }

  .navbar .offcanvas-backdrop,
  .navbar .offcanvas-backdrop.show,
  .navbar .offcanvas-backdrop.fade {
    background-color: rgba(255, 255, 255, 0.5) !important;
  }

  .navbar .container-header-offcanvas {
    margin-bottom: 1rem;
  }

  .navbar .offcanvas-body {
    padding-top: 4.4rem;
    padding-bottom: 4rem;
    max-width: 720px;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
  }

  .navbar button.navbar-toggler,
  .navbar button.navbar-toggler:hover,
  .navbar button.navbar-toggler:focus,
  .navbar button.navbar-toggler:active {
    padding: 0;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar .navbar-toggler-icon {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: url(../assets/images/header/pastille-bleu-nuit.svg) no-repeat left center;
  }

  /* Bouton fermer */
  .offcanvas-header .btn-close {
    position: relative;
    top: 12px;
    left: 5px;
    padding: 0;
    margin: 0;
    margin-left: auto;
    opacity: 1;
  }

  .offcanvas-header .btn-close:hover,
  .offcanvas-header .btn-close:focus,
  .offcanvas-header .btn-close:active {
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar-nav .nav-item {
    margin-bottom: 1.5rem;
  }

  /* Megamenu patient */
  .navbar-nav .megamenu-patient,
  .navbar-nav .menu-biosagis {
    width: 100%;
    margin: 0;
    text-align: right;
  }

  .navbar-nav .megamenu-patient,
  .navbar-nav .menu-biosagis,
  .navbar-nav .nav-link {
    text-align: right;
  }

  .navbar-nav .nav-link {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  .navbar-nav .megamenu-patient {
    background-color: transparent;
  }

  .navbar-nav .megamenu-patient .container,
  .navbar-nav .menu-biosagis {
    background-color: rgb(232, 231, 226);
    border-radius: 20px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    min-width: 100%;
  }

  .navbar-nav .megamenu-patient .row-parcours,
  .navbar-nav .megamenu-patient .row-etapes {
    padding: 1.5rem 2.5rem;
  }

  .navbar-nav .menu-biosagis {
    padding-top: 1.5rem;
    padding-right: calc(2.5rem + calc(var(--bs-gutter-x) * 0.5));
    padding-left: calc(2.5rem + calc(var(--bs-gutter-x) * 0.5));
    padding-bottom: 1.5rem;
  }

  .navbar-nav .dropdown-menu .row-etapes .avant,
  .navbar-nav .dropdown-menu .row-etapes .pendant {
    margin-bottom: 2.5rem;
  }

  .navbar-nav .dropdown-menu .row-parcours > *,
  .navbar-nav .dropdown-menu li {
    margin-bottom: 1rem;
  }
  .navbar-nav .dropdown-menu .row-parcours .col-12:last-of-type,
  .navbar-nav .dropdown-menu li:last-of-type {
    margin-bottom: 0;
  }

  /* Typographie */
  .navbar,
  .dropdown-menu {
    font-size: 1.2rem;
    line-height: 1.4rem;
  }

  .megamenu-patient .row-etapes li.titre-etape {
    font-size: 0.9rem;
  }

  /* Liens */
  .megamenu-patient a:hover::before,
  .menu-biosagis a:hover::before {
    content: "";
    position: absolute;
    left: -1.8rem;
    top: 0.2rem;
    display: inline-block;
    height: 1rem;
    width: 1rem;
    transform: scaleX(-1);
  }

  .megamenu-patient .row-parcours a:hover::before,
  .menu-biosagis a:hover::before {
    background: url(../assets/pictos/fleche-droite-bleu-nuit.svg) no-repeat center center;
  }

  .megamenu-patient .row-etapes a:hover::before {
    background: url(../assets/pictos/fleche-droite.svg) no-repeat center center;
  }

  /* ACCUEIL */
  /* Hero */
  .home .hero-accueil .row_titrage {
    margin-bottom: 1rem;
  }

  .home .hero-accueil .col_visuels {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 25rem;
  }

  .home .hero-accueil .visuels-personna::before {
    position: relative;
  }

  .home .hero-accueil .bandeau-acces {
    background-color: transparent;
  }

  .home .hero-accueil .encart-lien {
    background-color: rgb(61, 183, 228);
  }

  /*   .home .hero-accueil .encart-lien:hover {
    background-color: rgb(99, 206, 202);
  } */

  /* Accès */
  .home .col_personna {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 27rem;
  }

  .home .row_hero-acces .col_acces,
  .home .row_acces .col_personna,
  .home .row_acces .col_acces {
    margin-bottom: 0.5rem;
  }

  /* Accès Biosagis */
  .home .acces-biosagis .row_visuel-titrage {
    flex-direction: column-reverse;
  }
  .home .acces-biosagis .col_visuel {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  /* Hero */
  .hero .chemin {
    display: none;
  }
  .hero .col_editorial > * {
    margin: 0;
  }

  .hero .claim {
    display: flex;
    justify-content: flex-start;
    position: relative;
    top: 15%;
    text-align: right;
  }

  .hero .claim span {
    margin-left: 15vw;
  }

  .hero .visuel-hero {
    margin-top: 2rem;
    background-position: center bottom;
  }

  .section-editorial.section-2cols .col-lg-6:first-child {
    margin-bottom: 8rem;
  }

  /* 2 colonnes avec visuel + texte */
  .page-votre-parcours-medical .row_2cols-hybride,
  .page-votre-laboratoire .accueil-humain .row_2cols-hybride,
  .page-vous-preparer .section-editorial .row_2cols-hybride {
    flex-direction: column-reverse;
  }

  .row_contenu-editorial .focus {
    padding: 2rem;
  }

  .row_contenu-editorial .focus .marqueur {
    background-color: #fff;
    border-radius: 10px;
  }

  .page-vos-resultats-danalyses .urgence {
    background-color: rgb(255, 99, 25);
    border-radius: 10px;
  }

  .row_contenu-editorial .focus .texte-editorial {
    padding: 1rem;
  }

  .row_contenu-editorial .focus .sans-marqueur .texte-editorial {
    padding-bottom: 0;
  }

  /* Actualités */
  .listing-actus .col_editorial-article .row_editorial-article {
    flex-direction: column-reverse;
  }

  .listing-actus .col_visuel-article,
  .single-actu .col_visuel-article {
    margin-bottom: 1rem;
  }

  .listing-actus .row_contenu-editorial img,
  .single-actu .row_contenu-editorial img {
    height: 20rem;
  }

  .listing-actus .bloc-editorial-article {
    padding: 2rem;
  }
  .listing-actus .titre-extrait h2 {
    padding-right: 1rem;
  }

  .listing-actus .titre-extrait a:hover h2::after,
  .listing-actus .titre-extrait a:focus h2::after {
    right: -0.7rem;
  }

  .listing-actus .post-categories li {
    margin-right: 1rem;
  }
  .listing-actus .date-cats {
    margin-bottom: 1.5rem;
  }

  /* Liens croisés et Exergues actualités */
  .col-encart-lien,
  .col-encart-actus {
    margin-bottom: 0.5rem;
  }

  h4.signature {
    text-align: right;
  }

  /* Footer */
  .footer-site .col_doctolib-serveur {
    flex-direction: row;
    justify-content: space-between;
  }

  .col_liens-nav-pdp {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

/* ----------- MAX-WIDTH : 1199.98PX ----------- */
@media (max-width: 1199.98px) {
}

/* ----------- SPÉCIFIQUE AFFICHAGE DATE ACTUALITÉS ----------- */
@media (min-width: 300px) and (max-width: 575.98px) {
}

/* ----------- ENTRE 575.98PX ET 767.98PX ----------- */
@media (min-width: 576px) and (max-width: 767.98px) {
}

/* ----------- ENTRE 575.98PX ET 767.98PX LANDSCAPE ----------- */
@media (min-width: 576px) and (max-width: 767.98px) and (orientation: landscape) {
}

/* ----------- ENTRE 768PX ET 991.98PX ----------- */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* ----------- ENTRE 992PX ET 1199.98PX ----------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .page-professionnel .hero h1 {
    width: 120%;
  }
}
