﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Josefin Sans',sans-serif;
    font-size: 14px;
}

h1:focus {
    outline: none;
}

.k-textbox {
    min-height: 30px;
}

.control-sidebar-dark,
.control-sidebar-dark a,
.control-sidebar-dark .nav-link {
    background: #6A5032;
}

a, .btn-link {
    color: #6A5032;
}

    a:hover, .btn-link:hover {
        color: #6A5032 !important;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.app-load {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.app-load > div {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.app-load .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.app-load .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.app-load .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.app-load .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}


.main-sidebar {
    background-color: #6A5032;
    border-radius: 0px 2px 2px 0px;
}

.main-header {
    position: fixed;
    width: 100%;
    max-height: 100px;
    z-index: 1030;
    background-color: #6A5032;
    border-bottom: 1px solid #dee2e6;
    /*box-shadow: 0px 0px 30px rgba(0,0,0,.25),0 1px 0px rgba(0,0,0,.22) !important;*/
}

.navbar {
    background-color: #EEEAE4;
}

.main-header {
   border-bottom: 0px solid transparent;

}

.brand-link {
    background-color: transparent !Important;
    border-bottom: 1px solid transparent !Important;
    min-height: 58px;
}

.searchGlobal {
    border-style: solid;
    border-width: 3px;
    border-color: transparent;
    height: 38px;
    margin-top: 2px;
    padding-left: 40px;
    padding-right: 20px;
    background-color: #cedddf7a;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 5px;
    color: var(--greenDarker);
}

input.form-control {
    height: unset;
    padding: 4px 8px;
}

input.form-control:focus {
    border: 1px solid black;
}

input.form-control.form-control-navbar.app-search {
    background: transparent;
    color: var(--greenDarker);
}

button.btn.btn-navbar {
    background: transparent!important;
}

.navbar-light .form-control-navbar:focus, .navbar-light .form-control-navbar:focus + .input-group-append .btn-navbar {
    background: transparent !important;
}

i.fas.fa-search {
    color: #e6e5e5;
}

.layout-navbar-fixed .wrapper .main-header {
    width: auto;
}

.pagecontent {
    background-color: transparent;
    height: 100%;
    padding-left: 5px;
    padding-top: 65px;
    min-height: 250px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 5px;
}


.brand-image {
    max-height: 38px;

}

.app-search::placeholder {
    color: red;
    
}

i.right.fas.fa-angle-left {
    display: none;
}

.os-content {
    padding: 0px !important;
}

.width-25 {
    width: 25%;
}

.width-50 {
    width: 50%;
}

.width-75 {
    width: 75%;
}

.width-100 {
    width: 100%;
}

.underline {
    text-decoration: underline;
}

.form-label {
    margin-bottom: 0px;
}

.form-detail {
    font-size: 12px;
}

.form-group-container {
    display: flex;
    gap: 10px;
}

.form-group-container-left {
    justify-content: left;
}

.form-group-container-right {
    justify-content: right;
    margin-left: auto;
    margin-right: 0;
}

.form-group-multicolumn {
    display: flex;
    flex: 1;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}


.element-separator {
    height: 25px;
}

.large-element-separator {
    height: 50px;
}

.small-element-separator {
    height: 14px;
}

.extra-small-element-separator {
    height: 10px;
}

.vertical-element-separator {
    margin-right: 10px;
}

.small-vertical-element-separator {
    margin-right: 5px;
}

.flex-container {
    display: flex;
}

.flex-right {
    justify-content: right;
    margin-left: auto;
    margin-right: 0;
}

.flex-left {
    justify-content: left;
}

.flex-full {
    flex: 1;
}

.flex-half {
    flex: 0.5;
}

.form-group {
    text-align: left;
}

.flex-center {
    justify-content: center;
}

a {
    cursor: pointer;
}

.full-width {
    width: 100%;
}

.form-group-small {
    width: 60%;
}

.group-flex {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.group-left {
    width: 100%;
}

.group-right {
    width: 100%;
}

.form-label {
    width: 100%;
}

.segment-spacer {
    height: 20px;
}

.form-relative {
    position: relative;
}

.form-tab {
    min-height: 450px;
    overflow: auto;
}

.field-container {
    width: 100%;
}

.navbar-expand .navbar-nav {
    position: sticky;
    right: 10px;
}

.fa-regular, .far {
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.frontend-user-container .user-arrow {
    font-size: 24px;
}
.k-wizard-step {
}

.k-wizard-step {
    padding: 0px !important;
    margin-top: 10px !important;
}

.k-wizard .k-stepper .k-step-indicator {
    color: #fff;
    background-color: #6A5032 !important;
    border: 1px solid #6A5032 !important;
}

    .k-wizard .k-stepper .k-step-indicator:hover {
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    .k-wizard .k-stepper .k-step-indicator:focus {
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

    .k-wizard .k-stepper .k-step-indicator:hover:focus {
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

.k-wizard .k-step-current .k-step-link {
    cursor: default;
}

.k-wizard .k-step-current .k-step-indicator {
    color: #fff;
    background-color: #6A5032 !important;
    border: 1px solid #6A5032 !important;
}

    .k-wizard .k-step-current .k-step-indicator:hover {
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    .k-wizard .k-step-current .k-step-indicator:focus {
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

    .k-wizard .k-step-current .k-step-indicator:hover:focus {
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

.k-wizard .k-step.k-step-disabled .k-step-indicator {
    color: #fff;
    background-color: #6A5032 !important;
    border: 1px solid #6A5032 !important;
    filter: grayscale(75%);
}

.k-wizard .k-step-done:hover .k-step-indicator {
    background-color: #ebebeb !important;
}

.k-wizard .k-stepper > .k-progressbar .k-state-selected {
    background: #ebebeb !important;
}

.k-wizard .k-step-label {
    color: black !important;
}

.k-wizard .k-step-current:hover .k-step-indicator {
    background-color: #6A5032;
    color: white !important;
}




.col-xs-6 {
    width: 50%;
}


@media (min-width: 1200px) {
    .col-lg-3 { width: 25%; }
}

.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    float: left;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9 {
    float: left;
}

@media (min-width: 1200px) {
    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9 { float: left; }
}


.col-lg-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
  float: left;
}

.small-box > .inner {
    padding: 10px;
    text-align: center;
}

.h1, h1 {
    font-size: 2.0rem;
    font-weight: 700;
    margin-left: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.input-field-sm {
    border-radius: 3px;
    border: 0px #e6e9f0 solid;
/*    color: #183b68 !important;
    background: white;*/
    padding: 7px;
    max-width: 100%;
}

.form-group {
    margin-bottom: 0.6rem;
}

.doc-label {
    font-weight: normal;
    color: #47341f;
}

label {
    font-weight: normal!important;
    margin-top: 8px;
    width: 100%;
    border-bottom: #F2F2F7;
    border-bottom-style: solid;
    border-bottom-width: 0px;
}

div.main-title {
    font-weight: 700;
    font-size: 30px;
    margin-left: 10px;
    margin-bottom: 10px;
}

@media (max-width: 1199px) {
    h1 {
        font-weight: 700;
        font-size: 20px;
        margin-left: 10px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
}



@media (min-width: 1200px) {
    h1 {
        font-weight: 700;
        font-size: 28px;
        margin-left: 10px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

}



.k-icon-button.k-button-md > .k-button-icon {
    min-width: 40px;
}

.list .k-icon-button.k-button-md > .k-button-icon {
    min-width: 0px;
    color: #6A5032;
}

.h3, h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.list .k-grid-header {
    background-color: #F8F6F3 !important;
}

    .list .k-grid-header div {
        background-color: #F8F6F3 !important;
        color: #6A5032 !important;
    }

.list .k-grid-header th {
    font-size: 110% !important;
    text-transform: uppercase;
}

.k-grid .k-master-row.instance-not-published td {
    background-color: #F7000010 !important;
}

.k-grid .k-master-row.instances-partial-published td {
    background-color: #F48E0010 !important;
}

.k-grid .k-master-row.no-instances-published td {
    background-color: #F7000010 !important;
} 

button.telerik-blazor.k-button.k-button-flat.k-rounded-md.k-button-rectangle.k-button-md.k-button-flat-base {
    transition: all 0.2s;
    border: 1px solid transparent;
}

    button.telerik-blazor.k-button.k-button-flat.k-rounded-md.k-button-rectangle.k-button-md.k-button-flat-base:hover {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    button.telerik-blazor.k-button.k-button-flat.k-rounded-md.k-button-rectangle.k-button-md.k-button-flat-base:focus {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

        button.telerik-blazor.k-button.k-button-flat.k-rounded-md.k-button-rectangle.k-button-md.k-button-flat-base:focus:hover {
            color: white !important;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

span.k-calendar-nav-today.k-today {
    color: #6A5032;
    border: 1px solid transparent !important;
}

    span.k-calendar-nav-today.k-today:hover:not(.k-disabled) {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    span.k-calendar-nav-today.k-today:focus:not(.k-disabled) {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

        span.k-calendar-nav-today.k-today:focus:hover:not(.k-disabled) {
            color: white !important;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

    span.k-calendar-nav-today.k-today.k-disabled:hover {
        color: #6A5032;
        border: 1px solid transparent !important;
    }

    span.k-calendar-nav-today.k-today.k-disabled:focus {
        color: #6A5032;
        border: 1px solid transparent !important;
    }

        span.k-calendar-nav-today.k-today.k-disabled:focus:hover {
            color: #6A5032;
            border: 1px solid transparent !important;
        }

.k-calendar .k-calendar-td .k-link {
    color: black;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    transition: all 0.2s;
}

    .k-calendar .k-calendar-td .k-link:hover {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    .k-calendar .k-calendar-td .k-link:focus {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

        .k-calendar .k-calendar-td .k-link:focus:hover {
            color: white !important;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

.k-calendar .k-calendar-td.k-selected .k-link {
    color: #fff;
    background-color: #6A5032 !important;
    border: 1px solid #6A5032 !important;
    transition: all 0.2s;
}

    .k-calendar .k-calendar-td.k-selected .k-link:hover {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    .k-calendar .k-calendar-td.k-selected .k-link:focus {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

        .k-calendar .k-calendar-td.k-selected .k-link:focus:hover {
            color: white !important;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

.k-popup.k-list-container .k-list-item:not(.k-selected) {
    background: transparent;
    border: 1px solid transparent;
}

    .k-popup.k-list-container .k-list-item:hover:not(.k-selected) {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    .k-popup.k-list-container .k-list-item:focus:not(.k-selected) {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

        .k-popup.k-list-container .k-list-item:focus:hover:not(.k-selected) {
            color: white !important;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

.k-popup.k-list-container .k-list-item.k-selected {
    color: white;
    background: #6A5032 !important;
    border: 1px solid #6A5032;
}

    .k-popup.k-list-container .k-list-item.k-selected:hover {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

    .k-popup.k-list-container .k-list-item.k-selected:focus {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid black !important;
    }

        .k-popup.k-list-container .k-list-item.k-selected:focus:hover {
            color: white !important;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

.btn-newproduct {
    background: #6A5032;
    color: white;
    height: 37px;
    border-color: #ddd;
    border-width: 0px;
    border-radius: 3px;
}



button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base {
    color: black;
    background-color: #F5F5F5 !important;
    border: 1px solid #F5F5F5 !important;
    border-radius: 3px;
    box-shadow: rgb(0 0 0 / 5%) 0px 1px 1px 0px;
    transition: all 0.2s;
}

    button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base:hover {
        color: #fff;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
    }

        button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base:hover .k-icon {
            color: #fff;
        }

    button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base:focus {
        color: black;
        background-color: #F5F5F5 !important;
        border: 1px solid black !important;
    }

        button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base:focus:hover {
            color: #fff;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

            button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base:focus:hover .k-icon {
                color: #fff;
            }

    button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base.k-selected {
        color: #fff;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
        border-radius: 3px;
        box-shadow: rgb(0 0 0 / 5%) 0px 1px 1px 0px;
    }

        button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base.k-selected:focus {
            color: #fff;
            background-color: #6A5032 !important;
            border: 1px solid black !important;
        }

            button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-rectangle.k-button-md.k-button-solid-base.k-selected:focus:hover {
                color: #fff;
                background-color: #6A5032 !important;
                border: 1px solid black !important;
            }


.triple-point-menu {
    width: 15px;
    position: relative;
}

.triple-point-menu-popup .row {
    margin: 0px;
    padding: 5px;
}

.triple-point-menu-popup {
    position: fixed;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    
    background-color: white;
    z-index: 4000;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}

    .triple-point-menu-popup :hover {
        background-color: #eef1f6;
        border-radius: 5px;
    }


.twd-designer {
    position: relative!important;
    height: 1500px!important;
}



.navbar-light .navbar-nav .nav-link {
    color: #6A5032;
}

    .navbar-light .navbar-nav .nav-link:hover {
        color: #6A5032;
    }

.sidebar a {
    color: #6A5032;
}

    .sidebar a:hover {
        color: #6A5032;
    }

.navbar-nav .nav-link:hover {
    color: var(--greenDarker);
}

.nav-sidebar .nav-item > .nav-link {
    position: relative !important;
    color: white !important;
    background: #6A5032 !important;
    border: 1px solid #6A5032 !important;
    font-size: 14px !important;
    border-radius: unset !important;
    transition: all ease 0.2s !important;
}

    .nav-sidebar .nav-item > .nav-link.active {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
        border-radius: unset !important;
        transition: all ease 0.2s !important;
    }

.nav-sidebar > .nav-item:hover > .nav-link {
    background-image: linear-gradient(to right, #6A5032 1%, #d0c7b5 100%) !important;
    border: 1px solid #6A5032 !important;
    color: white !important;
    transition: all ease 0.2s !important;
}

    .nav-sidebar > .nav-item:hover > .nav-link.active {
        background-image: linear-gradient(to right, #6A5032 1, #d0c7b5 100%) !important;
        border: 1px solid #6A5032 !important;
        color: white !important;
        transition: all ease 0.2s !important;
    }

.nav-treeview > .nav-item > .nav-link {
    color: white !important;
    border: 1px solid #6A5032 !important;
    transition: all ease-in-out 0.2s !important;
    border-radius: unset !important;
    transition: all ease 0.2s !important;
}

    .nav-treeview > .nav-item > .nav-link.active {
        color: white !important;
        background-color: #6A5032 !important;
        border: 1px solid #6A5032 !important;
        border-radius: unset !important;
        transition: all ease 0.2s !important;
    }

.nav-treeview > .nav-item:hover > .nav-link {
    background-image: linear-gradient(to right, #6A5032 15%, #d0c7b5 100%) !important;
    border: 1px solid #6A5032 !important;
    color: white !important;
    transition: all ease 0.2s !important;
}

    .nav-treeview > .nav-item:hover > .nav-link.active {
        background-image: linear-gradient(to right, #6A5032 15%, #d0c7b5 100%) !important;
        border: 1px solid #6A5032 !important;
        color: white !important;
        transition: all ease 0.2s !important;
    }

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #6A5032;
    color: #fff;
}

.btn-secondary {
    color: #242b2c;
    background-color: #fdfeff52;
    border-color: #6c757d;
    box-shadow: none;
}

.MainPageTabStrip {
    padding: 0px;
}

.k-tabstrip-top > .k-content, .k-tabstrip-top > .k-tabstrip-content {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-color: transparent !important;
}

.k-tabstrip > .k-content:focus {
    outline-width: 1px;
    outline-style: dotted;
    outline-offset: -1px;
    outline-color: transparent;
}





.MainPageTabStrip > .k-content {
    padding: 0px 0px;
}

.k-tabstrip-items-wrapper .k-item:focus, .k-tabstrip-items-wrapper .k-item.k-state-focused, .k-tabstrip-items-wrapper .k-item.k-focus {
    box-shadow: none;
}

.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
    border-top-left-radius: 2px !Important;
    border-top-right-radius: 2px !Important;
    border-top: 5px solid #6A5032 !important;
    #transition: border-top-color 0.5s;
}

.px-1 {
    padding-left: 30px !important;
    padding-right: unset !important;
}

.nav-link {
    padding: 5px 5px 5px 15px;
}

.brand-link .brand-image {
    max-height: 40px;
}


html.k-webkit {
    background: #f8f8fb;
}

.content-wrapper {
    background: #fff;
}
.badge-danger {
    background-color: #f3616f;
}

.tabstrip-fullscreen {
}

.gal-dashboard-host,
.gal-dashboard-host > .k-tabstrip-content,
.gal-dashboard-host > .k-content {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
}

    .tabstrip-fullscreen > .k-tabstrip-items-wrapper {
        border-color: transparent;
        min-height: 50px;
    }

.tabstrip-fullscreen > .k-tabstrip-top > .k-tabstrip-items-wrapper > .k-tabstrip-items {
    background: white;

}

.tabstrip-fullscreen > k-tabstrip-items-wrapper {
    background: white !important;
}



div.k-tabstrip.telerik-blazor.k-tabstrip-top.tabstrip-fullscreen > div.k-tabstrip-items-wrapper.k-hstack > ul > li.k-tabstrip-item.k-item.k-active.k-tab-on-top {
    border-bottom-left-radius: 0px !Important;
    border-bottom-right-radius: 0px !Important;
    border-top: 0px solid !Important;
    border-left: 0px solid;
    border-right: 0px solid;
    border-bottom: 5px solid #6A5032;
    transition: border-bottom-color 0.5s;
}


div.k-tabstrip.telerik-blazor.k-tabstrip-top.tabstrip-fullscreen > div.k-tabstrip-items-wrapper.k-hstack > ul > li.k-tabstrip-item.k-item.k-state-default > span {
    min-width: 140px;
}

div.k-tabstrip.telerik-blazor.k-tabstrip-top.tabstrip-fullscreen > div.k-tabstrip-items-wrapper.k-hstack > ul > li.k-tabstrip-item.k-item.k-tab-on-top > span {
    min-width: 140px;
}

.k-tabstrip.telerik-blazor.k-tabstrip-top.tabstrip-fullscreen > div.k-tabstrip-content.k-content.k-active {
    background: transparent;
}

div.k-tabstrip.telerik-blazor.k-tabstrip-top.tabstrip-fullscreen > div.k-tabstrip-items-wrapper.k-hstack > ul {
    background-color: #EEEAE4;
}

body > div.content-wrapper > div > div.k-tabstrip.telerik-blazor.k-tabstrip-top.tabstrip-fullscreen > div.k-tabstrip-content.k-content.k-active {
    border-color: transparent;
}



div.k-tabstrip-items-wrapper.k-hstack > ul > li.k-tabstrip-item.k-item.k-state-default > span {
    align-content: center;
    horiz-align: center;
    justify-content: center;
    min-width: 100px;
}

div.k-tabstrip-items-wrapper.k-hstack > ul > li.k-tabstrip-item.k-item.k-tab-on-top > span {
    align-content: center;
    horiz-align: center;
    justify-content: center;
    min-width: 100px;
}

.k-pager-wrap {
    background-color: #F8F6F3;
    border-radius: 0px 0px 5px 5px;
    color: #6A5032;
}

.page-padding {
    padding: 16px 16px;
}

.toolbarbutton {
    height: 50px;
    min-width: 100px;
    /*aaa*/
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    align-content: stretch;
    font-size: 1.2rem;
    gap: 2px;

}



.btn-default {
    background: #6A5032;
    color: white;
}

.btn-default:hover {
    color: white;
    background-color: var(--greenDarker) !important;
    border-color: var(--greenDarker) !important;
}



.e-schedule .e-vertical-view .e-time-cells-wrap table td, .e-schedule .e-vertical-view .e-work-cells {

    height: 25px;
}

li.nav-item {
    padding-top: 3px;
    padding-bottom: 3px;
}

.e-schedule .e-vertical-view .e-content-wrap .e-appointment .e-appointment-details {
    padding: 0;
    height: 100%;
}

.box {
    background: white !important;
}

.box.box-primary {
        box-shadow: 1px 5px 25px rgb(0 0 0 / 30%);
 }

.k-button-group {
    color: white;
}

.darkbuttongroup {
    color: #47341f !Important;
}


.k-progressbar .k-progressbar-value {
    background-color: #6A5032 !Important; /* z. B. sattes Grün */
}


.progress-bar {
    background-color: #6A5032 !Important; /* z. B. sattes Grün */
}

.tfoot.k-table-tfoot {
    text-align: center;
}

.schedule-overview .overview-scheduler[b-apds9e6u2s] {
     padding: 0px;

}

/*.k-tabstrip-content, .k-tabstrip > .k-content {
    padding: 5px 5px;
}*/

.nav-childitem {
    margin-left:15px;
}

.k-tabstrip-content, .k-tabstrip > .k-content {
    padding: 8px 8px;
}

.half, .half .container > .row {
    height: 100vh;
    min-height: 700px;
}

.bg-lightbrown {
    background: #EEEAE4;
}

.k-table-tbody .k-table-row.k-selected, .k-table-list .k-table-row.k-selected {
    background-color: rgb(223 123 69 / 64%) !Important;
}

.k-grid .k-table-tbody > .k-table-row:not(.k-detail-row):hover, .k-grid .k-table-tbody > .k-table-row:not(.k-detail-row).k-hover {
    background-color: rgb(223 123 69 / 64%) !Important;
}

.e-footer-content .e-btn.e-flat:not([DISABLED]) {
    background-color: #868686;
    border-color: #868686;
    color: #fff;
}

.e-footer-content .e-btn.e-primary.e-flat:not([DISABLED]) {
    background-color: #6A5032;
    border-color: #6A5032;
    color: #fff;
}

.icdarkgray {
    background-color: #fafafa;
}

.e-schedule .e-schedule-toolbar .e-active-view .e-tbar-btn-text, .e-schedule .e-schedule-toolbar .e-active-view .e-icons {
    color: #0f7173;
}



.e-toolbar .e-tbar-btn:active {
    background: #6a5032;
}

.e-toolbar .e-tbar-btn:hover {
    background: #6a5032;
}

.e-toolbar .e-tbar-btn:focus {
    background: #6a5032;
}



.fullwidth {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.footer_flex_box {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.footer_links {
    background-color: #D0C7B5;
    width: 45%;
    padding: 50px 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer_rechts {
    width: 55%;
    background-color: #F8F6F3;
    padding: 50px 50px 50px 100px;
}

footer {
    color: #6A5032;
    margin-top: 40px;
}

.buerozeiten {
    margin: 30px 0;
}


.sub_footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    color: #6A5032;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: 1px;
    background-color: #EEEAE4;
}

footer a {
    color: #6A5032;
}



@media screen and (max-width: 1024px) {
    .footer_rechts, .footer_links {
        padding: 30px 50px;
    }
}

@media screen and (max-width: 920px) {
    .footer_links {
        width: 40%;
    }
}



@media screen and (max-width: 800px) {
    .footer_links, .footer_rechts {
        width: 100%;
        text-align: center;
    }

    .k-tabstrip-content, .k-tabstrip > .k-content {
        padding: 2px 2px;
    }
    .pagecontent {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media screen and (max-width: 800px) {
    .footer_flex_box {
        display: flex;
        flex-direction: column;
    }
}

.headerpublic {
    position: fixed;
    width: 100%;
    z-index: 9;
    padding: 0px 0 0;
    top: 0px;
    background-color: white;
    transition: 0.3s ease;
    box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    -moz-box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    -webkit-box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    -o-box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    min-height: 50px;
    padding:10px;
}

.w1280 {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.headerpublic .w1280 {
    position: initial;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerpublic.out {
    top: -150px;
    position: fixed;
    background-color: #FFF;
    padding: 20px 0;
    box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    -moz-box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    -webkit-box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
    -o-box-shadow: 0 0 10px 5px rgb(0 0 0 / .1);
}

.header_rechts {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: -5px;
}
.open_menu {
    display: none;
}

.social_wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Der äußere Container nimmt den gesamten Viewport ein */
.chat-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Der Chat selbst füllt den Container vollständig */
.k-chat {
    flex: 1;
    width: 100% !important;
    height: 85% !important;
    max-width: unset !Important;
    border: none;
    border-radius: 0;
}


.k-grid .k-table {
    border-spacing: 2px;

}

.NoWorkDay {
    background-color: #FFE1E0 !Important;
}

/* Zeile + alle Zellen einfärben */
.k-grid tr.NoWorkDay > td {
    background-color: #FFE1E0 !important; /* rosa */
}

/* optional: Hover weiterhin angenehm */
.k-grid tr.NoWorkDay:hover > td {
    filter: brightness(0.98);
}

.k-prompt-box-multiline .k-prompt-box-content {
    flex-direction: revert-layer;
    width: stretch;
}


.k-button.k-button-primary, .k-button.k-button-solid.k-button-primary {
    border-color: #352819 !important;
    color: var(--kendo-color-on-primary, #ffffff);
    background-color: #352819 !important;
}

    .k-button.k-button-primary:hover, .k-button.k-button-primary.k-hover, .k-button.k-button-solid.k-button-primary:hover, .k-button.k-button-solid.k-button-primary.k-hover {
        border-color: #352819 !important;
        background-color: #352819 !important;
    }

/* Data export page */
.data-export-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.data-export-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    margin: 8px 0 22px;
    padding: 14px 16px;
    border: 1px solid #d7dde5;
    background: #f7f8fa;
    border-radius: 6px;
}

.data-export-selector {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 360px;
}

.data-export-toolbar-actions {
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding-bottom: 2px;
}

.data-export-toolbar-actions .toolbarbutton {
    min-width: 132px;
    min-height: 36px;
    justify-content: center;
}

.data-export-toolbar-actions .k-icon,
.data-export-toolbar-actions .k-svg-icon,
.data-export-pivot-refresh .k-icon,
.data-export-pivot-refresh .k-svg-icon {
    margin-right: 6px;
}

.data-export-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid #d7dde5;
    background: #f7f8fa;
    border-radius: 6px;
    margin-bottom: 14px;
}

.data-export-grid {
    min-height: 420px;
    overflow-x: auto;
}

.data-export-result-tabs {
    margin-top: 6px;
}

.data-export-pivot-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin: 8px 0 16px;
    padding: 14px 16px;
    border: 1px solid #d7dde5;
    background: #f7f8fa;
    border-radius: 6px;
}

.data-export-pivot-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.data-export-pivot-refresh {
    min-width: 140px;
    min-height: 36px;
    justify-content: center;
}

.data-export-pivot-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #d7dde5;
    border-radius: 6px;
}

.data-export-pivot-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.data-export-pivot-table th,
.data-export-pivot-table td {
    min-width: 120px;
    padding: 8px 10px;
    border: 1px solid #d7dde5;
    text-align: right;
    white-space: nowrap;
}

.data-export-pivot-table th {
    background: #f1f4f8;
    font-weight: 600;
}

.data-export-pivot-table tbody th,
.data-export-pivot-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
}

.data-export-pivot-table tbody th {
    background: #fff;
}

@media (max-width: 800px) {
    .data-export-toolbar {
        align-items: stretch;
        gap: 14px;
        padding: 12px;
    }

    .data-export-selector {
        min-width: 0;
        width: 100%;
    }

    .data-export-toolbar-actions {
        width: 100%;
    }

    .data-export-toolbar-actions .toolbarbutton {
        flex: 1 1 150px;
    }
}

/* TM statistics page */
.tm-statistics-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tm-statistics-toolbar,
.tm-statistics-actions,
.tm-report-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.tm-statistics-toolbar {
    margin: 8px 0 18px;
    padding: 14px 16px;
    border: 1px solid #d7dde5;
    background: #f7f8fa;
    border-radius: 6px;
}

.tm-statistics-year,
.tm-report-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tm-statistics-segments {
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-bottom: 1px;
}

.tm-statistics-segments .btn {
    min-height: 36px;
    min-width: 132px;
    justify-content: center;
    white-space: nowrap;
}

.tm-statistics-actions {
    margin: 8px 0 16px;
    padding: 12px 14px;
    border: 1px solid #d7dde5;
    background: #f7f8fa;
    border-radius: 6px;
}

.tm-statistics-actions .toolbarbutton,
.tm-report-button {
    min-height: 36px;
    justify-content: center;
    white-space: nowrap;
}

.tm-statistics-actions .k-icon,
.tm-statistics-actions .k-svg-icon,
.tm-report-button .k-icon,
.tm-report-button .k-svg-icon {
    margin-right: 6px;
}

.tm-report-toolbar {
    align-items: stretch;
    padding: 12px;
    border: 1px solid #d7dde5;
    background: #f7f8fa;
    border-radius: 6px;
}

.tm-report-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 10px;
    flex: 1 1 560px;
}

.tm-report-action-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    align-content: end;
    padding: 8px;
    border: 1px solid #dfe4ea;
    background: #ffffff;
    border-radius: 6px;
}

.tm-report-action-label {
    grid-column: 1 / -1;
    color: #5d6673;
    font-size: 0.82rem;
    font-weight: 600;
}

.tm-statistics-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.tm-statistics-grid {
    min-height: 260px;
}

.tm-report-log,
.tm-report-preview {
    margin-top: 16px;
}

.tm-report-preview-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.tm-statistics-tooltip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
    padding: 4px;
}

@media (max-width: 900px) {
    .tm-statistics-charts,
    .tm-report-actions {
        grid-template-columns: 1fr;
    }

    .tm-statistics-toolbar {
        align-items: stretch;
    }

    .tm-statistics-segments .btn {
        flex: 1 1 180px;
    }
}

/* Admin file archive page */
.admin-file-archive-page {
    padding: 18px 20px 24px;
}

.admin-file-archive {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-file-archive__hero,
.admin-file-archive__panel,
.admin-file-archive__metric {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.admin-file-archive__hero {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
    padding: 1.5rem;
}

.admin-file-archive__hero h2,
.admin-file-archive__panel h3,
.admin-file-archive__empty h3 {
    margin: 0;
}

.admin-file-archive__eyebrow {
    color: #2457a6;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-file-archive__hero-note {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #0f2747;
    border-radius: 14px;
    color: #f7fbff;
}

.admin-file-archive__filter-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-file-archive__filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.admin-file-archive__filter-item--query {
    grid-column: span 2;
}

.admin-file-archive__filter-item label,
.admin-file-archive__detail-section span,
.admin-file-archive__detail-meta span {
    color: #4f5f75;
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-file-archive__filter-item--toggle {
    justify-content: flex-end;
}

.admin-file-archive__checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
}

.admin-file-archive__toolbar,
.admin-file-archive__pager,
.admin-file-archive__detail-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.admin-file-archive__toolbar {
    margin: 0.75rem 0 1rem;
}

.admin-file-archive__toolbar .btn,
.admin-file-archive__pager .btn,
.admin-file-archive__detail-actions .btn {
    min-height: 36px;
    justify-content: center;
}

.admin-file-archive__summary-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-file-archive__metric {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-file-archive__metric span {
    color: #516274;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-file-archive__metric strong {
    color: #10233d;
    font-size: 1.1rem;
}

.admin-file-archive__splitter-shell {
    min-height: 900px;
}

.admin-file-archive__panel {
    padding: 1rem;
}

.admin-file-archive__panel--fill {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-file-archive__panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.admin-file-archive__grid {
    flex: 1 1 auto;
    min-height: 420px;
}

.admin-file-archive__file-cell {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.admin-file-archive__file-cell span {
    color: #5f7084;
    font-size: 0.82rem;
}

.admin-file-archive__detail-scroll {
    flex: 1 1 auto;
    overflow: auto;
    padding-right: 0.25rem;
}

.admin-file-archive__detail-meta {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.admin-file-archive__detail-meta div,
.admin-file-archive__detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.admin-file-archive__detail-meta strong,
.admin-file-archive__detail-section p {
    margin: 0;
    color: #13263f;
    word-break: break-word;
}

.admin-file-archive__detail-section {
    margin-top: 1rem;
}

.admin-file-archive__replace-button {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.admin-file-archive__replace-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.admin-file-archive__replace-status {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #eef6ff;
    border: 1px solid #c8ddfb;
    border-radius: 10px;
    color: #20446f;
}

.admin-file-archive__image-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 760px;
    background: #eef3f8;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    overflow: auto;
}

.admin-file-archive__image-preview img {
    max-width: 100%;
    max-height: 740px;
    object-fit: contain;
}

.admin-file-archive__image-preview--fullscreen {
    min-height: 82vh;
    background: #0d1624;
}

.admin-file-archive__image-preview--fullscreen img {
    max-height: 78vh;
}

.admin-file-archive__empty,
.admin-file-archive__loading {
    padding: 1.5rem;
    background: #f6f8fb;
    border: 1px dashed #c7d2df;
    border-radius: 14px;
}

@media (max-width: 1200px) {
    .admin-file-archive__hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .admin-file-archive__filter-grid,
    .admin-file-archive__summary-grid,
    .admin-file-archive__detail-meta {
        grid-template-columns: 1fr;
    }

    .admin-file-archive__filter-item--query {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .admin-file-archive-page {
        padding: 12px;
    }
}

/* API usage page */
.api-usage-dashboard {
    --api-ci-blue: #6A5032;
    --api-ci-blue-strong: #4f3b23;
    --api-ci-teal: #6f8f8a;
    --api-ci-teal-soft: #89a6a2;
    --api-ci-amber: #f2ab29;
    --api-ci-amber-soft: #ffd36a;
    --api-ci-surface: #ffffff;
    --api-ci-surface-soft: #f6f2ec;
    --api-ci-line: rgba(106, 80, 50, 0.1);
    --api-ci-text: #4f3b23;
    --api-ci-muted: #7b6a56;
    --api-ci-shadow: 0 16px 36px rgba(106, 80, 50, 0.1);
    --api-ci-shadow-soft: 0 8px 22px rgba(106, 80, 50, 0.07);
    padding: 18px 20px 2.5rem;
    color: var(--api-ci-text);
}

.api-usage-dashboard .page-title-box h1 {
    color: var(--api-ci-blue);
    letter-spacing: 0.01em;
}

.api-usage-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 1.15rem;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(120deg, #5a4428 0%, #6A5032 48%, #6f8f8a 100%);
    box-shadow: var(--api-ci-shadow);
    overflow: hidden;
    position: relative;
}

.api-usage-hero::before,
.api-usage-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.api-usage-hero::before {
    width: 240px;
    height: 240px;
    right: -70px;
    top: -100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.api-usage-hero::after {
    width: 180px;
    height: 180px;
    left: 42%;
    bottom: -110px;
    background: radial-gradient(circle, rgba(242, 171, 41, 0.18), transparent 70%);
}

.api-usage-hero__content,
.api-usage-hero__controls {
    position: relative;
    z-index: 1;
}

.api-usage-hero__eyebrow,
.api-usage-board__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.88;
}

.api-usage-hero__title {
    margin: 0.35rem 0 0.35rem;
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    line-height: 1.08;
    font-weight: 700;
    color: #fff6ea;
}

.api-usage-hero__subtitle {
    margin: 0;
    max-width: 52rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.88);
}

.api-usage-hero__controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.9rem;
}

.api-usage-period-picker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.api-usage-nav-btn {
    min-width: 38px;
    min-height: 38px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transition: transform 0.18s ease, background 0.18s ease;
}

.api-usage-nav-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
}

.api-usage-month-input {
    width: 126px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
}

.api-usage-month-input::-webkit-calendar-picker-indicator {
    filter: brightness(0) invert(1);
}

.api-usage-month-input:focus {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}

.api-usage-hero__meta {
    display: grid;
    gap: 0.5rem;
    min-width: 220px;
}

.api-usage-hero__meta > div {
    display: grid;
    gap: 0.12rem;
    text-align: right;
}

.api-usage-hero__meta-label {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.72);
}

.api-usage-hero__meta strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.api-usage-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.api-usage-kpi-card {
    display: grid;
    gap: 0.4rem;
    padding: 0.9rem 0.95rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #faf7f2);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--api-ci-shadow-soft);
}

.api-usage-kpi-card--accent {
    background: linear-gradient(135deg, #f2ab29 0%, #ffcb62 100%);
}

.api-usage-kpi-card__label {
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--api-ci-muted);
}

.api-usage-kpi-card--accent .api-usage-kpi-card__label {
    color: rgba(18, 49, 83, 0.82);
}

.api-usage-kpi-card__value {
    font-size: clamp(1.45rem, 2vw, 2.15rem);
    line-height: 1;
    color: var(--api-ci-blue);
    letter-spacing: -0.04em;
}

.api-usage-kpi-card__meta {
    color: var(--api-ci-muted);
    font-size: 0.84rem;
    font-weight: 500;
}

.api-usage-detail-grid,
.api-usage-recent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.api-usage-board {
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #faf7f2);
    box-shadow: var(--api-ci-shadow-soft);
    border: 1px solid var(--api-ci-line);
    overflow: hidden;
}

.api-usage-board__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem 0.35rem;
}

.api-usage-board__header--overview {
    padding-bottom: 0.7rem;
}

.api-usage-board__title {
    margin: 0.18rem 0 0;
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    font-weight: 600;
    color: var(--api-ci-blue);
    letter-spacing: -0.03em;
    text-transform: none;
}

.api-usage-board__total {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--api-ci-blue-strong);
}

.api-usage-board__body {
    padding: 0.2rem 1rem 1rem;
}

.api-usage-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.api-usage-mini-card {
    display: grid;
    gap: 0.35rem;
    min-height: 70px;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f1eb, #f1ede7);
}

.api-usage-mini-card--wide {
    grid-column: 1 / span 1;
}

.api-usage-mini-card span {
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--api-ci-muted);
}

.api-usage-mini-card strong {
    font-size: 1.05rem;
    line-height: 1;
    color: var(--api-ci-blue-strong);
    letter-spacing: -0.03em;
}

.api-usage-inline-note {
    margin-top: 0.7rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(242, 171, 41, 0.45);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 243, 214, 0.92), rgba(255, 248, 229, 0.96));
    color: #8a6317;
    line-height: 1.45;
    font-size: 0.84rem;
}

.api-usage-note-list {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
}

.api-usage-note-list__item {
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(106, 80, 50, 0.04), rgba(111, 143, 138, 0.06));
    color: var(--api-ci-blue-strong);
    border: 1px solid rgba(106, 80, 50, 0.08);
    font-size: 0.86rem;
}

.api-usage-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: #f0ece6;
}

.api-usage-toggle-btn {
    min-width: 72px;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    font-size: 0.82rem;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
}

.api-usage-grid {
    font-size: 0.88rem;
}

.api-usage-grid .k-grid {
    border: 1px solid rgba(23, 63, 122, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.api-usage-grid .k-grid-header {
    background: linear-gradient(180deg, #faf7f2, #f2ede5);
    color: var(--api-ci-blue);
}

.api-usage-grid th.k-header,
.api-usage-grid .k-table-th {
    font-size: 0.8rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.api-usage-grid td,
.api-usage-grid .k-table-td {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.api-usage-grid .k-table-tbody > tr:hover {
    background: rgba(63, 125, 121, 0.05);
}

.api-usage-chart .k-chart-surface,
.api-usage-chart {
    background: transparent;
}

.api-usage-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.api-usage-status-pill--success {
    background: rgba(57, 174, 117, 0.12);
    color: #1f7a4d;
}

.api-usage-status-pill--danger {
    background: rgba(216, 84, 84, 0.12);
    color: #a13a3a;
}

.api-usage-status-pill--neutral {
    background: rgba(106, 80, 50, 0.08);
    color: var(--api-ci-blue-strong);
}

@media (max-width: 1199.98px) {
    .api-usage-kpi-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .api-usage-hero,
    .api-usage-detail-grid,
    .api-usage-recent-grid {
        grid-template-columns: 1fr;
    }

    .api-usage-hero__controls {
        align-items: stretch;
    }

    .api-usage-hero__meta > div {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .api-usage-dashboard {
        padding: 12px;
    }

    .api-usage-hero {
        padding: 1rem;
        border-radius: 18px;
    }

    .api-usage-kpi-strip,
    .api-usage-mini-grid {
        grid-template-columns: 1fr;
    }

    .api-usage-period-picker {
        width: 100%;
        justify-content: space-between;
    }

    .api-usage-month-input {
        flex: 1;
        width: auto;
    }

    .api-usage-board__header,
    .api-usage-board__header--overview {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Mobile Quick Wins (Touch-Targets, iOS-Zoom)
   ========================================================================== */

/* Touch-Targets: Grid-Command-Buttons und Toolbar-Buttons auf mind. 44px */
@media (max-width: 960px) {
    .k-grid td .k-command-button,
    .k-grid td .btn,
    .btn.toolbarbutton {
        min-width: 44px;
        min-height: 44px;
    }

    .options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* iOS zoomt bei Eingabefeldern mit Schriftgroesse < 16px automatisch hinein.
   Gilt fuer Bootstrap-, Telerik- (k-) und Syncfusion- (e-) Inputs. */
@media (max-width: 600px) {
    input.form-control,
    select.form-control,
    textarea.form-control,
    .k-input-inner,
    .k-input-value-text,
    .e-input-group input.e-input,
    .e-input-group .e-input,
    textarea.e-input {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   Mobile Bottom Navigation (App-Tab-Bar)
   ========================================================================== */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 960px) {
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030; /* unter AdminLTE-Sidebar (1038) und deren Overlay, ueber dem Content */
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        min-height: calc(56px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: #ffffff;
        border-top: 1px solid #e2d7c7;
        box-shadow: 0 -4px 16px rgba(106, 80, 50, 0.12);
    }

    .mobile-bottom-nav__item {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-width: 0;
        min-height: 44px;
        padding: 6px 2px;
        color: #6c757d;
        font-size: 0.7rem;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-nav__item span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bottom-nav__item i {
        font-size: 1.15rem;
    }

    .mobile-bottom-nav__item:hover,
    .mobile-bottom-nav__item:focus {
        color: #6A5032;
        text-decoration: none;
    }

    .mobile-bottom-nav__item.is-active {
        color: #6A5032;
        font-weight: 600;
    }

    /* Content nicht von der Leiste verdecken lassen */
    body:has(.mobile-bottom-nav) .content-wrapper {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    /* Syncfusion behält Overlays auch für geschlossene Dialoge im DOM.
       Nur ein geöffneter modaler Dialog blendet die Navigation aus.
       Telerik-Overlays liegen mit z-index 10001 bereits über der Leiste. */
    body:has(.e-dlg-container .e-dialog.e-popup-open[aria-modal="true"]) .mobile-bottom-nav {
        display: none;
    }
}

/* ==========================================================================
   Skeleton-Ladeplatzhalter (TimeSheet-Seiten)
   ========================================================================== */

.skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background: #efe9df;
    border-radius: 6px;
}

.skeleton-shimmer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: skeleton-wave 1.4s ease-in-out infinite;
}

@keyframes skeleton-wave {
    100% {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-shimmer::after {
        animation: none;
    }
}

.timesheet-skeleton {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timesheet-skeleton__hero {
    height: 140px;
    border-radius: 24px;
}

.timesheet-skeleton__widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.timesheet-skeleton__card {
    height: 150px;
    border-radius: 14px;
}

.timesheet-skeleton__toolbar {
    height: 44px;
    width: 60%;
    align-self: flex-end;
}

.timesheet-skeleton__search {
    height: 44px;
    width: 100%;
    max-width: 320px;
}

.timesheet-skeleton__panel {
    height: 420px;
    border-radius: 14px;
}

.timesheet-skeleton__grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timesheet-skeleton__row {
    height: 42px;
}

.timesheet-skeleton__row--header {
    height: 48px;
    background: #e2d7c7;
}

@media (max-width: 1400px) {
    .timesheet-skeleton__widgets {
        grid-template-columns: 1fr;
    }

    .timesheet-skeleton__card {
        height: 110px;
    }
}

@media (max-width: 960px) {
    .timesheet-skeleton__widgets--desktop-only {
        display: none;
    }

    .timesheet-skeleton__toolbar {
        width: 100%;
    }
}

/* Shared loading layouts and deliberately scoped portal interactions. */
:root {
    --portal-motion-fast: 160ms;
    --portal-motion-panel: 220ms;
    --portal-focus: #735431;
}
.portal-skeleton__cards, .portal-skeleton__charts { display: grid; gap: 16px; }
.portal-skeleton__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.portal-skeleton__charts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.portal-skeleton__card, .portal-skeleton__chart {
    background: #fff; border: 1px solid #e4ddd3; border-radius: 18px; padding: 20px; min-width: 0;
}
.portal-skeleton__card { min-height: 126px; }
.portal-skeleton__line { height: 12px; width: 65%; margin-bottom: 12px; }
.portal-skeleton__number { height: 30px; width: 45%; margin-bottom: 12px; }
.portal-skeleton__plot { height: 310px; margin-top: 28px; }
.portal-skeleton__search { width: min(320px, 100%); height: 38px; margin-bottom: 16px; }
.portal-skeleton__table { display: grid; gap: 10px; }
.portal-skeleton__row { height: 42px; }
.portal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.portal-feedback { min-height: 36px; display: flex; align-items: center; gap: 12px; font-size: 13px; padding: 6px 0; }
.portal-feedback__success { color: #38613e; }
.portal-feedback__busy { color: #735431; }
.portal-feedback__busy::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; animation: portal-pulse 1.2s ease-in-out infinite; }
.portal-feedback--error { color: #873d31; background: #fff4ef; border: 1px solid #e7c8bc; padding: 12px; border-radius: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.portal-interactive :is(.btn, .k-button), .ws-tile {
    transition: background-color var(--portal-motion-fast) ease, border-color var(--portal-motion-fast) ease, box-shadow var(--portal-motion-fast) ease, transform var(--portal-motion-fast) ease;
}
.portal-interactive :is(.btn, .k-button):active:not(:disabled) { transform: translateY(1px); }
.portal-interactive :is(button, a, input):focus-visible, .ws-tile:focus-visible { outline: 3px solid var(--portal-focus); outline-offset: 3px; }
.portal-interactive button:disabled { cursor: wait; }
.portal-interactive .k-table-row > td { transition: background-color var(--portal-motion-fast) ease; }
.portal-interactive .k-table-row:focus-within > td { background-color: #f7f3ed; }
.portal-enter { animation: portal-enter var(--portal-motion-panel) ease-out; }
@media (hover: hover) {
    .ws-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(78, 61, 42, .12); }
    .portal-interactive .k-table-row:hover > td { background-color: #f7f3ed; }
}
@keyframes portal-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes portal-pulse { 50% { opacity: .35; } }
@media (max-width: 1199px) { .portal-skeleton__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .portal-skeleton__cards, .portal-skeleton__charts { grid-template-columns: minmax(0, 1fr); }
    .portal-skeleton__plot { height: 386px; }
}
@media (prefers-reduced-motion: reduce) {
    .portal-interactive *, .portal-interactive *::before, .portal-interactive *::after,
    .portal-enter, .ws-tile { animation: none !important; transition: none !important; }
    .ws-tile:hover { transform: none; }
}
