.bottom-spacer {
    margin-bottom: 20px;
}

#tabs {
    padding-top: 60px;
}

#tab-contents .tab-pane {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

/* Table des cassettes */
table.table-cassette tbody tr td {
    text-align: center;
    vertical-align: middle;
}

table.table-cassette tr th {
    text-align: center;
    vertical-align: middle;
}

/* Pour l'affichage et le téléversement de photos */
.upload {
    display: inline-block;
    width: 120px;
    text-align: center;
}


.upload img {
    height: 80px;
    width: 110px;
}

.upload a {
    margin-top: 5px;
}

.upload p {
    text-align: center;
    width: 100%;
}

.upload img.isloading {
    height: 32px;
    width: 32px;
}

/* Quelques spécificités pour les cassettes */
#cassette.upload {
    display: inline-block;
    width: 100%;
}

#cassette.upload img {
    margin-right: 10px;
}

/* Preview des photos */
#modal-picture-view .modal-dialog {
    min-width: 800px;
    min-height: 500px;
    max-width: 90%;
    max-height: 90%;
}

#modal-picture-view .modal-dialog img {
    max-width: 100%;
    max-height: 100%;
}

/* Edition d'une cassettte */
#dlg_edition_cassette .modal-dialog {
    width: 100%;
    height: 100%;
}

/* Statut des éléments */
.statut {
    border-radius: 6px;
    display: inline-block;
    padding: 0 16px;
    font-size: 18px;
    line-height: 46px;
    height: 46px;
    width: 210px;
    text-align: center;
}

.statut_small {
    border-radius: 6px;
    display: inline-block;
    padding: 0 16px;
    font-size: 12px;
    line-height: 23px;
    height: 23px;
    width: 105px;
    text-align: center;
}

.statut_fait {
    background-color: #DF7900;
    color: black;
}

.statut_a_faire {
    background-color: #156BB4;
    color: white;
}

.statut_valide {
    background-color: #00BC00;
    color: black;
}

.statut_existant {
    background-color: green;
    color: white;
}

.statut_rejete {
    background-color: #BC0000;
    color: white;
}

.statut_nouveau {
    background-color: darkgray;
    color: black;
}

.statut_modifie {
    background-color: yellow;
    color: black;
}

.statut_projet {
    background-color: blue;
    color: white;
}

.fibreHs {
    border-radius: 6px;
    display: inline-block;
    padding: 0 16px;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

.estHs {
    background-color: red;
    color: white;
}

.nonHs {
    background-color: green;
    color: white;
}

@media screen and (max-width: 1200px) {
    .table tbody > tr > td {
        padding: 0 !important;
        box-sizing: content-box;
    }

    th {
        padding: 0;
    }
}

.loaderContainer {
    width: 100%;
    padding: 0 45%;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#messageContainer {
    max-height: 200px;
    padding: 0 15px;
}

.warningMsgContainer {
    overflow: auto;
    max-height: 170px;
}

.customAlert {
    text-align: center;
    padding: 7px;
    margin-bottom: 2px;
}

.listeEpissure {
    max-height: 500px;
    overflow: auto;
}

.signal {
    border-radius: 6px;
    display: inline-block;
    padding: 0 16px;
    line-height: 23px;
    height: 23px;
    width: 125px;
    text-align: center;
    border: 1px solid;
}

.signal_libre {
    color: grey;
}

.signal_occupe {/* avec signal sans id */
    color: orangered;
}

.signal_utilise {/* avec signal avec id */
    color: green;
}

.signal_modifiable {
    box-shadow: 0 2px 2px grey;
    cursor: pointer;
}

@media (max-width: 768px) {
    .leaflet-right {
        max-width: 96vw;
    }

    .leaflet-right .leaflet-control {
        margin-right: 2vw;
    }

    .leaflet-control-layers-expanded .leaflet-control-layers-list{
        width: 100% !important;
    }
}

.input-sm[disabled], .input-lg[disabled] {
    background-color: lightgrey;
    cursor: not-allowed;
}