html {
    position: relative;
    min-height: 100%;
}
body {
    height:100%;
    padding-top: 70px;
    margin-bottom: 80px;
}
.principal-container {
    margin-top: 15px;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Set the fixed height of the footer here */
    line-height: 40px; /* Vertically center the text there */
    background-color: #f5f5f5;
}

.navbar {
    padding: 0.2rem;
}

.accueil-header {
    display: flex;
}
.accueil-logo {
    width: 30%;
}
.accueil-logo  img{
    width: 100%;
}
.accueil-nom {
    display: inline-block;
    margin-left: 10px;
}
.accueil-header .accueil-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 20px;
}

.text-black {
    color: black;
}


.parametres-menu {
    position: absolute;
    width: 150px;
    font-size: 1rem;
    display: none;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--success);
}
.custom-control-label::before {
    background-color: var(--danger);
}

.custom-switch .custom-control-label::after {
    background-color: white;
}


/***************Bouton d'upload****************/
.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}
.progression_upload, .details_upload, .retour_upload {
    display: none;
}

.btn-right {
    position: absolute;
    top: 5px;
    right: 5px;
}

.align-choix {
    cursor: pointer;
}

.patienter {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 50px 0 50px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .4);
}
.patienter .alert {
    width: 50%;
    left: 25%;
    top: 25%;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

/****************************************/
.avatar-btn-deconnexion {
    width: 25px;
}

.data-edit, .bac-card {
    display: none;
}

.btn-zone-select {
    cursor: pointer;
}
.zone-select {
    margin-top: 70px;
    margin-left: 10px;
}
@media (max-width: 1000px) {
    .zone-select {
        left: unset !important;
        bottom: 10px;
        top: unset !important;
        max-height: 130px !important;
        width: 90% !important;
    }
    .bacs {
        margin: 0 !important;
        padding: 0 !important;
        width: 95% !important;
    }
    .bac-div {
        width: 150px !important;
        font-size: 10px !important;
        margin: 5px !important;
    }
    .bac-actions, .bac-lot-actions {
        width: 90% !important;
        left: 5% !important;
        top: 10px !important;
    }
    .action-container {
        width: 90% !important;
        height: 60% !important;
    }
    .action-container-right {
        right: -90% !important;
    }
    .action-container-right-show {
        right: 5% !important;
    }
    .action-container-left {
        left: -90% !important;
    }
    .action-container-left-show {
        left: 5% !important;
    }
}

.zone-select {
    width: 250px;
    max-height: 75%;
    overflow-y: auto;
    position: absolute;
    top: 15px;
    left:10px;
    padding: 10px;
}
.bacs {
    background-color: whitesmoke;
    align-items: start;
    width: calc(100% - 270px);
    margin-left: 270px;
}
.bac-div {
    width: 150px;
    height: 150px;
    margin: 25px;
    background-color: rgba(85, 153, 238,90%);
    position: relative;
    display: inline-table;
    border-radius: 4px ;
}
.bac-actions {
    position: absolute;
    left: 153px;
    width: 150px;
    top: 0;
    display: none;
    font-size: 0.9375rem !important;
    z-index: 10000000;
}
.bac-show-action {
    cursor: pointer;
    position: absolute;
    top: 3px;
    right: 3px;
}
.bac-title {
    background-color: rgb(85, 153, 238);
    padding: 5px;
    font-weight: bold;
}
.bac-ok {
    border: #0c6251 solid 4px;
}

.bac-list {
    margin: 0;
}

.bac-lot {
    position: relative;
    padding: 4px 7px;
    border-top: #94c4ef solid 1px;
    background-color: rgba(85, 153, 238,80%);
    font-size: 12px;
}
.bac-lot:last-child {
    border-bottom: #94c4ef solid 1px;
}
.bac-lot:hover {
    background-color: rgba(99, 111, 126,55%) !important;
    cursor: pointer;
}
.bac-lot-show-actions {
    position: absolute;
    top: 3px;
    right: 3px;
    visibility: hidden;
}
.bac-lot:hover .bac-lot-show-actions{
    visibility: visible;
}
.bac-lot-actions {
    position: absolute;
    left: 153px;
    width: 150px;
    top: 0;
    display: none;
    font-size: 0.9375rem !important;
    z-index: 10000000;
}
.list-group-bac-actions {
    font-size: 12px !important;
}

.action-container {
    width: 40%;
    height: 75vh;
    position: fixed;
    top: 100px;
    background-color: #0c6251;
    z-index: 1000000000000000;
}
.action-container-transition {
    transition: 0.4s;
    transition-timing-function: ease-out;
}
.action-container-right {
    right: -40%;
}
.action-container-right-show {
    right: 20px;
}
.action-container-left {
    left: -40%;
}
.action-container-left-show {
    left: 20px;
}