@media screen and (min-height:853px) {
  /* Pour le bloc que tu veux scroller */
  #controll_and_menu_on_map {
      overflow-y: auto;
      height: 550px;
  }

  /* Scrollbar verticale */
  #controll_and_menu_on_map::-webkit-scrollbar {
      width: 8px;
  }

  /* Couleur du rail (fond de la scrollbar) */
  #controll_and_menu_on_map::-webkit-scrollbar-track {
      background: #f1f1f1;
  }

  /* Couleur du curseur (barre) */
  #controll_and_menu_on_map::-webkit-scrollbar-thumb {
      background-color: #0d6efd; /* bleu Bootstrap */
      border-radius: 4px;
  }

  /* Au survol */
  #controll_and_menu_on_map::-webkit-scrollbar-thumb:hover {
      background-color: #084298;
  }

}

.nanta_css_pastille.active {
  color: blue !important;
}

.nanta_css_pastille {
  color: #495057;
}

#paginationSearch > ul,
paginationResults {
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination li {
  color: inherit;
  float: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  background-color: transparent;
  border: none;
}

.recherche-navbar {
  position: relative;
  padding-left: 0px;
}

.content-logo-shearch {
  background-color: #f7f8f8;
  height: 54px;
  margin-left: unset !important;
  border-radius: 10px;
  width: 400px;
}

.container_cart {
  /* width: 75%; */
  height: 100%;
  position: relative;
  display: block;
}

.containerfuild-cart_map {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.resizer {
  /* width: 5px; */
  cursor: e-resize;
  background: #000000;
  height: 100vh;
}


/* Smooth resize and opacity transitions */
.smoothTrasition {
  transition: all 0.4s ease;
}

.container_connexion {
  /* width: 25%; */
  height: 100%;
}

.container_home_iframe {
  width: 100%;
  position: relative;
  height: 100%;
}

.home_iframe {
  width: 100%;
  height: 100%;
  position: sticky;
  top: 0;
  left: 0;
}

.content {
  height: 100%;
  width: 100%;
}

.content_relative {
  position: relative;
}

.tooltip_show_rubrique_list {
  display: block;
  position: absolute;
  top: 57px;
  left: -306px;
  width: 359px;
  background-color: lightgreen;
  color: black;
  padding: 6px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.tooltip_show_rubrique_list:after {
  position: absolute;
  content: "";
  top: -50%;
  right: 6%;
  border-top: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 15px solid lightgreen;
  border-left: 5px solid transparent;
}

.dataTables_wrapper {
  overflow-x: auto;
}

.icon-connexion div {
  width: 70px;
}

.image_icon_rubrique {
  width: 15px;
  border: 1px solid black;
  border-radius: 10px;
  margin-right: 5px;
}

.rubrique_list_item {
  width: 145px !important;
  height: 50px !important;
  border-radius: 10px !important;
  margin-top: 15px;
}

.rubrique_list_item:hover > .image_icon_rubrique {
  border-radius: 50%;
}

.rubrique_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  /* gap: 10px; */
}
/*editedBy Faniry 19-02-2025 10:55*/
.content_list_rubrique_active {
  width: 50vw;
  /* max-width: 50%; */
  /* text-align: center; */
  overflow-y: hidden;
  overflow-x: auto;
  scrollbar-width: none;
}

.single_marker_image {
  margin-left: -12px;
}

.single_marker_poi {
  width: 62px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 15px;
  border: 1px solid black;
}

.single_marker_note {
  padding: 3px;
  font-weight: bolder;
  color: blue;
  font-size: 0.9rem;
}

.single_marker_point {
  height: 15px;
  width: 15px;
  background-color: white;
  position: absolute;
  bottom: -207%;
  transform: rotate(45deg);
  border-bottom: 1px solid black;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid black;
  border-top-left-radius: 100%;
  border-bottom-right-radius: 25%;
}

.single_marker_point_pastille {
  height: 10px;
  width: 10px;
  /* background-color: red; */
  border-radius: 50%;
  position: absolute;
  top: -30%;
  left: 400%;
}

.slick-slide {
  height: 38px !important;
}

.slick-track button {
  min-width: 100px !important;
}

.slick-track {
  padding: 10px 0px !important;
}

.content_list_nav_left {
  position: absolute;
  top: 70px;
  z-index: 999;
  left: 0.8%;
  height: 84% !important;
  width: 35%;
  max-width: 555px !important;
  overflow: hidden;
  background-color: white;
  border-radius: 0px 0px 5px 5px;
}

.list_nav_left {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.list_nav_left::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}

.list_nav_left::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.list_nav_left::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(#4d9c41), to(#19911d), color-stop(0.6, #54de5d));
}

.content_chargement_nav_left {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dataTables_paginate,
.dataTables_info,
.dataTables_length {
  font-size: 0.8rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 5px;
}

.dataTables_length {
  display: none !important;
}

#list_item_rubrique_active_nav_left_filter {
  width: 100%;
  text-align: start;
  padding-left: 9px;
}

#list_item_rubrique_active_nav_left_filter label {
  width: 100%;
}

#list_item_rubrique_active_nav_left_filter label input {
  width: 72%;
  border-radius: 5px;
}

#list_item_rubrique_active_nav_left_filter label input:focus {
  outline: none;
}

.content_details_rubrique {
  position: absolute;
  top: 14%;
  z-index: 1050;
  right: 5.8%;
  height: 77% !important;
  width: 35%;
  background-color: white;
  border-radius: 5px;
  border-radius: 10px;
  box-shadow: 0px 2px 7px 0px black;
  border-radius: 10px;
  user-select: none !important;
}

.details_rubrique {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content_chargment_details {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.close_content_details_rubrique {
  position: absolute;
  right: 23px;
  z-index: 1000;
  top: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

.rubriqueNameDetail:hover,
  .name_rubrique_nav_left:hover {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}

.content_home,
.description,
.left_content_home {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content_other_detail_rubrique {
  width: 100%;
  height: 50%;
  overflow-x: hidden;
  overflow-y: auto;
}

.content_other_detail_rubrique::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}

.content_other_detail_rubrique::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.content_other_detail_rubrique::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(#4d9c41), to(#19911d), color-stop(0.6, #54de5d));
}

.tooltip_rubrique_filter {
  display: block;
  position: absolute;
  top: 40px;
  left: 0;
  /* width: 250px; */
  background-color: lightgreen;
  color: black;
  padding: 6px;
  border-radius: 5px;
  z-index: 10;
}

.tooltip_rubrique_filter:after {
  position: absolute;
  content: "";
  top: -25%;
  right: 9px;
  border-top: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 20px solid lightgreen;
  border-left: 5px solid transparent;
}

.cursor_pointer {
  cursor: pointer;
}

.content_body_filter {
  height: 70vh;
}

.cancel_filter {
  /* font-size: 1rem; */
  text-decoration: underline;
  color: blue;
}

.cta_to_filter {
  border-radius: 20px !important;
}

.badge_position_filter {
  position: absolute !important;
  top: 0 !important;
  left: 12% !important;
  font-size: 0.6rem;
  font-style: italic;
}

.badge_position_filter_navbar {
  position: absolute !important;
  top: 0px !important;
  left: 19% !important;
  font-size: 0.6rem;
  font-style: italic;
}

.color_blue {
  color: blue;
}

.content_filter_checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  column-gap: 25px;
}

.padding_header {
  padding-left: 1.5rem;
}

.card_mini_chargement {
  width: 40px;
  margin: auto;
}

.card_mini_chargement .containt {
  height: 13%;
}

.card_mini_chargement .containt .word {
  font-size: 13px;
}

.hover_underline {
  user-select: none;
  cursor: pointer;
}

.hover_underline:hover {
  text-decoration: underline blue;
  color: blue;
}

.user_select_none {
  user-select: none;
}

.hover_underline_gray {
  color: gray;
  user-select: none;
  cursor: pointer;
}

.hover_underline_gray:hover {
  text-decoration: underline gray;
}

.folder_chargement {
  width: 15px;
  margin: auto;
}

.folder_chargement .containt {
  height: 1%;
}

.folder_chargement .containt .word {
  font-size: 13px;
  color: white;
  padding: 1px;
}

.content_list_legende_icon {
  height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
}

.content_list_legende_icon::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}

.content_list_legende_icon::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.content_list_legende_icon::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(#4d9c41), to(#19911d), color-stop(0.6, #54de5d));
}

.content_right_side_body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 70%;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}

.btn_cancel_filter_for_all {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.table_info_marker::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}

.table_info_marker::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.table_info_marker::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #fff;
  background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(#4d9c41), to(#19911d), color-stop(0.6, #54de5d));
}

.alert_info_rubrique {
  transform: translateX(120%);
}

.alert_info_rubrique_show {
  -webkit-animation: anninmation_show_info_rubrique 1000ms forwards;
  animation: anninmation_show_info_rubrique 1000ms forwards;
}

.fa_solide_info_rubrique {
  position: fixed;
  top: 5px;
  right: 10px;
  font-size: 0.8rem;
  font-weight: bolder;
  cursor: pointer;
}

@keyframes anninmation_show_info_rubrique {
  0% {
    transform: translateX(120%);
  }
  
  100% {
    transform: translateX(0%);
  }
}

/* identification par couleur */

.dark_green {
  border-color: #226218 !important;
  color: white !important;
}

.bg_dark_green {
  background-color: #226218 !important;
  color: #226218 !important;
}

.ligth_green {
  border-color: #a8fcae !important;
  color: white !important;
}

.bg_ligth_green {
  background-color: #a8fcae !important;
  color: #9feca4 !important;
}

.ligth_purple {
  border-color: rgb(252, 141, 252) !important;
  color: white !important;
}

.bg_ligth_purple {
  background-color: rgb(252, 141, 252) !important;
  color: rgb(252, 141, 252) !important;
}

.dark_purple {
  border-color: rgb(99, 11, 99) !important;
  color: white !important;
}

.bg_dark_purple {
  background-color: rgb(99, 11, 99) !important;
  color: rgb(99, 11, 99) !important;
}

/* end idenfitication */

.validation_check {
  font-weight: bold;
  cursor: pointer !important;
}

.validation_tooltip {
  display: block;
  position: absolute;
  top: -17px;
  left: 20px;
  color: black;
  padding: 6px;
  border-radius: 5px;
  font-size: 0.6rem;
  cursor: pointer !important;
  user-select: none !important;
  width: 300px !important;
  font-weight: bold;
  line-height: 13px;
}

.validation_tooltip:after {
  position: absolute;
  content: "";
  top: 45%;
  left: -7px;
  border-top: 4px solid transparent;
  border-right: 5px solid #302d2d;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
}

.color {
  color: #ffa500;
}

.admin_cmz {
  border-color: #85dc14 !important;
  color: white !important;
}

.admin_cmz_bg {
  background: #85dc14 !important;
}

.validator_cmz {
  border-color: #27affe !important;
  color: white !important;
}

.validator_cmz_bg {
  background: #27affe !important;
}

.partisant_cmz {
  border-color: #3af5e2 !important;
  color: white !important;
}

.partisant_cmz_bg {
  background: #3af5e2 !important;
}

.source_info {
  border-color: #ffa500 !important;
  color: white !important;
}

.source_info_bg {
  background: #ffa500 !important;
}

.svg_badge_check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.btn_light_active {
  background-color: rgb(73, 117, 213) !important;
  color: white !important;
}

.alert_nav_left_slick_active {
  font-size: 0.8rem;
  padding: 8px;
  margin: 2px 10px;
}

.fs_alert_nav_left_slick_active {
  position: absolute;
  left: 96%;
  right: 4%;
  top: 10%;
  cursor: pointer;
}

.cj {
  padding-top: 0.3rem !important;
}

.x_slick_active {
  font-weight: bolder;
  color: #fa0000;
  font-size: 13px;
  cursor: pointer;
  position: absolute;
  top: -5px;
  right: -3px;
}

.content_header_right_side {
  position: relative !important;
}

.content_logo_right_side {
  display: block;
  position: absolute;
  top: -150%;
  right: 0;
  left: 0;
}

.logo_right_side {
  font-size: 3rem !important;
  text-align: center !important;
}

.title_right_side {
  font-size: 1.2rem !important;
}


/***faniry map responsive ***/


.nav-bar-faniry-centrale {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  background: white;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  z-index: 1555;
}

.nav-bar-faniry-centrale button {
  background: none;
  border: none;
  /* font-size: 16px !important;  */
  cursor: pointer;
}

/*ecran telephone**/
@media screen and (max-width:480px) {
  .texte-faniry {
    display: none !important;
  }
  
  .menu-item-faniry i {
    font-size: 10px !important;
  }
  
  .menu-item-faniry.login i {
    font-size: 10px !important;
    padding: 7px !important;
  }
  
  .menu-item-faniry.logout i {
    font-size: 10px !important;
    padding: 7px !important;
  }
  /* .nav-bar-faniry-centrale{
    bottom: 42px;
    
  } */
  .content_details_rubrique {
    overflow: scroll;
    position: absolute;
    top: 60vh;
    z-index: 1999;
    left: 0;
    /*bottom:0;*/
    height: 50% !important;
    width: 100vw;
    padding: 25px;
    background-color: white;
    border-radius: 5px;
    border-radius: 10px;
    box-shadow: 0px 2px 7px 0px black;
    border-radius: 10px;
    user-select: none !important;
  }
  
  .content_cart_map-respons {
    width: 100%;
  }
  
  .content-logo-shearch {
    z-index: 999;
  }
  
  .expand-me {
    display: block !important;
  }
  
  .dock-detail-rubrique {
    display: none !important;
  }
  
  .android-faniry {
    bottom: 7.3vh;
    height: 40px !important;
    padding: 10px !important;
  }
}

@media (min-width:1025px) and (max-width:1366px) {
  .android-faniry {
    bottom: 20vh;
    height: 40px !important;
    padding: 10px !important;
  }
  
  .texte-faniry {
    display: none !important;
  }
  
  .menu-item-faniry i {
    font-size: 10px !important;
  }
  
  .menu-item-faniry.login i {
    font-size: 10px !important;
    padding: 7px !important;
  }
  
  .menu-item-faniry.logout i {
    font-size: 10px !important;
    padding: 7px !important;
  }
}

@media screen and (min-width:988px) and (max-width:1399px) {
  
  .menu-item-faniry {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  
  .menu-item-faniry i {
    font-size: 20px !important;
  }
}
/*ecran tablette et smartphone**/
@media screen and (min-width:296px) and (max-width:988px) {
  .content_body .content_list_nav_left.content_list_nav_left_jheo_js {
    z-index: 10000;
  }
  
  .my-logo-nav-bar {
    width: 10rem !important;
    height: 60px !important;
  }
  
  .override-fa-search {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .texte-faniry {
    display: none !important;
  }
  
  #footercont {
    height: 100%;
    overflow: scroll;
  }
  
  .menu-item-faniry i {
    font-size: 20px !important;
  }
  
  .menu-item-faniry.login i {
    font-size: 10px !important;
    padding: 7px !important;
  }
  
  .menu-item-faniry.logout i {
    font-size: 10px !important;
    padding: 7px !important;
  }
  
  .menu-item-faniry {
    margin-right: auto !important;
    margin-left: auto !important;
  }
  
  .content_details_rubrique {
    overflow: scroll;
    position: absolute;
    top: 14%;
    z-index: 1999;
    left: 0%;
    /* bottom: 25%; */
    height: 90vh !important;
    width: 100vw;
    background-color: white;
    padding: 50px;
    border-radius: 5px;
    border-radius: 10px;
    box-shadow: 0px 2px 7px 0px black;
    border-radius: 10px;
    user-select: none !important;
  }
  
  .expand-me {
    display: block !important;
  }
  
  .dock-detail-rubrique {
    display: none !important;
  }
  
  .android-faniry {
    bottom: 15vh;
    height: 40px !important;
    padding: 10px !important;
  }
  
  #logo_cmz_jheo_js {
    display: none !important;
  }
  
  #logo_cmz_jheo_js_mobile_faniry {
    display: block !important;
    position: relative;
    top: -1.9vh;
  }
  
  .mt-neg-125 {
    margin-top: -80px !important;
  }
  
  .rm_mt_sm {
    margin-top: -0 !important;
  }
}

.expand-me-to-all-screem {
  width: 100vw !important;
  height: 100vh !important;
  top: 0 !important;
}

.expand-me {
  position: absolute;
  right: 55px;
  top: 10px;
  fill: #1111fe;
  z-index: 10;
  cursor: pointer;
  display: none;
}

.dock-detail-rubrique {
  right: 90px !important;
}

.gear-change-width {
  width: 100vw !important;
}

.map-change-width-fa {
  width: 0 !important;
}

.menu-item-faniry:hover i,
  .menu-item-faniry:hover svg {
  color: white;
  transform: scale(1.15);
}

.menu-item-faniry:hover svg {
  background: #007bff;
}
/* Style spécifique pour l'icône de connexion */
.menu-item-faniry.login i {
  background: #ff5733;
  color: white;
  font-size: 15px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0px 3px 6px rgba(255, 87, 51, 0.4);
}
.menu-item-faniry.logout i {
  background: #33adff;
  color: white;
  font-size: 15px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0px 3px 6px rgba(206, 202, 201, 0.4);
}
.menu-item-faniry.login:hover i {
  background: #e64a2e;
  transform: scale(1.2);
}
#logo_cmz_jheo_js_mobile_faniry {
  display: none;
}
/**end faniry responsive*/

/**create by @marc**/
/**modal welcom **/
.welcome-modal {
  z-index: 150000;
}

#welcomeModal header img {
  display: block;
  margin: 0 auto 20px;
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#welcomeModal .modal-content {
  background: #f8f9f7;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: none;
}

.welcome-modal-body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #1d1d1b;
  margin: 0 auto;
  padding: 0;
}

.welcome-nav-buttons {
  position: fixed;
  z-index: 1000;
}

.bouton-action {
  background-color: #d61414;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.bouton-action:hover {
  background-color: #fa1515;
  color: white;
}

#welcomeModal header {
  background-color: #014421;
  color: white;
  text-align: center;
  padding: 40px 40px;
}

#welcomeModal header h1 {
  font-size: 3.8em;
  margin: 0;
  font-weight: 800;
}

#welcomeModal .tagline {
  font-size: 1em;
  font-style: italic;
  margin-top: 10px;
  color: #f2c100;
}

#welcomeModal section {
  padding: 24px 20px;
  margin: auto;
}
#welcomeModal h1 {
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  display: block;
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

#welcomeModal h2 {
  font-size: 2em;
  color: #014421;
  text-align: center;
  margin-bottom: 40px;
  display: block;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.welcome-enemy-title {
  font-size: 1.2em !important;
}

.welcome-enemy-title-h1{
  text-align: center;
}

#welcomeModal h3 {
  display: block;
  font-size: 1.17em;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
}

.welcome-feature-grid,
.welcome-communities-grid,
.welcome-values-list {
  display: grid;
  gap: 30px;
}

.welcome-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.welcome-feature-card,
.welcome-community-card,
.welcome-value-item {
  background-color: white;
  border-left: 5px solid #014421;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.welcome-value-enemy{
  background-color:#d69e97;
  border-radius: 12px;
  padding: 41px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  width: 100%;
}

.welcome-feature-title {
  color: #f2c100;
  font-weight: 600;
  margin-bottom: 10px;
}

.welcome-communities-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.welcome-benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.welcome-benefit-item {
  background-color: #014421;
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.85em;
}

.welcome-values-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.welcome-enemy-section {
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.welcome-modal footer {
  background-color: #014421;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* footer {
  margin-top: 50px;
  text-align: center;
  color: #7f8c8d;
  padding: 20px;
  border-top: 1px solid #ecf0f1;
} */
.modal-head-fa-ma {
  position: relative;
  height: 10%;
}
.close-fa-Ma {
  position: absolute;
  
  right: 2%;
}

.welcome-header-content-ma {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-grow: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.welcome-header-text-ma {
  font-size: 22px;
  color: #f00b0b;
  margin: 0;
  font-weight: bold;
}


/**marc resposif modal-welcome**/
@media screen and (max-width:1200px) {
  
  #welcomeModal header h1{
    font-size: 2.8em;
  }
  
  .welcome-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .communities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .values-list {
    flex-direction: column;
    align-items: center;
  }
  
  .value-item {
    margin-bottom: 20px;
  }
  
  
  .benefit-item {
    width: 80%;
    text-align: center;
  }
  .close-fa-Ma {
    position: relative;
    top: 0;
    left: 97%;
  }
  
  #welcomeModal section {
    padding: 25px 20px;
    margin: auto;
  }
  
  .modal-head-fa-ma {
    position: relative;
    height: 9%;
  }
  
}
@media screen and (max-width:990px){
  #welcomeModal header h1{
    font-size: 2.2em;
  }
}

@media screen and (max-width:768px) {
  
  
  .welcome-modal-body {
    width: 100%;
  }
  
  #welcomeModal section {
    padding: 20px 20px;
    margin: auto;
  }
  
  .welcome-title {
    font-size: 2em;
  }
  
  .welcome-section-title {
    font-size: 1.5em;
  }
  
  .welcome-tagline,
  .welcome-subtagline {
    font-size: 1.2em;
  }
  
  .welcome-feature-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-feature-card {
    padding: 20px;
  }
  
  .benefits-list {
    flex-direction: column;
    align-items: center;
  }
  
  .benefit-item {
    width: 80%;
    text-align: center;
  }
  
  .modal-head-fa-ma {
    transform: translateX(-10px);
    height: 8% !important;
  }
  
  .enemy-section h2 {
    font-size: 1.2em;
  }
  
  .welcome-header {
    display: block !important;
  }
  .welcome-title {
    flex: 1;
    text-align: center;
  }
  
  .welcome-header-content-ma {
    flex-direction: column;
    gap: 10px;
  }
  
  .welcome-header-text-ma {
    display: none;
  }
}


@media screen and (max-width:480px) {
  .welcome-modal-body {
    width: 100%;
  }
  
  #welcomeModal header h1 {
    font-size: 2em;
    margin: 0;
    font-weight: 800;
  }
  
  #welcomeModal h2 {
    font-size: 1.5em;
  }
  
  .welcome-title {
    font-size: 1.8em !important;
  }
  
  .welcome-section-title {
    font-size: 1.3em;
  }
  
  .welcome-tagline,
  .welcome-subtagline {
    font-size: 1em;
  }
  
  .welcome-header {
    margin-bottom: 20px;
  }
  
  .welcome-feature-section {
    padding: 15px;
  }
  
  .community-card {
    padding: 15px;
  }
  
  .enemy-section {
    padding: 20px;
  }
  
  footer {
    font-size: 0.9em;
  }
  
  #welcomeModal header h1 {
    font-size: 1.7em;
  }
  
}


/* Animations and Interactions */
.welcome-feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-item {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.benefit-item:hover {
  background-color: #2980b9;
  transform: scale(1.05);
}

.value-item {
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Sticky Header */
.welcome-header {
  top: 0;
  z-index: 100;
  padding: 20px 0;
}

/* Section Spacing */
section {
  scroll-margin-top: 100px;
}

/* Accessibility */
:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.close-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e74c3c;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
}

.close-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.close-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

/* Style pour la case à cocher "Ne plus afficher" */
.hide-notification {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  display: inline-block;
}

.hide-notification label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  color: #ef0808;
}

.hide-notification input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #eb0a0a;
  border-radius: 4px;
  margin-right: 10px;
  transition: all 0.3s ease;
  color: #eb0a0a;
}

.hide-notification input:checked ~ .checkmark {
  background-color: #eb0a0a;
  border-color: #eb0a0a;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hide-notification input:checked ~ .checkmark:after {
  display: block;
}

.hide-notification label:hover input ~ .checkmark {
  background-color: #f0f0f0;
}

.hide-notification label:hover input:checked ~ .checkmark {
  background-color: #eb0a0a;
}

@media screen and (min-width:2560px) {
  .welcome-modal-body {
    width: 100%;
  }
}

/**end modal welcom**/


/*** Style CGU */
/* Style général du footer */
#footer_logo_fa {
  transform: rotate(356deg); /* ou -45deg, etc. */
  transform-origin: top right;
}
/* .cgu {
  position: relative;
  top:-250px;
  bottom:0;
  z-index: 1554;
  background-color: #0D3F3C;
  /* overflow-y: scroll !important;
} */
.cgu {
  position: sticky; /* le vrai truc à changer */
  left: 0;
  width: 100%;
  height: 210px; /* hauteur par défaut déployée */
  background-color: #043a36; /* exemple */
  z-index: 999;
  transition: height 0.3s;
  top:100vh;
}
/* Styles des liens */
.nav-link.custom-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link.custom-link:hover {
  color: gold;
}

/* Responsivité pour les petites tailles d'écran (mobile-first) */
@media (max-width:767px) {
  .date-ral {
    font-size: .78rem !important;
  }
  
  .cgu .d-flex {
    flex-direction: column;
    align-items: center;
  }
  
  .cgu .col-12 {
    margin-bottom: 1rem;
    /* Espacement pour les éléments */
  }
  
  .cgu .fw-bold {
    font-size: 20px;
    /* Réduire légèrement la taille du titre */
  }
  
  .cgu .nav-link.custom-link {
    font-size: 16px;
    /* Taille du texte pour les petits écrans */
  }
  
  .cgu .btn {
    font-size: 14px;
    /* Taille du bouton */
    padding: 0.5rem 1rem;
  }
}

/* Responsivité pour les écrans larges (1024px à 1336px) */
@media (min-width:768px) and (max-width:1336px) {
  .cgu .riffle {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
  }
  
  .list-items-fa {
    flex-direction: column !important;
    justify-content: space-between;
    margin-right: auto !important;
    margin-left: auto !important;
  }
  
  .cgu .col-12 {
    margin-bottom: 0;
  }
  
  .cgu .fw-bold {
    font-size: 24px;
  }
  
  .cgu .nav-link.custom-link {
    font-size: 18px !important;
  }
  
  .cgu .btn {
    font-size: 18px;
    padding: 0.75rem 1.25rem;
  }
}

/* Responsivité pour les écrans plus larges (au-delà de 1336px) */
@media (min-width:1336px) {
  .cgu .d-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .cgu .col-12 {
    margin-bottom: 0;
  }
}

#footerbuttondown {
  background-color: #0D3F3C;
  color: #f5061e;
  border-color: #fff;
  font-size: 39px;
  width: 41px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  top: -20px;
  border-radius: 5px;
  border-radius: 5px;
  cursor: pointer;
}

#footerbuttonup {
  background-color: #0D3F3C;
  color: #f5061e;
  border-color: #fff;
  font-size: 39px;
  width: 41px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  top: -60px;
  border-radius: 5px;
  border-radius: 5px;
  visibility: hidden;
  cursor: pointer;
}

.nav-bar-map-fa {
  position: sticky;
  width: 100%;
  background-color: #0d3f3c;
  left: 0;
  right: 0;
  top: 0;
}

.nav-item .nav-link:not(.nanta_css_pastille) {
  color: #ffff !important;
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #0d3f3c;
  font-family: Arial, sans-serif;
  padding-right: 0px;
}

.logo-icon {
  width: 20px;
  height: 20px;
  background-color: #74b92d;
  /* vert clair */
  transform: rotate(45deg);
  /* penché */
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  color: white;
  font-weight: bold;
}

.logo-text .my {
  color: #74b92d;
  /* texte "my" en vert */
}

.my-logo-nav-bar {
  width: 15rem !important;
  height: 100%;
  cursor: pointer;
}

/**serach bar*/
.content-logo-shearch {
  background-color: #0d3f3c;
  display: flex;
  justify-content: center;
}

.recherche-navbar {
  width: 100%;
  max-width: 900px;
}

.bar-de-recherche {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  gap: 4px;
}

.input-recherche-navbar {
  /* min-width: 165px;
  width: 160px; */
  /* flex: 1; */
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  width: 43%;
}

.input-recherche-navbar:focus {
  border-color: #74b92d;
  outline: none;
  box-shadow: 0 0 5px #74b92d55;
}

.content_relative {
  position: relative;
}

.tooltip_show_rubrique_list {
  position: absolute;
  top: 110%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
}

.fa_solid_icon_nav_left_jheo_js {
  transition: transform 0.3s ease;
}

.menu-item-faniry {
  /* background-color: transparent; */
  border: none;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  background-color: #0d3f3c !important;
}

.menu-item-faniry:hover {
  transform: scale(1.1);
}

.menu-item-faniry i {
  font-size: 20px;
}

.menu-item-faniry.recherche i {
  color: white;
}

.menu-item-faniry.connexion i {
  color: yellow;
  /* Pour l'icône utilisateur */
}

.menu-item-faniry.menu i {
  color: white;
}

.faniry_custom_pos_rubrique {
  position: relative !important;
}
/**end*/
/**end  CGU**/

/**choose base map */
.leaflet-left,
.leaflet-right {
  bottom: 0 !important;
  left: 0 !important;
}

.leaflet-right {
  /* position: sticky !important; */
}

.leaflet-left {
  position: fixed !important;
}

.basemap-menu {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  /* overflow: hidden; */
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
  transform: scale(1);
  /* pointer-events: none; aza adala pory oa*/
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}
.basemap-option {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.basemap-option:last-child {
  border-bottom: none;
}

.basemap-option:hover {
  background-color: #f2f2f2;
}
.basemap-option-image {
  height: 80px !important;
}
.basemap-option.tiles-selected {
  background-color: #74b92d !important;
  color: white !important;
  border-radius: 5px !important;
  padding: 10px !important;
  font-weight: bold !important;
}
/**end */

.none_width{
  width: 0%;
}

.leftPanel_width{
  width: 50%;
}

.rightPanel_width{
  width: 50%;
}

.full_screen_width{
  width: 100%;
}

.content_entete_cta_connexion{
  display: block;
}

/* ≥ 1400px — très grands écrans */
@media (min-width:1400px) {
  /* styles pour écrans très larges */
}

@media screen and (max-width:1440px){
  
  /* .my-logo-nav-bar {
    width: 8rem !important;
    height: 51px !important;
  } */
  
  .my-logo-nav-bar {
    width: 10rem !important;
    height: 85px !important;
  }
  
}

/** NANTENAINA */
@media screen and (max-width:768px) {
  .content_img_resto_resp {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  
  /* .content_btn_avis button{
    margin-top: 5px;
  } */
  
  .content_details_rubrique .fa-search-elie {
    width: 36px;
    height: 36px;
  }
  
  .content_details_rubrique .img_other_resto_icon {
    margin: 5px !important;
  }
  
  .content_details_rubrique.content_details_rubrique_jheo_js {
    padding: 0px !important;
    z-index: 10001;
  }
  
  .content_detail_resp_nanta {
    top: 7% !important;
  }
  
  .content_details_rubrique.content_details_rubrique_jheo_js > .details_rubrique {
    padding: 0px !important;
  }
  
  .content_other_detail_rubrique {
    height: 70% !important;
  }
  
  .detail_marche_responsive,
  .detail_ferme_responsive {
    margin-top: 16px !important;
    height: 70%;
    overflow-y: scroll;
  }
  
  .ferme_btns_resp {
    padding: 7px 7px !important;
  }
  
  .btn_avis_marche_resp {
    min-width: 110px;
  }
  
  .content_btn_avis {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center !important;
  }
  
  .content_btn_avis > * {
    flex: 0 0 auto;
  }
  
  /* Optionnel pour une meilleure UX */
  .content_btn_avis::-webkit-scrollbar {
    height: 6px;
  }
  
  .content_btn_avis::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
  
  .content_btn_avis::-webkit-scrollbar-track {
    background: transparent;
  }
  
  /* .content_img_resto_resp::-webkit-scrollbar {
    height: 6px;
  }
  
  .content_img_resto_resp::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
  }
  
  .content_img_resto_resp::-webkit-scrollbar-track {
    background: transparent;
  } */
  
  .blockquote-footer.cmz-adresse {
    margin-bottom: opx !important;
  }
  
  .row_content_tribu_pastille_jheo_js {
    margin-bottom: opx !important;
    margin-top: 0.5rem !important;
  }
  
  /* .content_legende.content_legende_jheo_js{
    margin-top: 0px !important;
  } */
  
  .swal-footer {
    padding: 5px 5px;
  }
  
  .video-wrapper {
    width: 100%;
  }
  
}

@media screen and (max-width:294px) {
  .logo-container {
    padding: 6px 6px !important;
  }
}

@media screen and (max-width:387px) {
  .content_btn_avis {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start !important;
  }
}

@media screen and (max-width:1000px) {
  .record {
    top: 121px !important;
    right: 12px !important;
  }
  .swal-overlay{
    z-index:99999 !important;
  }
}

/** END NANTENAINA */

/** Antonius */
@media screen and (max-height:852px) {
  #controll_and_menu_on_map{
    display: flex !important;
    flex-direction: row-reverse !important;
    margin-top: 0 !important;
  }
  #external-links{
    margin-top: 0 !important;
    margin-right:5px  ;
  }
}
/** END Antonius */

/**faniry new maj encore du responsive 1310px*/
@media (min-width:768px) and (max-width:988px) {
  
  /* .cta_connexion_navbar{
    background-color: white;
    clip-path: circle(50%);
    margin-left: 10px;
    width: 30px;
  } */
  
}
@media (min-width:989px) and (max-width:1399px) and (max-height:1035px){
  /* .input-recherche-navbar {
    min-width: 150px !important;
  } */
  
}


@media  (max-height:765px){
  
  #controll_and_menu_on_map{
    height: 50vh !important;
  }
  
  #rubrique-controls{
    overflow-y: scroll !important;
    overflow: visible !important;
  }
  
  #external-links{
    overflow-y: scroll !important;
  }
}

@media (max-width:1439px){
  #controll_and_menu_on_map{
    display: flex !important;
    flex-direction: row-reverse !important;
    margin-top: 0 !important;
  }
  
}

@media (min-width:768px) and (max-width:1439px){
  .leaflet-top.leaflet-right{
    transform: translateY(16vh) !important;
  }
  
  .faniry-responsive{
    
    padding:0.5rem !important;
  }
  .faniry-rub-list-resp{
    padding:0.39rem !important;
  }
  .tv-chat {
    display: flex !important;
  }
  
  #external-links{
    margin-top: 0 !important;
    margin-right:5px  ;
  }
}

@media (min-width:1440px) and (max-width:1720px){
  .faniry-responsive{
    margin-left: 0 !important;
    padding:0.5rem !important;
  }
  
  .faniry-rub-list-resp{
    padding:0.39rem !important;
  }
  
  .leaflet-top.leaflet-right{
    transform: translateY(4vh) !important;
  }
}

@media (min-width:1720px) {
  .faniry-responsive{
    padding: 0.5rem 0.5rem !important;
  }
}

@media  (max-width:764px) {
  .tv-chat{
    right: -2vw !important;
  }
}
@media  (min-width:768px){
  .tv-chat{
    right: -20vw !important;
  }
}

/**end*/

.content_form_search_and_all_btn{
  display: block;
}

.faniry-responsive {
  width: 11%;
}

.faniry-collapse-custom{
  flex-direction: column;
}
