﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */

/*
    Used colors
        Primary color dark: #00545b
        Primary color: #007885
        Primary color light: #7cc5cc (124, 197, 204)
        Accent color: #8caf2a
        Anchor color: #009ead
        Disabled menus color on the primary color light background: #5d9599
        Background color of the collapsed menu: #eee
        Disabled menus color on the collapsed menu: #bbb
*/

:root {
    --scrollbar-width: 0px;
}

html {
    font-size: 15px;
}

.modal-content,
body {
    background-color: #fbfbfb;
    min-width: 320px;
}

.text-light-gray {
    color: #bbb;
}

.bg-default {
    background-color: #fbfbfb;
}

.text-default {
    color: #212529;
}

.text-primary {
    color: #007885 !important;
}

.text-primary-light {
    color: #7cc5cc !important;
}

.border-primary {
    border-color: #007885 !important;
}

.accent-color {
    color: #8caf2a;
}

.border-accent {
    border-color: #8caf2a !important;
}

.anchor-color {
    color: #009ead;
}

a {
    color: #009ead;
    text-decoration: none;
    background-color: transparent;
}

    a:hover {
        color: #007885;
        text-decoration: underline;
    }

.a {
    color: #009ead;
    text-decoration: none;
    background-color: transparent;
}

    .a:not(disabled):hover {
        cursor: pointer;
        color: #007885;
        text-decoration: underline;
    }

textarea {
    min-height: calc(1.5em + 0.75rem + 2px);
}

.min-width-0 {
    min-width: 0 !important;
}

.width-0 {
    width: 0;
}

.font-weight-semibold {
    font-weight: 500 !important;
}

.user-select-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sticky-left {
        position: -webkit-sticky;
        position: sticky;
        left: 0;
        z-index: 1010;
    }

    .sticky-left-100 {
        position: -webkit-sticky;
        position: sticky;
        left: 0;
        z-index: 1010;
        width: 100%;
        max-width: min(100%, 100vw - var(--scrollbar-width) - 1px);
    }
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.img-bg-loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='50' height='50' viewBox='0 0 50 50' xml:space='preserve'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='transparent'%3E%3C/rect%3E%3Cg transform='matrix(0 0 0 0 0 0)' id='7c837a96-a894-4889-95f0-713cb1f03473' %3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 25 25)' id='ece85638-95d1-4d92-be56-b8234d86a39a' %3E%3Crect style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1;' vector-effect='non-scaling-stroke' x='-25' y='-25' rx='0' ry='0' width='50' height='50' /%3E%3C/g%3E%3Cg transform='matrix(0.17 0 0 0.17 25 25)' style='' id='234d8d67-e136-46cf-9091-316f01952fc3' %3E%3Ctext xml:space='preserve' font-family='Lato' font-size='56' font-style='normal' font-weight='400' style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(144,144,144); fill-rule: nonzero; opacity: 1; white-space: pre;' %3E%3Ctspan x='-114.16' y='17.59' %3ELoading...%3C/tspan%3E%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Badge tooltip info */

i[data-toggle="tooltip"]:not([data-original-title=""]) {
    cursor: help;
}

.help-badge {
    color: #bbb;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    /*margin-left: 5px;*/
}

    .help-badge::before {
        content: "\f05a";
    }

    .help-badge[data-toggle="tooltip"][data-original-title=""], .help-badge[data-toggle="tooltip"]:not([data-original-title]) {
        display: none;
    }

.error-badge {
    color: #dc3545;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    /*margin-left: 5px;*/
}

    .error-badge::before {
        content: "\f071";
    }

    .error-badge.error-badge-xmark::before {
        content: "\f057" !important;
    }

    .error-badge[data-toggle="tooltip"][data-original-title=""], .error-badge[data-toggle="tooltip"]:not([data-original-title]) {
        display: none;
    }

/* Full page */
.full-page-container {
    position: fixed;
    top: 61px;
    width: 100%;
    height: calc(100% - 61px);
}

.parts-full-page-container {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100%;
}

/* modal customization */

.modal-header {
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #f0f0f0;
}

    .modal-header .close {
        margin-top: -.5rem;
        margin-bottom: -.5rem;
        padding-top: .75rem;
        padding-bottom: .75rem;
    }

.modal-body.modal-body-max-vh {
    overflow-y: auto;
    max-height: calc(100vh - (2.5rem + 2px + (4.25rem + 1px) + (4.25rem + 3px)));
    min-height: 120px;
}

.modal-body.modal-body-vh {
    overflow-y: auto;
    height: calc(100vh - (2.5rem + 2px + (4.25rem + 1px) + (4.25rem + 3px)));
    min-height: 120px;
}

.modal-content .modal-loading-overlay {
    position: absolute;
    top: calc(3.25rem + 1px);
    bottom: calc(4.25rem + 3px);
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 250, 0.6);
    z-index: 1030;
}

.modal-full-width {
    max-width: initial;
    margin-left: 1.75rem;
    margin-right: 1.75rem;
}

/* Tabs customization */

.nav-tabs .nav-link {
    color: #212529;
}

    .nav-tabs .nav-link.dropdown-toggle {
        background-color: transparent !important;
    }

.modal-body .nav-tabs {
    padding-top: 10px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1009;
}

    .modal-body .nav-tabs .nav-link.active {
        background-color: #fbfbfb;
        border-bottom: solid 1px #fbfbfb;
        font-weight: 500;
    }

.card-tabs {
    border: 0;
}

    .card-tabs > .card-header {
        background-color: #fbfbfb;
        border-bottom-color: #dee2e6;
    }

        .card-tabs > .card-header .nav-tabs .nav-link:focus {
            border-bottom-color: transparent;
        }

        .card-tabs > .card-header > .card-header-tabs {
            margin-left: -1.25rem;
            margin-right: -1.25rem;
        }

    .card-tabs > .card-body {
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
        border-bottom-left-radius: .25rem;
        border-bottom-right-radius: .25rem;
    }

.card-body-fixed-tabs {
    padding: 0;
}

    .card-body-fixed-tabs > .tab-pane {
        position: relative;
        height: 100%;
    }

        .card-body-fixed-tabs > .tab-pane > .tab-pane-inner {
            position: absolute;
            overflow-y: auto;
            height: 100%;
            width: 100%;
            padding: 1.25rem;
            background-color: #fff;
            border-bottom-left-radius: .25rem;
            border-bottom-right-radius: .25rem;
        }

        .card-body-fixed-tabs > .tab-pane > .tab-pane-loading-overlay {
            position: absolute;
            height: 100%;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.6);
            z-index: 999;
        }

.card-body-fluid-tabs {
    padding: 0;
}

    .card-body-fluid-tabs > .tab-pane {
        position: relative;
        min-height: 175px;
    }

        .card-body-fluid-tabs > .tab-pane > .tab-pane-inner {
            padding: 1.25rem;
            background-color: #fff;
            border-bottom-left-radius: .25rem;
            border-bottom-right-radius: .25rem;
        }

        .card-body-fluid-tabs > .tab-pane > .tab-pane-loading-overlay {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(255, 255, 255, 0.6);
            z-index: 999;
        }

.card-rounded {
    border-radius: 1rem;
}

    .card-rounded .card-header:first-child {
        border-radius: 1rem 1rem 0 0;
    }

/* Left tabs */

.nav-ltabs {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    border-right: 1px solid #dee2e6;
}

    .nav-ltabs .nav-item {
        margin-right: -1px;
        text-align: right;
    }

    .nav-ltabs .nav-link {
        border: 1px solid transparent;
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

        .nav-ltabs .nav-link:hover, .nav-tabs .nav-link:focus {
            border-color: #dee2e6;
        }

        .nav-ltabs .nav-link.disabled {
            color: #6c757d;
            background-color: transparent;
            border-color: transparent;
        }

        .nav-ltabs .nav-link.active,
        .nav-ltabs .nav-item.show .nav-link {
            font-weight: 500;
            background-color: #fbfbfb;
            border-color: #dee2e6 #fff #dee2e6 #dee2e6;
            border-right-color: #fbfbfb;
        }

    .nav-ltabs .dropdown-menu {
        margin-right: -1px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .nav-ltabs .nav-link {
        color: #212529;
    }

        .nav-ltabs .nav-link.dropdown-toggle {
            background-color: transparent !important;
        }

/* table customization */

.table-fixed {
    table-layout: fixed;
}

    .table-fixed.table-resizable th /*:not(:last-child)*/ {
        resize: horizontal;
    }

.table-delta-container {
    position: relative;
}

.table-delta {
    width: 100%;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 0.5px solid #dee2e6;
}

.table-delta-draghover {
    background-color: rgba(0,0,0,.075) !important;
}

.table-delta tr {
    background-color: #fff;
}

.table-delta th,
.table-delta td {
    padding: 10px;
    vertical-align: top;
    border: 0;
    height: 43px; /*td height works like min-height*/
}

.table-delta th {
    vertical-align: middle;
    color: #8caf2a;
}

.table-delta th {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: inset 0 -2px 0 #dee2e6;
    background-clip: padding-box
}

.table-delta thead tr.delta-sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 1009;
}

.table-delta thead tr.parts-delta-sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1009;
}

.table-delta tr:not(:last-child) td {
    border-top: none;
    border-bottom: 0.5px solid #dee2e6;
}

.table-delta-transparent {
    background-color: initial !important;
}

    .table-delta-transparent tr {
        background-color: initial !important;
    }

.table-delta-empty-row:only-child {
    display: table-row !important;
}

.table-delta-sm {
    border: 0;
    border-collapse: collapse !important;
    margin: 0;
}

    .table-delta-sm th {
        padding: 0.5rem;
    }

    .table-delta-sm td {
        padding: 0.5rem;
        height: 37.5px; /*td height works like min-height*/
    }

.table-delta-xsm {
    border: 0;
    border-collapse: collapse !important;
    margin: 0;
}

    .table-delta-xsm th {
        padding: 0.3rem 0.3rem;
        height: initial !important;
        font-weight: normal;
        box-shadow: inset 0 -1px 0 #dee2e6;
        border-bottom: none !important;
    }

    .table-delta-xsm td {
        padding: 0.1rem 0.3rem;
        height: initial !important;
        border-bottom: none !important;
    }

    .table-delta-xsm tr:first-child td {
        padding-top: 0.3rem !important;
    }

.clickable-row {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.card-header.delta-sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    z-index: 1009;
}

/* main header */

.main-header-delta {
    background-color: #f0f0f0;
    border-bottom: solid 1px #d0d0d0;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* nav-bar customization */

.navbar-delta {
    background-color: #f0f0f0;
    border-bottom: solid 1px #d0d0d0;
    padding: 0px;
    min-height: 60px;
    font-size: 16px;
}

    /*.navbar-delta ul {
        height: 100%;
    }*/

    .navbar-delta .logo {
        width: 45px;
    }

        .navbar-delta .logo img {
            width: 40px;
            height: 40px;
        }

    .navbar-delta .nav-item.active .nav-link:hover,
    .navbar-delta .nav-item.active .nav-link {
        color: #fff;
    }

    .navbar-delta .nav-item .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        color: rgba(0,0,0,.8);
    }

        .navbar-delta .nav-item .nav-link:hover {
            color: rgba(0,0,0,1);
        }

    .navbar-delta .nav-item.disabled .nav-link,
    .navbar-delta .nav-item.disabled .nav-link:hover {
        cursor: not-allowed;
        color: #5d9599
    }

    .navbar-delta .nav-item {
        padding-top: calc((36px - 1rem) / 2);
        padding-bottom: calc((36px - 1rem) / 2);
    }

        .navbar-delta .nav-item.active {
            background: #8caf2a;
        }

/* Form control sm (keep 16px font to avoid zooming on ios) */

/*.form-control-sm {
    height: calc(1em + .5rem + 2px);
    font-size: 1rem;
}*/

/* Input-group customization with card */

.input-group > .card {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

    .input-group > .card:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group > .card:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

/* Control focus shadow customizations */

.custom-file-input:focus, .form-control:focus {
    border-color: #7cc5cc;
    box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, .25);
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, .5);
}

button:focus {
    outline: 1px dotted;
    outline: 5px auto #007885;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #7cc5cc;
    box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, 0.25);
}

.custom-select:focus {
    border-color: #7cc5cc;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, 0.25);
}

.btn-outline-primary:hover > i.text-danger {
    color: #d67582 !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active > i.text-danger,
.btn-outline-primary:not(:disabled):not(.disabled).active > i.text-danger {
    color: #d67582 !important;
}

/* Checkbox/radio customization */

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    border-color: #007885;
    background-color: #007885;
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(0, 120, 133, 0.5);
}

.custom-radio .custom-control-input:disabled:indeterminate ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {
    background-color: rgba(0, 120, 133, 0.5);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007885;
    background-color: #007885;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 120, 133, 0.25);
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #7cc5cc;
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #7cc5cc;
    border-color: #7cc5cc;
}

.custom-control-input:not(:disabled) ~ .custom-control-label-text-body {
    color: #212529 !important
}

/* BUG bootstrap? (custom radio appearing weird if the size if not divible by 4!) */
.custom-control-label::before,
.custom-control-label::after {
    width: 16px;
    height: 16px;
}

/* Tooltip customization */

.tooltip.show {
    opacity: 1;
}

.tooltip-header {
    color: #ddd;
    font-size: 80%;
}

.tooltip .tooltip-inner {
    background-color: #8caf2a;
    color: #fff;
}

.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #8caf2a;
}

.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #8caf2a;
}

.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #8caf2a;
}

.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #8caf2a;
}

/* Red tooltip customization */

.tooltip-inner-danger {
    background-color: #dc3545 !important;
    color: #fff;
    max-width: 300px;
}

.bs-tooltip-top .arrow-danger::before, .bs-tooltip-auto[x-placement^="top"] .arrow-danger::before {
    border-top-color: #dc3545 !important;
}

.bs-tooltip-right .arrow-danger::before, .bs-tooltip-auto[x-placement^="right"] .arrow-danger::before {
    border-right-color: #dc3545 !important;
}

.bs-tooltip-bottom .arrow-danger::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow-danger::before {
    border-bottom-color: #dc3545 !important;
}

.bs-tooltip-left .arrow-danger::before, .bs-tooltip-auto[x-placement^="left"] .arrow-danger::before {
    border-left-color: #dc3545 !important;
}

/* Progress customization */

.progress-bar {
    background-color: #007885;
}

/* Buttons customization */

.btn {
    vertical-align: inherit; /* when google chrome translate a page it adds a tag font with style vertical-align:inherits -> text of the small buttons are then weired */
}

.btn-primary {
    color: #fff;
    background-color: #007885;
    border-color: #007885;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #00545b;
        border-color: #00545b;
    }

    .btn-primary:focus, .btn-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, 0.5);
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #007885;
        border-color: #007885;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #00545b;
        border-color: #007885;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, 0.5);
        }

.btn-secondary {
    color: #fff;
    background-color: #bbb;
    border-color: #bbb;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #aaa;
        border-color: #aaa;
    }

    .btn-secondary:focus, .btn-secondary.focus {
        box-shadow: 0 0 0 0.2rem rgba(204, 204, 204, 0.5);
    }

    .btn-secondary.disabled, .btn-secondary:disabled {
        color: #fff;
        background-color: #bbb;
        border-color: #bbb;
    }

    .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-secondary.dropdown-toggle {
        color: #fff;
        background-color: #aaa;
        border-color: #aaa;
    }

        .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-secondary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(204, 204, 204, 0.5);
        }

.btn-outline-primary {
    color: #007885;
    border-color: #007885;
}

    .btn-outline-primary:hover, .btn-outline-primary-draghover {
        color: #fff;
        background-color: #007885;
        border-color: #007885;
    }

    .btn-outline-primary:focus, .btn-outline-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 120, 133, 0.5);
    }

    .btn-outline-primary.disabled, .btn-outline-primary:disabled {
        color: #007885;
        background-color: transparent;
    }

    .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: #007885;
        border-color: #007885;
    }

        .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(0, 120, 133, 0.5);
        }

.btn-link {
    font-weight: 400;
    color: #009ead;
    text-decoration: none;
}

    .btn-link:hover {
        color: #007885;
        text-decoration: underline;
    }

    .btn-link:focus, .btn-link.focus {
        text-decoration: underline;
        box-shadow: none;
    }

    .btn-link:disabled, .btn-link.disabled {
        color: #6c757d;
        pointer-events: none;
    }

.btn {
    white-space: normal;
}

.btn-outline-primary,
.btn-primary,
.btn-outline-secondary,
.btn-secondary,
.btn-outline-success,
.btn-success,
.btn-outline-info,
.btn-info,
.btn-outline-warning,
.btn-warning,
.btn-outline-danger,
.btn-danger {
    min-width: 100px;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(124, 197, 204, 0.25);
}

.shadow-none:focus, .shadow-none.focus {
    box-shadow: none !important;
}
/* Alert customization */

.alert-light {
    color: #818182;
    background-color: rgba(0, 0, 0, 0.03);
    border-color: #fdfdfe;
}

/* Form row */

.form-row {
    margin-bottom: .5rem;
}

/* Label customization */

label, .label {
    font-weight: 400 !important;
    color: #8caf2a;
    margin-bottom: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.alert-info label, .alert-info .label {
    color: #0c5460 !important;
}

.form-group label {
    margin-bottom: 4px;
}

.label-group {
    display: -ms-flexbox !important;
    display: flex !important;
}

    .label-group label,
    .label-group .label {
        margin-right: 5px;
        margin-bottom: 0;
        flex: 0 1 auto;
    }

    .label-group div {
        flex: 0 1 auto;
        align-self: flex-end;
        word-break: break-word;
        overflow-wrap: break-word;
    }

/* Pills customization */

.nav-pills .nav-link {
    color: #212529;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        color: #fff;
        background-color: #7cc5cc;
    }

/* Dropdown customization */

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #7cc5cc;
}

.dropdown-header {
    display: block;
    padding: 0.3rem 1.5rem;
    margin-bottom: 0;
    font-size: 0.8rem;
    font-style: italic;
    white-space: nowrap;
}

/* Multilevel DropDown Menu
   Sample:
        <ul class="dropdown-menu shadow">
            <li>
                <a class="dropdown-item dropdown-submenu-header d-flex justify-content-between"><div>Sub menu</div><div class="ml-3"><i class="text-light-gray fa fa-angle-right"></i></div></a>
                <ul class="dropdown-menu dropdown-submenu shadow">
                    <li><a class="dropdown-item" href="#">Item 1</a></li>
                    <li><a class="dropdown-item" href="#">Item 2</a></li>
                </ul>
            </li>
            ...
        </ul>
*/

.dropdown-submenu-header {
    cursor: pointer;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

/* Dropdowns with vertical scrollbar */

.dropdown-menu {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    z-index: 1030; /*instead of 1000 to be on the top on the sticky headers/footers*/
}

    /* Cannot make sub menu work with vertical scrollbar :( */
    .dropdown-menu:has(li > .dropdown-submenu) {
        overflow-y: visible;
    }

/* File input customization */

.custom-file-input {
    cursor: pointer;
}

.custom-file-label {
    overflow: hidden;
}

/* Date picker */

.ui-widget.ui-datepicker {
    z-index: 9999 !important;
}

/* Select customization */

.custom-select:disabled {
    opacity: 1;
    background-image: none;
}

/* Placeholder */

.small-placeholder::-webkit-input-placeholder {
    font-size: 0.875rem;
    font-style: italic;
    color: #6c757d;
    opacity: 1;
}

.small-placeholder::-moz-placeholder {
    font-size: 0.875rem;
    font-style: italic;
    color: #6c757d;
    opacity: 1;
}

.small-placeholder:-ms-input-placeholder {
    font-size: 0.875rem;
    font-style: italic;
    color: #6c757d;
    opacity: 1;
}

.small-placeholder::-ms-input-placeholder {
    font-size: 0.875rem;
    font-style: italic;
    color: #6c757d;
    opacity: 1;
}

.small-placeholder::placeholder {
    font-size: 0.875rem;
    font-style: italic;
    color: #6c757d;
    opacity: 1;
}

/* Required fields (asterisk) */

label.required:after,
.label.required:after,
.form-row.required > div > .col-form-label:after {
    content: " *";
    color: #212529;
}

/* Input autofill (autocomplete) background color to white */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 50000s ease-in-out 0s, color 5000s ease-in-out 0s;
}

/* BUG bootstrap? (-> Seems to be corrected in bootstrap 4.5) */

.list-group-flush > .list-group-item:first-child {
    border-top-width: 0;
    padding-top: 0;
}

.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 0;
    padding-bottom: 0;
}

/* BUG bootstrap? (lettre like 'g' is cut) */

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    line-height: 1.3;
}

/* Quick filter popovers */

.popover.delta-quick-filter-popover {
    background-color: #fbfbfb;
    max-width: 330px;
    z-index: 1020;
}

    .popover.delta-quick-filter-popover .arrow:after {
        border-bottom-color: #f0f0f0;
    }

    .popover.delta-quick-filter-popover .popover-header {
        background-color: #f0f0f0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .popover.delta-quick-filter-popover .popover-body {
        padding: 10px;
    }

/* Resizable panels (with horiz/vertical splitter) */

rpanel {
    display: flex;
    background-color: #fff;
    border: solid 1px rgba(0,0,0,0.125);
    border-radius: 0.25rem;
    overflow: hidden;
}

    rpanel:not(rpanel-h) {
        flex-direction: column;
    }

        rpanel:not(rpanel-h) > rpanel-splitter {
            cursor: ns-resize;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='10'><path d='M0 2 h30 M0 5 h30 M0 8 h30' fill='none' stroke='black'/></svg>");
        }

    rpanel.rpanel-h {
        flex-direction: row;
    }

        rpanel.rpanel-h > rpanel-splitter {
            cursor: ew-resize;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='30'><path d='M2 0 v30 M5 0 v30 M8 0 v30' fill='none' stroke='black'/></svg>");
        }

rpanel-item {
    overflow: auto;
}

rpanel-splitter {
    flex: 0 0 4px;
    background-color: rgba(0,0,0,0.125);
    background-repeat: no-repeat;
    background-position: center;
}

/* Draggable */

.draggable-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 9999 !important;
}

.draggable {
    position: absolute;
    min-width: 20px;
    min-height: 20px;
    pointer-events: initial;
    z-index: 9999 !important;
    box-shadow: 0 0 1.5rem rgba(0,0,0,.5) !important;
    border: 1px solid #dee2e6 !important;
}

    .draggable.dragging {
        user-select: none;
    }

.dragger {
    user-select: none;
    cursor: move;
}

.table tbody tr.highlight td {
    background-color: #ddd;
}
