.app-gym-main-header .app-gym-mobile_menu_content{
    background-color: white;
}
.app-gym-main-header .app-gym-mobile_menu_content .app-gym-mobile-main-navigation .navbar-nav li:first-child{
    border-bottom: 1px solid #4E8B87;
}
.app-gym-main-header .app-gym-mobile_menu_content .app-gym-mobile-main-navigation .navbar-nav li{
    border-bottom: 1px solid #4E8B87;
}
.app-gym-main-header .app-gym-mobile_menu .dropdown .dropdown-btn{
    border: 1px solid #4E8B87;
}

.buttons-box, .filterButton{
    display: none;
}

.search input{
    max-width:250px;
}

.search{
    width: 300px;
}

.sidebar-content{
    width:300px;
}

a:visited.btn{
    color: white !important;
}

#mapBox{
    transform: translate(-57%, -50%) !important;
}

.context-menu button{
    border:none;
    font-size: 15px;
    background-color: white;
}

#mapInfoFoot{
    margin-bottom: 0.5rem;
}

#mapInfoFoot .hideMobile{
    display: none !important;
}

#mapInfoFoot div{
    font-size: 0.8rem !important;
    padding: 0.5rem 0.2rem !important;
}
#mapInfoFoot div:nth-child(3), #mapInfoFoot div:nth-child(6){
    width: 90px !important;
}
#mapInfoFoot div:nth-child(5){
    width: 110px !important;
}
.mobileoff{
    display:none;
}
.w-8{
    width:2rem;
    height:2rem;
}
.app-gym-main-header-menu .mnuAuth .w-8 a{
    display: block;
}
.btn-language{
    margin-right:15px;
}
.app-gym-mobile_menu_button.app-gym-mobile_menu.mnuAuth{
    margin-right:60px;
    line-height: 2rem;
}
.app-tra-footer-section{
    background-color: #3B706C;
}
.logo-container{
    margin-left: 5px !important;
}
.desktopoff{
    display:block;
}
.app-gym-brand-logo{
    width: 50px!important;
}

.app-tra-intro-innerbox{
    height: 420px;
}


body {
    font-family: 'Roboto', sans-serif;
    color:#2C3E3C;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color:#4E8B87;
}
.btn-outline-success {
    --bs-btn-color: #4E8B87;
    --bs-btn-border-color: #4E8B87;
    --bs-btn-hover-bg: #3B706C;
    --bs-btn-hover-border-color: #3B706C;
    --bs-btn-active-bg: #3B706C;
    --bs-btn-active-border-color: #3B706C;
    --bs-btn-disabled-color: #4E8B87;
    --bs-btn-disabled-border-color: #4E8B87;
}

.btn-primary {
    --bs-btn-bg: #4E8B87;
    --bs-btn-border-color: #4E8B87;
    --bs-btn-hover-bg: #3B706C;
    --bs-btn-hover-border-color: #3B706C;
    --bs-btn-active-bg: #3B706C;
    --bs-btn-active-border-color: #3B706C;
    --bs-btn-disabled-bg: #4E8B87;
    --bs-btn-disabled-border-color: #4E8B87;
}

.btn-disable {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #c0cecd;
    --bs-btn-border-color: #c0cecd;
    --bs-btn-hover-bg:  #c0cecd;
    --bs-btn-hover-border-color:  #c0cecd;
    --bs-btn-active-bg: #c0cecd;
    --bs-btn-active-border-color:  #c0cecd;
    --bs-btn-disabled-bg: #c0cecd;
    --bs-btn-disabled-border-color:  #c0cecd;
}

.bg-orange {
    background-color: #E85C2F;
}

article, aside, figcaption, figure, footer, header, hgroup, legend, main, nav, section{
    display: block;
}

.title-section {
    background-color: #D1E3E2;
    padding: 100px 0 30px 0;
}

.fs-08{
    font-size: 0.8rem;
}
.pr-0{
    padding-right:0;
}

.pr-2 {
    padding-right: .5rem !important;
}
.pr-3 {
    padding-right: 1rem !important;
}
.pr-4 {
    padding-right: 1.5rem !important;
}
.pr-5 {
    padding-right: 2rem !important;
}

.mr-2 {
    margin-right: .5rem !important;
}
.mr-3 {
    margin-right: 1rem !important;
}

.mt-150px{
    margin-top: 150px;
}

.d-none{
    display:none !important;
}
.d-block{
    display:block !important;
}

.btn-language, #btn-earth{
    cursor:pointer;
    color:#6e6e6e;
}

.btn-language a{
    font-size: 0.85rem;
}

.btn-language button{
    border:none;
    background-color: transparent;
}
#map, #mapContact {
    width: 100%;
    height: calc(100vh - 53px);
}

#mapHike {
    width: 100%;
    height: 320px;
}

#mapSection{
    margin-top:48px;
    width:100%;
}

#mapBox{
    position: relative;
    margin-top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px 10px;
    width:320px;
    z-index: 1;
}

#mapEdit{
    border: none;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255);
    color: #2C3E3C;
    margin: 0 10px;
    padding: 7px 20px;
}

#contribution{
    position: absolute;
    bottom: -10px;
    left: 0px;
    padding: 4px 8px;
    font-size: 10px;
    z-index: 999;
}

#infoCoord {
    display: block;
    position: absolute;
    bottom: -7px;
    left: 95px;
    padding: 5px 10px;
    border: none;
    border-radius: 11px;
    font-size: 10px;
    text-align: center;
    background: rgba(255, 255, 255);
    color: #2C3E3C;
    cursor:pointer;
    z-index: 12;
}


.copy-me{
    cursor:pointer;
}

.crosshair-cursor {
    cursor: crosshair !important;
}

.chartElevation{
    background-color: #fff;
}

#mapInfoFoot, #mapInfoCar {
    position:absolute;
    bottom:35px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    text-align: center;
    background: rgba(255, 255, 255);
    color: #2C3E3C;
    z-index:15;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:0 15px;
}

#elevationSparkline, #difficulty-stars {
    cursor:pointer;
}

.buttons-box {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 255, 0);
    padding: 12px;
    padding-top: 80px;
    float: left;
    font-family:Roboto;
}

.buttons-box .btn-secondary{
    background-color: #ffffff;
    color: #2C3E3C;
    border: 1px solid #2C3E3C;
    padding: 0px 20px;
    height: 2rem;
    border-radius: 15px;
}


.buttons-box .btn-success, .button-nearby.btn-success, .shepherd-button{
    background-color: #4E8B87 !important;
    color: white;
    border: 1px solid #2C3E3C;
    padding: 0px 20px;
    height: 2rem;
    border-radius: 15px;
    height: inherit;
}

ul.dropdown-menu{
    border-radius:15px;
    background-color: #ffffff;
}

.w-60px {
    width: 60px !important;
}

.w-80px {
    width: 80px !important;
}

#mapEdit .icon-hover, #mapInfoFoot .icon-hover {
    transition: transform 0.2s, color 0.2s;
    cursor:pointer;
}

#mapEdit .icon-hover:hover, #mapInfoFoot .icon-hover:hover {
    transform: scale(1.2);
    color: #3B706C; /* Bleu Bootstrap */
}

.disabled {
    pointer-events: none; /* Empêche le clic */
    opacity: 0.5; /* Rend l'icône visuellement grisée */
}

.maplibregl-ctrl-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
}

.maplibregl-ctrl-custom button {
    cursor: pointer;
    padding: 0;
}

.maplibregl-ctrl-custom img {
    cursor: pointer;
    display: none;
    /* Initialement caché */
}

.maplibregl-ctrl-custom button img {
    display: block;
}

.maplibregl-ctrl button.maplibregl-ctrl-layers .maplibregl-ctrl-icon {
    background-image: url(//static.iso-maps.com/assets/img/layers.webp);
    background-size: 20px;
}

.w-29 {
    width: 21px;
    margin: 4px;
    cursor: pointer;
}

.w-210px {
    width: 210px;
}

.h-25px {
    height: 25px;
}

.h-20px {
    height: 20px;
}

.maplibregl-popup-content {
    /*padding-top: 25px !important*/
}

.popular{
    max-width: 350px;
}

.popular ul li a {
    display: inline-block; /* ou block */
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.app-tra-footer-widget .app-tra-footer-menu li{
    margin-bottom: 10px;
}

/* Media queries pour cibler les appareils mobiles */
@media (max-width: 600px) {

    .maplibregl-ctrl-zoom-in,
    .maplibregl-ctrl-zoom-out {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .maplibregl-ctrl-fullscreen {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .maplibregl-ctrl-compass {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .maplibregl-ctrl-group button {
        width: 50px;
        height: 50px;
    }

    .maplibregl-ctrl-fullscreen {
        display: none !important;
    }

    #infoCoord {
        display: none !important;
    }

    .w-29 {
        width: 42px;
    }

}

@media (max-width: 950px) {
   .mr-3 {
        margin-right: 2rem !important;
    }
}

.w-250px {
    width: 250px
}

.w-350px {
    width: 350px
}

#toggleTraffic {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
    border: 1px solid #00000063;
    width: 65px
}

#trafficIcon {
    width: 50px;
    height: 50px
}

.rounded-rect {
    background: #fff;
    box-shadow: 0 0 50px -25px #000
}

.flex-center {
    position: absolute;
    justify-content: center;
    align-items: center
}

.close-left{
    text-align: right;
}

.sidebar-content {
    position: absolute;
    height: auto;
    font-family: Arial, Helvetica, sans-serif;
    color: gray;
    padding: 12px;
}

.sidebar-toggle {
    position: absolute;
    width: 1.3em;
    height: 1.3em;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center
}

.rounded-rect.left {
    font-size: 20px
}

.sidebar-toggle.left {
    right: -1.5em
}

.sidebar-toggle.right {
    left: -1.5em
}

.sidebar-toggle:hover {
    color: #0aa1cf;
    cursor: pointer
}

.cursor {
    cursor: pointer;
}

.sidebar {
    position: absolute;
    margin-top: 1rem!important;
    margin-left: 1rem!important;
    transition: transform 1s;
    height: 100%;
    z-index: 1000;
    max-width: 410px;
}

.sidebar .icon{
    cursor:pointer;
}

.button-nearby.btn-secondary{
    background-color: #ffffff;
    color: #545454;
    border: 1px solid #dbdbdb;
    padding: 2px 13px 0px 10px;
    height: 2rem;
    border-radius: 15px;
    font-size: 14px;
}

#nearby-result {
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#nearby-result::-webkit-scrollbar {
    width: 10px;
}

#nearby-result::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

#nearby-result::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a6a6a6, #555555);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

#nearby-result::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555555, #a6a6a6);
    box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.3);
}

#nearby-result::-webkit-scrollbar-corner {
    background: transparent;
}

.pos-info {
font-size: 14px;
margin-bottom: 5px;
}

.left.collapsed {
    transform: translateX(-500px)
}

.right.collapsed {
    transform: translateX(295px)
}

.f-right {
    float: right;
}

h4 {
    font-size: 18px;
}

.meteo img {
    width: 50px;
}

.f-left {
    float: left;
}

.input-container {
    position: relative;
    width: 100%;
    max-width: 210px;
}

.input-container input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    box-sizing: border-box;
}

.input-container .fa-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.input-container .picto-left,
.input-container .picto-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer
}

.input-container .picto-left {
    left: 10px
}

.input-container .picto-right {
    right: 10px
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid
}

#install-button,
#ios-prompt {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 15px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#ios-prompt {
    display: none;
    padding-right: 35px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.maplibregl-user-location-dot {
    background-image: url("/img/navigation.png");
    /* Chemin vers votre image */
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    transform: translate(-50%, -50%);
    /* Centrer l image sur le point de géolocalisation */
}

.maplibregl-user-location-dot {
    background-color: transparent;
}

.maplibregl-user-location-dot::before {
    content: "";
    display: none;
    /* Cache le cercle bleu animé */
}

.maplibregl-user-location-dot:after {
    height: 30px;
    width: 30px;
    left: 0px;
}

.icon {
    position: relative;
    display: inline-block;
    background-image: url('https://www.iso-maps.com/tiles/styles/iso/sprite2.png');
    /* Update with the path to your sprite image */
    background-repeat: no-repeat;
    width: 23px;
    height: 23px;
    vertical-align: middle;
    margin-top: -3px;
}

.icon_hospital {
background-position: -131px -157px;
}

.icon_pharmacy {
background-position: -131px -209px;
}

.icon_hotel {
background-position: -157px -27px;
}

.icon_restaurant {
background-position: -261px -235px;
}

.button-scroll-wrapper {
    display: flex;
    overflow-x: hidden;
    white-space: nowrap;
    gap: 8px;
    max-width: 80%; /* Regola la larghezza */
    margin: 0 auto;
}

.button-nearby {
    flex: 0 0 auto;
    margin: 0;
}

.scroll-btn {
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: #2C3E3C;
    cursor: pointer;
    padding: 5px;
}

.scroll-btn:hover {
    color: #555;
}

.scroll-btn:focus {
    outline: none;
}

.w-550px {
    width: 550px;
}

.ui-menu-item-wrapper {
    font-size: 0.8em;
}

.ui-menu-item-wrapper {
    display: flex;
    align-items: center;
}

.ui-state-active {
    color: #000 !important;
    font-weight: normal !important;
}

.input-container svg {
    position: absolute;
    top: 15px;
    right: 10px;
}

.itinary svg {
    margin-top: 7px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
top: 0;
left: 100%;
margin-top: -1px;
}

.submenu-icon {
    padding-left: 10px;
}

.search {
    position: relative;
    z-index: 10;
    background: #fff;
    padding: 5px 50px 5px 5px;
    width:300px;
    border-radius: 25px;
    color: #656565;
    margin-top: 10px;
    border:1px solid #dbdbdb;
    max-width:410px;
}

#autocomplete, #autocomplete2{
    background-color: white;
    color: #656565;
    border: none;
    padding: 0px 20px;
    height: 2rem;
    margin:2px 0 0 10px;
}

.mvToFront{
    z-index: 50;
}

#autoComplete_list_1, #autoComplete_list_2 {
    background: white;
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    font-size: 15px;
}

#autoComplete_list_1 li, #autoComplete_list_1 .no_result, #autoComplete_list_2 li, #autoComplete_list_2 .no_result{
    padding: 8px 5px 8px 20px;
    cursor: pointer;
}

#autoComplete_list_1 li:hover, #autoComplete_list_2 li:hover {
    background: #f0f0f0;
}


.sidebar-content {
    position: absolute;
    height: auto;
    font-family: Arial, Helvetica, sans-serif;
    color: gray;
    padding: 12px;
}

.sidebar-toggle {
    position: absolute;
    width: 1.3em;
    height: 1.3em;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center
}

#saveHikeModal{
    font-size: 14px;
}

#saveHikeModal input[readonly] {
    background-color: #f0f0f0; /* Gris clair */
    color: #6c757d; /* Gris foncé pour le texte */
    border: 1px solid #ced4da;
    cursor: not-allowed;
}

#saveHikeModal input[readonly]::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

.viewTop{
    margin-top:85px;
}




.forecast-period, .map-button-double {
    z-index: 20;
    left: 50%;
    align-items: start;
    transform: translate(-50%);
    position:absolute;
    box-shadow: 0 2px 10px 0 rgba(15, 68, 106, 0.3);
    display: flex;

}
.forecast-period{
    bottom: 55px;
}

.map-button-double{
    bottom: 10px;
}
.map-buttons-play .forecast-period {
    margin-bottom: 8px;
    padding: 4px 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    background-color: #FFF;
    border-radius: 14px;
}

.map-buttons-play-center button:nth-child(1), .map-buttons-play-center button:nth-child(3) {
    border-radius: 20px 0 0 20px;
}

.map-buttons-play-center button:nth-child(3) {
    border-radius: 0 20px 20px 0;
}

#flyoverControls .map-buttons-play-center button:nth-child(1), #flyoverControls .map-buttons-play-center button:nth-child(2), #flyoverControls .map-buttons-play-center button:nth-child(4) {
    border-radius: 20px 0 0 20px;
}

#flyoverControls .map-buttons-play-center button:nth-child(3) {
    border-radius: none;
}

#flyoverControls .map-buttons-play-center button:nth-child(5) {
    border-radius: 0 20px 20px 0;
}

.flyOver{
    font-size:2rem;
    color:white;
    z-index: 999;
    position: absolute;
    top: 80px;
    left:30px;
}
.map-button-double button{
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 40px;
    padding: 0;
    background-color: #FFF;
    border:none;
    font-size:1rem;
}

.map-button-double {
    /*position: relative;*/
    display: flex;
    border-radius: 100px;
}




.map-buttons-map {
    margin-right: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.map-folders, .map-settings, .map-zoom, .map-edit, .map-layer, .map-3D, .btn-mod-trace{
    z-index: 20;
    right: 10px;
    align-items: start;
    position:absolute;
    box-shadow: 0 2px 10px 0 rgba(15, 68, 106, 0.3);
    display: grid;
}

.map-folders{
    border-radius: 14px;
    top:60px;
}

.map-settings{
    border-radius: 14px;
    top:110px;
}

.map-zoom{
    top:160px;
}

.map-edit{
    top:350px;
    border-radius: 14px;
}

#map-modeTraceSelector{
    top:390px;
    right: 10px;
    align-items: start;
    position:absolute;
}

.map-layer{
    top:250px;
    border-radius: 14px;
}


.map-3D{
    top:300px;
    border-radius: 14px;
}

.map-folders button, .map-settings button, .map-zoom button, .map-edit button, .map-layer button, .map-3D button{
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background-color: #ffffff;
    color:#505050;
    border:none;
    font-size:0.8rem;
}

.map-folders button:nth-child(1), .map-settings button:nth-child(1), .map-zoom, .map-edit button:nth-child(1), .map-layer button:nth-child(1), .map-3D button:nth-child(1){
    border-radius: 20px 20px 20px 20px;
}

.map-zoom button:nth-child(1) {
    border-radius: 20px 20px 0 0;
}

.map-zoom button:nth-child(2) {
    border-radius: 0 0 20px 20px;
}

#layers {
    position: absolute;
    top: 15px;
    right: 55px;
    z-index: 20;
    width: 300px;
    background: white;
    border-radius: 20px;
    padding: 3px 20px 20px 20px;
    box-shadow: 0 2px 10px rgba(15, 68, 106, 0.3);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    overflow-y: auto;
    padding-bottom: 10px;
}

/* Layers panel header */
.layers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
}
.layers-title {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E3C;
}
.layers-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.15s;
    line-height: 1;
}
.layers-close:hover {
    color: #333;
    background: rgba(0,0,0,0.06);
}

.layerSelect{
    border: 3px solid #4E8B87;
}

.btn-close {
    cursor:pointer;
}
.layer-thumbs {
    display: flex;
    flex-wrap: wrap;
    max-height: 300px;
    gap: 10px;
    justify-content: left;
}

.layer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
    text-align: center;
    font-size: 12px;
    color: #2C3E3C;
}

.layer-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.layer-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.layer-tabs {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0 0 10px 0;
    gap: 0;
    width: 100%;
    border-bottom: 2px solid #e0e0e0;
}

.layer-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.layer-tab:hover {
    color: #4E8B87;
}

.layer-tab.active {
    color: #4E8B87;
    border-bottom-color: #4E8B87;
}

/* Overlay toggle list */
.overlay-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.overlay-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    cursor: default;
    transition: background 0.15s;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}
.overlay-item {
    cursor: grab;
}
.overlay-item.overlay-dragging {
    cursor: grabbing;
}
.overlay-item:last-child {
    border-bottom: none;
}
.overlay-item:hover {
    background: rgba(78, 139, 135, 0.06);
}

.overlay-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    flex-shrink: 0;
}

.overlay-name {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #2C3E3C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Opacity slider */
.overlay-opacity {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 6px;
    background: transparent;
    outline: none;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
    padding: 8px 0;
    box-sizing: content-box;
}
.overlay-opacity::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: #ddd;
}
.overlay-opacity.active::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #4E8B87 var(--pct, 0%), #ddd var(--pct, 0%));
}
.overlay-opacity::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #4E8B87;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    margin-top: -7px;
}
.overlay-opacity::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #ddd;
}
.overlay-opacity.active::-moz-range-track {
    background: linear-gradient(to right, #4E8B87 var(--pct, 0%), #ddd var(--pct, 0%));
}
.overlay-opacity::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4E8B87;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Drag handle */
.overlay-drag-handle {
    color: #ccc;
    font-size: 12px;
    cursor: grab;
    flex-shrink: 0;
    padding: 2px;
    transition: color 0.15s;
}
.overlay-drag-handle:hover {
    color: #999;
}
.overlay-item.overlay-dragging {
    opacity: 0.9;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
}
.overlay-drag-placeholder {
    background: rgba(78, 139, 135, 0.1);
    border: 2px dashed #4E8B87;
    border-radius: 8px;
}

/* Premium lock */
.overlay-premium {
    opacity: 0.5;
}
.overlay-premium .overlay-drag-handle {
    visibility: hidden;
}
.overlay-lock {
    flex-shrink: 0;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}

.box-info{
    border: 1px solid #a0a0a0;
    background-color: #efefef61;
    border-radius: 8px;
    margin: 1rem;
    padding:0.5rem 1rem;
}

.informations{
    border-bottom: 1px solid #11351d;

}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.btn-edit.active, .btn-3D.active{
    background-color: #11351d;
    color: #FFF;
}

.logo-container{
    margin-left: 50px;
}

.app-gym-main-header{
    border-bottom: 1px solid #4E8B87;
    padding: 3px 0 4px 0;
}

.app-gym-main-navigation li a{
    padding-bottom: 10px;
    line-height: 2rem;
}


.btn-outline-dark {
    --bs-btn-color: #2C3E3C;
    --bs-btn-border-color: #2C3E3C;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2C3E3C;
    --bs-btn-hover-border-color: #2C3E3C;
    --bs-btn-focus-shadow-rgb: 33, 37, 41;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2C3E3C;
    --bs-btn-active-border-color: #2C3E3C;
    --bs-btn-active-shadow: inset 0 3px 5px #2C3E3C;
    --bs-btn-disabled-color: #2C3E3C;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #2C3E3C;
    --bs-gradient: none;
}

.app-gym-main-navigation li{
    margin-left:30px;
}
form #app-gym-main-nav li{
    margin-left:0px;
}
#app-gym-main-nav{
    margin-right:10px;
}
/* ═══ Dropdown menus (desktop) ═══ */
.app-gym-main-navigation .dropdown .dropdown-menu {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    min-width: 200px;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-bottom: none;
}
.app-gym-main-navigation .dropdown:hover .dropdown-menu {
    top: 40px;
}
.app-gym-main-navigation .dropdown .dropdown-menu li {
    border-bottom: none;
}
.app-gym-main-navigation .dropdown .dropdown-menu li a {
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #2c3e3c;
    border-radius: 6px;
    margin: 0 6px;
    transition: background 0.15s, color 0.15s;
}
.app-gym-main-navigation .dropdown .dropdown-menu li a:hover {
    background: #f4f9f8;
    color: #3b706c;
}
.app-gym-main-navigation .dropdown .dropdown-menu li a:after {
    display: none;
}
.app-gym-main-navigation .dropdown:after {
    content: '';
    display: none;
}

/* ═══ Dropdown menus (mobile) ═══ */
.app-gym-mobile_menu_content .navbar-nav .dropdown-menu {
    background: rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    padding: 4px 0 !important;
    margin: 4px 0 8px !important;
}
.app-gym-mobile_menu_content .navbar-nav .dropdown-menu li {
    border: none !important;
    padding: 0 12px !important;
}
.app-gym-mobile_menu_content .navbar-nav .dropdown-menu li a {
    font-size: 14px !important;
    padding: 8px 12px !important;
    opacity: 0.85;
}


.savingText{
    color: #2C3E3C !important;
}

.title h3{
    color: #3B706C;
}

.priceCTA a{
    color: #FFF !important;
    background-color: #3B706C;
}

.btn:hover {
    background-color: #3B706C;
    border-color: #3B706C;
    color:#FFF;
}

.shepherd-element{
    margin-top: 12px !important;
}

.shepherd-has-title .shepherd-content .shepherd-header{
    padding: 0.5em !important;
}

.shepherd-has-title .shepherd-content .shepherd-header h3{
    font-weight:bold;
}
.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{
    background-color: #FFF !important;
}

/* Dynamic layer legend */
#layer-legend {
    position: fixed;
    z-index: 1000;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

#layer-legend.dragging {
    cursor: grabbing;
    opacity: 0.85;
}

#layer-legend img {
    max-height: 400px;
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Legend positions */
#layer-legend.legend-bottom-right {
    bottom: 40px;
    right: 60px;
}

#layer-legend.legend-bottom-left {
    bottom: 40px;
    left: 20px;
}

#layer-legend.legend-bottom {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

#layer-legend.legend-top-right {
    top: 80px;
    right: 60px;
}

#layer-legend.legend-top-left {
    top: 80px;
    left: 20px;
}

#layer-legend.legend-top {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
}

#layer-legend.legend-left {
    top: 150px;
    left: 20px;
}

#layer-legend.legend-right {
    top: 150px;
    right: 60px;
}


@media (min-width: 769px) {

    .desktopoff{
        display:none;
    }
    .buttons-box, .filterButton{
        display: block;
    }
    .mobileoff{
        display:block;
    }

    .app-gym-brand-logo{
        width: 150px!important;
    }
    .logo-container{
        margin-left: 50px !important;
    }

    .btn-earth{
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }

    #mapInfoFoot .hideMobile{
        display: flex !important;
    }

    #mapInfoFoot{
        margin-bottom: 0.5rem;
        bottom: -24px !important;
    }

    #mapInfoFoot div{
        font-size: 0.8rem !important;
        padding: 0.5rem 0.2rem !important;
    }
    #mapInfoFoot div:nth-child(3), #mapInfoFoot div:nth-child(6){
        width: 90px !important;
    }
    #mapInfoFoot div:nth-child(5){
        width: 110px !important;
    }

    .search input{
        max-width:450px;
    }

    .search{
        width: 500px !important;
    }

    .sidebar-content{
        width:400px !important;
    }

    #map, #mapContact {
        width: 100%;
        height: calc(100vh - 53px);
    }
    .search {
        width: 100%;
    }

}


/* Affiche 1 label sur 2 si hauteur suffisante */
@media (min-height: 600px) {
    #labels span:nth-child(2n) {
      display: block;
    }
  }

  /* Affiche tous les labels sur grands écrans */
  @media (min-height: 800px) {
    #labels span {
      display: block;
    }
  }
