html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.1rem;
    margin: 0px;
    padding: 0px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #cfcfd1;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.sign-out:before {
    content: "\f2f5";
    font-family: "Font Awesome 5 Free";
}

#frmLogin {
    max-width: 350px;
    margin: 5%;
}

.storno {
    width: 200px;
}

#divContentLogin {
    background-image: url("/mynature/CustomUpload/374O357O340O370O356O369O350O364O376O365O352O371O372O369O356O/WebPortal/Beauftragungsportal/img/background_1.jpg");
    background-size: cover;
    background-attachment: fixed;
    flex: 1;
    position: relative;
}

#divWrap {
    position: relative;
    flex: 1;
}

#divMainContent {
    position: relative;
    /* overflow: scroll; */
}

.navbar-toggler {
    position: fixed;
    top: 30px;
    left: 15px;
    width: 2.3rem;
    height: 2.5rem;
    text-align: center;
    font-size: 2.5rem;
    color: #6c757d;
    padding: 0.25rem 0.25rem 0.5rem 0.25rem;
    z-index: 1050;
    background-color: rgba(255, 255, 255, 0.9);
}

.main {
    display: block;
    width: calc(100% - 200px);
    float: right;
}

.offcanvas-body ul {
    list-style-type: none;
}

#htmlNav {
    padding-top: 132px !important;
    z-index: 3;
    color: #fff;
    width: 100%;
}

@media (max-width: 992px) {
    #htmlNav {
        padding-top: 175px !important;
    }
}

.bg-dark {
    background-color: #6e6e6e !important;
}

#htmlNav a {
    color: #fff;
}

.nav-link {
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 1.5rem;
    transition: padding 0.2s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background-color: #007CAF !important;
    position: relative;
    width: 100%;
    color: #fff;
    padding-left: 0.5rem;
}

#htmlNav .active,
.offcanvas .active {
    background-color: #007CAF !important;
    position: relative;
    width: 100%;
}

#htmlNav ul li.active>.nav-link::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 15px;
    border-color: transparent transparent transparent #007CAF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    display: block !important;
    z-index: 1030;
    pointer-events: none;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    width: auto;
    min-width: 199px;
    max-width: 250px;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #fff;
    text-align: left;
    list-style: none;
    background-color: #007CAF;
    background-clip: padding-box;
    border-radius: 0;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform-origin: top;
    animation: dropdownAnimation 0.2s ease;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    white-space: normal;
    word-break: break-word;
    color: #fff !important;
}

#htmlNav .dropdown-menu li a {
    color: #fff;
    padding: 0.5rem 1rem;
    white-space: normal;
    word-break: break-word;
    display: block;
}

.dropdown-item:hover,
.dropdown-item:focus,
#htmlNav .dropdown-menu li a:hover,
#htmlNav .dropdown-menu li a:focus {
    color: #007CAF !important;
    background-color: #f8f9fa;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-link:hover::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 15px;
    border-color: transparent transparent transparent #007CAF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
}

.nav-link:hover {
    background-color: #007CAF !important;
    position: relative;
    width: 100%;
    color: #fff;
}

.nav-link:focus {
    color: #fff;
}

.nav-item {
    width: 100%;
}

.nav-item i {
    display: none;
}

.nav-item:hover>.nav-link>i {
    display: inline-block;
}

.nav-link.dropdown-toggle {
    position: relative;
    padding-right: 1.5rem;
}

.nav-link.dropdown-toggle::after {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    transition: transform 0.2s ease;
}

.nav-link.dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
    transform-origin: top;
    animation: dropdownAnimation 0.2s ease;
}

@keyframes dropdownAnimation {
    from {
        opacity: 0;
        transform: scaleY(0);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.user {
    color: #c16e74;
}

.bg-primary,
.btn-primary,
.nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #007CAF !important;
}

.text-primary {
    color: #007CAF !important;
}

.btn-primary {
    color: #fff;
    background-color: #007CAF !important;
    border-color: #007CAF !important;
}

.btn-warning {
    background-color: #fcd25e !important;
    border-color: #fcd25e;
    color: #fff;
}

.row_item_selectable,
.tableBgHover {
    cursor: pointer !important;
}

.bg-trans {
    background-color: transparent;
}

.tableBg {
    background-color: #cfcfd1;
}

.tableBgSelect {
    background-color: #fcd25e !important;
}

.row_item_selectable_sub a {
    text-decoration: none;
    color: #000;
}

.loading-overlay {
    display: table;
}

th {
    font-weight: normal;
}

.loading-overlay-content {
    display: table-cell;
    vertical-align: middle;
}

nav#legal {
    position: absolute;
    right: 20px;
    top: 1px;
    background: #ffffff;
    padding: .5em;
    box-shadow: 0 0 12px rgb(0 0 0 / 20%);
    border-radius: 0 0 5px 5px;
}

nav#legal ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav#legal ul li {
    display: inline-block;
    margin: 0 .5em;
    position: relative;
}

nav#legal ul li a {
    text-decoration: none;
    color: #004996;
}

nav#legal ul li #linkAGB:after,
nav#legal ul li #linkDatenschutz:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background: rgba(0, 73, 150, 0.22);
    top: 0;
    right: -10px;
}

nav#legalBottom {
    position: absolute;
    right: 20px;
    bottom: 0px;
    background: transparent;
    padding: .5em;

}

@media (max-width: 765px) {
    nav#legalBottom {
        position: absolute;
        right: 5px;
        bottom: 0px;
        background: transparent;
        padding: .5em;

    }
}

nav#legalBottom ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav#legalBottom ul li {
    display: inline-block;
    margin: 0 .5em;
    position: relative;
}

nav#legalBottom ul li a {
    text-decoration: none;
    color: #6e6e6e;
}

.legalWrap {
    background: rgba(255, 255, 255, 0.9);
    padding: 1em;
    padding-top: 5rem;
    font-size: 1.4rem !important;
}

.form-check-input:checked {
    background-color: #007CAF !important;
    border-color: #007CAF !important;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.row_item_selectable .form-check,
.flexrow .form-check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

input[type="checkbox"]+label {
    position: relative;
    padding-left: 1.7em;
}

input[type="checkbox"]+label::before {
    background-color: #ffffff !important;
    border: 1px solid #007CAF !important;
}

input[type="checkbox"]:checked+label::before {
    background-color: #007CAF !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

input[type="checkbox"]:hover+label::before {
    box-shadow: 0 0 0 0.1em #007CAF, 0 0 0 3px rgba(0, 124, 175, 0.2);
}

input[type="checkbox"]+label::after,
input[type="radio"]+label::after {
    top: 50%;
    transform: translateY(-50%);
}

.flexrow:nth-child(2n + 2) input[type="checkbox"]+label::before,
tr:nth-child(2n + 2) input[type="checkbox"]+label::before {
    border: 1px solid #007CAF !important;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #007CAF;
}

#divAVVListLoader {
    position: relative !important;
    top: 0 !important;
    max-width: 100% !important;
    height: 25px !important;

}

#divESNListLoader {
    position: relative !important;
    top: 0 !important;
    max-width: 100% !important;
    height: 25px !important;

}

.curser-pointer:hover {
    cursor: pointer !important;
}

.height-long-desc {
    min-height: 175px !important;
}

#link3428 {
    color: #fff;
    background-color: #007CAF !important;
    border-color: #007CAF !important;
}

#AnalyseUpload {
    font-family: Arial, Helvetica, sans-serif;

    input[type=file] {
        display: block;
        position: relative;
        top: -20px;
        width: 100%;
        color: #6c757d;
    }

    input[type=text] {
        width: 0 !important;
        padding: 0 !important;
        border: none !important;
        height: 0 !important;
    }
}

#divTaskDataFooter {
    display: flex;

    button {
        position: relative;
        left: 0;
    }
}

body {
    overflow-x: hidden;
}

.main {
    margin-left: 200px;
    margin-top: 120px;
    width: calc(100% - 200px);
    padding-bottom: 50px;
}



#divHeader {
    z-index: 1030;
}

.nav.bg-dark {
    z-index: 1020;
    height: 100%;
    position: fixed;
    width: 200px;
    top: 0;
    left: 0;
    bottom: 0;
    overflow: visible !important;
}

.nav.bg-dark #htmlNav {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    width: 200px;
    position: relative;
}

.nav.bg-dark #htmlNav::-webkit-scrollbar {
    display: none;
}

.nav.bg-dark #htmlNav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#htmlNav ul li.active>.nav-link {
    background-color: #007CAF !important;
    position: relative;
    width: 100%;
}


#htmlNav ul li.active>.nav-link::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 15px;
    border-color: transparent transparent transparent #007CAF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    display: block !important;
    z-index: 1030;
    pointer-events: none;
}

.nav-link:hover::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 15px;
    border-color: transparent transparent transparent #007CAF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    display: block !important;
    z-index: 1030;
    pointer-events: none;
}

.nav.bg-dark #menu li {
    position: relative;
    overflow: visible !important;
}

.offcanvas .active>.nav-link::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 15px;
    border-color: transparent transparent transparent #007CAF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
    display: block !important;
    z-index: 1030;
}

.nav.bg-dark,
.nav.bg-dark #htmlNav,
.nav.bg-dark #menu li,
.nav-item {
    overflow: visible !important;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem;
}

.nav-item i,
.nav-link i.fas,
.nav-link i.fa,
.dropdown-item i.fas,
.dropdown-item i.fa,
.dropdown-menu li i {
    display: none;
    margin-right: 0.5rem;
    width: 1.25rem;
    text-align: center;
}

.nav-item:hover>.nav-link>i,
.nav-link:hover>i.fas,
.nav-link:hover>i.fa,
.nav-item.active>.nav-link>i,
.nav-item.active>.nav-link>i.fas,
.nav-item.active>.nav-link>i.fa,
.dropdown-item:hover>i.fas,
.dropdown-item:hover>i.fa,
.dropdown-item.active>i.fas,
.dropdown-item.active>i.fa,
.dropdown-menu li a:hover>i {
    display: inline-block;
}

#kontakt a:hover {
    color: #fcd25e !important;
}

.alert-light a:hover {
    color: #fcd25e !important;
    text-decoration: none;
}

#kontakt .fas {
    color: #007CAF;
}

#kontakt .fas:hover {
    color: #fcd25e;
}

.form-control:focus {
    border-color: #007CAF !important;
    box-shadow: 0 0 0 0.1rem rgba(0, 124, 175, 0.25) !important;
}

#Upload {
    width: 30%;
    max-height: 30px;
    position: relative;
    top: -35px;
}
.table th[data-col="avv"],
.table th[data-col="termin"] {
    width: 120px;
}
.table th[data-col="standort"] {
    max-width: 130px;
}
.invoicesum {
    max-width: 100px;
}

@media (max-width: 991.98px) {
    #divTableWrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: auto;
        width: 100%;
    }

    .table td,
    .table th {
        padding: 0.4rem !important;
        font-size: 0.9rem !important;
        /* word-break: break-word; */
        white-space: normal;
    }

    .table th[data-col="shl"],
    .table td:nth-child(2),
    .table td:nth-child(3),
    .table td:nth-child(4) {
        width: auto !important;
        min-width: 25px !important;
        padding: 0.2rem !important;
    }

    .table .btn-warning {
        padding: 0.25rem 0.4rem;
        font-size: 0.8rem;
    }

   
    .nav {
        width: 200px !important;
        float: left;
    }

    .main {
        display: block;
        width: 100%;
        float: right;
        margin-left: 0;
        margin-top: 140px;
    }
}

@media (max-width: 575.98px) {
    .table {
        font-size: 0.8rem;
    }

    .table .btn-warning {
        padding: 0.2rem 0.3rem;
        font-size: 0.75rem;
    }
    .filter-container .mdc-text-field {
        flex: 0 0 100%;
        width: 100% !important;
    }
}

@media (max-width: 767.98px) {
    .filter-container .mdc-text-field {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px) !important;
    }
}

th {
    width: auto !important;
}

