html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

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;
}

/*OWN CSS*/
:root {
    --mud-appbar-height: 0px !important;
    --mud-drawer-width: 650px !important;
    --mud-drawer-width-right: 650px !important;
}

body {
    background: #e5ecf3 !important;
}

.header {
    padding-top: 25px;
    /*padding-bottom: 25px;*/
    display: flex;
}

    .header h3,
    .header h4 {
        padding-left: 15px;
    }

.mud-input-label-background label {
    background: #e5ecf3 !important;
}

.divider-header {
    padding-left: 15px;
    padding-right: 15px;
    min-height: 50px;
    width: 100%;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}


.divider-content {
    padding: 20px;
}

.span-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #0d6efd;
    font-size: 15px;
    color: white;
    border-radius: 50%;
    font-weight: 500;
    border: 1px solid white;
}


.employee-picture-component {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 350px;
}

    .employee-picture-component .employee-details {
        margin-left: 1.5rem;
        line-height: 1.3;
    }

.employee-name {
    font-size: 1rem;
    color: #111;
}

.employee-email {
    font-size: 0.8rem;
    color: rgba(162,162,162);
}


.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container-content {
    flex: 1;
    overflow-y: hidden;
    position: relative;
}

/*.main-container-header {
    flex-basis: 64px;
    display: flex;
}
*/
.main-container-footer {
    flex-basis: 20px;
    display: flex;
}

.main-container-grid {
    position: absolute;
    height: 100%;
    width: 100%
}

.own-avatar {
    width: 35px !important;
    height: 35px !important;
    font-size: 0.88rem !important;
}

.main-container-content .mud-avatar,
.main-container-content .span-circle {
    width: 35px !important;
    height: 35px !important;
    font-size: 12px !important;
}

.main-container-content .mud-table-container {
    height:100%;
}
/*Jeżeli jest przykładowo w gridzie tolbar z ustawieniami dotyczącymi kolumn*/
.main-container-content:has(.mud-table-toolbar) .mud-table-container {
    height: calc(100% - 48px);
}

.employee-name {
    margin-bottom: 0.3rem;
}

.remove-button .mud-button-icon-start {
    color: gray !important;
}

.remove-button:hover .mud-button-icon-start,
.remove-button:hover {
    color: red !important;
}

.cell-75-class.mud-table-cell {
    text-align-last: center;
    max-width: 75px !important;
}

.hide-grid-menu .column-header .mud-menu,
.main-container-grid .column-header .mud-menu {
    display: none;
}

.hidden-element {
    display: none !important;
}

.mud-dialog-title .header {
    vertical-align: middle;
    padding: 0px !important;
}

    .mud-dialog-title .header .mud-icon-root {
        font-size: 1.7rem;
    }

    .mud-dialog-title .header h3 {
        font-size: 1.3rem !important;
    }

.title .subtitle {
    font-size: smaller;
    font-weight: 400;
}


.mud-dialog:has(.drop-save-changes-messagebox) {
    padding: 7px;
}

    .mud-dialog:has(.drop-save-changes-messagebox) .mud-dialog-title {
        font-size: 1.4rem;
        font-weight: 500;
    }

.drop-save-changes-messagebox .mud-dialog-content {
    margin-bottom: 20px;
}

.drop-save-changes-messagebox .mud-dialog-content {
    font-size: 1.1rem;
    padding: 3px;
}

.drop-save-changes-messagebox .mud-dialog-actions .mud-button {
    margin-left: 15px
}

.open-filters {
    cursor: pointer;
}

.hide-header .column-header .mud-menu {
    display: none;
}

.right-drawer .drawer-tab-content {
    height: inherit;
}

    .right-drawer .drawer-tab-content .divider-content,
    .right-drawer .drawer-tab-content .mud-tabs {
        height: calc(100% - 50px) !important;
    }

        .right-drawer .drawer-tab-content .mud-tabs:has(.map) {
            height: 100% !important;
        }

    .right-drawer .drawer-tab-content .mud-tabs-panels,
    .right-drawer .drawer-tab-content .divider-content {
        position: relative;
        height: inherit;
        overflow-y: auto;
    }

.mud-drawer-content:has(.drawer-tab-content) {
    overflow: hidden;
}

.project-user-not-active {
    background-color: rgba(150, 150, 150, 0.01);
    -webkit-filter: grayscale(1);
}

    .project-user-not-active #additional-info {
        color: var(--mud-palette-warning);
    }

@media(min-width:600px) {
    .mud-toolbar {
        --mud-internal-toolbar-height: 48px !important;
    }
}

.day-weekend-1 {
    color: #dc8923;
}

.day-weekend-2 {
    color: red;
}

.group-selector .mud-table-foot {
    display: none;
}

.group-selector .mud-table-head {
    display: none !important;
}

.MudDataGrid-Grouped .mud-table-row:not(:has(.mud-table-cell)) {
    display: none;
}

/*.mud-table-dense .mud-table-row {
    height: 47px;
}*/

/*.MudDataGridMinHeight.mud-table-dense .mud-table-row {
    height:47px;
}*/

.mudgrid-grouped .mud-datagrid-group.mud-row-group-indented-1
{
    padding-top:0px!important;
    padding-bottom:0px!important;
}

.not-active-in-list {
    font-style: italic;
    color: #aba6a6 !important;
}

    .not-active-in-list .not-active-info{
        font-size:small;
    }
.not-active-shelf-info{
    font-size:small;
}

.planner-item-published {
}

.planner-item-not-published {
    --stripe-size: 10px;
    --c1: #ffffff;
    --c2: #e9ecef;
    background: repeating-linear-gradient( 30deg, var(--c1) 0 var(--stripe-size), var(--c2) var(--stripe-size) calc(var(--stripe-size) * 2) ) !important;
}

.legend .planer-content {
    background-color: white;
    font-weight:600;
}

.legend .planer-content {
    background: #f1f1f1;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    border-right: 1px solid gray;
}

.legend .item-status {
    width: 5px;
}

.blinking-element {
    animation: blinker 1s infinite;
}

@keyframes blinker {
    from {
        opacity: 1.0;
    }

    50% {
        opacity: 0.6;
    }

    to {
        opacity: 1.0;
    }
}