@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap");

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-size: 16px; /* Taille de police souhaitée */
}
/* body {
  background: #e1ecf2;
} */

.tooltip {
  z-index: 10000 !important;
}

div {
    padding: 1px;
}
.wrapper {
    height: 100%;
}

.contain {
    display: flex;
    height: 100vh;
}

#menu-container {
    max-width: 50%;
    flex-grow: 1;
    overflow: auto; /* Empêche le contenu de déborder */
    position: relative; /* Assure que le positionnement absolu fonctionne correctement */
}

#splitter-bar {
    width: 1px;
    cursor: ew-resize;
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #ddd;
    z-index: 1; /* Assure que le splitter est au-dessus des autres éléments */
}
/* le bouton d'ouverture et fermeture du splitterbar */
.leaflet-control-toggle-sidebar {
    position: absolute;
    z-index: 3000;
    background-color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 24px;
}

@media (max-width: 767px) {
    .leaflet-control-toggle-sidebar {
        top: 5px;
        left: 5px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .leaflet-control-toggle-sidebar {
        top: 18px;
        left: 18px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .leaflet-control-toggle-sidebar {
        top: 20px;
        left: 20px;
    }
}

@media (min-width: 1200px) {
    .leaflet-control-toggle-sidebar {
        top: 25px;
        left: 20px;
    }
}

.leaflet-control-toggle-sidebar:hover {
    background-color: #f4f4f4;
}

.leaflet-control-toggle-sidebar i {
    font-size: 18px;
}

/* fin du code du bouton d'ouveture et fermeture */

.accordion-button {
    text-align: center;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.5rem; /* Taille augmentée pour le chevron */
  height: 1.5rem;
  margin-left: 10px; /* Espace minimum à gauche pour éviter un collage au texte */
  margin-right: 30px; /* Décalage vers la gauche depuis l'extrême droite */
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.5rem; /* Taille augmentée pour correspondre */
  transition: transform 0.2s ease-in-out;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg); /* Rotation de la flèche quand l'accordéon est ouvert */
}

#map-container {
    flex-grow: 10; /* Ajustez selon vos besoins */
    overflow: hidden;
    /* width: 100%; */
    /* max-width: 95%; */
    height: 100%;
}

.wrapper .main_container {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.wrapper .main_container .item-map {
    background: #fff;
    font-size: 14px;
    height: 100%;
}

.wrapper.collapse .main_container {
    width: (100%);
    margin-left: 0px;
}

.pulse {
    display: block;
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    color: #f30505;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0;
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.leaflet-container.crosshair-cursor-enabled {
    cursor: crosshair;
}

.cards {
    height: 100%;
}

.card p,
.card ul {
    font-size: 1rem;
    line-height: 2rem;
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    text-align: justify;
}

.card ul {
    margin-left: 1rem;
}
.card ul li {
    position: relative;
    line-height: 2rem;
}
.card ul li:after {
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' width='100' title='star'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 1rem;
    height: 1rem;
    top: 5px;
    left: -2rem;
}

.card {
    background: #506e61;
    overflow: auto;
    height: 100%;
    position: relative;
}
@media only screen and (max-width: 800px) {
    .card {
        font-size: 62.5%;
        margin-bottom: 4rem;
    }
}
.card .image {
    position: relative;
    background-color: white;
}
.card .image img {
    display: block;
    width: 100%;
    max-height: 400px;
}

.temperature-icon {
    position: absolute;
    top: 50px; /* Ajustez en fonction de la position souhaitée */
    left: 50px; /* Ajustez en fonction de la position souhaitée */
    width: 30px; /* Ajustez la taille de l'icône */
    height: 30px; /* Ajustez la taille de l'icône */
}

.image {
    position: relative;
}

.card .image .note {
    position: absolute;
    font-family: "Nixie One", cursive;
    border-top-left-radius: 1rem;
    right: 0;
    bottom: 0;
    padding: 8px 1.3rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    background: #0d0c0c;
    color: #fff;
}
.card__content {
    padding: 3rem 2rem;
}
.card__content p:not(.list-label) {
    margin-bottom: 1rem;
}
.card__content ul {
    margin-bottom: 2rem;
}
.card__content .list-label {
    margin-top: 2rem;
}
.card__content .bold {
    font-weight: 400;
}
.card h2,
.card h3,
.card p,
.card ul {
    color: #fff;
}
.card h2,
.card h3 {
    font-family: "Nixie One", cursive;
}
.card h2 {
    font-size: 1.5rem;
    /*margin-bottom: 2.8rem;*/
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    /*padding-bottom: 2.5rem;
  line-height: 3.2rem;*/
}
@media only screen and (max-width: 600px) {
    .card h2 {
        font-size: 2rem;
        line-height: 2.4rem;
    }
}
.card h3 {
    max-width: 60%;
    font-size: 1rem;
    margin: 2.5rem 0 1rem;
    line-height: 2.8rem;
}
.card .add-ons {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    border-radius: 1rem;
    font-size: 1.5rem;
}

.leaflet-popup-content-wrapper {
    background: #2c3e50 !important;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
}
.leaflet-popup-content-wrapper a {
    color: rgba(255, 255, 255, 0.5);
}
.leaflet-popup-tip-container {
    width: 30px;
    height: 15px;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #2c3e50;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.leaderboard {
    max-width: 490px;
    width: 100%;
    border-radius: 12px;
}
.leaderboard header {
    --start: 15%;
    height: 130px;
    background-image: repeating-radial-gradient(
            circle at var(--start),
            transparent 0%,
            transparent 10%,
            rgba(54, 89, 219, 0.33) 10%,
            rgba(54, 89, 219, 0.33) 17%
        ),
        linear-gradient(to right, #5b7cfa, #3659db);
    color: #fff;
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.leaderboard header .leaderboard__title {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: calc(var(--start) * 0.75);
    transform: translateY(-50%);
    text-transform: uppercase;
    margin: 0;
}
.leaderboard header .leaderboard__title span {
    display: block;
}
.leaderboard header .leaderboard__title--top {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6.5px;
}
.leaderboard header .leaderboard__title--bottom {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3.55px;
    opacity: 0.65;
    transform: translateY(-2px);
}
.leaderboard header .leaderboard__icon {
    fill: #fff;
    opacity: 0.35;
    width: 50px;
    position: absolute;
    top: 50%;
    left: var(--start);
    transform: translate(-50%, -50%);
}
.leaderboard__profiles {
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 15px 15px 20px;
    display: grid;
    row-gap: 8px;
}
.leaderboard__profile {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    align-items: center;
    padding: 10px 30px 10px 10px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0.23);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98),
        box-shadow 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98);
    background-color: #fff;
}
.leaderboard__profile:hover {
    transform: scale(1.2);
    box-shadow: 0 9px 47px 11px rgba(51, 51, 51, 0.18);
}
.leaderboard__picture {
    max-width: 100%;
    width: 60px;
    border-radius: 50%;
    box-shadow: 0 0 0 10px #ebeef3, 0 0 0 22px #f3f4f6;
}
.leaderboard__name {
    color: #979cb0;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.64px;
    margin-left: 12px;
}
.leaderboard__value {
    color: #35d8ac;
    font-weight: 700;
    font-size: 34px;
    text-align: right;
}
.leaderboard__value > span {
    opacity: 0.8;
    font-weight: 600;
    font-size: 13px;
    margin-left: 3px;
}

.leaderboard {
    box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.4);
}

/*
.container{
  background:linear-gradient(45deg, blueviolet, lightgreen);
  padding:15px 9%;
  padding-bottom: 100px;
}*/

.container .heading {
    /* text-align: center;*/
    padding-bottom: 15px;
    color: #506e61;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

.container .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 15px;
}

.container .box-container .box {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    background: #fff;
    /*text-align: center;*/
    padding: 30px 20px;
}

.container .box-container .box img {
    height: 80px;
}

.container .box-container .box .rom-Img {
    /* width: 25px ;*/
    height: 25px;
}

.container .box-container .box h3 {
    color: #444;
    font-size: 22px;
    padding: 10px 0;
}

.container .box-container .box p {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
}

.container .box-container .box .btn {
    margin-top: 10px;
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 17px;
    border-radius: 5px;
    padding: 8px 25px;
}

.container .box-container .box .btn:hover {
    letter-spacing: 1px;
}

.container .box-container .box:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
}

/* #searchContainer {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

 #stationSearchInput,
    #showAllSuggestionsBtn {
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      margin-bottom: 10px;
    }

    #showAllSuggestionsBtn {
      cursor: pointer;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 4px;
    }

    #suggestionList {
      list-style: none;
      padding: 0;
    } */

table {
    display: block;
    background: white;
}

tr,
td,
tbody,
tfoot {
    display: block;
}

thead {
    display: none;
}

tr {
    padding-bottom: 05px;
}

td {
    /* padding: 10px 10px 0;*/
    text-align: center;
}
td:before {
    content: attr(data-title);
    color: #7a91aa;
    text-transform: uppercase;
    /*  font-size: 1.4rem;
  padding-right: 10px;*/
    display: block;
}

table {
    width: 100%;
}

th {
    text-align: left;
    font-weight: 700;
}

thead th {
    /* background-color: #506e61; */
    background-color: #118496;
    color: #fff;
    /* border: 1px solid #506e61; */
    border: 1px solid #118496;
}

tfoot th {
    display: block;
    padding: 10px;
    text-align: center;
    color: #b8c4d2;
}
/*tbody tr {
  border: 1px solid #202932;
}*/

td .button {
    line-height: 1;
    display: inline-block;
    /*font-size: 1.2rem;*/
    text-decoration: none;
    border-radius: 5px;
    color: #fff;
    padding: 8px;
    background-color: #4b908f;
}

/*.select {
  padding-bottom: 20px;
  //border-bottom: 1px solid #28333f;
}*/
.select:before {
    display: none;
}

dl {
    margin: 0;
    padding: 0;
}

dt {
    font-size: 2.2rem;
    font-weight: 300;
}

dd {
    margin: 0 0 40px 0;
    font-size: 1.8rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #ac2647;
    box-shadow: 0 1px 0 #c52c51;
}

@media (min-width: 460px) {
    td {
        text-align: left;
    }
    td:before {
        display: inline-block;
        text-align: right;
        width: 140px;
    }

    .select {
        padding-left: 160px;
    }
}
@media (min-width: 720px) {
    table {
        display: table;
    }

    tr {
        display: table-row;
    }

    td,
    th {
        display: table-cell;
    }

    tbody {
        display: table-row-group;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }

    td {
        border: 1px solid #28333f;
    }
    td:before {
        display: none;
    }

    td,
    th {
        padding: 10px;
    }

    tfoot th {
        display: table-cell;
    }

    .select {
        padding: 10px;
    }
}

.button {
    background-color: #ececf3;
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 5px;
    margin-left: 35px;
    text-decoration: none;
    font-size: 15px;
}
.button:focus {
    outline-color: transparent;
    outline-style: solid;
    box-shadow: 0 0 0 4px #5a01a7;
    transition: 0.7s;
}

/* Style de base pour la liste de suggestions */
/* #suggestionList {
  list-style-type: none;
  padding: 0;
  margin: 0;

} */

/* Style des éléments de la liste de suggestions */
/* #suggestionList li {
  padding: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
} */

/* Style au survol des éléments de la liste de suggestions */
/* #suggestionList li:hover {
  background-color: #f0f0f0;
} */

#suggestionContainer {
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#suggestionList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestion-country-header {
    font-weight: bold;
    font-size: 14px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: background 0.2s ease;
}

.suggestion-item:hover {
    background: #e9ecef;
}

#stationSearchInput {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#showAllSuggestionsBtn {
    width: 100%;
    padding: 6px;
    margin-bottom: 5px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}

#showAllSuggestionsBtn:hover {
    background: #0056b3;
    transform: scale(1.02);
}


/* Select and deselect all checkboxes  */
.select-all-container {
  padding: 10px;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
  z-index: 1000;
  position: relative;
}

.select-all-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: #333333;
}

.select-all-label input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
