
body {
    --color-materiel-1: #FF4949;
    --color-materiel-2: #EF9900;
    --color-materiel-3: #FFFF50;
    --color-materiel-4: #87CEFA;
    --color-materiel-5: #90EE90;
    --color-materiel-6: #9370DB;
    --color-materiel-7: #7B68EE;
    --color-materiel-8: #7B68EE;
    --color-materiel-9: #FFA500;
    --color-materiel-10: #87CEFA;
    --color-materiel-11: #87CEFA;
    --color-materiel-12: #FFFFFF;
    --color-materiel-13: #5DC500;

    --color-materiel-colorText-1: #FFF;
    --color-materiel-colorText-2: #FFF;
    --color-materiel-colorText-3: #000;
    --color-materiel-colorText-4: #000;
    --color-materiel-colorText-5: #000;
    --color-materiel-colorText-6: #FFF;
    --color-materiel-colorText-7: #FFF;
    --color-materiel-colorText-8: #FFF;
    --color-materiel-colorText-9: #000;
    --color-materiel-colorText-10: #000;
    --color-materiel-colorText-11: #000;
    --color-materiel-colorText-12: #000;
    --color-materiel-colorText-13: #000;

    --color-materiel-textValue-1: "Attente d'attribution'";
    --color-materiel-textValue-2: "Attente disponibilité pour préparation";
    --color-materiel-textValue-3: "A préparer";
    --color-materiel-textValue-4: "Préparation OK";
    --color-materiel-textValue-5: "Contrôle préparation OK";
    --color-materiel-textValue-6: "Contrôle chargement OK";
    --color-materiel-textValue-7: "Contrôle départ/livraison OK";
    --color-materiel-textValue-8: "Attente retour/reprise";
    --color-materiel-textValue-9: "Non conforme";
    --color-materiel-textValue-10: "Contrôle quantité retour/reprise OK";
    --color-materiel-textValue-11: "Contrôle déchargement OK";
    --color-materiel-textValue-12: "Contrôle qualité OK";
    --color-materiel-textValue-13: "Contrôle final OK";
    --color-materiel-textValue-14: "Annulé/Non consommé";

    --color-50-materiel-1: #FF494990;
    --color-50-materiel-2: #EF990090;
    --color-50-materiel-3: #FFFF5090;
    --color-50-materiel-4: #87CEFA90;
    --color-50-materiel-5: #90EE9090;
    --color-50-materiel-6: #9370DB90;
    --color-50-materiel-7: #7B68EE90;
    --color-50-materiel-8: #7B68EE90;
    --color-50-materiel-9: #FFA50090;
    --color-50-materiel-10: #87CEFA90;
    --color-50-materiel-11: #87CEFA90;
    --color-50-materiel-12: #FFFFFF90;
    --color-50-materiel-13: #5DC50090;

    --color-50-materiel-colorText-1: #000;
    --color-50-materiel-colorText-2: #000;
    --color-50-materiel-colorText-3: #000;
    --color-50-materiel-colorText-4: #000;
    --color-50-materiel-colorText-5: #000;
    --color-50-materiel-colorText-6: #000;
    --color-50-materiel-colorText-7: #000;
    --color-50-materiel-colorText-8: #000;
    --color-50-materiel-colorText-9: #000;
    --color-50-materiel-colorText-10: #000;
    --color-50-materiel-colorText-11: #000;
    --color-50-materiel-colorText-12: #000;
    --color-50-materiel-colorText-13: #000;

    --color-success: #37964d;
    --color-warning: #da841c;
    --color-danger: #ff0000;
    --color-grey: #6C757D;

    --color-SLF-light-coloured: #FFE697;
    --color-SLF-dark-coloured: #CF9558;

    font-size: .875rem;
}

.sigPad {
    font: normal 100.01%/1.375 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 56px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebarMaximize {
    max-width: 180px;
}

.sidebarMinimize {
    max-width: 0;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}


/*
 * Content
 */
@media (max-width: 768px) {
    [role="main"] {
        padding-top: 60px; /* Space for fixed navbar */
        width: 100%;
    }

    #header_btnBar {
        top: 60px;
    }

    .card-complete {
        width: 100%;
    }

    .card-columns {
        column-count: 1;
    }
}

@media (min-width: 768px) {
    [role="main"] {
        margin-left: 175px;
        padding-top: 40px; /* Space for fixed navbar */
    }

    #header_btnBar {
        top: 40px;
    }

    [role="main"].mainNavbarMinimize {
        margin-left: 0;
        padding-top: 40px; /* Space for fixed navbar */
    }

    .card-complete {
        width: 500px;
    }

    .card-columns {
        column-count: 2;
    }
}

#divNotifsToasts {
    position: absolute;
    right: 0;
    margin-top: 55px; /* Space for fixed navbar */
    z-index: 100;
}

.spinner-div {
    position: absolute; /* postulat de départ */
    top: 50%;
    left: 50%; /* à 50%/50% du parent référent */
    transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
    align-content: center;
    align-items: center;
    margin: auto;
    width: 50px
}

.btn-menu {
    color: #000000;
    background-color: #e3e3e3;
    border-color: #c3c3c3;
    margin-left: 2px;
    margin-right: 2px;
}

/*
.ButtonMaximizeNavbar{
  position: absolute;
  width: 175px;
  margin-bottom: 2%;
  margin-top: auto;
  top: 35px;
  z-index: 2000;
  overflow: visible!important;
}
*/
.userPhoto {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border: solid 2px black;
    border-radius: 30px;
}

.signImg {
    height: 20vw;
    width: auto;

    border: 1px solid #ced4da;
}

.divSignImg {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.form-control-div-editor {
    width: 100%;
    overflow: auto !important;
}

.toggle-btn-group {
    width: 100%;
    display: flex;
}

.toggle-btn-group > .btn {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    color: #000000;
    border-color: #FFE697;
}

.toggle-btn-group > .btn.toggle-active {
    color: #000000;
    background-color: #FFE697;
    border-color: #FFE697;
}

.inputGroupWithButtons {

}

.inputGroupWithButtons > * > .grey, .inputGroupWithButtons > input {
    background-color: #FFF;
    color: #6c757d;
    border-color: #6c757d;
    text-align: center;
}

.inputGroupWithButtons > * > button.grey:focus, .inputGroupWithButtons > * > button.grey:hover, .inputGroupWithButtons > * > button.grey:active {
    background-color: #43454e !important;
    color: #FFF !important;
}

/* The Modal (background) */
.modalbox {
    /*display: none; !* Hidden by default *!*/
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modalbox-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
}

.modalbox-content > .divTitle {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.modalbox-signBox {
    z-index: 100; /* Sit on top */
    overflow: hidden;
}

/* Modal Content/Box */
.modalbox-signBox > .modalbox-content {
    margin: 1%;
    padding: 2vh;
    border: 1px solid #888;
    width: 98%;
    height: 95%;
}

#sig-canvas {


    border: 2px dotted #CCCCCC;
    border-radius: 15px;
    cursor: crosshair;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.modalbox-content > .btnGroupVertical {
    margin-top: 10px;
    display: block;
    width: 100% !important;
}

.icon-loader {
    font-size: 10px;
    text-indent: -9999em;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: #000000;
    background: -moz-linear-gradient(left, #000000 10%, rgba(255, 255, 255, 0) 42%);
    background: -webkit-linear-gradient(left, #000000 10%, rgba(255, 255, 255, 0) 42%);
    background: -o-linear-gradient(left, #000000 10%, rgba(255, 255, 255, 0) 42%);
    background: -ms-linear-gradient(left, #000000 10%, rgba(255, 255, 255, 0) 42%);
    background: linear-gradient(to right, #000000 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    -webkit-animation: load3 1.4s infinite linear;
    animation: load3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.icon-loader:before {
    width: 50%;
    height: 50%;
    background: #000000;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.icon-loader:after {
    background: #ffffff;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.text-underline {
    text-decoration: underline;
}


.filePreview {
    height: 60px;
    display: grid;
    grid-template-areas: "picture picture-datas";
    grid-template-columns: 60px calc(100% - 65px);
    background-color: #FFFFFF;
    border-radius: .25rem;
    box-shadow: 0 0.3rem 0.5rem #00000050 !important;
    margin: 5px;
}

.filePreview > .picture {
    grid-area: picture;
    width: 50px;
    height: 50px;
    margin: auto;
    /*max-height: 50px;*/
    object-fit: fill;
    /*border-right: #00000050 1px solid;*/
    /*border-radius: 2px;*/
}

.filePreview > .picture-datas {
    grid-area: picture-datas;
    padding: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.filePreview > .picture-datas > .picture-description {
    grid-area: picture-description;
    font-size: x-small;
}

.filePreview > .picture-datas > .picture-credit {
    grid-area: picture-credit;
    font-size: xx-small;
    font-style: italic;
    margin-top: auto;
    white-space: nowrap;
    overflow: hidden;

}

.filePreview > .picture-datas > .picture-name {
    grid-area: picture-name;
    font-weight: bold;
    font-size: x-small;
    overflow-wrap: break-word;

}

#landscape {
    position: fixed;
    background: #ffffff;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    opacity: 0.75;
}

#landscape img {
    width: 50vh;
    height: auto;
    display: block;
    text-align: center;
    padding-top: 25vh;
    margin: auto;
}

.imgPreview {
    width: 75px;
    height: 75px;
    margin: 3px;
    /*max-height: 50px;*/
    object-fit: cover;
    /*border-right: #00000050 1px solid;*/
    /*border-radius: 2px;*/
}

span.text-help, div.text-help {
    font-size: x-small;
    color: #6C757D;
}

.badges {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-radius: 10rem;
    min-height: 13px;
    min-width: 13px;
    margin: auto 3px;
}

.modalPDF > object {
    width: 100%;
    height: 75vh;
}

.modalPDF {
    /*height: 90%;*/
    margin: 2% auto; /* 15% from the top and centered */

}

.recipientElement {
    margin: 1px 5px;
    padding: 2px 5px;
    display: flex;
    justify-content: space-between;
    /*background-color: var(--color-SLF-light-coloured);*/
    border: 1px dashed var(--color-SLF-dark-coloured);
    border-radius: 5px;
}

.recipientElement-error {
    background-color: #ff000050 !important;
    border-color: var(--color-danger) !important;
}

.recipientElement > .recipientAddresses {
    min-width: 110px;
    line-height: 1;

}


.recipientElement > .recipientAddresses > .recipientName {
    font-size: x-small;
    color: var(--color-SLF-dark-coloured);
    /*font-weight: bold;*/
}

.recipientElement > .recipientAddresses > .recipientEmailAddress {
    font-size: x-small;
    color: #6C757D;
}

.recipientElement > .recipientTrash {
    margin: auto 4px;
    color: var(--color-SLF-dark-coloured);
    cursor: pointer;
}


.buttonAdd {
    /*color: var(--color-SLF-dark-coloured);*/
    padding: 2px 5px;
    color: #6C757D;
}

.divAlertes {
    display: block;
    position: fixed;
}

div#notifications {
    position: fixed;
    right: 2px;
    top: 70px;
    z-index: 101;
}

div#notifications > div.notification {
    border: 1px solid;
    padding: 10px 20px;
    box-shadow: 0 0.5rem 1rem #00000015 !important;
    margin: 10px 20px;
}

.notification-close {
    padding-left: 10px;
    color: #aaa;
    float: right;
    font-weight: bold;
}

.notification-close:hover,
.notification-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

div#notifications > div.notification.success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

div#notifications > div.notification.warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

div#notifications > div.notification.danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

#navbarTop {
    padding: 0 !important;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    /*background-image: url("/public/SLF-location-bandeau-header.jpeg");*/
    background-image: url("/public/bck-gris.png");
    background-size: cover;
    background-color: white;
    color: var(--color-SLF-dark-coloured);
}

#navbarLaterale {
    /*background-image: url("/public/SLF-location-bandeau-header.jpeg");*/
    background-image: url("/public/bck-gris.png");
    color: black;
    background-size: cover;
    background-color: white;
    /*background-color: var(--color-SLF-dark-coloured);*/
}

#navbarUserName {
    margin: 0.05rem 0 0.05rem 0.25rem;
    font-size: 1rem;
    color: grey;
    background-color: rgba(255, 255, 255, 0.59);
    /*border: 0.1rem solid var(--color-SLF-dark-coloured);*/
    border-radius: 0.2rem;
    padding: 0.1rem;
}

.btn-outline-slf-dark {
    border-color: var(--color-SLF-dark-coloured);
    color: var(--color-SLF-dark-coloured);
}

.btn-slf-dark {
    border-color: var(--color-SLF-dark-coloured);
    background-color: rgba(255, 255, 255, 0.59);
    color: var(--color-SLF-dark-coloured);
}

.btn-slf-dark-plain {
    border-color: rgba(255, 255, 255);
    color: rgba(255, 255, 255);
    background-color: var(--color-SLF-dark-coloured);
}

.sidebar .nav-link {
    font-weight: 500;
    /*color: var(--color-SLF-dark-coloured);*/
    /*margin: 0.1rem 0;*/
    border-bottom: 0.1rem dashed var(--color-SLF-dark-coloured);
    background-color: rgba(255, 255, 255, 0.5);
    color: grey;
}

.navbar-nav .nav-link {
    font-weight: 500;
    /*color: var(--color-SLF-dark-coloured);*/
    /*margin: 0.1rem 0;*/
    /*border-bottom: 0.1rem solid var(--color-SLF-dark-coloured);*/
    /*background-color: rgba(255, 255, 255, 0.5);*/
    color: grey;
    width: 100%;
}

.navbar-nav .nav-item .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.5);

}

.nav-link.is-invalid {
    background-color: #dc3545 !important;
    color: white !important;
    animation-duration: 1s;
    animation-name: clignoter;
    animation-iteration-count: infinite;
    transition: none;
}

@keyframes clignoter {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

.sidebar .nav-link.last-nav-link {
    border-bottom: none;
}

.sidebar .nav-link > svg {
    font-weight: 500;
    color: var(--color-SLF-dark-coloured);
    /*color: black;*/
}

.navbar-toggler {
    /*color: rgba(0,0,0,.5);*/
    border-color: var(--color-SLF-dark-coloured);
    color: var(--color-SLF-dark-coloured);
    background-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler > span {
    color: var(--color-SLF-dark-coloured);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
}

#buttonStartScanner {
    width: 10vw;
    background-image: url("/public/icons/scan.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

}

/*.icon {*/
/*    color: var(--color-SLF-dark-coloured);*/
/*    cursor: pointer;*/
/*}*/

.color_principal_light {
    color: var(--color-SLF-light-coloured);
}

.color_principal_dark {
    color: var(--color-SLF-dark-coloured) !important;
}

.color_success {
    color: var(--color-success);
}

.color_warning {
    color: var(--color-warning);
}

.color_danger {
    color: var(--color-danger);
}

.cursor_pointer {
    cursor: pointer;
}

.block_datetime {
    display: grid;
    grid-template-columns: 60% 40%;
}

.block_datetime_date, .block_datetime_hours {
    display: flex;
    justify-content: center;
}

.block_datetime_date > div, .block_datetime_hours > div {
    display: flex;
    justify-content: center;
    margin: 0.1rem;
}

.block_iconAndText {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.1rem 0.2rem;
}

.block_iconAndText_icon {
    padding-right: 0.2rem;
    padding-top: 0.2rem;
    color: #6C757D50;
}

/*HOMEPAGE WIDGET*/
.homepage_block {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: #6C757D50 1px dashed;
}

.homepage_header {
    display: flex;
    justify-content: space-between;
}

.homepage_header > div {
    color: var(--color-SLF-dark-coloured);
    margin: auto 0.1rem;
    font-size: small;
}

.homepage_header > input {
    max-width: 50vw;
    width: 15rem;
    margin: auto 0.1rem;
}

.homepage_header > .input-group {
    max-width: 60vw;
    width: 20rem;
    margin: auto 0.1rem;
}

.homepage_content_row {
    display: flex;
    justify-content: flex-start;
    overflow: auto;
    min-height: 5rem;
}

.homepage_content_column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    grid-gap: 0.5rem;
}

/* HOMEPAGE CARD 3 Rows 1 Column*/

.homepage-card3r1c {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0.2rem;
    padding: 0.2rem;
    min-width: 9rem;
    width: 12rem;
    max-width: 100%;
    position: relative;
    word-wrap: normal;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #6C757D50;
    border-radius: 0.25rem;

    align-items: center;
    cursor: pointer;

    font-size: small;
}

.homepage-card3r1c-hashed {
    background-image: repeating-linear-gradient(315deg, transparent, transparent 20px, #00000025 20px, #00000025 40px);
}

.homepage-card3r1c > .homepage-card3r1c-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.homepage-card3r1c > .homepage-card3r1c-header > .homepage-card3r1c-header-title {
    color: var(--color-grey);
}

.homepage-card3r1c > .homepage-card3r1c-content {
    min-height: 1.3rem;
    border-top: #6C757D50 1px dashed;
    border-bottom: #6C757D50 1px dashed;
    color: var(--color-SLF-dark-coloured);
    overflow: auto;
    max-height: 2.4rem;
    width: 100%;
    line-height: 0.9rem;
}

.homepage-card3r1c > .homepage-card3r1c-footer {
    color: var(--color-grey);
}

/* HOMEPAGE CARD 3 Rows 2 Column*/

.homepage-card3r2c {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0.2rem;
    padding: 0.2rem;
    width: 100%;
    position: relative;
    word-wrap: normal;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #6C757D50;
    border-radius: 0.25rem;

    align-items: center;
    cursor: pointer;

    font-size: small;
}

.homepage-card3r2c > .homepage-card3r2c-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.homepage-card3r2c > .homepage-card3r2c-header > .homepage-card3r2c-header-title {
    color: var(--color-grey);
    text-align: left;
}

.homepage-card3r2c > .homepage-card3r2c-header > .homepage-card3r2c-header-badges {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    overflow: auto;
}

.homepage-card3r2c > .homepage-card3r2c-header > .homepage-card3r2c-header-badges > .homepage-card3r2c-header-badge {
    border-left: #6C757D50 1px dashed;
    color: var(--color-grey);
    padding: 0.1rem 0.3rem;
}

.homepage-card3r2c > .homepage-card3r2c-content {
    min-height: 1.3rem;
    border-top: #6C757D50 1px dashed;
    border-bottom: #6C757D50 1px dashed;
    color: var(--color-SLF-dark-coloured);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    line-height: 0.9rem;

}

.homepage-card3r2c > .homepage-card3r2c-footer {
    color: var(--color-grey);
}


#validationScreen {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 230, 151, 0.9);
    /*background-color: rgba(0, 235, 255, 0.9);*/
}

.divSign {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 5px;
    background-color: rgba(133, 234, 136, 0.75);
    z-index: 100;
    height: 10vh;
}

.small {
    font-size: small;
}

.xsmall {
    font-size: x-small;
}

.xxsmall {
    font-size: xx-small;
}

.medium {
    font-size: medium;
}

.large {
    font-size: large;
}

.xlarge {
    font-size: x-large;
}

.xxlarge {
    font-size: xx-large;
}

.font-weight-bold {
    font-weight: bold;
}

.block_dispo {
    min-width: 82px;
    display: flex;

    border: 1px dashed #00000050;
    opacity: 0.75;
}

.block_dispo > .block_dispo_quantity {
    margin: 0 1px;
    width: 100%;
    font-size: x-small;
    text-align: center;
}

.block_dispo > .block_dispo_icon {
    margin: 0 1px;
}

div.modalPDF-description {
    margin: 2px auto 15px auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 15px;
    background-color: #FFFFFF;
    border-radius: .25rem;
    z-index: 2;
    box-shadow: 0 0.3rem 0.5rem #00000050 !important;
    text-align: center;
}

div.modalPDF-description > button.btn {
    margin: 5px auto;
}

div.modalPDF-description > div {
    max-width: 550px;
    width: 100%;
}

div.modalPDF-description > div.modalPDF-recipientList > div {
    margin: 5px;
    border-radius: .25rem;
    box-shadow: 0 0.3rem 0.5rem #00000020 !important;
    padding: 5px;
    display: flex;
}

div.modalPDF-description > div.modalPDF-recipientList > div > button.btn.modalPDF-recipientListTitle {
    width: 65px;
}

div.modalPDF-description > div.modalPDF-recipientList > div > div.modalPDF-recipientListListe {
    /*padding: 5px 2px;*/
    width: calc(100% - 80px);
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

div.modalbox-addAddresses > div.divContent {
    display: flex;
    justify-content: space-around;
}

div.modalbox-addAddresses > div.divContent > div.contactList {
    max-width: 200px;
    width: 100%;
}

div.modalbox-addAddresses > div.divContent > div.contactList > div.recipientElement {
    margin-top: 5px;
    margin-bottom: 5px;
}

div.modalbox-addAddresses > div.divContent > div.writeContact {
    max-width: 250px;
    width: 100%;
}

div.modalbox-addAddresses > div.divContent > div.contactList > p,
div.modalbox-addAddresses > div.divContent > div.writeContact > p {
    text-align: center;

}

div.modalbox-addAddresses {
    max-width: 900px;
    width: 100%;
}

div.modalbox-addAddresses > div.divContent > div.writeContact > div.divButton {
    width: 100%;
    display: flex;
    justify-content: center;

}

#divCamera {
    display: flex;
    justify-content: center;
}

.form-control.is-invalid {
    background-color: #dc354550 !important;
}

.filter-searchList {
    position: absolute;
    z-index: 1000;
}

.filter-searchValue {
    margin: 2px;
    padding: 10px;
    width: 300px;
    max-width: 100%;
    min-height: 20px;
    word-wrap: normal;
    background-color: #fff;
    background-clip: border-box;
    box-shadow: 0 0.5rem 1rem #00000020;
    border: rgb(206, 212, 218) 1px solid;
    border-radius: 15px;
    display: flex;
    cursor: pointer;
}

.filter-searchValue > .icon {
    font-size: xx-large;
    margin: auto 2px;
}

.filter-value {
    margin: 2px;
    padding: 2px;
    max-width: 100%;
    word-wrap: normal;
    background-color: #614930a6;
    background-clip: border-box;
    box-shadow: 0 0.5rem 1rem #00000020;
    border: rgb(206, 212, 218) 1px solid;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    font-size: small;
    color: white;
}

.filter-value > .icon {
    margin: 3px 2px;
    font-size: small;
}

.filter-value > .filter-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-value > .icon.fa-trash-alt {
    cursor: pointer;
}

div.filters {
    display: flex;
    flex-wrap: wrap;
}

div.filters > div.filter {
    max-width: 200px;
    margin-left: 5px;
    margin-right: 5px;
}

div.filters > div.filter > label, div.filters > * > .form-check-label {
    font-size: x-small;
    color: #6C757D;
    margin-bottom: 0.1rem !important;
    /*display: none;*/
}

.filter-list-button {
    display: block;
    width: 100%;
    border: 1px solid rgb(206, 212, 218);
    padding: 0.25rem 0.5rem;
    border-radius: 0.2rem;
    cursor: pointer;
    text-align: center;
}

.filter-list-button:focus > .filter-list-values, .filter-list-button:hover > .filter-list-values {
    display: block;
}

.filter-list-values {
    background-color: white;
    display: none;
    text-align: justify;
    border: rgb(206, 212, 218) 1px solid;
    border-radius: 15px;
    padding: 5px;
    /*left: -150px;*/
    width: 300px;
    position: absolute;
    box-shadow: 0 0.5rem 1rem #00000020;
    z-index: 1000;
}

.table-maxWidth-10 {
    max-width: 10%;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
}

.table-maxWidth-20 {
    max-width: 200px;
    overflow: scroll;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeout-progress {
    width: 100%;
    height: 20px;
    /*position: relative;*/
    background-color: #ddd;
}

.timeout-bar {
    background-color: var(--color-SLF-dark-coloured);
    width: 1px;
    height: 20px;
    /*position: absolute;*/
}

#screenLoader {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    background-color: rgba(255, 230, 151, 0.9);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-content: center;
}

#screenLoader > div {
    transform: scale(2);
}

.productCard {
    margin-bottom: 15px;
    background-color: #FFFFFF;
    border-radius: .25rem;
    z-index: 2;
    box-shadow: 0 0.3rem 0.5rem #00000050 !important;
}


.productHeader {
    display: flex;
    justify-content: stretch;
    align-content: center;
}

.productHeaderTitle {
    font-weight: bold;
    overflow-wrap: break-word;
    word-break: break-all;

}

.productHeaderDesignation {
    font-size: 0.7rem;
    font-style: italic;
    text-align: justify;
}

.productHeaderQte {
    padding-top: 5px;
    font-weight: bold;
    font-size: 1.1rem;
}

.productHeaderRight {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 5px;
    text-align: right;
    min-width: 70px;
}

.productHeaderCenter {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-left: 2px;
    margin-right: auto;
}

.ImageProduit {
    margin-top: auto;
    margin-bottom: auto;
    height: 50px;
    width: 50px;
    border: #00000050 1px solid;
    border-radius: 2px;
    object-fit: contain;
}

#navbarHeader {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 0.1rem 0.2rem #00000050 !important;
}

#header_btnBar {
    padding: 5px;
    position: sticky;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    background-color: white;
}


.switch-container {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
}

.switch-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .switch-slider {
    background-color: var(--color-SLF-dark-coloured);
}

input:focus + .switch-slider {
    box-shadow: 0 0 1px var(--color-SLF-dark-coloured);
}

input:checked + .switch-slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* Rounded sliders */
.switch-slider.round {
    border-radius: 17px;
}

.switch-slider.round:before {
    border-radius: 50%;
}

/* History */
.modal-history {
    width: 700px;
    max-width: 90%;
}

.modal-history-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 80vh;
}

.modal-history-content > div.history {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 2px;
    padding: 2px;
    border: #CCCCCC 1px dashed;
    border-radius: 5px;
    width: calc(100% - 4px);
}

.modal-history-content > div.history.history-pending {
    /*background-image: repeating-linear-gradient(315deg, transparent, transparent 20px, #00000025 20px, #00000025 40px);*/
    padding-top: 10px;
    background-color: #CCCCCC30;
}

.modal-history-content > div.history.history-pending::before {
    content: "⚠️ Historisation en cours ...️ ⚠️";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    background-color: #CCC;
    color: #000;
    padding: 1px;
    font-size: xx-small;
}

div.history-avatar > img {
    margin: 5px;
    width: 20px !important;
    height: 20px !important;
}

.modal-history-content > div.history > div.history-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;


}

.modal-history-content > div.history > div.history-bottom {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-height: 100px;
    overflow-y: auto;
    word-wrap: anywhere;
}

div.history-top-left, div.history-top-right {
    display: flex;
    justify-content: start;
    align-items: center;
}

.modal-history-content > div.history > div.history-top > * > div,
.modal-history-content > div.history > div.history-bottom > * > div {
    margin: 3px 5px;
}

div.history-name {

    font-weight: bold;
}

div.history-table {
    background-color: #CCCCCC;
    border-radius: 5px;
    padding: 1px 5px;
    font-size: small;
    border: #CCCCCC 1px solid;
}

div.history-column {
    color: var(--color-SLF-dark-coloured);
}


div.history-old {
    text-decoration: line-through;
}


#similar-locations {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;

}

.similar-location {
    position: relative;
    width: 300px;
    min-width: 300px;
    max-width: 90vw;

    margin: 5px;
    padding: 5px;
    border: #CCCCCC solid 1px;
    border-radius: 5px;

    display: flex;
    flex-direction: column;


}

.similar-location.perfect-match {
    border: #ff0000 dashed 1px;
    background-color: #ff000010;
}

.similar-location.perfect-match::before {
    position: absolute;
    top: 0;
    right: 0;

    content: "-300 mètres";
    font-size: 0.5rem;
    color: #FFFFFF;
    background-color: #ff0000;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 2px;
    opacity: 0.5;
}

.FAQ_SLF {
    position: relative;
}

.FAQ_SLF_BTN {
    display: block;
    position: absolute;
    top: -8px;
    left: -8px;
    opacity: 0.5;
    cursor: pointer;
}

.FAQ_SLF:hover .FAQ_SLF_BTN {
    opacity: 1;
}

.sentry-error-embed-wrapper {
    z-index: 2001 !important;
}


.block-contact {
    position: relative;
    width: 320px;
    max-width: 100%;
    margin: 5px;
    padding: 5px;
    border: 1px solid var(--color-SLF-dark-coloured);
    border-radius: 20px;
    display: grid;
    grid-template-areas: "block-contact-avatar block-contact-name"
                         "block-contact-avatar block-contact-company"
                         "block-contact-functions block-contact-functions"
                         "block-contact-communications block-contact-communications"
                         "block-contact-email block-contact-email";
    grid-template-columns: 40px calc(100% - 45px);
}

.block-contact.block-contact-inactive {
    opacity: 0.5;
    background-color: #CCCCCC;
}

.block-contact-btns {
    position: absolute;
    top: 4px;
    right: 4px;
    display: flex;
}

.block-contact-btns > div {
    color: var(--color-SLF-dark-coloured);
    cursor: pointer;
    margin: 0 2px;

}

.block-contact-avatar {
    grid-area: block-contact-avatar;
    color: var(--color-SLF-dark-coloured);
}

.block-contact-avatar > svg {
    height: 40px;
    width: 40px;
}

.block-contact-name {
    grid-area: block-contact-name;
    color: var(--color-SLF-dark-coloured);
    font-weight: bold;
}

.block-contact-company {
    grid-area: block-contact-company;
}

.block-contact-functions {
    grid-area: block-contact-functions;
    text-align: center;
}

.block-contact-communications {
    grid-area: block-contact-communications;
    display: grid;
    color: #696969;
    grid-template-columns: repeat(2, 1fr);
    text-decoration: underline;
    cursor: pointer;
}

.block-contact-communications > div {
    overflow: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modalbox-editContact {
    max-width: 600px;
}

.modalbox-editContact > fieldset {
    border: 1px solid var(--color-SLF-dark-coloured);
    border-radius: 20px;
    padding: 10px;
    margin: 5px;
}

.modalbox-editContact > fieldset > legend {
    color: var(--color-SLF-dark-coloured);
    font-size: medium;
    text-align: center;
    width: 280px;
}

.tags-input-wrapper {
    background: transparent;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    border: 1px solid #ccc
}

.tags-input-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    margin-left: 8px;
}

.tags-input-wrapper .tag {
    display: inline-block;
    background-color: var(--color-SLF-light-coloured);
    color: #000000;
    border-radius: 40px;
    padding: 0px 3px 0px 7px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.tags-input-wrapper .tag a {
    margin: 0 7px 3px;
    display: inline-block;
    cursor: pointer;
}

.block-files-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.block-files-search {
    padding: 5px;
    /*border: 1px solid var(--color-SLF-dark-coloured);*/
    /*border-radius: 20px;*/
    max-width: 250px;

}

.block-files-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: start;

}

.block-file {
    text-align: left;
    width: 16rem;
    max-width: 100%;
    margin: 5px;

    box-shadow: 0 0.2rem 0.2rem #00000050
}

.block-file > .card-img-top {
    width: 100%;
    height: 11rem;
    /*object-fit: contain;*/
    object-fit: cover;
    object-position: top;
    background-color: rgba(0, 0, 0, .03);
}

.block-file > .card-body {
    padding: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.block-file > .card-body > .block-file-title {
    font-weight: bold;
    /*font-size: small;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block-file > .card-body > .block-file-text {
    font-size: x-small;
    font-style: italic;
    height: 30px;
    overflow: auto;
}

.block-file > .card-body > .block-file-tags {
    /*height: 100%;*/
}


.block-file > .card-footer {
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0);
    /*height: 100%;*/
}

img.img-block-preview {
    width: 100%;
    height: 90vh;
    /*max-width: 100%;*/
    /*height: auto;*/
    object-fit: contain;
    background-color: rgba(0, 0, 0, .03);
}

.user_history_block {
    display: grid;
    grid-template-areas: "user_history_avatar user_history_name"
                         "user_history_avatar user_history_date";
    grid-template-columns: 35px calc(100% - 35px);

    line-height: 0.80;
}

.user_history_avatar {
    grid-area: user_history_avatar;
    margin-right: 5px;
}

.user_history_avatar > img {
    width: 30px;
    height: 30px;
    grid-area: user_history_avatar;
    margin-right: 5px;
}

.user_history_name {
    grid-area: user_history_name;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: x-small;

}

.user_history_date {
    grid-area: user_history_date;
    font-size: x-small;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

/* region pdf-block */
.pdf-block {
    border-radius: 25px;
}

.pdf-controls {
    border-top: 1px solid #b2b2b2;
    border-left: 1px solid #b2b2b2;
    border-right: 1px solid #b2b2b2;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px;
    /*background-color: #b2b2b2;*/
}

.pdf-controls > * > button {
}

.pdf-pageNumberControls {
    display: flex;
    align-items: center;
}

.pdf-pageNumberControls > input {
    width: 30px;
    padding: 0;
}

.pdf-canvasContainer {
    border-bottom: 1px solid #b2b2b2;
    border-left: 1px solid #b2b2b2;
    border-right: 1px solid #b2b2b2;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: block;
    background-color: #f6f6f6;
    padding: 10px;
    overflow: auto;
    max-width: 100%;
    text-align: center;
    max-height: 80vh;
}


/* endregion pdf-block */
.icon_bar {
    margin: 5px;
    cursor: pointer;
}

.dropzone-block {
    margin: 5px auto;
    width: 100%;
    /*height: 50px;*/
    padding: 2px 5px;
    border: 1px dashed var(--color-SLF-dark-coloured);
    color: var(--color-SLF-dark-coloured);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.dropzone-block:hover,
.dropzone-block-hover,
.dropzone-block:focus {
    text-decoration: underline solid;
    color: #000000;
    background-color: var(--color-SLF-light-coloured);
    border: 1px solid var(--color-SLF-dark-coloured);
}

.dropzone-block.dropzone-block-in-progress {
    border: 1px dashed #FFA500;
    color: #FFA500;
}

.dropzone-block.dropzone-block-success {
    border: 1px dashed #28a745;
    color: #28a745;
}

.dropzone-block small {
    font-size: x-small;
    color: #6C757D;
}


/** region icon_with_counter */


.icon_with_counter {
    position: relative;
    border: 1px solid var(--color-SLF-dark-coloured);
    padding: 0.1em;
}

.icon_with_counter:hover {
    background-color: var(--color-SLF-light-coloured);
    cursor: pointer;
}

.icon_with_counter.icon_with_counter-empty {
    border: 1px dashed #CCCCCC;
    background-color: #CCCCCC20;
    color: #CCCCCC;
}

.icon_with_counter > .icon_with_counter-badge {
    position: absolute;
    right: -0.65em;
    top: -0.65em;
    /*}*/

    /*.icon_with_counter-badge {*/
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    color: white;
    /*background-color: red;*/
    background-color: var(--color-SLF-dark-coloured);
    /*border: solid 1px currentcolor;*/
    box-shadow: 2px 2px 6px 3px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    line-height: 1.08em;
    padding: 0.75em;
}
