*{
    scroll-behavior: smooth;
}
body {
    max-width: 1400px;
    margin: 0 auto;
}
.contact_dropdown {
  min-width: 500px;
}
.breadcrumb {
  background-color: #ffffff !important;
}
.dotted {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #D31710;
}
.breadcrumb {
  background-color: #ffffff !important;
}
/*Menu top */
.dropdown-menu {
  border-radius: 0.5em !important;
}
.nav-link.dropdown-toggle.top_menu[aria-expanded="true"] {
  background-color: #FFDAD4;
}

/* titraille et couleur taille textes */
.red_text {
    color:#D31710 !important;
}
.white_text {
color: #ffffff;
}
.dark_rose_text {
    color:#D71E09;
}
.dark_blue_text {
  color: #007fad;
}
.small-text {
  font-size: 14px !important;
}
.smaller-h2 {
  font-size: 1.5rem;
}
.anchors {
  font-size: 95%;
}
.bigger {
  font-size: 1.5em;
  margin-bottom: 0.3em;
}
.bigger2 {
  font-size: 1.2em;
  margin-bottom: 0.3em;
}
.precision {
  line-height: 0.1;   
}
.title-accueil {
  font-size: 2rem;
}

.saumon {
    background-color: #F9EEED;
}
.fraise {
    background-color: #E5120B;
}
.lien-overlay {
    position: absolute;
    bottom: 20px;
}
.lien-overlay-hcp {
  position: absolute;
  bottom: 35px;
  left: 18px;
}
.lien-overlay-diab {
    position: absolute;
    bottom: 5px;
    left: 18px;
}
.lien-overlay-obe {
    position: absolute; 
    bottom: 1px; 
    
}
.lien-overlay-ressources {
    position: absolute;
    bottom: 2px;
    left : 15px;
}
.lien-overlay-telesurveillance {
  position: absolute;
  bottom: 25px;
  left: 18px;
}
.lien-overlay-quotidien {
  position: absolute;
  bottom: 20px;
  left: 18px;
}
.outline_red {
    border: 2px solid #D31710;
    color: #D31710;
    border-radius: 30px;
    padding: 0.5em;
    text-decoration: none;
}
.outline_red:hover {
    background-color: #D31710;
    color: #ffffff;
    text-decoration: none;
}
.red_bg_btn {
    border: 2px solid #D31710;
    background-color: #D31710;
    color: #ffffff;
    border-radius: 30px;
    padding: 0.5em;
    text-decoration: none;
}
.red_bg_btn2 {
    border: 2px solid #D31710;
    background-color: #D31710;
    color: #ffffff;  
    padding: 0.5em;
    text-decoration: none;
}
.red_bg_btn:hover {
    background-color: #ffffff;
    color: #D31710;
    text-decoration: none;
}
.red_bg_btn_quizz {
  border: 2px solid #D31710;
  background-color: #D31710;
  color: #ffffff;
  border-radius: 30px;
  padding: 0.5em 1em;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 5px  #cccccc;
}
.red_bg_btn_quizz:hover, .orange_bg_btn_quizz:hover  {
  cursor: pointer;
}
.red_bg_btn:active, .orange_bg_btn_quizz:active{
  box-shadow: none;
  transform: translateY(5px);
}
.orange_bg_btn_quizz {
  border: 2px solid #F7513F;
  background-color: #F7513F;
  color: #ffffff;
  border-radius: 30px;
  padding: 0.5em 1em;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 5px  #cccccc;
}
.rose_btn {
  background-color: #EC1009;
  color: #ffffff;
  border-radius: 30px;
  padding: 0.2em;
  font-size: 1.5em;
  width: 85%;
  text-align: center;
}
.dark_grey_btn {
  background-color: #4a5665;
  color: #fff;
  border-radius: 4px;
  padding: 0.5em 1em;
}
.red-bg {
  background-color: #F7513F;
}
.dark-red-bg {
  background-color: #B71313;
}
.grey_bg {
    background-color: #F5F5F5 !important;   
}
.light-grey-bg {
 background-color: rgba(185, 185, 185, 0.1);
}
.grey_border {
    border-top: 2px solid #8B8B8B;
}
.grey_border_all {
  border: 1px solid #8B8B8B;
}

.top_menu:hover {
    border-bottom: 2px solid #D31710;
}
.active {
    border-bottom: 2px solid #D31710;
}
.btn_telecharger {
    color: #D31710;
    border: 1.5px solid #D31710;
    padding: 0.5em;
    border-radius: 5px;
}
.btn_telecharger:hover {
    color: #ffffff;
    background-color: #D31710;
    text-decoration: none;
}
.justify-content-evenly {
    justify-content: space-evenly;
}
.col-ressource-1,.col-ressource-2, .col-ressource-3, .col-ressource-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
    max-width: 45%;
}
.col-obe-hero{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
}
.col-obe-hero2 {
   -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
}

.btn_faq {
    color: #000000;
}
.red_border_bottom {
    border-bottom: 2px solid #D31710;
}
.roundbox {
    border-radius: 40px !important;
    border: none;
}
.half-rounded {
  border-radius: 0 40px 40px 0 !important; 
}
/* .top {
    --offset: 80px;     
    position: sticky;
    bottom: 20px;                
    margin-right:10px;
    margin-left: 75vw;     
    margin-top: calc(100vh + var(--offset));    
        text-decoration: none;
    padding: 10px;
    font-family: sans-serif;
    color: #fff;
    border-radius: 100px;
    white-space: nowrap;
 
  } */
  .top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
}
  .to_top_btn {
       /* visual styling */
         background: #D31710;
    text-decoration: none;
    padding: 10px;
    font-family: sans-serif;
    color: #fff;
    border-radius: 100px;
    border: none;
    white-space: nowrap;
  }
  .img_mobile {
    display: none;
  }
  .no-border {
    border: none !important;
  }
  .rose_border_right {
    border-right: 1px solid #F96A64;
  }
  .rounded-left {
    border-radius: 40px 0 0 40px;
  }
  .panel-heading .accordion-toggle:after {

    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #D31710; /* Couleur du SVG */
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23D31710" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23D31710" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>') no-repeat center / contain;
    float: right;   
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    background-color: #D31710; /* Couleur du SVG */
    -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23D31710" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23D31710" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat center / contain;
    float: right;

  }
  
.captionFirst {
  display: none;
}
.url {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block; /* ou inline-block */
  max-width: 100%;
}
.roundedBottom {
  border-radius: 0 0 40px 40px !important;
}

/* quizz */

.card-container {
  width: 100%;
  height: 300px;
  perspective: 1000px;  
}
.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flipped {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;  
}

.card-back {
  transform: rotateY(180deg);
}

.card-back.true-answer {
  background-color: white;
  color: black;
  padding: 1.5rem;
}

.card-back.false-answer {
  background-color: #F9E7E5;
  padding: 1.5rem;
  
}
/* Carousel quizz */
    .carousel-container {
      position: relative;      
      overflow: hidden;
      height: 400px;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.4s ease;
    }

    .slide {
      flex: 0 0 43vw;
      height: 300px;     
      margin: 0 30px 0 45px;    
    }    

    .nav-button-slider {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      color: white;
      border: none;
      font-size: 2em;
      padding: 0.5em;
      cursor: pointer;
      z-index: 1;
    }

    .prev { left: 0; }
    .next { right: 0; }
/* */
.icone_top {
  position: absolute;
  top: -45px;
  left: 40%;
}
.decale {
 margin-top: 95px !important;
  z-index: 7;
  transform: scale(1.1, 1.2);
}
.title-maladies {
  font-size: 2.3rem !important;
  line-height: 1 !important;
}
.cookie-consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f8f9fa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  color: black;
  padding: 15px;
  font-size: 14px;
  text-align: center;
  z-index: 1000;
  max-width: 1400px;
  margin: 0 auto;
}

.cookie-consent-button {
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
}

.cookie-consent-button:hover {
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-consent-button:active {
  opacity: .5;
}

.cookie-consent-button.btn-success {
  background-color: #d52b1e;
  color: white;
}

.cookie-consent-button.btn-grayscale {
  background-color: #d52b1e;
  color: white;
}

.cookie-consent-button.btn-outline {
  background-color: #d52b1e;
  color: #ffffff;
}

.cookie-consent-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cookie-consent-options label {
  margin: 0 10px;
  font-size: 14px;
}

.cookie-consent-options input {
  margin-right: 5px;
}
/*calculateur*/
.labelResult {
  font-size: 14px;;
}
/*modal de sortie*/
.modal-dialog {
  min-width: 60vw;

}
.modal-content {
  border-radius: 40px !important;
    padding: 2em;
    text-align: center;
}
.modal-header {
text-align: center;
}
.modal-footer {
  justify-content: center;
}
/* modal rdv*/
/* Étend la hauteur à 100% et aligne la modal à droite */
.right-modal .modal-dialog {
  position: fixed;
  right: 0;
  margin: 0;
  height: 100%;
  transform: translateX(100%);   
}

.right-modal.show .modal-dialog {
  transform: translateX(0);
}
.right-modal .modal-content {
  align-items: flex-end;
}
.close2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    position: absolute;
    top: 0;
    right: 0;
}
/* Pour assurer que la modal prend toute la hauteur */
.right-modal .modal-content {
  height: 100%;
  border-radius: 0;
  background-color: transparent;
  border: none;
}
.modal-body-right {
  background-color: #ffffff;
  width: 70%;
  
}
/* Le corps de la modal doit scroller si trop de contenu */
.right-modal .modal-body {
  overflow-y: auto;
  flex: 1 1 auto;
}
/* Empêche de cliquer à travers le backdrop */
.modal-backdrop.show {
  opacity: 0.5;
}


  @media screen and (max-width: 767px) {
    .modal-body-right {
      width: 100%;
    }
    .red_bg_btn2 {
      padding: 2px;
    }
    .mobile_img {
      width: 50px;
    }
    .slide {
      flex: 0 0 100vw;
      height: 300px;     
      margin: 0; 
    }

    .smaller_mobile {
      max-width: 35px;
    }
    .w320 {
      width: 320px;
    }
    .w-td {
      width: 50px;
    }
    .decale {
      margin-top: 15px !important;
      margin-bottom: 50px !important;
       z-index: 7;
       transform: none;
     }
    .xs-100 {
        width: 100% !important;
    }
    .col-sm-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
      }
      .col-sm-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
      }
      .col-sm-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
      }
      .col-sm-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
      }
      .top {
        margin-left: 70vw;
      }
      .no-border-xs {
        border: none !important;
      }
      .xs-no-margin-left {
        margin-left : 0 !important;
      }
      .element_desktop {
        display: none;
      }
      .img_mobile {
        display: block;
      }
      .container-fluid-sm {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        margin-right: auto;
        margin-left: auto;
      }
      .ml-sm-0,
      .mx-sm-0 {
        margin-left: 0 !important;
      }
      .sm-xs-0 {
        margin-left: 0 !important;
        margin-right: 0 !important;
      }
      .mt-sm-2,
      .my-sm-2 {
        margin-top: 0.5rem !important;
      }
      .mr-sm-2,
      .mx-sm-2 {
        margin-right: 0.5rem !important;
      }
      .mb-sm-2,
      .my-sm-2 {
        margin-bottom: 0.5rem !important;
      }
      .ml-sm-2,
      .mx-sm-2 {
        margin-left: 0.5rem !important;
      }
      .m-sm-3 {
        margin: 1rem !important;
      }
      .mt-sm-3,
      .my-sm-3 {
        margin-top: 1rem !important;
      }
      .mr-sm-3,
      .mx-sm-3 {
        margin-right: 1rem !important;
      }
      .mb-sm-3,
      .my-sm-3 {
        margin-bottom: 1rem !important;
      }
      .ml-sm-3,
      .mx-sm-3 {
        margin-left: 1rem !important;
      }
      .m-sm-4 {
        margin: 1.5rem !important;
      }      
      .mt-sm-4,
      .my-sm-4 {
        margin-top: 1.5rem !important;
      }  
      .mt-sm-5 {
        margin-top: 2rem !important;
      }
      .mb-sm-5 {
        margin-bottom: 2rem !important;
      }
      .pb-sm-2,
      .py-sm-2 {
        padding-bottom: 0.5rem !important;
      }    
      .pb-sm-5,
      .py-sm-5 {
        padding-bottom: 3rem !important;
      }
      .p-sm-0 {
        padding: 0 !important;
      }
      .flex-sm-column {
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
      }
    .col-ressource-1,.col-ressource-2, .col-ressource-4 {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      min-height: 450px;
      margin-bottom: 1em;
  } 
  .col-ressource-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 480px;
    margin-bottom: 1em;
    padding-top: 0.3em;
  }
    .btn {
      white-space: wrap;
    }
    .card-container {
      width: 100%;
      height: 300px;
      perspective: 1000px;  
    }
    .card-back.true-answer {
      background-color: white;
      color: black;
      padding: 1.5rem;
      height: 450px !important;
    }
    
    .card-back.false-answer {
      background-color: #F9E7E5;
      padding: 1.5rem;
      height: 450px !important;
    }

  }
  @media screen and (min-width: 768px) and (max-width : 979px) {
    .title-md {
      font-size: 1.5rem;
    }

    .md-invisible{
      display: none !important;
    }
  }

  @media screen and (min-width: 1480px) {
    .top{
      margin-left: 40vw;  
    }
  }