@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&family=Roboto+Slab:wght@400;900&display=swap');

* {
    font-family: 'Quicksand', sans-serif;
}

:root{
    --header-height: 3rem;
    --nav-width: 230px;
    --theme-color: #FAF904;
    --first-color: #121418;
    --second-color: #1B1F24;
    --first-color-light: #FFFFFF;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --body-font: 'Roboto Slab', serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}

.Navigation a:not([href]):not([class]) {
    cursor: pointer;
    color: var(--white-color);
    text-decoration: none;
}

.Navigation a:not([href]):not([class]):hover {
    cursor: pointer;
    color: var(--black-color);
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    border: 1px solid var(--theme-color);
    border-radius: 5px;
}
   
::-webkit-scrollbar-thumb {
    background: var(--theme-color); 
    border-radius: 5px;
}
  
::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color);
}

[data-title]:hover:after {
    opacity: 1;
    transition: all 0.1s ease 0.5s;
    visibility: visible;
}
[data-title]:after {
    content: attr(data-title);
    position: absolute;
    display: block;
    bottom: -1.6em;
    right: 50px;
    padding: 4px 4px 4px 8px;
    color: var(--black-color);
    border: 1px solid var(--first-color);
    background: var(--theme-color);
    border-radius: 5px;
    opacity: 0;
    z-index: 99999;
    visibility: hidden;
}
[data-title] {
    position: relative;
}

[label-title]::after {
    content: "my tooltip";
    padding: 2px;
    display: none;
    position: relative;
    top: -20px;
    right: -30px;
    width: 150px;
    text-align: center;
    background-color: #fef4c5;
    border: 1px solid #d4b943;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}
[label-title]:hover::after {
    display: block;
  }

body a {
    text-decoration: none
}

@media only screen and (max-width: 960px) {
    html .CORPS {
        padding: 0;
    }

    html .BARRE {
        display: none;
    }

    html .HEADER-UTILISATEUR {
        display: none;
    }

    html .MENUDIV {
        display: none;
    }

    html .ENTETE {
        padding: 0 0 0 0;
        border-bottom: 0px solid;
    }

    html .CARTES {
        display: none;
    }

    html .BARRE-HAUT {
        display: none;
    }

    html .BARRE-MOBILE {
        display: block;
    }

    .BARRE-MOBILE {
        display: none;
        width: 100%;
        height: 100%;
        background: var(--theme-color);
        position: relative;
    }
    
    html .BARRE-MOBILE ul {
        margin-top: 7px;
        margin-bottom: 7px;
    }
    
    .BARRE-MOBILE-PARTIE-1 {
        position: relative;
        z-index: 1000;
        list-style: none;
        float: left;
        cursor: pointer;
        padding-left: 5px;
    }
    
    .BARRE-MOBILE-TITRE-PARTIE-1 {
        text-decoration: none;
        color: var(--black-color);
        font-size: 25px;
    }
    
    .BARRE-MOBILE-PARTIE-2 {
        position: absolute;
        width: 100%;
        display: grid;
        justify-content: center;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    
    .BARRE-MOBILE-PARTIE-3 {
        position: relative;
        z-index: 1000;
        list-style: none;
        float: right;
        cursor: pointer;
        padding-right: 5px;
    }
    
    .BARRE-MOBILE-TITRE-PARTIE-3 {
        text-decoration: none;
        color: var(--black-color);
        font-size: 25px;
    }
    
    .BARRE-MOBILE-LISTE-PARTIE-3 {
        display: inline;
    }
}

.BARRE-MOBILE {
    display: none;
}

.Navigation-Mobile .Partie-3 .Header-Utilisateur-Mobile {
    width: 20px;
    height: 20px;
    background-color: var(--first-color);
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.Navigation-Stations {
    margin-bottom: 2rem;
    margin-left: 1rem;
    font-size: 1.2em;
    max-height: 600px;
    overflow: auto;
}

.Navigation-Stations a {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 0.5rem;
    position: relative;
    color: var(--first-color-light);
    transition: .3s;
    margin-bottom: 0.2rem;
}

.Navigation-Stations a:hover {
    color: var(--black-color);
    background-color:#FAF904;
    border-radius: 10px;
}

.Navigation-Stations .Navigation-Stations-Active {
    color: var(--black-color);
    background-color:#FAF904;
    border-radius: 10px;
}

.Utilisateur-Nav {
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    list-style: none;
    z-index: 1;
}

.Header-Utilisateur img {
    width: 40px
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.r-navbar {
    display: none;
    position: fixed;
    top: 0;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.Navigation {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.Titre {
    margin-left: 1rem;
    color: var(--white-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--theme-color);
}

.Navigation-Session {
    margin-bottom: 2rem;
    margin-left: 1rem;
    font-size: 1.2em;
}

.Navigation-Session a {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 0.5rem;
    position: relative;
    color: var(--first-color-light);
    transition: .3s;
    margin-bottom: 0.2rem;
}

.Navigation-Session a:hover {
    color: var(--black-color);
    background-color:#FAF904;
    border-radius: 10px;
}

.Navigation-Session .Navigation-Session-Active {
    color: var(--black-color);
    background-color:#FAF904;
    border-radius: 10px;
}

.Corps {
    padding-left: calc(var(--nav-width) + 1rem);
    background-color: #1b1f24 !important;
}

.Conteneur {
    margin-top: 10px;
    height:auto;
}

@media screen and (min-width: 768px){
    body{
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }
    .header{
        height: calc(var(--header-height) + 1rem);
        padding: 0 1em 0 calc(var(--nav-width) + 2rem)
    }
    .header_img{
        width: 40px;
        height: 40px
    }
    .header_img img{
        width: 45px
    }
    .l-navbar{
        left: 0;
        padding: 1rem 1rem 0 0
    }
    .body-pd{
        padding-left: calc(var(--nav-width) + 188px);
    }
}

html a:not([href]):not([class]) {
    cursor: pointer;
    color: var(--white-color);
    text-decoration: none;
}

html a:not([href]):not([class]):hover {
    cursor: pointer;
    color: var(--theme-color);
    text-decoration: none;
}

html .tooltip {
    --bs-tooltip-color: var(--white-color);
    --bs-tooltip-bg: var(--first-color);
    --bs-tooltip-opacity: 1;
    font-family: var(--body-font);
    z-index: 100000;
}

html .toast-header {
    display: flex;
    align-items: center;
    padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);
    color: var(--bs-toast-header-color);
    background-color: var(--theme-color);
    background-clip: padding-box;
    border-bottom: var(--bs-toast-border-width) solid;
    border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
    border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));
    color: var(--black-color);
    font-family: var(--body-font);
    font-size: 15px;
}

html .toast-body {
    padding: var(--bs-toast-padding-x);
    word-wrap: break-word;
    background-color: var(--second-color);
    color: var(--white-color);
    font-family: var(--body-font);
    font-size: 15px;
    text-align: center;
}

html .modal-content {
    background-color: #1b1f24f0;
    color: var(--white-color);
}

html .modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-modal-header-padding);
    border-bottom: var(--bs-modal-header-border-width) solid var(--theme-color);
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}

html .btn-close {
    box-sizing: unset;
    width: unset;
    height: unset;
    color: #ff4c5e;
    background: transparent;
    border: 0;
    border-radius: .375rem;
    font-family: FontAwesome;
    font-size: 20px;
    opacity: 1;
    content: "\f057";
}

html .btn-close:focus {
    outline: 0;
    box-shadow: none;
    opacity: 1;
}

html .btn-close:hover {
    color: transparent;
    background: transparent;
    border: 0;
    font-family: FontAwesome;
    font-size: 20px;
    opacity: 1;
    transition: none;
    cursor: normal;
}

html .btn-close:hover:after {
    color: #ff4c5e;
    background: transparent;
    border: 0;
    font-family: FontAwesome;
    font-size: 20px;
    opacity: 1;
    content: "\f057";
    cursor: pointer;
}

html .form-check-input {
    background-color: var(--theme-color);
    border: 1px solid var(--first-color);
}

html .form-check-input:focus {
    border: 1px solid var(--first-color);
}

html .form-check-input:checked {
    background-color: var(--first-color);
    border: 1px solid var(--theme-color);
}

html .form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23121418'/%3e%3c/svg%3e");
}

html .form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23121418'/%3e%3c/svg%3e");
}

html .form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23FAF904'/%3e%3c/svg%3e");
}

html .form-check-input:focus {
    border-color: none;
    outline: 0;
    box-shadow: none;
}

html .form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--white-color);
    background-color: var(--first-color);
    background-clip: padding-box;
    border: 1px solid var(--theme-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

html .form-control:focus {
    color:var(--black-color);
    background-color:var(--theme-color);
    outline:0;
    box-shadow: none;
    border-color: var(--first-color);
}

html .form-control:focus::placeholder {
    text-align: center;
    color: var(--black-color);
    opacity:1
}

html .form-control::placeholder {
    text-align: center;
    color: var(--white-color);
    opacity:1
}

html .modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--theme-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}

html .btn-primary {
    --bs-btn-color: var(--white-color);
    --bs-btn-bg: var(--first-color);
    --bs-btn-border-color: var(--theme-color);
    --bs-btn-hover-color: var(--black-color);
    --bs-btn-hover-bg: var(--theme-color);
    --bs-btn-hover-border-color: var(--theme-color);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: var(--black-color);
    --bs-btn-active-bg: var(--theme-color);
    --bs-btn-active-border-color: var(--first-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--white-color);
    --bs-btn-disabled-bg: var(--black-color);
    --bs-btn-disabled-border-color: var(--theme-color);
}

html .dropdown-menu {
    --bs-dropdown-color: var(--white-color);
    --bs-dropdown-bg: var(--second-color);
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-divider-bg: var(--theme-color);
    --bs-dropdown-link-color: #212529;
    --bs-dropdown-link-hover-color: #1e2125;
    --bs-dropdown-link-hover-bg: #e9ecef;
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-link-active-bg: #0d6efd;
    --bs-dropdown-link-disabled-color: #adb5bd;
    --bs-dropdown-header-color: #6c757d;
}

html .dropdown-item {
    color: var(--white-color);
}

html .dropdown-item:hover {
    color: var(--black-color);
    background-color: var(--theme-color);
    cursor: pointer;
}

html .dropdown-item.active, .dropdown-item:active {
    color: var(--black-color);
    text-decoration: none;
    background-color: var(--theme-color);
}

.Erreur-Message {
    background: var(--second-color);
    border: 1px solid var(--theme-color);
    border-radius: 5px;
    text-align: center;
    height: auto;
    width: auto;
    color: var(--white-color);
    font-size: 20px;
    padding: 10px;
}

.Erreur-Message i {
    font-size: 20px;
}

html .leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: var(--first-color);
    color: var(--white-color);
    box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}

html .leaflet-container a.leaflet-popup-close-button {
    color: var(--white-color);
}

html .leaflet-popup-tip {
    background: var(--first-color);
}
