﻿@font-face {
    font-family: Outfit;
    src: url(Font/Outfit-Regular.ttf);
}
@font-face {
    font-family: Staatliches;
    src: url(Font/Staatliches-Regular.ttf);
}
a:hover{
    text-decoration:none;
}

.noUnderline {
    text-decoration: none;
}

.noUnderline:hover {
    text-decoration: underline;
}

/* Page dimension */
.body-content {
    padding: 20px 10% 20px 10%;
    min-height: 70vh;
}

.logo {
    background-image: url(Images/logo_complet.jpg);
    width: 220px;
    height: 40px;
    background-size: contain
}

@media only screen and (max-width: 550px) {

    .colorCircle.top {
        top: 0 !important;
        left: -400px !important;
    }

    .body-content {
        padding: 20px 6% 20px 6%;
    }
    .myNavbar {
        width: 92% !important;
    }
}
.toast.show{
    display: block;
    opacity:1;
}
.fit-content{
    max-width: fit-content;
}
body {
    font-family: Outfit;
    background-color: #cebd8b17;
}

.titleFont{
    font-family: Staatliches;
    letter-spacing:1.5pt;
}

/* Image dimension */
.imageLogo{
    width: 5em;
    height: 5em;
}

.imageAdmin{
    width: 3em;
    height: 3em;
}

.icon-dimension {
    width: 1.5em;
    height: 1.5em;
}

.listOfDevice a{
    display:flex;
    align-items:center;
    margin-left: 0.5em;
}
/* Buttons */
.bottomButtons {
    padding-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.bottomButtons button {
    margin: 0 10px 0 10px;
}


    /* NAVBAR */
.myNavbar {
    z-index: 1000;
    display: flex;
    flex: auto;
    justify-content: space-between;
    align-items: center;
    height: 7em;
    margin: 15px 0 0 0;
    padding: 40px 20px;
    background: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    width: 85%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
@media only screen and (max-width: 360px) {
    .myNavbar {
        padding: 15px;
    }
}
.titlePage {
    font-size: 1.5em;
    margin: 0;
    text-align:right;
    font-family: Staatliches;
    letter-spacing:1.5pt;
}
.colorTitle {
    color: #1C1B1B;
    font-family: Staatliches;
    letter-spacing: 1.5pt;
}
.colorNotImportant{
    color:grey;
}
.colorServiceTitle, .colorActualiteTitle {
    color: #1A979B;
    font-family: Staatliches;
    letter-spacing: 1.5pt;
}
.colorText {
    color: #2C3D4B !important;
    overflow : hidden;
    text-overflow: ellipsis;
}

.boxedText {
    white-space: nowrap;
    max-width: 25rem;
    margin-right: auto;
    display: block !important;
}

.condensed-text {
    white-space : nowrap;
    overflow : hidden;
    text-overflow : ellipsis;
    max-width : 100%;
}

.colorIncidentTitle {
    color: #FF5E00;
    letter-spacing: 1.5pt;
    font-family: Staatliches;
}

.colorMaintenanceTitle {
    color: #F8AB1A;
    font-family: Staatliches;
    letter-spacing: 1.5pt;
}

.colorService {
    color: #1A979B;
}

.colorIncident {
    color: #FF5E00;
}

.colorMaintenance {
    color: #F8AB1A;
}

.colorMaintenanceDarker {
    color: #e69138;
}

.center{
    position:relative;
    left: 50%;
    transform:translateX(-50%);
}
.center-child{
    display:flex;
    justify-content:center;
    align-items:center;
}

.dropdown {
    z-index : 1000;
}

/* INDEX PAGE */
/* Margin and Padding */
.indexPage {
    width: auto;
    margin: auto;
}


/* Boxes (large and small) */

.largeBoxBorder {
    padding: 20px;
    margin-bottom: 3em;
    background: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    position:relative;
}

.smallBoxBorder {
    padding: 20px;
    margin-bottom: 1em;
    background: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    position: relative;
}

.whole-body-box {
    padding: 20px;
    margin-bottom: 1em;
    background: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    position: relative;
    min-height : 60vh;
}

.hidden {
    display: none;
}

.listText {
    overflow : hidden;
    text-overflow : ellipsis;
}

.bordered-text {
    border : solid;
    border-radius : 8px;
    border-color : black;
}

.firstBoxInformations {
    display: flex;
    justify-content: space-around;
    flex-flow: wrap row;
}

.firstBoxInformations div {
    align-items: center;
    text-align: center;
}

.smallBox {
    width: 100%;
    padding: 20px;
    margin-bottom: 3em;
    background: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    position: relative;
    display : flex;
    flex-direction : column;

}
.bordered::before, .sidebordered::before {
    content: "_";
    background: #1A979B;
    color: #1A979B;
    width: 100%;
    height: 1em;
    height: inherit;
    position: absolute;
    top: -4px;
    left: 0;
    border-radius: 8px;
    z-index: -1;
}

.setIndex {
    z-index: 1;
}
.sidebordered::before {
    top: 0;
    left: -4px;
    width: 2em;
    height: 100%;
}

.bordered.maintenance::before, .sidebordered.maintenance::before {
    background: #F8AB1A;
    color: #F8AB1A;
}

.bordered.incident::before, .sidebordered.incident::before {
    background: #ff5e00;
    color: #ff5e00;
}

/* Title section */
.boxTitle {
    font-family: Staatliches;
    letter-spacing: 1.5pt;
    display: grid;
    align-items: center;
}

.boxTitle p{
    justify-self: center;
    font-size: 1.5em;
}

.boxTitle a{
    justify-self: end;
}

.seeMore {
    background: linear-gradient(135deg, #1A979B, #234578);
    border-radius: 11px;
    margin: 1em 0 0.5em;
    color: #fff;
    padding: 0.3em 0;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    opacity: 0.8;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.absolute-button {
    position : absolute;
    top : 17em;
}

.seeMoreIncident {
    background: linear-gradient(135deg, #ff5e00, #813b41);
}
.seeMoreMaintenance {
    background: linear-gradient(135deg, #F8AB1A, #a19061);
}
.seeMore:hover {
    transform: scale(0.98) translateX(-50%);
    color: #fff;
    opacity: 1;
}
.seeMoreLink{
    font-weight:bold;
    color:black;
    text-decoration: underline;
}
.seeMoreLink:hover {
    color: black;
    text-decoration: unset;
}
.importance, .parentLabel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 6px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
    height: 2em;
    width: max-content;
}

.parentLabel {
    display: inline !important;
    color: grey;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
}

.serviceLabel {
    display: inline !important;
    color: #1A979B;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
    white-space : nowrap;
}

.cibleLabel {
    display: inline !important;
    color: purple;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
    white-space : nowrap;
}

.base-label {
    display: inline !important;
    color: black;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
    white-space: nowrap;
}

.downLabel {
    display: inline !important;
    color: #ff0000;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
}

.maintenanceLabel {
    display: inline !important;
    color: #F8AB1A;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
}

.incidentLabel {
    display: inline !important;
    color: #FF5E00;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
}

.informationLabel {
    display: inline !important;
    color: #1A979B;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
}

.operationalLabel {
    display: inline !important;
    color: #198754;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    width: fit-content;
    height: fit-content;
    padding: 0 6px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 0.75em;
    margin-bottom: 0.25em;
}


.importanceCritique {
    background: #ff0000;
}
.importanceMajeur {
    background: #ff7400;
}
.importanceMineur {
    background: #ffc100;
}
.importanceInformatif{
    background:green;
}

.alert{
    display:flex;
    justify-content: space-between;
    border:none;
}

.statusService {
    border-radius: 0.375rem;
    padding: 0.5em;
    font-variant-numeric: tabular-nums;
}

.downAlert {

}

.incidentAlert {
    background-color: #FF5E0033;
    color: #FF5E00;
}

.maintenanceAlert {
    background-color: #F8AB1A33;
    color: #e69138;
    border-color: #e69138;
}

.informationAlert {
    background-color: #1A979B33;
    color: #1A979B;
    border-color: #1A979B;
}

.operationalAlert {
    background-color: #0f513233;
    color: #0f5132;
    border-color: #0f5132;
}

/* Size of internal services and external services */
.services {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.filter {
    max-width: 300px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}
.toast {
    max-width: 350px;
    overflow: hidden;
    font-size: 0.875rem;
    background: rgb(255, 255, 255);
    background-clip: unset;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-radius: 8px;
    margin: 0 0.5em 0.5em 0;
}
#Cookie_Toast{
    min-width:420px;
}
@media screen and (max-width: 450px) {
    #Cookie_Toast {
        min-width: 90% !important;
    }
}
.toast:first-child {
    margin-top: 0.5em;
}
.toast-header {
    display: flex;
    justify-content: space-between;
    align-items:flex-start;
}
/* List of services section */
.listOfDevice {
    display: flex;
    flex-direction: column;
    margin-bottom : auto;
}

.home-boxed-item {
    display: flex;
    justify-content: space-between;
    align-items:center;
    border-bottom: 1px solid #dfdfdf;
    padding-top: 1.1em;
}
.listOfDevice div div{
    border-bottom: none;
}
@media screen and (min-width: 800px){

    .services {
        flex-direction: row;
        justify-content: space-between;
    }

    .smallBox {
        width: 44%;
    }

    @media screen and (min-width: 1400px) {
        .indexPage {
            width: 1100px;
            margin: auto;
        }
    }
}

.btn-light{
    border: 1px solid lightgrey;
}
/* HISTORY PAGE */
/* Head of the body -> contain the search space */
.sortingOptions {
    padding: 20px;
    display: flex;
    gap: 2em;
    border-bottom: 1px solid lightgray;
}


/* The result list of the request */
.articleResult, .latest-actualite-card {
    padding: 15px;
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    background: #fbfbfb;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    position: relative;
}

.resume{
    margin-top: 0;
}
.articleResult:hover {
    background: #f1f1f1;
}
.resultHeader, .resultSubHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}
.resultSubHeader{
    justify-content: unset;
}
.articleResult p {
    padding: 10px 10px 0 10px;
}

    /* ADMIN PAGE */

.adminPage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adminPage p {
    font-size: 20px;
}

.adminBox {
    padding-top: 20px;
    width: 100%;
    display: flex;
    flex-flow: wrap row;
    justify-content: space-around;
}

@media screen and (min-width: 600px) {
    .adminBox {
        width: 80%;
    }

    @media screen and (min-width: 950px) {
        .adminBox {
            width: 70%;
        }

        @media screen and (min-width: 1400px) {
            .adminBox {
                width: 50%;
            }
        }
    }
}

.colorCircle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    position: absolute;
    background-color: #cebd8b17;
}

.colorCircle.top {
    top: 10%;
    left: -400px;
}
.colorCircle.bottom {
    bottom:0;
    right:-20%;
}
.colorCircle.big{
    width: 800px;
    height: 800px;
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.login h2 {
    padding-bottom: 20px;
}

.loginBox input {
    margin-bottom: 20px;
    width: 100%;
    padding: 0.5em;
}

.loginBox {
    border: 1px solid;
    border-bottom-color: black;
    border-radius: 8px;
    background-color: #eaeaea;
    padding: 20px;
    width: 400px;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 750px) {
    .loginBox {
        width: 300px;
    }
    .logo {
        background-image: url(Images/arsdataLogo.png);
        width: 70px;
        height: 70px;
    }
}


    /* ADMIN PANEL PAGES (create, modify, ...) */

.formToDatabase {
    margin: auto;
    width: 90%;
    display: flex;
    flex-direction: column;
}

.formToDatabase h2 {
    padding-bottom: 20px;
    margin-bottom: 50px;
    border-bottom: 2px solid #AEAEAE;
}

.formToDatabase p {
    margin-bottom: 10px;
    font-family: 'Montserrat', 'Lato', 'Source Sans Pro', sans-serif;
}

.formToDatabase article {
    width: 100%;
    padding-bottom: 30px;
}

.formToDatabaseInput {
    width: 100%;
}

.formToDatabaseHour {
    display: flex;
    flex-flow: wrap row;
}

.formToDatabaseHour div {
    margin-right: 20px;
}

/* form to search by ID */
.searchByName {
    padding-bottom: 50px;
}

.searchByName legend {
    border: none;
}

/* Buttons in Service */
.formToDatabaseInputRadio label {
    margin-right: 15px;
}

@media screen and (min-width: 800px) {
    .formToDatabase {
        width: 85%;
    }
    
    .formToDatabase article {
        width: 400px;
    }

    .formToDatabaseInput {
        width: inherit;
    }

    @media screen and (min-width: 1200px) {
        .formToDatabase {
            width: 70%;
        }

        .formToDatabase article {
            width: 500px;
        }
    }
}

/* Collapse to show the list of services/incidents */
.collapseServiceList{
    display: flex;
    flex-direction: column;
    padding: 5px 0 15px 0;
}

.collapseServiceList p {
    font-weight: bold;
}

.collapseServiceList label {
    font-weight: normal;
}


    /* consult PAGES */
.consultPages {
    display: flex;
    flex-direction: column;
}

.consultPagesHeader {
    display: flex;
    flex-flow: wrap row;
    align-items: center;
    justify-content: flex-start;
}

.consultPages article {
    padding-top: 15px;
}

.center-child .importance{
    margin: 0 0 0 1em;
}


.Subtitle{
    color:grey;
    margin-top:10px;
}

.circleContainer{
    position: absolute;
    height:100%;
    width:100%;
    overflow:hidden;
    right:0;
    bottom:0;
    z-index:-1;
}
.backgroundSecond {
    background-color: #2C3D4B;
    color: white;
}

.MyFooter {
    position: relative;
    bottom: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 15px -3px rgb(15 23 42 / 8%);
    border-radius: 8px;
    padding: 40px 45px 15px;
    margin-bottom:8px;
}
.MyFooter a{
    color:white;
    display:block;
}
.underline{
    text-decoration:underline;
}

.home-link, .incidents-link, .maintenance-link, .actualite-link, .service-link {
    display: flex;
    gap: .5em;
    text-decoration: none !important;
    padding: .2em .4em;
    border-radius: 5px;
    border: 2px solid #615656;
    /* filter: grayscale(); */
    width: max-content;
    background-color: white;
    color: black;
}

.incidents-link {
    border-color: #b92020;
    background-color: #edd0d0;
    color: #8f0505;
}

.maintenance-link {
    border-color: #a1721b;
    background-color: #f3e6cb;
    color: #a1721b;
}

.actualite-link, .service-link {
    border-color: #1A979B;
    background-color: #ecfcfd;
    color: #1A979B;
}

.home-link:hover, .incidents-link:hover, .maintenance-link:hover, .actualite-link:hover, .service-link:hover {
    opacity: .8;
    color: #615656;
}

.incidents-link:hover {
    color: #8f0505;
}

.maintenance-link:hover {
    color: #a1721b;
}

.actualite-link:hover, .service-link:hover {
    color: #1A979B;
}

.links-arianne-container {
    display: flex;
    gap: .5em;
    border-radius: 5px;
    width: max-content;
    margin-bottom: 1em;
}

.latest-actualite-container{
    position: fixed;
    padding: 2em 4em;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    top: 0;
    left: 0;
    backdrop-filter: blur(8px);
    background: rgba(0,0,0,0.1);
    justify-content: center;
    align-items: flex-start;
    z-index: 1001;
    display: none;
}

.forced-notification-subcontainer{
    padding: 0 75px;
}

.latest-actualite-card {
    margin-top: 0;
    width: 100%;
    padding: 2em 2.5em;
    overflow-y: auto;
    overflow-x: visible;
}

.latest-actualite-container.show {
    display: flex;
}

.latest-actualite-header{
    display: flex; 
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.slider-wrapper {
    margin: 1rem;
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.slides-container {
    height: calc(100vh - 2rem);
    width: 100%;
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slide-arrow {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    height: 2rem;
    width: 2rem;
    background-color: white;
    border: none;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    opacity: 0.5;
    transition: opacity 100ms;
    padding: 15px;
    z-index: 2;
}

.nav-btn-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
    height: 1rem;
    width: 100%;
    font-size: 3rem;
    z-index: 2;
    margin-bottom:1rem;
}

.nav-btn-slide {
    height: .3em;
    width: .3em;
    border-radius: 50%;
    background: black;
    margin: .1em;
    cursor:pointer;
    transition: all 1s ease-in-out;
}
.nav-btn-slide.visited{
    background: grey;
}
.nav-btn-slide.active {
    background: white;
}

.slide-arrow:hover,
.slide-arrow:focus {
    opacity: 1;
}

#slide-arrow-prev {
    left: 0;
}

#slide-arrow-next {
    right: 0;
}

.slide {
    width: 100%;
    height: 100%;
    flex: 1 0 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2.5em;
    opacity: 0;
    display:none;
    transition: all 1s ease-in-out;
}

.slide.visible {
    opacity: 1;
    display: flex;
    animation: 1s softAppear ease-in-out forwards;
}

.nav-btn-close {
    display: block;
    color: grey;
    z-index: 23;
    position: absolute;
    top: 1em;
    margin-left: auto;
    right: 1em;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.6em;
    padding: .2em .5em;
    background-color: lightgrey;
    border: 3px solid grey;
}
.nav-btn-close:hover{
    cursor: not-allowed;
}
.nav-btn-close.not-enable:hover::after{
        content: "Veuillez d'abord lire toutes les informations";
    position: absolute;
    font-size: .6em;
    width: max-content;
    right: 2em;
    top: 2em;
    background: white;
    padding: .2em .3em;
    border-radius: 8px;
    border: 2px solid grey;
}

.nav-btn-close.enable {
    background: #f8d7da;
    border: 3px solid #dda9ae;
    color: #c73744;
    cursor: pointer;
    display: block;
}

.servicesRadio {
    --bs-btn-color: #1A979B;
    --bs-btn-border-color: #1A979B;
}

#servicesRadio:checked + .servicesRadio {
    background-color: #1A979B;
    --bs-btn-active-border-color: #1A979B;
    color: white;
}

.incidentsRadio {
    --bs-btn-color: #FF5E00;
    --bs-btn-border-color: #FF5E00;
}

#incidentsRadio:checked + .incidentsRadio {
    background-color: #FF5E00;
    --bs-btn-active-border-color: #FF5E00;
    color: white;
}

.maintenancesRadio {
    --bs-btn-color: #F8AB1A;
    --bs-btn-border-color: #F8AB1A;
}

#maintenancesRadio:checked + .maintenancesRadio {
    background-color: #F8AB1A;
    --bs-btn-active-border-color: #F8AB1A;
    color: white;
}

.form-check-input {
    cursor: pointer;
}

.filter-dropdown, filter-dropdown:hover {
    width: 200px;
    border: 1px solid #ced4da !important;
}

.offcanvas-btn {
    right: 389px;
    top : 50vh;
    visibility: visible;
}

.dropdown-item.filter-item {
    --bs-dropdown-link-active-color : none;
    --bs-dropdown-link-active-bg: #e9ecef !important;
}

input[type='checkbox'] {
    cursor : pointer;
}

option {
    cursor : pointer;
}

.popover-body {
    display : flex;
    flex-direction : column;
}

td {
    vertical-align : middle;
}

.date-subtext {
    color: grey;
    font-size: 0.7em;
    margin-left: 1em;
    position: relative;
    bottom: 5px;
    font-variant-numeric: tabular-nums;
}


.legend-header {
    align-content : center;
    width: fit-content;
    text-transform: uppercase;
    font-size : 0.7em;
    font-weight : bold;
    padding-left: 0.5em;
    padding-right: 0.5em;
    position: relative;
    flex: 1;
    white-space : nowrap;
}

.legend-header-fill {
    flex : 1;
}

.legend-row {
    display : flex;
    flex-wrap : wrap;
    flex-direction : row;
    justify-content : center;
    align-items : center;
    gap : 1em;
}

.legend-item-status {
    display : flex;
    align-items : center;
}

.status-label {
    font-size : 0.7em;
    font-weight : bold;
    margin-left : 0.3em;
}

.popover-icon {
    cursor : pointer;
}

.sort-dropdown {
    width: 20em;
    border: 1px solid #ced4da !important;
}

.dropdown-menu.show {
    max-height : 24em;
    overflow-y : auto;
}

.create-user-form div {
    margin-top : 0.5em;
    margin-bottom : 0.5em;
    width : 75%;
}

.last-column {
    width : 1em;
}

.inactive-row {
    --bs-table-hover-bg : none;
    background-color : lightgrey;
}

.text-medium {
    font-size : medium;
}
.logo-dimension {
    padding-bottom : 4px;
    width: 1.5em;
    height : 1.5em;
}

.validation-alert {
    display : none;
    margin : 0;
    width : 100% !important;
    margin-bottom : 1em;
}

.validation-alert ul{
    margin: 0;
}

.first-col {
    width : 10em;
}

table {
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.critique-tooltip {
    --bs-tooltip-bg: red;
    --bs-tooltip-color: var(--bs-white);
}

.majeur-tooltip {
    --bs-tooltip-bg: #ff7400;
    --bs-tooltip-color: var(--bs-white);
}

.mineur-tooltip {
    --bs-tooltip-bg: #ffc100;
    --bs-tooltip-color: var(--bs-white);
}

.informatif-tooltip {
    --bs-tooltip-bg: green;
    --bs-tooltip-color: var(--bs-white);
}

.dark-red-tooltip {
    --bs-tooltip-bg: #dc3545;
    --bs-tooltip-color: var(--bs-white);
    --bs-tooltip-font-size : small;
    line-height : 1em;
}

.custom-tooltip {
    position: relative;
    display: inline-block;
}
.tooltip-body {
    visibility: hidden;
    width: 250px;
    padding: 0.5rem 0.25rem;
    position: absolute;
    color : #212529;
    z-index: 1;
    bottom: 125%;
    left: -113px;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: nowrap;
}

.offcanvas-tooltip-body {
    visibility: hidden;
    width: 250px;
    padding: 0.5rem 0.25rem;
    position: absolute;
    color: #212529;
    z-index: 1;
    bottom: 125%;
    left: 0px;
    opacity: 0;
    transition: opacity 0.3s;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: nowrap;
}


.tooltip-header {
    font-size: 1rem;
    background-color: #f0f0f0;
    padding: 0.5rem 0.5rem;
    text-align: center;
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
    font-weight: 500;
}

.tooltip-content {
    font-size: 0.875rem;
    background-color: white;
    padding: 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-bottom: 1px solid rgba(0, 0, 0, 0.175) !important;
    border-bottom-left-radius: calc(0.5rem - 1px);
    border-bottom-right-radius: calc(0.5rem - 1px);
}


.custom-tooltip .tooltip-body::after {
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.175) transparent transparent transparent;
}


.custom-tooltip:hover .tooltip-body {
    visibility: visible;
    opacity: 1;
}

.tooltip {
    --bs-tooltip-opacity: 1 !important;
}

.offcanvas-indication {
    position : fixed;
    top: 48%;
    right: 2%;
}

.offcanvas-label {
    position: fixed;
    top: 43%;
    right: 2%;
    font-size : 30px;
    font-weight : bold;
}

.curved-arrow {
    height : 50px;
}

.incident-resolve-button {
    background-color: #198754;
    color: white;
    border-radius: 4px;
    height: 31px;
    border: none;
    width: max-content;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
}

.incident-resolve-button:hover {
    background-color: #157347;
    border-color: #146c43;
}

.maintenance-done-button {
    background-color: #198754;
    color: white;
    border-radius: 4px;
    height: 31px;
    border: none;
    width: max-content;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
}

.maintenance-done-button:hover {
    background-color: #157347;
    border-color: #146c43;
}

.check {
    margin-left : 1em;
    width : 2em;
}

.text-green {
    color: #198754;
    font-weight : bold;
}

.text-red {
    color: #dc3545;
    font-weight: bold;
}

.form-modal {
    width : inherit;
    display : flex;
    flex-direction : column;
    align-items : center;
}

.note-editing-area {
    background : white;
}


    @keyframes softAppear {
        0% {
            display: flex;
        }

        1% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }