.admin_main_content {
  margin-left: 220px !important ;
}
.sans_fixe {
  margin-top: 55px;
}
.toggler {
  cursor: pointer;
}
.R_popUp {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* The Modal (background) */
R.modal {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}
.modal-content {
  width: 550px;
  margin: auto;
}
.popUp .closePopUp {
  width: 15%;
  margin: 5px 20px 0 91%;
  cursor: pointer;
  font-weight: bold;
}

.popUp button.closePopUp {
  width: 80%;
  margin: auto;
  font-weight: bold;
  margin-top: 10px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #c4c3c2;
  padding-left: 3%;
  outline: none;
}

.user a {
  margin: 5px 0 0 5px;
  vertical-align: bottom;
}
/* img salon*/
h2.salon_date {
  margin-top: 0 !important;
}
@media (min-width: 768px) {
  .event-list > li > a > img {
    width: auto;
    max-width: 150px;
  }
}
@media (max-width: 768px) {
  .event-list > li > a {
    display: flex;
  }
  .event-list > li > a > img {
    width: auto;
    margin: 0 auto;
  }
}

#fixeVigneron {
  position: fixed;
  display: flex;
  margin: 0;
  top: 65px;
  justify-content: center;
  align-items: center;
  height: 40px;
  z-index: 100;
  width: 100%;
}

#fixeSalon {
  position: fixed;
  margin: 0;
  top: 65px;
  justify-content: center;
  align-items: center;
  height: 70px;
  z-index: 100;
  width: 100%;
}
#fixeSalon h1 {
  margin: 0;
}
.sectionVigneron {
  position: relative;
  margin-top: 105px; /* 65px du header + 40px du fixedVigneron */
}
.sectionSalon {
  position: relative;
  margin-top: 135px; /* 65px du header + 70px du fixedVigneron */
}

.viti h1 {
  font-size: 2em;
}
.viti h2 {
  font-size: 1.5em;
}

/* FLEXBOX VIGNERONS */

div.vigneron_flex {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
div.vigneron_flex a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

div.vigneron_flex img.img-thumbnail {
  width: 200px;
}

.box_2024 {
  width: 90%;
  margin: 0.5em auto;
  border: 2px solid rgb(173, 223, 169);
}

.footer {
  margin: 0;
}
@media (min-width: 500px) {
  .box_2024 {
    flex: 1 0 48%;
    margin: 1%;
  }
}
@media (min-width: 768px) {
  .box_2024 {
    flex: 1 0 31%;
  }
}
@media (min-width: 1401px) {
  .box_2024 {
    flex: 1 0 20%;
  }
}

/* FLEXBOX VIGNERONS */
/* Gradiant couleur a remettre quand je serai prêt */
.fx_0 {
  background-color: #74d99f;
  color: #000;
}
.fx_1 {
  background-color: #a8eec1;
  color: #000;
}
.fx_2 {
  background-color: #e3fcec;
  color: #000;
}
.fx_3 {
  background-color: #fce8e8;
  color: #000;
}
.fx_4 {
  background-color: #f4aaaa;
  color: #000;
}
.fx_5 {
  background-color: #eb8484;
  color: #000;
}
.fx_6 {
  background-color: #e36363;
  color: #000;
}
.fx_7 {
  background-color: #5e1717;
  color: #fff;
}
.fx_8 {
  background-color: #5e1717;
  color: #fff;
}
.fx_50 {
  background-color: #000;
  color: #fff;
}

.fx_0,
.fx_1,
.fx_2 {
  background-color: #e3fcec;
  color: #000;
}
.fx_3,
.fx_4,
.fx_5,
.fx_6,
.fx_7,
.fx_8,
.fx_50 {
  background-color: #fce8e8;
  color: #000;
}
p.dernier {
  margin: 1px 0;
  padding: 5px;
}
.flex_space-around {
  justify-content: space-around;
}
.flex_space-between {
  justify-content: space-between;
}
.flex_align-items {
  align-items: center;
}

.btn_warning {
  background-color: rgba(225, 29, 72, 1);
  border-radius: 0.5rem;
  color: #fff;
  padding: 10px;
}
.btn_warning_icon {
  background-color: rgba(136, 19, 55, 1);
  padding: 5px;
  border-radius: 0.5rem;
}
.menu_image {
  position: relative;
  top: 0px;
  right: 3px;
  width: 20px;
  margin: 0px;
  width: 25px;
  margin-top: -5px;
}
.menu_pre_image {
  margin: 0px;
  display: flex;
  justify-content: space-around;
}

.h50 {
  height: 50px;
}
.margin-top_0 {
  margin-top: 0 !important;
}
.btn-sobre {
  background: #fff;
  color: inherit;
  border-radius: 5px;
}
.menu_2024 {
  display: flex;
}
.menu_2024_div {
  line-height: 100px;
  background: #ffcb05;
  border-radius: 5px;
  margin: 5px;
  font-weight: 400;
  font-size: 1em;
  color: #53555c;
  display: flex;
  justify-content: center;
}

.cuvee_flex {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.cuvee_titre {
  flex: 1;
}
.cuvee_image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0;
}
.cuvee_image > img {
  max-width: 200px;
}
@media (max-width: 768px) {
  .menu_2024 {
    flex-direction: column;
  }
  .menu_2024_div {
    font-size: 0.8em;
  }
}
.menu_2024_div a {
  line-height: 100px;
  margin: 5px;
  font-weight: 400;
  font-size: 1.3em;
  color: #53555c;
}
#fixed2 h1 {
  margin-top: 0;
}
#accordion {
  padding: 0;
}
.accordion-container {
  margin: 0px 0 -5px;
}
.back-to-top {
  bottom: 35px;
  z-index: 1;
}
/* PATCH TAB PHOTO COMMENTAIRE */
.tabs_commentaires,
#liste_des_commentaires ul {
  margin: 0;
}
.tabs_commentaires {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tabs_commentaires .active {
  background-color: #4ecdc4;
}

.tab_comment {
  padding: 0px;
  width: 50%;
  height: 50px;
  text-align: center;
  margin-top: 0px;
  display: flex;
}
.tab_comment a {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  text-decoration: none;
}
.tab_comment h4 {
  margin: 0;
  padding: 0;
  line-height: 50px;
  width: 100%;
  font-weight: 700;
}

.comment-tabs {
  display: flex;
  flex-direction: column;
}

/*------------------------------*/

.infos_vignerons_2024 {
  display: flex;
  width: 100%;
}
.infos_vignerons_2024_div {
  margin: 0.1%;
}
.infos_vignerons_2024 :nth-child(1) {
  order: 2;
}
.infos_vignerons_2024 :nth-child(2) {
  order: 1;
}
.infos_vignerons_2024 :nth-child(3) {
  order: 3;
}
.infos_vignerons_2024_div .col-sm-8 {
  padding: 0;
}
@media (min-width: 768px) {
  .infos_vignerons_2024_div .col-sm-8 {
    padding: 0;
  }
}

/* Vigneron détail */
.vigneron2024 {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.boutik_haut_2024 {
  width: 100%;
  display: flex;
}
.vignette_haut {
  display: flex;
  justify-content: space-around;
}
.vignette_haut > div {
  padding: 0 2px;
}
.commerce_2024 {
  max-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.boutik_haut_item a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.boutik_haut_item a div {
  align-content: space-between;
}

.boutik_haut_item .fff {
  display: flex;
  width: 100%;
}
.fff a {
  display: flex;
  justify-content: space-around;
  background: #fff;
}
.ggg {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.ggg p {
  width: 100%;
}

.boutik_bas_item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.btn_boutik {
  width: 49%;
  margin: 0;
}
/* TOUS LES MEDIA EN DESSOUS DE 768px */
@media (max-width: 768px) {
  .vigneron2024 {
    flex-direction: row;
  }
  .mobile_centre {
    text-align: center;
  }
  .vignette_haut {
    flex-direction: column;
    align-items: center;
  }
  #fixeVigneron {
    top: 50px;
  }
  .sectionVigneron {
    margin-top: 90px;
  }
  #fixeSalon {
    top: 50px;
    height: 35px;
  }
  .sectionSalon {
    margin-top: 85px;
  }
  #fixeVigneron .btn,
  #fixeSalon .btn {
    font-size: 13px;
    padding: 4px;
  }
  .toptop {
    font-size: 16px;
  }
  .boutik_control .btn {
    font-size: 20px;
    padding: 5px;
  }
  .viti h1 {
    font-size: 1.3em;
  }
  .viti h2 {
    font-size: 1.1em;
  }
  .cuvee_flex {
    flex-direction: column-reverse;
    margin-top: 0;
  }
  .form_cuvee {
    flex-direction: column;
    margin-top: 0;
  }
  .form_cuvee .checkbox {
    display: none !important;
  }
  .form_cuvee label {
    margin-bottom: 10px;
  }
  .modal-content {
    width: auto;
  }
}

/* PATCH Affichage pub */
@media (max-width: 479px) {
  .section {
    padding: 0;
  }
}
.lienAncre {
  scroll-margin-top: 100px;
}

/* Vendanges 2024 */
.vendange_vert {
  background-color: #43b1a9;
}
.vendange_vert:after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: ' ';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(185, 9, 8, 0);
  border-top-color: #4ecdc4;
  border-width: 10px;
  margin-left: -10px;
}

.nutri_div {
  max-width: 300px;
  margin: 0 auto;
}
.nutri_hr {
  margin: 0;
}
.margin10 {
  margin: 10px 0;
}
.nutri {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.3em;
}
/* test cuvee4 */
.bloc_cuvee {
  display: none;
}
span.collapsible {
  font-size: 2.5em;
  font-weight: bold;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 0;
}
a.neutre i {
  font-size: 1em;
  margin-left: 10px;
}
/* fin test cuvee4 */
.cuvee_texte .row {
  font-size: 1.6em;
  padding: 10px 5px;
}
.neutre {
  cursor: help;
}
.form_cuvee {
  display: flex;
  align-items: center;
}
.admin_v2 button[type='submit'] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}
.compensation_menu {
  margin-top: 30px;
}
.choix_filtre {
  line-height: 25px;
}

.bas_avec_sociaux {
  display: flex;
  width: 95%;
  justify-content: space-around;
  margin: 0 20px;
}

.bas_avec_sociaux a {
  padding: 0 10px;
}

.size8 {
  font-size: 10px;
}

.ribbon_content {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
.ribbon_info {
  background: none;
  border: none;
}

/* optimisation 07/2026 */

#carousel-example-generic .carousel-inner,
#carousel-example-generic .item {
  aspect-ratio: 1200 / 500;
  overflow: hidden;
}
#carousel-example-generic .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* maps */

/* InfoWindow / infobulle map : contenu adaptatif sans scroll sur mobile */
.gm-style .gm-style-iw,
.map-infowindow {
  box-sizing: border-box;
  padding: 8px;
  /* ne pas forcer une largeur fixe : limiter à la largeur de l'écran moins un petit padding */
  max-width: calc(100vw - 20px);
  width: auto;
}

/* Assurer que tout le contenu interne se casse et s'adapte */
.gm-style .gm-style-iw *,
.map-infowindow * {
  box-sizing: border-box;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: anywhere !important;
}

/* Images dans les infobulles deviennent responsives */
.gm-style .gm-style-iw img,
.map-infowindow img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contenu interne : par défaut pas de min-width pour éviter le scroll sur mobile */
.map-infowindow .content {
  width: 100%;
  min-width: unset;
  max-width: 480px;
}

/* Sur grands écrans, forcer une min-width pour conserver le rendu desktop */
@media (min-width: 520px) {
  .map-infowindow .content {
    min-width: 300px;
  }
  /* limiter aussi la boîte globale à une taille raisonnable sur desktop */
  .gm-style .gm-style-iw,
  .map-infowindow {
    max-width: 480px;
  }
}

/* Types (icônes boire/manger/acheter) */
.types {
  display: flex;
  justify-content: center;
}
/* Fin styles maps infobulles */
.commerce_2024 > img.img-responsive {
  width: 340px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.commerce_2024 .carousel-inner .item img.lazy {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Pour se passer de glyphicon */
.carousel-control .fa-chevron-left {
  left: 50%;
}
.carousel-control .fa-chevron-right {
  right: 50%;
}
.carousel-control .fa-chevron-left,
.carousel-control .fa-chevron-right {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
}

.labels {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.labels .active {
  background-color: #f3f383;
  border-radius: 10px;
}
.assos {
  padding: 5px;
}
.label-haut {
  display: flex;
  align-items: center;
  justify-content: center;
}
.label-logo {
  min-height: 100px;
  display: grid;
  align-items: center;
}
.label-accronyme {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  gap: 10px;
}
.label-avn {
  max-width: 160px;
  width: 100%;
  height: auto;
}
.logo-asvn,
.logo-pvn {
  width: 100%;
  max-width: 220px;
}
.logo-vinnatur {
  width: 100%;
  max-width: 100px;
}

@media (max-width: 520px) {
  .labels {
    flex-direction: column;
    gap: 0;
  }
  .labels .label-detail {
    width: 100%;
  }
  .assos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }
}

.champ-complementaire {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
