body {
     background-color: #FFF;
     min-width: 900px;
     font-size: 14px;
 }

a input:hover {
    cursor: pointer;
}

.erreur {
    border: 1px #c0392b solid;
    padding: 20px;
    width: 600px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -310px;
    margin-left: -310px;
}

body a {
    text-decoration: none;
}

.redirection {
    z-index: 9999;
}

.redirection.reussite {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    padding: 20px;
    border: 1px #A6A93C solid;
    text-align: center;
    background-color: #FFF;
}

.redirection.echec {
    position: fixed;
    top: 60px;
    left: 60px;
    right: 60px;
    padding: 20px;
    border: 1px #E76E7C solid;
    text-align: center;
    background-color: #FFF;
}

/* PARTIE HEADER */

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 47px;
    background-color: #FFF;
    border-bottom: 1px #CCC solid;
    z-index: 999;
}

/* 1ERE PARTIE DU HEADER : ACCUEIL */
#accueil {
    position: absolute;
    top: 0;
    left: 0;
    height: 47px;
    width: 130px;
}

#accueil img {
    padding-left: 5px;
    height: 35px;
    width: 127px;
    display: block;
}

#accueil a {
    display: block;
    font-size: 22px;
    text-align: center;
    padding: 5px 0 9px 0;
    text-decoration: none;
}

/* 2IEME PARTIE : FIL ARIANE */

#filAriane {
    position: absolute;
    top: 7px;
    left: 130px;
    right: 180px;
    bottom: 10px;
    z-index: 999;
}

#filAriane a {
    color: #34495e;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

#filAriane i {
    color: #34495e;
    display: inline-block;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    padding: 5px;
}

/* 3IEME PARTIE : OPTIONS UTILSATEURS */
#optionsUtilsateur {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 999;
    font-size: 14px;
}

#optionsUtilsateur a {
    margin-left: -3px;
    text-align: center;
    min-width: 30px;
    padding: 10px 10px 6px 10px;
    text-decoration: none;
}

#optionsUtilsateur a:hover {
    transition: all .4s ease-out;
    background-color: #039be5;
    color: #ecf0f1;
}

.hautActif {
    background-color: #039be5;
    color: #ecf0f1;
}

#optionsUtilsateur .material-icons {
    font-size: 24px;
}

#optionsUtilsateur .notifications {
    position: absolute;
    top: 25px;
    right: 5px;
    padding: 0 5px 0 5px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

#optionsUtilsateurResponsive {
    display: none;
    position: absolute;
    top: 47px;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: #FFF;
    border: 1px #333333 solid;
}

#optionsUtilsateurResponsive ul {
    background-color: #34495e;
    list-style: none outside none;
    margin: 0;
    padding: 10px;
}

#optionsUtilsateurResponsive li {
    position: relative;
    padding: 5px;
}

/* PARTIE MENU */
#nav, #nav ul {
    background-color: #34495e;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

#nav {
    display: block;
    position: absolute;
    top: 47px;
    left: 0;
    bottom: 0;
    width: 50px;
    z-index: 999;
}

#nav ul {
    top: -9999px;
    left: -9999px;
    opacity: 0;
    position: absolute;
    z-index: 999;
}

#nav li {
    position: relative;
}

#nav li i {
    display: block;
    font-size: 24px;
    text-align: center;
    padding: 10px;
    text-decoration: none;
}

#nav li:hover > i {
    background-color: #039be5;
    transition: .3s ease-out;
}

#nav .actif {
    background-color: #039be5;
    color: #FFFFFF;
}

#afficherNav {
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    padding: 10px 13px 7px 13px;
    background-color: #34495e;
    color: #FFF;
}

#afficherOptionsUtilisateur {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 50px;
    display: none;
    padding: 10px 0px 7px 0px;
    text-align: center;
    background-color: #34495e;
    color: #FFF;
}

.sousMenu {
    background-color: #34495e;
    border-left: 3px #039be5 solid;
    position: absolute;
    z-index: 998;
    left: -550px;
    bottom: 0;
    top: 47px;
    width: 300px;
    font-size: 12px;
    overflow-y: auto;
}

.sousMenu ul, .sousMenuNiveau2 {
    margin: 0;
    padding:0;
}

.sousMenu li {
    padding: 10px 5px 10px 15px;
    color: #FFFFFF;
}

.sousMenu li:hover {
    background-color: #039be5;
    transition: .3s ease-out;
}

.sousMenu a {
    color: #FFFFFF;
}

.sousMenu .intituleSection {
    background-color: #039be5;
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 3px;
}

.sousMenu div {
    position: relative;
}

.sousMenu span {
    display: inline-block;
    position: absolute;
    top: 0px; right: 0;
}

.sousMenu .material-icons {
    font-size: 16px;
}

ul.sousMenuNiveau2 {
    display: none;
    margin-left: 25px;
    border-left: 1px #CCC solid;
}

.sousMenuNiveau2 li {
    padding-left: 20px;
}

/* CONTENEUR PAGE */

#conteneur {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0;
    font-size: 14px;
    z-index: 1;
    color: #34495e;
}

/* conteneur liste des connectés */

#contenuPanier, #updateListeConnecte, #updatePenseBete {
    position: fixed;
    top: 47px;
    bottom: 0;
    right: 0;
    left: 350px;
    border-left: 1px #CCC solid;
    z-index: 999;
    background-color: #FFF;
    overflow-y: auto;
    font-size: 12px;
    font-weight: bold;
    display: none;
}

#contenuScans {
    position: fixed;
    top: 47px;
    right: 0;
    width: 550px;
    height: 350px;
    border-left: 1px #CCC solid;
    border-bottom: 1px #CCC solid;
    z-index: 999;
    background-color: #FFF;
    overflow-y: auto;
    font-size: 12px;
    font-weight: bold;
    display: none;
}

#updateListeConnecte td, #updatePenseBete td, #contenuPanier td, #contenuScans td {
    padding: 5px;
}

#contenuPanier #listePanier {
    position: absolute;
    right: 151px;
    top: 0;
    bottom: 0;
    left: 0;
}

#contenuScans #listeScans {
    position: absolute;
    right: 51px;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

#contenuPanier #optionsPanier {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 150px;
    border-left: 1px #CCC solid;
    text-align: center;
    padding: 0 5px 0 5px;
}

#contenuScans #optionsScans {
    position: fixed;
    right: 0;
    top: 50px;
    width: 50px;
    height: 347px;
    border-left: 1px #CCC solid;
    text-align: center;
    padding: 0 5px 0 5px;
}

.connexionUtilisateur {
    position: relative;
    float: left;
    width: 200px;
    height: 100px;
    padding: 10px;
    text-align: center;
    border-bottom: 1px #CCC solid;
}

.connexionUtilisateur:hover {
    background-color: #EEE;
}

.connexionUtilisateur .minuteur {
    position: absolute;
    top: 13px;
    right: 10px;
    padding: 0 5px 0 5px;
    border-radius: 5px;
}

/* --------- */

#loader {
    font-size: 100px;
    color: #3498db;
    position: absolute;
    height: 100px;
    width: 100px;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -100px;
    display: none;
}

#offline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: #34495e;
    color: #FFF;
    padding: 50px;
    margin: auto;
    display: none;
}

.bgVert {
    background-color: #2ecc71;
}

.bgRouge {
    background-color: #e74c3c;
}

.bgGris {
    background-color: #95a5a6;
}

.bgNoir {
    background-color: #2c3e50;
}

.bgOrange {
    background-color: #e67e22;
}

.bgJaune {
    background-color: #f1c40f;
}

.bgBleu {
    background-color: #3498db;
}

::-webkit-scrollbar {
    width: 7px; /*largeur de la scrollbar verticale*/
    height: 5px; /*hauteur de la scrollbar horizontale*/
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

::-webkit-scrollbar-track {
    background-color: #FFF;
    /*couleur du fond de la scrollbar*/
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

::-webkit-scrollbar-thumb {
    /*la petite bande qui monte/descend*/
    background-color: #2c3e50;
    /*couleur de l'ascenseur*/;
    border-radius: 15px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
}

.btn-action-collapsible {
    display: inline-block;
    text-align: right;
    width: 100%;
    padding: 10px 0px 0px 0;
}

#menuPage {
    position: fixed;
    top: 47px;
    left: 50px;
    right: 0;
    border-bottom: 1px #CCC solid;
    background-color: #FFF;
    z-index: 999;
    min-width: 810px;
}

#menuPage a {
    color: #34495e;
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 10px 10px 10px;
    margin-left: 10px;
    margin-right: -10px;
}

#menuPage a:hover {
    background-color: #34495e;
    color: #FFF;
}

#menuPage .active {
    color: #FFF;
    background-color: #3498db;
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 10px 10px 10px;
}

.titreBloc {
    padding: 10px;
    border-bottom: 1px #CCC solid;
}

.titreBloc .titre {
    vertical-align: middle;
    padding-left: 10px;
    text-transform: uppercase;
}

.row {
    margin-bottom: 0;
}

#conteneur .switch {
    height: 40px;
}

.radio {
    height: 30px;
}

.btnAjoutPanier {
    margin-top: 20px;
}

#listeScans .fichiersScannes {
    position: relative;
    float: left;
    width: 112px;
    height: 150px;
    margin: 5px;
    text-align: center;
    z-index:1;
    border : 1px #CCC solid;
}

#listeScans .fichiersScannes:hover {
    background-color: #EEE;
}
#listeScans .fichiersScannes .suppScan {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    cursor:pointer;
}
#listePanier .materiel {
    position: relative;
    float: left;
    width: 200px;
    height: 110px;
    padding: 10px;
    text-align: center;
    border-bottom: 1px #CCC solid;
}

#listePanier .materiel:hover {
    background-color: #EEE;
}

#listePanier .materiel .suppPanier {
    position: absolute;
    top: 0;
    right: 0;
    cursor:pointer;
}

#listePanier {
    position: absolute;
    top: 180px;
    bottom: 0px;
    left:0;
    right: 0;
    overflow-y: auto;
}

#liensPanier .btn{
    width: 300px;
}

.loader-synchronisation {
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 999;
    background-color: #FFF;
}

.conteneur-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200px;
    height: 200px;
    margin-left: -120px;
    margin-top: -120px;
}

.preloader-wrapper {
    width: 100%; height: 100%;
}

#texte-loader {
    margin-top: -110px;
    text-align: center;
    width: 200px;
}

.chiffreImportant {
    font-weight: bold;
    font-size: 20px;
}

.choixMultipleFixeBasPage {
    position: fixed;
    bottom: -14px; left: 50px; right:7px;
}

/* RECHERCHE */

#blocRecherche {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100px;
    left: 0px;
    display: none;
    z-index:3;
    background-color: #FFF;
    overflow-y: auto;
}

#blocListe {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100px;
    left: 0px;
    overflow-y: auto;
    z-index:1;
}

#blocAction {
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    width: 100px;
    border-left: 1px #CCC solid;
    z-index:2;
}

#blocAction #resultatRecherche {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 10px;
    width: 80px;
    text-align: center;
    border-bottom: 1px #CCC solid;
    font-size: 12px;
}

#blocAction #boutons {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

#corpsTableau {
    position: absolute;
    top: 52px;
    overflow-y: auto;
    overflow-x: hidden;
    left: 5px;
    right: 0px;
}

#enteteTableau {
    position: fixed;
    top: 46px;
    left: 55px;
    right: 105px;
    background-color: #FFF;
}

#enteteTableauAvecMenuHorizontal {
    position: fixed;
    top: 90px;
    left: 55px;
    right: 105px;
    background-color: #FFF;
}

table {
}

th, td {
    padding: 15px 5px 10px 5px;
}

#fermerModal {
    position: fixed;
    top: 10px;
    right: 30px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
}

/* MODALE PHOTO */
#modalPhoto {
    top: 0 !important;
    overflow-y: hidden;
    padding: 50px 0px 20px 0px;
    width: 55%;
    max-height: none;
}

#modalPhoto #fermerModal {
    position: fixed;
    top: 20px;
    right: 20px;
    width:50px;
    height: 50px;
    cursor: pointer;
}
#modalPhoto #fermerModal i {
    font-size: 50px;
}

#conteneurVideo {
    position: relative;
    margin: auto;
    width: auto;
    height: 100vh;
    padding: 20px;
}

@media only screen and (max-width: 1000px) {
    #modalPhoto {
        overflow-y: hidden;
        padding: 20px 0px 20px 0px;
        width: 100%;
        max-height: none;
    }
    #conteneurVideo {
        position: relative;
        margin: auto;
        width: auto;
        height: 90vh;
        padding: 20px;
    }
}



#visualisationPhoto {
    width: 100%;
    height: auto; /* Hauteur automatique pour garder le ratio */
    border: 1px solid #000; /* Une bordure noire */
    object-fit: cover; /* Pour que la vidéo couvre tout l'élément sans déformation */
}

/*#optionCamera {
    position: relative;
    margin-top: -110px;
    left: 50%;
    margin-left: -250px;
    width: 500px;
    height: 80px;
}*/

/*#optionCamera div {
    float: left;
}*/

#capturerPhoto {
    position: absolute;
    width: 80px;
    height: 80px;
    right: 200px;
    bottom: 90px;
    background-color: red;
    border: 6px solid grey;
    border-radius: 50%;
}

#changerCamera {
    position: absolute;
    right: 60px;
    bottom: 90px;
    width: 80px;
    height: 80px;
    background-color: white;
    border: 6px solid grey;
    border-radius: 50%;
    padding: 10px;
}

#changerCamera i {
    font-size: 50px;
}