@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --antd-wave-shadow-color: #032a23;
    background-color: #F5F5F5;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
}

main {
    overflow-y: auto;
}

.red {
    color: red;
}

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

.logo {
    height: 47px;
    width: 150px;
    background-image: url(../images/logo-small-transparent-text.webp);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    float: left;
    margin: 7px 0 10px 0;
}

.center {
    text-align: center;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.m-0 {
    margin: 0 !important
}

.m-1 {
    margin: .25rem !important
}

.m-2 {
    margin: .5rem !important
}

.m-3 {
    margin: 1rem !important
}

.m-4 {
    margin: 1.5rem !important
}

.m-5 {
    margin: 3rem !important
}

.grid-5-by-5 {
    display: grid;
    grid-template-columns: repeat(7, fit-content(0));
    grid-template-rows: repeat(7, fit-content(0));
    grid-gap: 7px;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.horizontal_flex {
    flex-flow: wrap;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 12px 12px 12px;
    column-gap: 12px;
    row-gap: 12px;
}

.horizontal_flex_item {
    max-width: 300px;
    scroll-snap-align: start;
    flex: 0 0 300px
}

.mittelherkunft_right {
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
}

/* Overriding */

.ant-menu-dark .ant-menu-sub, .ant-menu.ant-menu-dark, .ant-menu.ant-menu-dark .ant-menu-sub {
    background-color: #032a23;
}

.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected, .ant-menu.ant-menu-dark .ant-menu-item-selected {
    background-color: #1D372E;
}

.ant-layout-header {
    background-color: #032a23;
}

.ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {
    color: #ffffff;
}

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {
    background-color: #41756A;
}

.ant-steps-item-finish .ant-steps-item-icon {
    background-color: #1D372E;
    border-color: #032a23;
}

.ant-steps-item-process .ant-steps-item-icon {
    border-color: #1D372E;
}

.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
    background-color: #032a23;
}

.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
    background-color: rgba(0, 0, 0, .06);
}

.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {
    background-color: rgba(0, 0, 0, .06);
}

.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role=button]:hover .ant-steps-item-description, .ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle, .ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role=button]:hover .ant-steps-item-title {
    color: #41756A;
}

.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process) > .ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon {
    color: #41756A;
}

.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process) > .ant-steps-item-container[role=button]:hover .ant-steps-item-icon {
    border-color: #41756A;
}

.ant-menu-dark.ant-menu-horizontal > .ant-menu-item:hover {
    background-color: #41756A;
}

.ant-btn:focus, .ant-btn:hover {
    color: #1D372E;
    border-color: #1D372E;
    background: #fff;
}

.ant-layout-header {
    padding: 0 16px;
}

.ant-btn-primary {
    background-color: #1D372E;
    border-color: #1D372E;
}

.ant-checkbox-input:focus + .ant-checkbox-inner, .ant-checkbox-wrapper:hover .ant-checkbox-inner, .ant-checkbox:hover .ant-checkbox-inner {
    border-color: #1D372E;
}

.ant-checkbox-checked .ant-checkbox-inner {
    background-color: #1D372E;
    border-color: #1D372E;
}

.ant-input:hover {
    border-color: #1D372E;
}

.ant-input-focused, .ant-input:focus {
    border-color: #1D372E;
    box-shadow: 0 0 0 2px rgba(46, 83, 75, 0.2);
}

.ant-col-24.ant-form-item-label, .ant-col-xl-24.ant-form-item-label, .ant-form-vertical .ant-form-item-label {
    padding: 0;
}

.ant-layout-sider {
    background: #032a23;
}

.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected {
    background-color: #1D372E;
}

.ant-layout-sider-trigger {
    background-color: #1D372E;
}

.ant-table tfoot > tr > td, .ant-table tfoot > tr > th, .ant-table-tbody > tr > td, .ant-table-thead > tr > th {
    padding: 12px 16px;
}

.ant-avatar {
    margin-right: 8px;
    margin-top: -4px;
}

.ant-page-header {
    background-color: transparent;
}

.ant-image {
    margin: 4px;
}

.ant-layout {
    background-color: #F5F5F5;
}

.ant-tag {
    width: fit-content;
}

.ant-layout-footer {
    background-color: #F5F5F5;
}

.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    color: #1D372E;
}

.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
    color: #1D372E;
}

.ant-tabs-ink-bar {
    background-color: #1D372E;
}

.ant-tabs-tab-btn:active, .ant-tabs-tab-btn:focus, .ant-tabs-tab-remove:active, .ant-tabs-tab-remove:focus {
    color: #1D372E;
}

.ant-tabs-tab:hover {
    color: #41756A;
}

.ant-image-mask {
    bottom: -4px;
    right: -4px;
    top: 4px;
    left: 4px;
}

td.ant-table-cell {
    white-space: nowrap;
}

.ant-list-items {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 1170px;
    overflow-y: auto;
}

.ant-form-item-explain-error {
    color: #ff4d4f;
    font-size: 0.8em;
}

.ant-form-item-explain-default {
    font-size: 0;
}

.ant-tabs-tab .anticon {
    margin-right: 4px;
}

/**/

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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."
}

.ant-carousel .slick-slide {
    text-align: center;
    background: #364d79;
    overflow: hidden;
}

.ant-form-item-label {
    text-align: left;
}

.upload-dropzone {
    box-shadow: white 0 0;
    cursor: pointer;
    width: 100%;
    border: 2px dashed rgba(0, 0, 0, .25);
    border-radius: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, .25);
    background-color: #f2f2f2;
}

.upload-input-file {
    padding: 0.3rem 2rem;
    display: inline-block;
    margin: 0 0.3rem;
    text-align: center;
}

.ant-btn-link {
    border: none;
}

.ant-btn-link:hover {
    border: none;
    color: #1566a9;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.ant-btn-link:focus {
    border: none;
    color: #1566a9;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.ant-card-body {
    padding: 0;
}

.ant-menu > .ant-menu-item-divider {
    border-color: #1D372E;
}

.card-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 500ms forwards;
    animation-delay: 100ms;
}

.card-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.card-content {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: self-start;
    flex-wrap: nowrap;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #4a90e2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.card-info {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info-header {
    font-weight: bold;
    margin-right: 5px;
    color: #333;
}

.new-file-icon .e-list-text::before,
.new-file-icon .e-folder::before {
    /*content: '\e710';*/
    color: #032a23;
    font-family: "e-icons", emoji;
}

.new-file-icon .e-list-text {
    font-weight: bold;
    color: #032a23;
}

.normal-file .e-list-text {
    font-weight: normal;
    color: #212529;
}

.e-empty-inner-content {
    visibility: hidden;
}

.e-empty-content {
    visibility: hidden;
    position: relative;
}

.e-empty-content::before {
    content: "Dieser Ordner ist leer";
    visibility: visible;
    position: absolute;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.ant-input-affix-wrapper-disabled,
.ant-picker-input > input[disabled],
.ant-input[disabled],
.ant-picker.ant-picker-disabled {
    color: rgba(0, 0, 0, 0.5);
}