@charset "utf-8";
@import url("memo-variables.css");
.eva_list{
    width:100%;
    height:auto;
}

.eva_list a{
    color:#3a3a3a;
    text-decoration:none;
}

tr.eva_list_line{
    font-size:12px;
}

.dataTable a.eva_button02{
    width: auto;
    margin: 0;
    display: flex;
    justify-content: center !important;
    line-height: 14px;
    padding: 5px 20px;
}

.dataTable a.eva_button02 img{
    max-width: 13px;
    margin-left: 3px;
}

@media (max-width: 575.98px) {
    #openInvoicesTable .dt-text{
        word-wrap: break-word !important;
        word-break: break-word !important;
    }
}


tr.eva_list_line:hover{
    color:#FFFFFF;
    background-color:var(--memo-accent-color);
}

tr.eva_list_line:hover a{
    color:#FFFFFF;
}

tr.eva_list_line_grey{
    font-size:12px;
    background-color:#aaaaaa;
}

tr.eva_list_line_grey:hover{
    color:#FFFFFF;
    background-color:var(--memo-accent-color);
}

tr.eva_list_line_grey:hover a{
    color:#FFFFFF;
}

tr.eva_list_line_green{
    font-size:12px;
    background-color:lightgreen;
}

tr.eva_list_line_green:hover{
    color:#FFFFFF;
    background-color:var(--memo-accent-color);
}

tr.eva_list_line_green:hover a{
    color:#FFFFFF;
}
tr.eva_list_line_blue{
    font-size:12px;
    background-color:lightblue;
}

tr.eva_list_line_blue:hover{
    color:#FFFFFF;
    background-color:var(--memo-accent-color);
}

tr.eva_list_line_blue:hover a{
    color:#FFFFFF;
}
tr.eva_list_line_yellow{
    font-size:12px;
    background-color:yellow;
}

tr.eva_list_line_yellow:hover{
    color:#FFFFFF;
    background-color:var(--memo-accent-color);
}

tr.eva_list_line_yellow:hover a{
    color:#FFFFFF;
}

tr.eva_list_line_yellow2{
    font-size:12px;
    background-color:FFFFFF;
}

tr.eva_list_line_yellow2:hover{
    color:#000000;
    background-color:yellow;
}

tr.eva_list_line_blue_to_dark_blue {
    font-size:12px;
    background-color:var(--memo-accent-color);
}

tr.eva_list_line_blue_to_dark_blue:hover{
    color:#FFFFFF;
    background-color:dodgerblue;
}

td.eva_list_head{
    border-right:1px solid #ccc;
    font-weight:bold;
    padding:5px 10px 5px 10px;
    background-color:#f1f1f1;
}

td.eva_list_head2{
    border-right:1px solid #ccc;
    border-bottom:1px solid #ccc;
    border-top:1px solid #ccc;
    padding:5px 5px 5px 5px;
    background-color:#f1f1f1;
}
.eva_list a{
    color:#3a3a3a;
    text-decoration:none;
}

.eva_list_element{
    font-size:12px;
    border-right:1px solid #f1f1f1;
    border-bottom:1px solid #f1f1f1;
    padding:2px 5px 1px 5px;
}

.eva_list_element.brand{
    white-space: normal;
    word-break: break-word;
    min-width: 100px;
}

.eva_list_element_da{
    font-size:12px;
    color:#cccccc;
    border-right:1px solid #f1f1f1;
    border-bottom:1px solid #f1f1f1;
    padding:2px 5px 1px 5px;
}

.eva_list .icon_edit{
    float:right;
}

table.Info {
    height: 52px;
}

.dataTable i{
    color:#000;
}

.dataTable a[href^="mailto:"] {
    padding-right: 2rem;
}

table.dataTable>tbody>tr.child ul.dtr-details {
    display: flex!important;
    list-style-type: none!important;
    margin: 0!important;
    padding: 0!important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    border: 1px solid #efefef!important;
    padding: 0.5rem!important;
    align-items: center !important;
    justify-content: left !important;
    flex: 1 1 auto !important;
    display: flex;
    gap: 0.5rem !important;
    background: #fff!important;
    background-color: #fff!important;
    border-radius: 0.25rem;
    -webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.04);
    box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.04);
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    position: relative;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    font-family: FontAwesome!important;
    content: "\f107"!important;
    font-size: 13px!important;
    color: #fff!important;
    background: var(--memo-accent-color)!important;
    padding: 3px 8px!important;
    border-radius: 50%!important;
    border: none!important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18)!important;
    position: absolute!important;
    left: 4px!important;
    top: 50%!important;
    transform: translateY(-50%) rotate(0deg)!important;
    transition: transform 0.3s ease!important;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable tbody td.dt-control::before,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable tbody td.dt-control::before {
    border-color: transparent transparent transparent var(--memo-accent-color) !important;
    background: transparent !important;
    color: var(--memo-accent-color) !important;
    box-shadow: none !important;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable tbody tr.dt-hasChild td.dt-control::before,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable tbody tr.dt-hasChild td.dt-control::before {
    border-color: var(--memo-accent-color) transparent transparent transparent !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > th.dtr-control:before {
    transform: translateY(-50%) rotate(180deg)!important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before > div,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before > a{
    padding-left: 25px;
}

.dataTable.dtr-inline.collapsed .dtr-control {
    padding-left: 2.2rem;
}

table.table.dataTable>tbody>tr {
    background-color: #fff!important;
}

.table>thead tr {
    background-color: #fff;
}

table>thead tr th.d-flex{
    border-right:none;
    border-left:none;
}

table.table.dataTable>tbody>tr td.d-flex{
    border-right:none;
    border-left:none;
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1):not(.child) {
    background-color: #f2f2f2 !important;
    box-shadow: none !important;
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1):not(.child) + tr.child {
    background-color: #f2f2f2 !important;
    box-shadow: none !important;
}

.table-clickable tbody tr {
    cursor: pointer;
}

.table-clickable tbody tr input,
.table-clickable tbody tr button,
.table-clickable tbody tr a {
    cursor: pointer;
}

.table-checkbox-cell {
    text-align: center;
    vertical-align: middle;
    padding: 0.25rem 0 !important;
}

.table-checkbox-cell input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
}

.table-clickable tbody tr {
    cursor: pointer;
}
div.dataTables_processing div {
    display: none !important;
}

/* Shared DataTable toolbar used by all portal tables. */
.dt-container,
.dataTables_wrapper {
    --memo-dt-control-height: 2.5rem;

    container: memo-table-controls / inline-size;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) {
    --bs-gutter-x: 0;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    align-items: center;
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-layout-start, .dt-layout-end) {
    display: contents !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-layout-start,
.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-buttons,
.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-length, .dt-search),
.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-length, .dt-search) label {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-length, .dt-search) {
    min-width: 0;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-buttons {
    grid-column: 1 / -1;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-length {
    grid-column: 1;
    gap: 0;
    width: 100%;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-length label {
    flex: 0 0 0;
    width: 0;
    overflow: hidden;
    font-size: 0;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-search {
    grid-column: 2;
    gap: 0;
    justify-content: flex-end;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-search label {
    flex: 0 0 0;
    width: 0;
    overflow: hidden;
    font-size: 0;
}

.dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-button, .form-select, .form-control),
.dataTables_wrapper :is(.dt-button, select, input[type="search"]) {
    box-sizing: border-box;
    min-height: var(--memo-dt-control-height) !important;
    height: var(--memo-dt-control-height) !important;
    margin: 0 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    font-family: 'Titillium Web', Arial, Helvetica, sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    line-height: 1.25 !important;
}

.dt-container .dt-length select.form-select,
.dataTables_wrapper .dataTables_length select {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    padding: 0.5rem 2.25rem 0.5rem 0.875rem !important;
    appearance: none;
    background-color: var(--bs-secondary, #6c757d) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' d='M2 5h12L8 11z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 0.75rem 0.75rem !important;
    border: 1px solid var(--bs-secondary, #6c757d);
    border-radius: 0.5rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 600;
}

body:not(.memo-page-theme-dark) .dt-container .dt-length select.form-select,
body:not(.memo-page-theme-dark) .dataTables_wrapper .dataTables_length select {
    background-color: var(--bs-secondary, var(--memo-light-bg-color-soft)) !important;
    border-color: var(--bs-secondary, var(--memo-light-border-color-soft)) !important;
    color: var(--memo-light-text-color) !important;
    -webkit-text-fill-color: var(--memo-light-text-color) !important;
}

.dt-container .dt-length select.form-select option,
.dataTables_wrapper .dataTables_length select option {
    color: #212529;
    -webkit-text-fill-color: #212529;
}

.dt-container .dt-buttons .dt-button,
.dt-container .dt-length select.form-select {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.dt-container .dt-buttons .buttons-export span,
.dt-container .dt-length select.form-select {
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.dt-container .dt-length select.form-select {
    font-size: 1.25rem !important;
}

.dt-container .dt-search input.form-control,
.dataTables_wrapper .dataTables_filter input[type="search"] {
    display: block;
    flex: 1 1 100%;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 0.5rem;
}

.dt-container .dt-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.dt-container .dt-buttons .dt-button {
    width: 100% !important;
    min-width: 0;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    white-space: nowrap;
}

@container memo-table-controls (max-width: 63.999rem) {
    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-length, .dt-search),
    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-length select, .dt-search input) {
        width: 100% !important;
        max-width: none !important;
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-length select {
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }
}

@container memo-table-controls (min-width: 64rem) {
    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) {
        display: flex !important;
        position: relative;
        min-height: var(--memo-dt-control-height);
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-layout-start {
        display: flex !important;
        gap: 0.75rem;
        align-items: center;
        width: auto !important;
        margin-right: auto !important;
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-layout-end {
        position: absolute;
        top: 50%;
        right: var(--memo-dt-search-right-offset, 0);
        display: flex !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-50%);
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-buttons {
        display: flex !important;
        width: auto;
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-buttons .dt-button {
        width: auto !important;
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-length {
        position: static;
        width: auto;
        transform: none;
    }

    .dt-container .dt-length select.form-select {
        flex: 0 0 12rem;
        width: 12rem;
        min-width: 12rem;
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) .dt-search {
        position: static;
        width: min(18rem, 100%);
        transform: none;
    }
}

@container memo-table-controls (max-width: 36rem) {
    .dt-container .dt-buttons .dt-button,
    .dt-container .dt-length select.form-select {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
        font-size: clamp(0.75rem, 3.4vw, 1rem) !important;
    }

    .dt-container .dt-buttons .buttons-export span,
    .dt-container .dt-length select.form-select {
        font-size: clamp(0.75rem, 3.4vw, 1rem) !important;
        font-weight: 700 !important;
    }

    .dt-container .dt-length select.form-select {
        font-size: clamp(1rem, 4.25vw, 1.25rem) !important;
    }

    .dt-container .dt-length select.form-select {
        width: 100%;
        min-width: 0;
    }
}

@container memo-table-controls (max-width: 30rem) {
    .dt-container .dt-buttons,
    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) {
        grid-template-columns: minmax(0, 1fr);
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-buttons, .dt-length, .dt-search) {
        grid-column: 1;
    }

    .dt-container > :is(.row, .dt-layout-row):has(.dt-buttons, .dt-length, .dt-search) :is(.dt-length, .dt-search) {
        width: 100%;
    }

    .dt-container .dt-length select.form-select {
        flex: 1 1 auto;
        width: 100%;
    }
}

body.memo-page-theme-dark .dt-container .dt-length select.form-select {
    background-color: var(--memo-dark-field-bg-color) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23dce2e9' d='M2 5h12L8 11z'/%3e%3c/svg%3e") !important;
    border-color: var(--memo-light-border-color-soft);
}

.dt-buttons .buttons-export {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    background: var(--memo-accent-color) !important;
    border-color: var(--memo-accent-color) !important;
    color: #fff !important;
}

.dt-buttons .buttons-export:hover,
.dt-buttons .buttons-export:focus,
.dt-buttons .buttons-export.show {
    background: color-mix(in srgb, var(--memo-accent-color), #000 12%) !important;
    border-color: color-mix(in srgb, var(--memo-accent-color), #000 12%) !important;
    color: #fff !important;
}

.dt-button-collection {
    --memo-dt-collection-bg: #fff;
    --memo-dt-collection-border: #cfd8e3;
    --memo-dt-collection-hover: #f2f4f7;
    --memo-dt-collection-text: #20242a;

    padding: 0.45rem;
    color: var(--memo-dt-collection-text) !important;
    background-color: var(--memo-dt-collection-bg) !important;
    background-image: none !important;
    border: 1px solid var(--memo-dt-collection-border) !important;
    border-radius: 0.65rem !important;
    box-shadow: 0 0.75rem 1.75rem rgb(15 23 42 / 18%) !important;
    opacity: 1 !important;
    backdrop-filter: none;
}

.dt-button-collection .dropdown-menu {
    padding: 0;
    color: var(--memo-dt-collection-text) !important;
    background-color: transparent !important;
    background-image: none !important;
    opacity: 1 !important;
}

.dt-button-collection .dt-button,
.dt-button-collection .dropdown-item {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    color: var(--memo-dt-collection-text) !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    opacity: 1 !important;
}

.dt-container .dt-button-collection .dropdown-menu > li.dt-button,
.dataTables_wrapper .dt-button-collection .dropdown-menu > li.dt-button,
.dt-container .dt-button-collection .dropdown-menu > li.dt-button:hover,
.dataTables_wrapper .dt-button-collection .dropdown-menu > li.dt-button:hover,
.dt-container .dt-button-collection .dropdown-menu > li.dt-button:focus,
.dataTables_wrapper .dt-button-collection .dropdown-menu > li.dt-button:focus {
    background-color: transparent !important;
    background-image: none !important;
}

div.dt-button-collection > ul.dropdown-menu.show,
div.dt-button-collection > ul.dropdown-menu.show > li.dt-button,
div.dt-button-collection > ul.dropdown-menu.show > li.dt-button > a.dropdown-item,
div.dt-button-collection > ul.dropdown-menu.show > li.dt-button:focus,
div.dt-button-collection > ul.dropdown-menu.show > li.dt-button > a.dropdown-item:focus:not(:hover) {
    background-color: transparent !important;
    background-image: none !important;
}

div.dt-button-collection > ul.dropdown-menu.show > li.dt-button > a.dropdown-item:hover {
    background-color: transparent !important;
}

div.dt-button-collection > ul.dropdown-menu.show > li.dt-button:hover {
    background-color: var(--memo-accent-color-soft) !important;
}

.dt-button-collection .dt-button:hover,
.dt-button-collection .dt-button:focus {
    color: var(--memo-dt-collection-text) !important;
    background-color: transparent !important;
}

.dt-button-collection .dropdown-item:hover,
.dt-button-collection [data-export-format] > a:hover {
    color: var(--memo-dt-collection-text) !important;
    background-color: transparent !important;
}

.dt-button-collection .dropdown-item:focus:not(:hover),
.dt-button-collection [data-export-format] > a:focus:not(:hover) {
    color: var(--memo-dt-collection-text) !important;
    background-color: transparent !important;
}

.dt-container .dt-button-collection li.dt-button.buttons-columnVisibility {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 0.35rem;
    text-align: left;
    white-space: normal;
}

.dt-button-collection .buttons-columnVisibility > .dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.75rem !important;
    padding: 0.65rem 2.75rem 0.65rem 0.85rem !important;
    white-space: normal;
}

.dt-button-collection .buttons-columnVisibility.dt-button-active-a > .dropdown-item::after {
    top: 50%;
    right: 0.85rem;
    color: var(--memo-accent-color);
    transform: translateY(-50%);
}

.dt-container .dt-button-collection li.dt-button[data-export-format] {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
}

.dt-button-collection [data-export-format] {
    min-width: 11rem;
}

.dt-button-collection [data-export-format] > a {
    display: flex !important;
    gap: 0.75rem;
    align-items: center;
    height: auto !important;
    min-height: 3.5rem !important;
    padding: 0.65rem 0.85rem !important;
    text-align: left;
    white-space: normal;
}

.dt-button-collection [data-export-format] > a > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.dt-button-collection [data-export-format] strong,
.dt-button-collection [data-export-format] small {
    display: block;
}

.dt-button-collection [data-export-format] small {
    margin-top: 0.2rem;
    color: #6c757d;
    font-size: 0.72rem;
    font-weight: 400;
}

.dt-button-collection [data-export-format="excel"] .fa {
    color: #198754;
    font-size: 1.25rem;
}

.dt-button-collection [data-export-format="csv"] .fa {
    color: #0d6efd;
    font-size: 1.25rem;
}

.dt-button-collection [data-export-format="pdf"] .fa {
    color: #dc3545;
    font-size: 1.25rem;
}

.dt-button-collection [data-export-format="copy"] .fa {
    color: #6f42c1;
    font-size: 1.25rem;
}

.dt-export-staging {
    position: fixed;
    top: 0;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

:is(body.memo-theme-dark, body.memo-page-theme-dark, html.memo-theme-dark, html[data-memo-theme="dark"]) .dt-button-collection {
    --memo-dt-collection-bg: color-mix(in srgb, var(--memo-dark-bg-color) 88%, #fff 12%);
    --memo-dt-collection-border: color-mix(in srgb, var(--memo-dark-bg-color) 72%, #fff 28%);
    --memo-dt-collection-hover: color-mix(in srgb, var(--memo-dark-bg-color) 82%, var(--memo-accent-color) 18%);
    --memo-dt-collection-text: var(--memo-light-text-color);

    box-shadow: 0 0.75rem 1.75rem rgb(0 0 0 / 42%) !important;
}

:is(body.memo-theme-dark, body.memo-page-theme-dark, html.memo-theme-dark, html[data-memo-theme="dark"]) .dt-button-collection [data-export-format] small {
    color: color-mix(in srgb, var(--memo-light-text-color) 68%, transparent);
}

.table-clickable tbody tr input,
.table-clickable tbody tr button,
.table-clickable tbody tr a {
    cursor: pointer;
}

@media (max-width: 576px) {
    table.table-stack thead {
        display: none; /* Kopfzeile ausblenden */
    }

    table.table-stack,
    table.table-stack tbody,
    table.table-stack tr,
    table.table-stack td {
        display: block;
        width: 100%;
    }

    table.table-stack tr {
        margin-bottom: 0.75rem;
        border: 1px solid rgba(0,0,0,.125);
        border-radius: .5rem;
        overflow: hidden;
        background: #fff;
    }

    table.table-stack td {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        padding: .5rem .75rem;
        border: 0;
        border-bottom: 1px solid rgba(0,0,0,.075);
    }

    table.table-stack td:last-child {
        border-bottom: 0;
    }

    table.table-stack td::before {
        content: attr(data-label);
        font-weight: 600;
        opacity: .85;
        flex: 0 0 auto;
        max-width: 55%;
    }

    table.table-stack td.text-center > input[type="checkbox"] {
        margin-left: auto;
    }
}

div#livesearch table {
    border: 1px solid #dedede;
    margin: 1rem 0;
}

@media (max-width: 800px) {
    #livesearch table thead td:nth-child(6),
    #livesearch table tbody td:nth-child(6){
        display: none;
    }
}

@media (max-width: 450px) {
    #livesearch table thead td:nth-child(5),
    #livesearch table tbody td:nth-child(5){
        display: none;
    }
}

.row.tires td {
    padding: 0.2rem;
}

.tires table td{
    padding-bottom: 0.5rem;
}

.table-responsive{
    width: 100%;
}

.table-responsive table{
    margin-bottom: 2rem;
}

.sort-table {
    border-collapse: collapse;
    margin-top: 1rem;
}


.sort-table td {
    padding: 2px 5px;
}

.sort-table tr{
    background: #fff;
}

.sort-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.05);
}

.sort-table tr:hover {
    background: var(--memo-accent-color);
}

.sort-table thead{
    background: #fff;
}

.sort-table thead tr {
    font-weight: bold;
    white-space: nowrap;
}

.sort-table thead tr:hover {
    background: #fff;
}

.sort-table thead td {
    border-bottom: 1px solid;
    border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
    cursor: default;
}

.sort-table thead td:active {
    border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
    padding: 3px 4px 1px 6px;
}

.sort-table thead td[_sortType="None"]:active {
    border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
    padding: 2px 5px;
}

.vehicle-history {
    padding: 1rem;
    font-size: 14px;
}

.vehicle-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.vehicle-history h3.vehicle-title{
    margin-top: 0;
}

.vehicle-vin {
    font-weight: normal;
    font-size: 0.95rem;
    color: #666;
}

.vehicle-history-headline {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.vehicle-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.vehicle-history-table th,
.vehicle-history-table td {
    padding: 6px 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.vehicle-history-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.stornoLink {
    background: #b11111;
    display: flex;
    border: 1px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    position: relative;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
    margin-left: 0.5rem;
}

.stornoLink.reclam{
    padding: 0.1rem;
}

.stornoLink img,
.stornoCheck img,
.iconCheck img  {
    max-width: 12px;
}

.stornoCheck{
    background: #b11111;
    display: flex;
    border: 1px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    position: relative;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
    margin-left: 0.5rem;
    opacity: 0.35;
}

.stornoDisabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.iconCheck {
    background: #098107;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}

.iconCross {
    background: #e70707;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}

.stornoInvoice{
    margin-left: 0.5rem;
}

.stornoLink {
    transition: transform 0.3s ease;
}

.stornoLink:hover {
    transform: scale(1.2);
}

.stornoLink.stornoDisabled:hover {
    transform: none;
}

.invoice-actions .btn {
    flex: 1 1 100%;
}

@media (max-width: 848px) {
    .invoice-actions{
        width: 100%;
    }
}

@media (min-width: 848px) {
    .invoice-actions .btn {
        flex: 1 1 0;
    }
}

@media (max-width: 576px) {
    #table-2.table-stack td:empty {
        display: none !important;
    }
}

:root {
    --memo-table-bg: #fff;
    --memo-table-border: #d8dee6;
    --memo-table-head-bg: #f7f9fb;
    --memo-table-text: #272d35;
    --memo-table-muted-bg: #f2f5f8;
    --memo-table-radius: 0.55rem;
    --memo-table-shadow: 0 8px 22px rgba(20, 26, 33, 0.06);
}

body.memo-page-theme-dark {
    --memo-table-bg: var(--memo-dark-bg-color);
    --memo-table-border: var(--memo-light-border-color-soft);
    --memo-table-head-bg: var(--memo-light-bg-color-soft);
    --memo-table-text: color-mix(in srgb, var(--memo-light-text-color) 82%, transparent);
    --memo-table-muted-bg: var(--memo-light-bg-color-soft);
    --memo-table-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.memo-sidebar ~ .main table.table,
.memo-sidebar ~ .main table.dataTable,
.memo-sidebar ~ .main table.eva_list,
.memo-sidebar ~ .main .sort-table,
.memo-sidebar ~ .main .vehicle-history-table,
.memo-sidebar ~ .main .vehicle-history-debug-table,
.memo-sidebar ~ .main #livesearch table,
.memo-sidebar ~ form .main table.table,
.memo-sidebar ~ form .main table.dataTable,
.memo-sidebar ~ form .main table.eva_list,
.memo-sidebar ~ form .main .sort-table,
.memo-sidebar ~ form .main .vehicle-history-table,
.memo-sidebar ~ form .main .vehicle-history-debug-table,
.memo-sidebar ~ form .main #livesearch table {
    border: 1px solid var(--memo-table-border);
    border-radius: var(--memo-table-radius);
    border-collapse: separate !important;
    border-spacing: 0;
    background: var(--memo-table-bg);
    box-shadow: var(--memo-table-shadow);
    color: var(--memo-table-text);
    overflow: hidden;
}

.memo-sidebar ~ .main .table-responsive,
.memo-sidebar ~ .main .dt-scroll-body,
.memo-sidebar ~ .main .dataTables_scrollBody,
.memo-sidebar ~ form .main .table-responsive,
.memo-sidebar ~ form .main .dt-scroll-body,
.memo-sidebar ~ form .main .dataTables_scrollBody {
    border-radius: var(--memo-table-radius);
}

.memo-sidebar ~ .main .table-responsive table,
.memo-sidebar ~ form .main .table-responsive table {
    margin-bottom: 0;
}

.memo-sidebar ~ .main table.table > thead > tr:first-child > th:first-child,
.memo-sidebar ~ .main table.table > thead > tr:first-child > td:first-child,
.memo-sidebar ~ .main table.dataTable > thead > tr:first-child > th:first-child,
.memo-sidebar ~ .main table.dataTable > thead > tr:first-child > td:first-child,
.memo-sidebar ~ .main table.eva_list > tbody > tr:first-child > td:first-child,
.memo-sidebar ~ .main .sort-table > thead > tr:first-child > td:first-child,
.memo-sidebar ~ .main .vehicle-history-table > thead > tr:first-child > th:first-child,
.memo-sidebar ~ .main .vehicle-history-debug-table > thead > tr:first-child > th:first-child,
.memo-sidebar ~ .main #livesearch table > thead > tr:first-child > td:first-child,
.memo-sidebar ~ form .main table.table > thead > tr:first-child > th:first-child,
.memo-sidebar ~ form .main table.table > thead > tr:first-child > td:first-child,
.memo-sidebar ~ form .main table.dataTable > thead > tr:first-child > th:first-child,
.memo-sidebar ~ form .main table.dataTable > thead > tr:first-child > td:first-child,
.memo-sidebar ~ form .main table.eva_list > tbody > tr:first-child > td:first-child,
.memo-sidebar ~ form .main .sort-table > thead > tr:first-child > td:first-child,
.memo-sidebar ~ form .main .vehicle-history-table > thead > tr:first-child > th:first-child,
.memo-sidebar ~ form .main .vehicle-history-debug-table > thead > tr:first-child > th:first-child,
.memo-sidebar ~ form .main #livesearch table > thead > tr:first-child > td:first-child {
    border-top-left-radius: calc(var(--memo-table-radius) - 1px);
}

.memo-sidebar ~ .main table.table > thead > tr:first-child > th:last-child,
.memo-sidebar ~ .main table.table > thead > tr:first-child > td:last-child,
.memo-sidebar ~ .main table.dataTable > thead > tr:first-child > th:last-child,
.memo-sidebar ~ .main table.dataTable > thead > tr:first-child > td:last-child,
.memo-sidebar ~ .main table.eva_list > tbody > tr:first-child > td:last-child,
.memo-sidebar ~ .main .sort-table > thead > tr:first-child > td:last-child,
.memo-sidebar ~ .main .vehicle-history-table > thead > tr:first-child > th:last-child,
.memo-sidebar ~ .main .vehicle-history-debug-table > thead > tr:first-child > th:last-child,
.memo-sidebar ~ .main #livesearch table > thead > tr:first-child > td:last-child,
.memo-sidebar ~ form .main table.table > thead > tr:first-child > th:last-child,
.memo-sidebar ~ form .main table.table > thead > tr:first-child > td:last-child,
.memo-sidebar ~ form .main table.dataTable > thead > tr:first-child > th:last-child,
.memo-sidebar ~ form .main table.dataTable > thead > tr:first-child > td:last-child,
.memo-sidebar ~ form .main table.eva_list > tbody > tr:first-child > td:last-child,
.memo-sidebar ~ form .main .sort-table > thead > tr:first-child > td:last-child,
.memo-sidebar ~ form .main .vehicle-history-table > thead > tr:first-child > th:last-child,
.memo-sidebar ~ form .main .vehicle-history-debug-table > thead > tr:first-child > th:last-child,
.memo-sidebar ~ form .main #livesearch table > thead > tr:first-child > td:last-child {
    border-top-right-radius: calc(var(--memo-table-radius) - 1px);
}

.memo-sidebar ~ .main table.table > tbody > tr:last-child > th:first-child,
.memo-sidebar ~ .main table.table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ .main table.dataTable > tbody > tr:last-child > th:first-child,
.memo-sidebar ~ .main table.dataTable > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ .main table.eva_list > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ .main .sort-table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ .main .vehicle-history-table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ .main .vehicle-history-debug-table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ .main #livesearch table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main table.table > tbody > tr:last-child > th:first-child,
.memo-sidebar ~ form .main table.table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main table.dataTable > tbody > tr:last-child > th:first-child,
.memo-sidebar ~ form .main table.dataTable > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main table.eva_list > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main .sort-table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main .vehicle-history-table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main .vehicle-history-debug-table > tbody > tr:last-child > td:first-child,
.memo-sidebar ~ form .main #livesearch table > tbody > tr:last-child > td:first-child {
    border-bottom-left-radius: calc(var(--memo-table-radius) - 1px);
}

.memo-sidebar ~ .main table.table > tbody > tr:last-child > th:last-child,
.memo-sidebar ~ .main table.table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ .main table.dataTable > tbody > tr:last-child > th:last-child,
.memo-sidebar ~ .main table.dataTable > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ .main table.eva_list > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ .main .sort-table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ .main .vehicle-history-table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ .main .vehicle-history-debug-table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ .main #livesearch table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main table.table > tbody > tr:last-child > th:last-child,
.memo-sidebar ~ form .main table.table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main table.dataTable > tbody > tr:last-child > th:last-child,
.memo-sidebar ~ form .main table.dataTable > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main table.eva_list > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main .sort-table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main .vehicle-history-table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main .vehicle-history-debug-table > tbody > tr:last-child > td:last-child,
.memo-sidebar ~ form .main #livesearch table > tbody > tr:last-child > td:last-child {
    border-bottom-right-radius: calc(var(--memo-table-radius) - 1px);
}

.memo-sidebar ~ .main table.table > thead > tr,
.memo-sidebar ~ .main table.table.dataTable > thead > tr > th,
.memo-sidebar ~ .main table.table.dataTable > thead > tr > td,
.memo-sidebar ~ .main td.eva_list_head,
.memo-sidebar ~ .main td.eva_list_head2,
.memo-sidebar ~ .main .sort-table thead,
.memo-sidebar ~ .main .vehicle-history-table thead th,
.memo-sidebar ~ .main .vehicle-history-debug-table thead th,
.memo-sidebar ~ .main #livesearch table thead td,
.memo-sidebar ~ form .main table.table > thead > tr,
.memo-sidebar ~ form .main table.table.dataTable > thead > tr > th,
.memo-sidebar ~ form .main table.table.dataTable > thead > tr > td,
.memo-sidebar ~ form .main td.eva_list_head,
.memo-sidebar ~ form .main td.eva_list_head2,
.memo-sidebar ~ form .main .sort-table thead,
.memo-sidebar ~ form .main .vehicle-history-table thead th,
.memo-sidebar ~ form .main .vehicle-history-debug-table thead th,
.memo-sidebar ~ form .main #livesearch table thead td {
    background-color: var(--memo-table-head-bg);
    border-color: var(--memo-table-border);
    color: var(--memo-table-text);
}

.memo-sidebar ~ .main table.table > tbody > tr,
.memo-sidebar ~ .main table.dataTable > tbody > tr,
.memo-sidebar ~ .main .sort-table tr,
.memo-sidebar ~ .main .vehicle-history-table tbody tr,
.memo-sidebar ~ .main .vehicle-history-debug-table tbody tr,
.memo-sidebar ~ form .main table.table > tbody > tr,
.memo-sidebar ~ form .main table.dataTable > tbody > tr,
.memo-sidebar ~ form .main .sort-table tr,
.memo-sidebar ~ form .main .vehicle-history-table tbody tr,
.memo-sidebar ~ form .main .vehicle-history-debug-table tbody tr {
    color: var(--memo-table-text);
}

.memo-sidebar ~ .main table.table > tbody > tr:nth-of-type(2n+1),
.memo-sidebar ~ .main table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1):not(.child),
.memo-sidebar ~ .main .sort-table tr:nth-child(even),
.memo-sidebar ~ .main .vehicle-history-table tbody tr:nth-child(odd),
.memo-sidebar ~ form .main table.table > tbody > tr:nth-of-type(2n+1),
.memo-sidebar ~ form .main table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1):not(.child),
.memo-sidebar ~ form .main .sort-table tr:nth-child(even),
.memo-sidebar ~ form .main .vehicle-history-table tbody tr:nth-child(odd) {
    background-color: var(--memo-table-muted-bg) !important;
    box-shadow: none !important;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.table,
body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable,
body.memo-page-theme-dark .memo-sidebar ~ .main table.eva_list,
body.memo-page-theme-dark .memo-sidebar ~ .main .sort-table,
body.memo-page-theme-dark .memo-sidebar ~ .main .vehicle-history-table,
body.memo-page-theme-dark .memo-sidebar ~ .main .vehicle-history-debug-table,
body.memo-page-theme-dark .memo-sidebar ~ .main #livesearch table,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.table,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.eva_list,
body.memo-page-theme-dark .memo-sidebar ~ form .main .sort-table,
body.memo-page-theme-dark .memo-sidebar ~ form .main .vehicle-history-table,
body.memo-page-theme-dark .memo-sidebar ~ form .main .vehicle-history-debug-table,
body.memo-page-theme-dark .memo-sidebar ~ form .main #livesearch table {
    border-color: var(--memo-table-border) !important;
    background: var(--memo-table-bg) !important;
    color: var(--memo-table-text) !important;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.table > tbody > tr:not(.child),
body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable > tbody > tr:not(.child),
body.memo-page-theme-dark .memo-sidebar ~ form .main table.table > tbody > tr:not(.child),
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable > tbody > tr:not(.child) {
    background-color: var(--memo-table-bg) !important;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable i,
body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable .fa,
body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable .btn-copy,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable i,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable .fa,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable .btn-copy {
    color: var(--memo-light-text-color) !important;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable svg,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable svg {
    color: var(--memo-light-text-color);
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable svg:not([fill="none"]) path,
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable svg:not([fill="none"]) path {
    fill: currentColor;
}

body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable img[src="/icons/haken.gif"],
body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable img[src="/icons/abgelegt.svg"],
body.memo-page-theme-dark .memo-sidebar ~ .main table.dataTable img[src="/icons/check.svg"],
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable img[src="/icons/haken.gif"],
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable img[src="/icons/abgelegt.svg"],
body.memo-page-theme-dark .memo-sidebar ~ form .main table.dataTable img[src="/icons/check.svg"] {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}
