body {
    color: rgb(var(--bs-tertiary-color-rgb));
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

/* BEGIN CAROUSEL */

/* Carousel base class */
.carousel {
    margin-bottom: 0rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

/* END CAROUSEL */

/* BEGIN SCROLLBAR */

:root {
    --inseta: 10px;
    --insetb: -10px;
    --border2: 15px;
    --grey1: #ffffff;
    --main_second: #ffffff;
    --w: #ffffff;
    --green1: #186500;
    --green2: #28a600;
}

html {
    scroll-behavior: smooth
}

::-webkit-scrollbar {
    width: 1em;
    background: #212529;
    transition: all 1s!important;
    -webkit-transition: all 1s!important;
    -moz-transition: all 1s!important
}

textarea::-webkit-scrollbar {
    width: .8em;
    background: 0 0
}

::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb {
    border: 4px solid transparent;
    background-clip: padding-box;
    border-radius: var(--border2);
    background-color: var(--main_second);
    box-shadow: inset var(--insetb) var(--insetb) 0 var(--grey1),inset var(--inseta) var(--inseta) 0 var(--grey1);
    height: 20px;
    cursor: pointer;
    -webkit-border-radius: var(--border2);
    -webkit-box-shadow: inset var(--insetb) var(--insetb) 0 var(--grey1),inset var(--inseta) var(--inseta) 0 var(--grey1);
    -moz-border-radius: var(--border2);
    -moz-box-shadow: inset var(--insetb) var(--insetb) 0 var(--grey1),inset var(--inseta) var(--inseta) 0 var(--grey1)
}

textarea::-webkit-scrollbar-thumb,.content_news_scrollable::-webkit-scrollbar {
    box-shadow: inset var(--insetb) var(--insetb) 0 var(--w),inset var(--inseta) var(--inseta) 0 var(--w);
    -webkit-box-shadow: inset var(--insetb) var(--insetb) 0 var(--w),inset var(--inseta) var(--inseta) 0 var(--w);
    -moz-box-shadow: inset var(--insetb) var(--insetb) 0 var(--w),inset var(--inseta) var(--inseta) 0 var(--w)
}

/* END SCROLLBAR */

/* BEGIN GO TO TOP ARROW */

.gototop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s
}

.gototop.active {
    opacity: 1;
    visibility: visible
}

.gototop a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.8);
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    font-size: 20px;
}

.gototop a:hover,.gototop a:active,.gototop a:focus {
    text-decoration: none;
    outline: none
}

/* END GO TO TOP ARROW */

/* BEGIN WEBSITE LOADER */

.website-loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../images/loader.gif) center no-repeat #fff
}

/* END WEBSITE LOADER */

/* BEGIN FIX FOOTER */

.nav.justify-content-center.border-bottom.pb-3.mb-3 li {
    margin-right: 20px;
}

.nav.justify-content-center.border-bottom.pb-3.mb-3 a {
    display: inline;
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: skewX(-15deg);
}

.nav.justify-content-center.border-bottom.pb-3.mb-3 a:after, .nav.justify-content-center.border-bottom.pb-3.mb-3 a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: skewX(-15deg);
}

.nav.justify-content-center.border-bottom.pb-3.mb-3 a:after {
    background-color: var(--green1);
    z-index: -2;
}

.nav.justify-content-center.border-bottom.pb-3.mb-3 a:before {
    background-color: var(--green2);
    transition: all 0.3s;
    z-index: -1;
    width: 0;
}

.nav.justify-content-center.border-bottom.pb-3.mb-3 a:hover {
    color: #fff;
}

.nav.justify-content-center.border-bottom.pb-3.mb-3 a:hover:before {
    width: 100%;
}


.btn-ltc {
    display: compact;
    padding: 0.5rem 1.0rem;
    text-decoration: none;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-transform: uppercase;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.10rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: skewX(-15deg);
}

.btn-ltc:after, .btn-ltc:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: skewX(-15deg);
}

.btn-ltc:after {
    background-color: var(--green1);
    z-index: -2;
}

.btn-ltc:before {
    background-color: var(--green2);
    transition: all 0.3s;
    z-index: -1;
    width: 0;
}

.btn-ltc:hover {
    color: #fff;
    letter-spacing: 0.08rem;
}

.btn-ltc:hover:before {
    width: 100%;
}

.a-ltc {
    display: inline;
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: skewX(-15deg);
}

.a-ltc:after, .a-ltc:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: skewX(-15deg);
}

.a-ltc:after {
    background-color: var(--green1);
    z-index: -2;
}

.a-ltc:before {
    background-color: var(--green2);
    transition: all 0.3s;
    z-index: -1;
    width: 0;
}

.a-ltc:hover {
    color: #fff;
}

.a-ltc:hover:before {
    width: 100%;
}

.ltc-title {
    display: inline;
    padding: 0.1rem 1.5rem;
    text-decoration: none;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    color: var(--green1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: skewX(-15deg);
}

.ltc-title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Fond blanc */
    border: 2px solid var(--green1); /* Contour vert */
    transform: skewX(-15deg); /* Applique l'inclinaison au fond et au contour */
    z-index: -1;
    transition: all 0.3s;
    box-sizing: border-box; /* Pour inclure le contour dans la taille du pseudo-élément */
}

.partenaires-title {
    display: inline;
    padding: 0.1rem 1.5rem;
    text-decoration: none;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Fond noir semi-transparent */
}

/* FOR PARTENAIRES */

#partenaires {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 120px;
}

#partenaires .partenaires-wrap {
    display: block;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

#partenaires .partenaires-wrap ul {
    display: flex;
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0;
}

#partenaires .partenaires-wrap ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 100px;
    text-align: center;
    box-sizing: border-box;
    flex-shrink: 0;
    margin: 0 10px;
}

#partenaires .partenaires-wrap ul li a img {
    max-height: 100%;
    max-width: 100%;
    height: 100px;
    width: auto;
    object-fit: contain;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.live-indicator {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
    vertical-align: middle;
}

/* Style de la navbar sticky */
.navbar-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1020; /* Assurez-vous qu'elle reste au-dessus des autres éléments du site */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Ombre pour une meilleure visibilité */
}

body {
    padding-top: 60px;
}

#elevationChart {
    width: 100% !important;  /* Le canvas prend toute la largeur du conteneur */
    max-height: 200px !important; /* Limite la hauteur à 200px */
    height: auto; /* Ajuste automatiquement la hauteur en fonction de la largeur */
}


/* END FIX FOOTER */


#partenaires2 .partenaires2-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#partenaires2 .partenaires2-grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 0px; /* Espacement entre les logos, horizontal et vertical */
}

#partenaires2 .partenaires2-grid li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px; /* Largeur fixe des logos */
    height: 150px; /* Hauteur fixe des logos */
    margin: 5px; /* Espacement réduit entre les logos */
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #ddd; /* Contour léger autour de chaque logo */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Ombre subtile pour donner de la profondeur */
    background-color: #fff; /* Fond blanc pour chaque logo */
    border-radius: 4px; /* Arrondir légèrement les coins */

}

#partenaires2 .partenaires2-grid li img {
    max-width: 100%;
    max-height: 100%;
    height: 100px;
    object-fit: contain; /* Assure que l'image est entièrement visible */
    transition: transform 0.3s;
}

#partenaires2 .partenaires2-grid li a:hover img {
    transform: scale(1.1); /* Effet de zoom léger au survol */
}

.maplibregl-ctrl-attrib {
    font-size: 8px;
    opacity: 0.4;
    bottom: 0;
    right: 0;
    padding: 2px;
    background: rgba(255, 255, 255, 0.5); /* Ajouter un fond transparent */
    border-radius: 3px;
}