﻿:root {
    --bs-primary: #97BE0D !important;
    --bs-primary-rgb: 151, 190, 13 !important;
}

.body {
    overflow-y: visible !important;
}

.dxbl-menu {
    background: transparent !important;
}

.bg--lightgrey {
    background: #F7F7F7;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}



.sidebar {
    position: fixed;
    right: -250px;
    top: 56px;
    height: calc(100vh - 56px);
    width: 250px;
    padding: 0.25rem 0.5rem;
    background-color: #f8f9fa;
    box-shadow: -0.25rem 0 0.5rem rgba(0, 0, 0, 0.15);
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    transition: right 0.3s ease;
    z-index: 10;
}

.sidebar-open {
    right: 0;
}

.setings-menu-icon {
    height: 1rem !important;
    width: 1rem !important;
    object-fit: contain;
}

    .setings-menu-icon.large {
        height: 1.5rem !important;
        width: 1.5rem !important;
    }

.sidebar .dxbl-btn.dxbl-btn-text-secondary.dxbl-disabled.dxbl-btn-tool.dxbl-invisible {
    display: none;
}


.menu-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    min-height: 1rem;
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    opacity: 0.7;
}

.menu-icon-delete {
    mask-image: url("../images/icons/grid-toolbar-delete.svg");
    -webkit-mask-image: url("../images/icons/grid-toolbar-delete.svg");
}

.menu-icon-document {
    mask-image: url("../images/icons/grid-toolbar-document.svg");
    -webkit-mask-image: url("../images/icons/grid-toolbar-document.svg");
}

.menu-icon-edit {
    mask-image: url("../images/icons/grid-toolbar-edit.svg");
    -webkit-mask-image: url("../images/icons/grid-toolbar-edit.svg");
}

.menu-icon-filter {
    mask-image: url("../images/icons/grid-toolbar-filter.svg");
    -webkit-mask-image: url("../images/icons/grid-toolbar-filter.svg");
}

.menu-icon-new {
    mask-image: url("../images/icons/grid-toolbar-new.svg");
    -webkit-mask-image: url("../images/icons/grid-toolbar-new.svg");
}

.menu-icon-refresh {
    mask-image: url("../images/icons/grid-toolbar-refresh.svg");
    -webkit-mask-image: url("../images/icons/grid-toolbar-refresh.svg");
}

.menu-icon-settings {
    mask-image: url("../images/icons/settings.svg");
    -webkit-mask-image: url("../images/icons/settings.svg");
}

.menu-icon-save {
    mask-image: url("../images/icons/save.svg");
    -webkit-mask-image: url("../images/icons/save.svg");
}

.context-menu-item-delete {
    background: var(--bs-danger);
    color: white;
}

    .context-menu-item-delete:hover {
        background: #BB2D3B !important;
        color: white !important;
    }


.content {
    position: relative;
    z-index: 1;
}


.top-row .dxbl-menu-bar {
    background: transparent !important;
}

    .top-row .dxbl-menu-bar .dxbl-menu-title {
        padding: 0px !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.header__title {
    display: flex;
    height: 20px;
    opacity: 1;
    margin-left: 0 !important;
    color: black;
    align-items: center;
}

    .header__title:hover {
        text-decoration: none !important;
    }

    .header__title::before {
        content: "";
        display: flex;
        height: 20px;
        width: 20px;
        opacity: 1;
        background: url("../images/SoftPlan.svg");
        background-size: contain;
        margin-right: 5px;
    }

.modal-header {
    flex-flow: column;
    gap: 10px;
}

.modal-mainTitle {
    display: flex;
    height: 20px;
    opacity: 1;
    margin: 0.2rem 0 0.8rem !important;
    align-items: center;
}

    .modal-mainTitle::before {
        content: "";
        display: flex;
        height: 26px;
        width: 26px;
        opacity: 1;
        background: url("../images/SoftPlan.svg");
        background-size: contain;
        margin-right: 8px;
    }

.parallax__line1 {
    fill: rgba(255,255,255,0.7);
}
.parallax__line2 {
    fill: rgba(255,255,255,0.5);
}
.parallax__line3 {
    fill: rgba(255,255,255,0.3);
}
.parallax__line4 {
    fill: rgba(255,255,255,0.7);
}

.dxbl-sc-date-hr { 
    background: #97BE0D !important;
    font-size: 12px;
}
.dxbl-sc-time-cell.sched__weekend {
    background: #D3D3D3 !important;
}
.dxbl-sc-time-cell.sched__holiday {
    background: #97BE0D !important;
}

    .dxbl-sc-time-cell.sched__holiday::before {
        content: "svátek";
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        font-weight: 600;
    }

        .dxbl-sc-time-cell.sched__holiday > div {
            height: 0 !important;
        }

.comboColor {
    display: flex;
    align-items: center;
}
.comboColor__span {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin-right: 8px;
}
    .comboColor__span.comboColor__span--xs {
        height: 16px;
        width: 16px;
    }

/*@media (min-width: 641px) {
    .dxbl-scroll-viewer > .dxbl-scroll-viewer-content {
        overflow: hidden !important;
    }
}

@media (max-width: 640.98px) {
    .dxbl-scroll-viewer > .dxbl-scroll-viewer-content {
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
}

.dxbl-scroll-viewer .dxbl-scroll-viewer-hor-scroll-bar:not(.dxbl-disabled):not(:disabled).dxbl-active, .dxbl-scroll-viewer > .dxbl-scroll-viewer-vert-scroll-bar:not(.dxbl-disabled):not(:disabled).dxbl-active {
    display: none !important;
}*/

.dxbl-modal-open {
    padding: 0 !important;
}

.dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly).dxbl-checkbox-checked .dxbl-checkbox-check-element, .dxbl-checkbox:not(.dxbl-checkbox-switch):not(.dxbl-checkbox-radio):not(.dxbl-disabled):not(:disabled):not(.dxbl-readonly).dxbl-checkbox-indeterminate .dxbl-checkbox-check-element {
    background-color: #97BE0D !important;
}

.dxbl-checkbox .dxbl-checkbox-check-element input {
    cursor: pointer;
}

.dxbl-context-menu-template {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
    border-radius: inherit;
    outline: 0;
    padding: 5px 8px;
    cursor: pointer;
}

    .dxbl-context-menu-template:hover {
        position: relative;
        background-color: #E8E9E9;
    }

dxbl-scheduler .dxsc-v-resource-header .dxsc-resource-header-content {
    width: 100%;
}
.detail-row {
    display: flex;
    align-items: center;
}
.detail-git__icon {
    height: 16px;
    margin-right: 8px;
}

.dxbl-list-box > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content {
    overflow-y: scroll !important;
}

.dxbl-sc-tb-wrapper {
    display: none !important;
}

.dxbl-sc-tb-wrapper {
    display: none !important;
}

.customSched {
    max-height: calc(100vh - 110px);
}

.customResources .dxbl-toolbar-item-tmpl {
    width: 100%;
}


.customResources .customResources-item {
    padding: 4px 6px !important;
}


.login-modal {
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 10 !important;
    background: #9CB62F;
    overflow: hidden !important;
}

.login-modal-dialog {
    width: calc(100vw - 40px) !important;
    max-width: 400px !important;
}

.login-modal-content {
    border-radius: 12px;
    padding: 10px;
    overflow-y: auto;
    max-height: calc(100vh - 40px);
}

.login-modal-alert {
    margin: 12px 0 6px;
    padding: 6px 12px;
}

.customBasket {
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 345px;
}

.basket__header {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 6px;
}

.basket__listbox {
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 300px !important;
}

.basket__item {
    padding: 6px 3px;
}

.basket__name {
    padding-bottom: 6px;
    font-weight: 700;
}

.basket__date {
    text-align: end;
}

.color-picker-header {
    background: #8BAF10;
}
