@charset "UTF-8";

html {
    overflow-y: scroll!important;
  }

body {
    min-height: 100vh;
}  

/* Rendre la page stable lors de l'ouverture de la modal */
body.modal-open {
    padding-right: 0 !important; /* Annuler le padding droit par défaut de Bootstrap */
}
  
  
@media (min-width: 576px) {.container-sm, .container {max-width: 550px;}}
@media (min-width: 768px) {.container-md, .container-sm, .container {max-width: 740px;}}
@media (min-width: 992px) {.container-lg, .container-md, .container-sm, .container {max-width: 960px;}}
@media (min-width: 1200px) {.container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1140px;}}
@media (min-width: 1400px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1320px;}}
@media (min-width: 1600px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1480px;}}
@media (min-width: 1700px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1580px;}}
@media (min-width: 1800px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1680px;}}
@media (min-width: 1900px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1780px;}}
@media (min-width: 2000px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1880px;}}
@media (min-width: 2100px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 1980px;}}
@media (min-width: 2200px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 2080px;}}
@media (min-width: 2300px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 2180px;}}
@media (min-width: 2400px) {.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {max-width: 2280px;}}



/*couleur centralisée pour tous les graphiques (aussi dans custom.js)*/
:root {--accent-color:#D1B280;}
.accent {color: var(--accent-color);}
.bg-accent {background-color: var(--accent-color);}

.navbar-brand {font-size: 0.8rem;}


.active-rubrique {
    color: var(--accent-color) !important;
    font-weight: bold;
}


.highcharts-contextbutton {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* Image de fond page-login*/
.bg-overlay {
    background: url('../images/auth/login.jpg') center/cover no-repeat;
    position: relative;
}

/* Overlay noir semi-transparent */
.bg-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.80); /* Noir à 60% de transparence */
}

/* Assure que le contenu reste au-dessus de l'overlay */
.bg-overlay > * {
    position: relative;
    z-index: 1;
}

.bg-svg {
    width: 100%;
    height: 50px; /* Ajuste selon tes besoins */
    background: url('../images/auth/background.svg') no-repeat bottom center;
    background-size: cover;
  }

.bg-icon{background-color: #f1f1f1;}


.nav-link {
    text-decoration: none;
    padding: 10px 10px;
}

.nav-link:hover {
    color: #7a7a7a; /* Changement de couleur au survol */
}

.nav-link.active {
    font-weight: bold;
    text-decoration: none;
}


.fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
    transition: top 0.3s ease-in-out;
}

.fixed-submenu {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 1010; /* Juste en dessous de menu-bar */
    transition: top 0.3s ease-in-out;
}


.bold-link {
    font-weight: bold;
}

.nav-section{border-bottom: solid 1px #dddddd; position: relative;}
.nav-section .nav-link{background-color: #fff;  color: #555555; border: none; margin:0;}
.nav-section .nav-link:hover{color: #020202; font-weight:400}
.nav-section .nav-link.active{background-color: #fff;color: #000; font-weight: bold; border-bottom: solid 3px #555; position: relative; margin-bottom: -2px; transition: all 0.3s ease-in-out;}



.menu-page {
    background-color: #fff;
    z-index: 900 !important;
}

#sitemap-button, #signals-button, #ask-button, #afr-button {
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #ddd; border-right: none;
    padding: 5px;
    margin-top: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: box-shadow 0.5s ease, color 0.5s ease; /* Transition plus douce */
}

#sitemap-button, #signals-button, #ask-button {padding: 5px;}
#afr-button a { color: #6c757d; font-weight: bold; text-align: center; display: block }
.afr-label .mode-big { font-size: 0.9rem; text-transform: uppercase;}
.afr-label .mode-small {font-size: 0.6rem; text-transform: lowercase; color: #aaa;line-height: 1;}
#boutons{position: fixed; right:0px; top:30%; z-index: 1200;}

/* Effet de survol */
#sitemap-button:hover, #signals-button:hover, #ask-button:hover, #afr-button:hover {
    border: 1px solid var(--accent-color); border-right: none;
    box-shadow: 0 0 5px var(--accent-color);
}

/* Écrase le style du bouton outline-hdo */
.btn-outline-hdo {
    color: #D1B280;                  /* Couleur du texte (ex: orange foncé) */
    border-color: #D1B280;           /* Couleur de la bordure */
    background-color: transparent;
    transition: all 0.2s ease-in-out;
  }
  
  .btn-outline-hdo:hover,
  .btn-outline-hdo:focus,
  .btn-outline-hdo:active {
    color: rgb(37, 37, 37);
    background-color: #D1B280;       /* Fond au hover */
    border-color: #a79e99;           /* Bordure au hover */
    box-shadow: 0 0 0 0.15rem rgba(75, 58, 47, 0.4);
  }
  
  /* Style spécifique au bouton #start-btn */
  #start-btn {
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
  }


.offcanvas{z-index: 1300;}
#offcanvasSignals{width: 28vw; overflow-x: hidden!important;  }
.offcanvas_xl{width: 35vw!important; overflow-x: hidden!important;  }

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 40px;
    display: none;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    line-height: 40px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#backToTop:hover {
    transform: scale(1.3);
}

.hdo_link {
    position: relative;
    text-decoration: none;
    color: #585858;
}

.hdo_link::after {
    content: ""; /* Par défaut, pas de contenu */
    position: absolute;
    right: -12px; /* Ajustez si nécessaire */
    opacity: 0; /* Masqué par défaut */
    transition: opacity 0.3s ease;
}
.hdo_link:hover{
    color: #1F3BB3;
}
.hdo_link:hover::after {
    content: "..."; /* Ajoute trois petits points au survol */
    opacity: 1; /* Rendre visible les trois petits points */
}

#settings-trigger {
    right: 130px;
}


@keyframes slideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
#arrow_up {
    position: fixed;
    bottom: 8px;
    right: 20px;
    height: 40px;
    width: 40px;
    background: #fdfdfd;
    z-index: 99;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    border-radius: 100%;
}

/* Supprime la flèche du dropdown dans les hamburgers des graphs*/
.no-arrow::after {
    display: none !important;
}
/*main sur les textes du menu hamburger des graphs*/
.dropdown-item i {
    cursor: pointer !important;
}




#user-register-moto-table, #liste_logs {
    --bs-table-bg: transparent; /* ou la couleur de votre choix */
}


#sliders_scores_log a{text-decoration: none; color: black;}
#sliders_scores_log a:hover{color: rgb(39, 94, 245);}
.statistics-title a{text-decoration: none; color: #999}
.statistics-title a:hover{color: rgb(39, 94, 245);}


 /*sliders min et max des heatmaps page VE.php*/
.range-container {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 0;
}

.range-container .range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: #e6e9ed;
    border-radius: 5px;
}

.range-container .range-highlight {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: blue;
    border-radius: 0px;
   transition: left 0.1s, right 1.3s ease-in-out;
}

.range-container .range-thumb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; /* Taille du thumb */
    height: 18px; /* Taille du thumb */
    background: white; /* Fond blanc */
    border: 1px solid #dee2e6; /* Bordure de couleur */
    border-radius: 50%; /* Forme ronde */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px; /* Taille du texte */
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
    opacity: 0; /* Initialement invisible */
    transition: left 1.3s ease-in-out, opacity 0.5s ease-in-out; /* Animation de la translation et de l'opacité */
}

.range-thumb.animate {
    opacity: 1; /* Rendre visible */
}

.range-container .range-thumb .inner-circle {
    position: absolute;
    width: 6px; /* Largeur du point rond */
    height: 6px; /* Hauteur du point rond */
    background: rgb(0, 110, 255); /* Couleur du point rond */
    border-radius: 50%; /* Forme ronde */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer le point rond */
}
.range-container .range-thumb .thumb-value {
    position: absolute;
    bottom: 20px; /* Positionne le texte au-dessus du thumb */
    width: 40px;
    text-align: center;
    color: rgb(7, 7, 7); /* Texte  */
    background: white; /* Fond blanc pour meilleure lisibilité */
}

@keyframes slideAnimation {
    0% {
      transform: translateX(-200%); /* Position initiale du handle */
    }
    100% {
      transform: translateX(0%); /* Déplacement du handle vers la droite */
    }
  }
  .noUi-handle.noUi-handle-lower {
    animation: slideAnimation 1s;
  }



/*
.timeline .timeline-wrapper {
        padding-right: 1px; 
        margin-bottom: -30px;
    }

.timeline .timeline-wrapper .timeline-panel {
        width: 49%;
        margin-left: 1px;
    }
.timeline .timeline-wrapper.timeline-inverted .timeline-panel {

        margin-right: 1px; 
    }
*/

#stageSelect:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1); /* halo gris clair */
    border-color: #bbb; /* bordure grise */
    outline: none;
    }


/*icones laterales*/

.graph-control-icons a {
transition: all 0.2s ease-in-out;
display: inline-block;
border-radius: 3px;
box-shadow: 0 0 0 2px #e6e6e6; 
background-color: #f8f8f8;
padding: 2px;
    }
    
.graph-control-icons a:hover,
.graph-control-icons a:focus {
    background-color: #f0f0f0;
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color); /* effet focus */
    cursor: pointer;
    }

/* S'applique à toutes les cellules cliquables tableau des CDE*/
#cde-map-table td[onclick] {
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#cde-map-table td[onclick]:hover {
	background-color: #ececec;
	/*text-shadow: 0 0 0.3px #000, 0 0 0.3px #000; /* Faux gras */
	/*text-decoration: underline dotted #999;*/
}


/* SPINNER
======================================================================*/
.bgwhite {background:#ffffff !important;}
.spinner-border{position:absolute; top:40%; left:50%;}
.spinnermessage {position:absolute; top:50%; left:50%; width:600px; margin-left:-300px; margin-top:50px; font-weight:300; text-align: center}
.cssload-loader {position:absolute; top:0px; left:0; width:100%; height:100%; background-color:rgba(0,0,0,.5); border-radius:4px; z-index: 99999}

