
area{
    cursor: pointer;
}

/* Main black container used to hold most of the elements of the website */
/* Container principal noir qui contient la plupart des différents éléments du site */
.boxContainer{
    background-color: rgb(35, 35, 35);
    display: flex;
    flex-direction: column;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 1vw;
    margin-right: 1vw;
    padding: 2%;
    width: fit-content;

    justify-content: center;
    align-items: center;

}
/* If elements need to be aligned horizontally inside */
/* Si les éléments ont besoin d'être alignés horizontallement à l'intérieur */
.boxContainerH{
    background-color: rgb(35, 35, 35);
    display: flex;
    flex-direction: row;

    margin-left: 1vw;
    margin-right: 1vw;
    padding: 2%;
    width: fit-content;

    justify-content: center;
    align-items: center;

}

/* Box container's title */
/* Le titre de box container */
.boxTitle{
    font-size: 125%;
    width: 100%;
    border-bottom: solid rgb(227,19,20) 3px;
    margin-bottom: 1vh;
    padding-bottom: 1vh ;
    margin-top: 1.25vh;
}

/* Notes for the boxes */
/* Notes pour les box */
.note{
    padding-top: 1%;
    padding-bottom: 1%;
    color: rgb(162, 162, 162);
    font-size: 90%;
}

/* For the container of the screen's web visualisation */
/* Pour le container de la visualisation de la webvisu */
.IVRACScreen{
    flex: auto;
    width: 72vw;
    height: 70vh;
    background-color: rgb(211, 211, 211);
}




/* For all the csv files displayed as tables */
/* Pour tous les fichiers csv affichés en tableaux */
table,th,td{
    
    padding: 10px;
    border-collapse: collapse;
    
}

.csvtable{
    max-height: 22rem;
    border: 2px black solid;
    overflow: auto;
    background-color: lightgrey;

}
@media (min-width: 200px) and (max-width: 1175px) and (orientation: portrait) {
    .csvtable{
        max-height: 15rem;

    }
}
@media (max-width: 1175px) and (orientation: landscape) {
    .csvtable{
        max-height: 15rem;

    }
}



.csvtable td{
    border: 2px black solid;

}




.csvtable th{
    position: sticky;
    top: 0;
    border: 2px black solid;
    background-color: rgb(77, 77, 77);

}
th{
    color: lightgrey;
}

thead th{
    position: sticky;
    top: 0;
    border: 2px black solid;
    background-color: rgb(77, 77, 77);
}


.dlbutton{
    max-height: 2rem;
    max-width: 5rem;
    
}


.recordsDL{
    width: fit-content;
    height: fit-content;
    padding-top: 5%;
    padding-bottom: 5%;
}


/* Background for the file preview */
/* Arrière-plan pour la prévisualisation des fichiers */
.iframepreview{
    min-height: 90vh;
    min-width:70vw;
    background-color: white;
}

@media (min-width: 200px) and (max-width: 1175px) and (orientation: portrait) {
    .iframepreview{
        min-height: 30vh;

    }
}
@media (min-width: 1175px) and (max-width: 1400px) and (orientation: landscape) {
    .iframepreview{
        min-height: 30vh;

    }
}

.fileSelectContainer{
    width: 20rem;
}
@media (min-width: 200px) and (max-width: 500px) and (orientation: portrait) {


    .fileSelectContainer{
        margin: 2%;
        width: 18rem;
    }
}
.fileSelect{
    background-color: rgb(227,19,20);
    color: white;
    padding: 2%;
    font-size: 80%;
}

/* css for the custom fileSelect */
/* css pour le fileSelect personnalisé */
.fileSelectFlexSpacer{
    padding-top: 4%;
    padding-bottom: 4%;
}

.fileSelectFixedSpacer{
    padding-top: 10px;
    padding-bottom: 10px;
}

.fileSelectCase{
    padding: 1%;
}

.fileSelectCase:hover{
    background-color: rgb(162, 162, 162);
    color: rgb(0, 0, 0);
}

/* For the records */
/* Pour les historiques */
.fileSelectMaintenanceContainer{
    display: none;
    max-height: 7rem;
    overflow-y: auto;
}

.fileSelectMaintenanceContainer.visible {
    display: block;
}

.fileSelectDefautContainer{
    display: none;
    max-height: 7rem;
    overflow-y: auto;
}

.fileSelectDefautContainer.visible {
    display: block;
}


.fileSelectLivraisonsContainer{
    display: none;
    max-height: 7rem;
    overflow-y: auto;
}

.fileSelectLivraisonsContainer.visible {
    display: block;
}

/* For all buttons / Pour tous les boutons */
button{
    padding: 1vh;
    color: rgb(227,19,20);
    margin-top: 5%;
}

/* If needs to be invisible / Si il faut que l'objet soit invisible */
.invisible{
    display: none;
}

/* Spare parts table inputs / Zones de texte pour les pièces détachées */
.partsInputs{
    padding: 2%;
    border: none;
    background-color: transparent;
}

.partsInputs:focus{
    outline: none;    
}

@media (min-width: 200px) and (max-width: 1800px) and (orientation: portrait) {
    .partsInputs{
        width: 12vw;
    }
    
}

.lightgreyText{
    color: lightgrey;
}

.lightRedText{
    color:rgb(253, 143, 143);
    display:inline;
}
.lightRedText:hover{
    cursor: pointer;
    color:rgb(191, 49, 49);
}

.mailMagasin{
    color: white;
}
.mailMagasin:hover{
    cursor: pointer;
    color: red;
}

.remove:hover{
    cursor: pointer;
    color: black;
    background-color: white;
}

/* Picture of the vehicule for the maintenance page */
/* Photo du véhicule pour la page de maintenance */
.photo{
    max-width: 40vw;

}

@media (min-width: 200px) and (max-width: 500px) and (orientation: portrait) {
    .photo{
        max-width: 70vw;

    }
}


/* for the chart container / pour le container des graphiques */
.chart{
    min-height: 200px;
    max-width: 370px;
    background-color: rgb(239, 239, 239);
    padding: 3%;
}

@media (min-width: 200px) and (max-width: 500px) and (orientation: portrait) {
    .chart{
        min-height: 170px;
        max-width: 300px;
        background-color: rgb(239, 239, 239);
        padding: 3%;
    }
}


.sideInfoContent{
    display: none;
}

.usedTimeDiv{
    text-align: center;
    background-color: rgb(239, 239, 239);
    padding-top: 3%;
    padding-bottom: 3%;
    color: rgb(130, 130, 130);
    font-size: 90%;
}

/* For the fleet menu / Pour le menu de flotte */
.vehiclenum{
    color:rgb(205, 0, 0);
    font-size: 110%;
}
.immat{
    font-size: 140%;
    color:rgb(77, 77, 77);
    padding-top: 2%;
    margin-bottom: 2%;
}
.numparc{
    margin-top: 1%;

}

