﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --ck-background-light: #f8f9fa;
    --ck-background-dark: #EAEAEA;
    --ck-text: #6c757d;
    --ck-lightgrey: #7F91AA;
    --ck-darkgrey: #333A47;
    --ck-darkgrey-light: #4C5565;
    --ck-white: #EEF1F1;
    --ck-orange: #FF944E;
    --ck-red: #BB3B17;
    --ck-nav-bg: var(--ck-lightgrey);
    --ck-toprow-bg: #f8f9fa;
    --ck-toprowtitle-color: var(--ck-darkgrey);
    --ck-shadow: grey;
    --bs-border-radius: 0.25rem;
    --ck-border: #EAEAEA;
    --hx-calendar-day-selected-background: var(--ck-orange) !important;
    --hx-calendar-day-today-background: var(--ck-orange) !important;
    --hx-calendar-day-today-color: var(--ck-orange) !important;
}

.popover {
    --bs-popover-header-bg: var(--ck-toprow-bg) !important;
}

@media print {
    .sidebar, .top-bar, .top-row {
        display: none !important;
    }

    .page {
        height: 100% !important;
    }
    body {
        zoom: 70%;
    }
    * {
        overflow: visible !important;
    }
}

.nav {
    --bs-nav-pills-link-active-bg: var(--ck-background-dark) !important;
    --bs-nav-pills-link-active-color: var(--ck-text) !important;
    --bs-nav-link-color: var(--ck-text) !important;
}


    .flex-column.nav-tabs .nav-link {
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--bs-nav-tabs-border-radius);
    }

        .flex-column.nav-tabs .nav-link.active {
            border-bottom-color: var(--bs-border-color);
            border-right-color: var(--bs-body-bg);
            margin-right: -14px;
        }

    .weekend-row, .selected-row {
        background-color: WhiteSmoke !important;
    }


.time-row {
    line-height: 31px;
}

.ck-red {
    color: var(--ck-red);
}

.ck-green {
    color: green;
}

[data-theme="dark"]  {
    --ck-nav-bg: var(--ck-darkgrey);
    --ck-toprow-bg: var(--ck-darkgrey);
    --ck-toprowtitle-color: var(--ck-white);
    --ck-shadow: black;
    --bs-body-color: white;
    --bs-body-bg: var(--ck-darkgrey-light);      
}

.page {
    position: relative;
    display: flex;
    flex-direction: row;
    height: calc(100vh - 4rem);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.btn {
    --bs-btn-border-radius: 0.25rem;
}

.form-control, .form-select {
    border-radius: 0.25rem;
}

.btn-primary {
    --bs-btn-bg: var(--ck-lightgrey);
    --bs-btn-border-color: var(--ck-lightgrey);
    --bs-btn-hover-bg: var(--ck-darkgrey);
    --bs-btn-hover-border-color: var(--ck-lightgrey);
    --bs-btn-active-bg: var(--ck-orange);
    --bs-btn-active-border-color: var(--ck-red);
    --bs-btn-focus-shadow-rgb: var(--ck-red);
    --bs-btn-disabled-bg: var(--ck-lightgrey);
    --bs-btn-disabled-border-color: var(--ck-lightgrey);
}

.btn-outline-primary {
    --bs-btn-color: var(--ck-lightgrey);
    --bs-btn-border-color: var(--ck-lightgrey);
    --bs-btn-hover-bg: var(--ck-lightgrey);
    --bs-btn-hover-border-color: var(--ck-lightgrey);
    --bs-btn-active-bg: var(--ck-lightgrey);
    --bs-btn-active-border-color: var(--ck-lightgrey);
    --bs-btn-disabled-color: var(--ck-lightgrey);
    --bs-btn-disabled-border-color: var(--ck-lightgrey);
}

.card {
    --bs-card-cap-bg: var(--ck-toprow-bg);
    --bs-card-border-radius: 0;
    --bs-card-cap-color: var(--ck-text);
    --bs-card-border-color: var(--ck-border);
}


.dropdown-menu {
    --bs-dropdown-border-radius: 0.25rem;
}

[data-theme="dark"] .dropdown-menu {
    --bs-dropdown-bg: var(--ck-darkgrey);
    --bs-dropdown-color: var(--ck-white);
    --bs-dropdown-link-color: var(--ck-white);
    --bs-dropdown-link-hover-color: var(--ck-white);
    --bs-dropdown-link-hover-bg: #e9ecef10;
}

    html, body {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        margin: 0;
        height: 100vh;
    }

.loading-screen {
    background-color: #FF944E;
}
.error-screen {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}

.loading-screen, .error-screen {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    color: white;
    padding: 50px;
    text-align: center;
    border-radius: 5px;
}

    h1:focus {
        outline: none;
    }

    a, .btn-link {
        color: #0071c1;
        text-decoration: none;
    }

    .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;
    }

     .sidebar-small .account-btn-text {
        display: none;
    }

    .sidebar-small .nav-link {
        justify-content: center;
    }

.account-area {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem !important;
}

    .account-btn {
        height: 64px;
        line-height: 50px;
        color: white;
    }

    .account-btn:is(:hover,:active,:focus) {
        border-color: transparent !important;
    }

        .account-btn.btn.show {
            border-color: transparent !important;
        }

.top-row {
    background-color: var(--ck-toprow-bg);
    justify-content: flex-start;
    min-height: fit-content;
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--ck-border);
    padding-left: 1.5rem !important;
    padding-right: 0.5rem !important;
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    row-gap: 3px;
    flex-wrap: wrap;
}

    .top-row-title {
        color: var(--ck-text);
    }

.top-row.top-row-lg {
    min-height: unset;
    padding: 5px 0;
}

.title {
    color: var(--ck-text);
}

    .logo {
        height: 45px;
    }

    .logo-2x {
        height: 90px;
    }

    .list-group-item.inactive {
        color: var(--ck-lightgrey);
    }

.table-rows-align-vertical-middle td {
    vertical-align: middle;
}

.environment-title h3 {
    margin: 0;
}

.nav-tabs {
    margin-top: 5px;
    padding: 0 5px;
}

.nav-tabs .nav-link {
    color: var(--ck-text)
}

#contract-table [type="date"] {
    width: 120px;
}

.admin-customer-scroll-pane {
    overflow: auto;  
}

.administrator-scroll-pane {
    overflow: auto;
    height: calc(100vh - 112px);
}

.accordion {
    --bs-accordion-active-color: var(--bs-accordion-btn-color);
    --bs-accordion-active-bg: var(--bs-accordion-btn-bg);
    --bs-accordion-btn-focus-border-color: var(--bs-accordion-border-color);
    --bs-accordion-btn-focus-box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-border-radius: 0;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
}

.accordion-button:has(> .accordion-title-bg-inactive) {
    --bs-accordion-btn-bg: var(--ck-background-dark);
    --bs-accordion-active-bg: var(--ck-background-dark);
}

.text-bg-ck-orange {
    color: #fff !important;
    background-color: var(--ck-orange) !important;
}

.text-ck-orange{
    color: var(--ck-orange);
}

.text-bg-ck-darkgrey {
    color: #fff!important;
    background-color: var(--ck-darkgrey)!important;
}

.text-bg-ck-lightgrey {
    color: #fff!important;
    background-color: var(--ck-lightgrey)!important;
}

.text-ck-lightgrey {
    color: var(--ck-lightgrey) !important;
}

.text-bg-white {
    color: var(--bs-dark)!important;
    background-color: var(--bs-white)!important;
}

.tab-card {
    border-top: 0;
}

.form-check-input:checked {
    background-color: var(--ck-lightgrey);
    border-color: var(--ck-lightgrey);
}


.breadcrumb {
    --bs-breadcrumb-margin-bottom: 0;
}
.modal-body {
    padding: 0;
}

.modal-content-body {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    border-bottom: none;
}

.shiftplan-pane {
    --hx-calendar-day-width: 1.875rem;
    --hx-calendar-day-height: 1.875rem;
    --hx-calendar-day-border-radius: 0;
    --hx-calendar-day-selected-background: var(--ck-orange);
    --hx-calendar-day-today-background: transparent;
    --hx-calendar-day-today-color: var(--ck-orange);
}

.hx-calendar-navigation .form-select-sm {
    font-size: .75rem;
}



.table-bordered thead tr:first-of-type {
    background-color: var(--ck-background-light);
}

.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: var(--ck-background-light);
}

.contactdetailtype-picker {
    max-width: 180px;
}

.input-group .btn {
    --bs-btn-border-radius: 0.25rem;
}

.hx-multi-select .dropdown-menu {
    position: fixed !important;
    min-width: fit-content !important;
}

.employeeidentifier-search {
    height: 58px;
    border-radius: 0;
}

    .employeeidentifier-search ~ .autocomplete-list {
        position: fixed !important;
        width: auto !important;
    }

.search ~ .autocomplete-list {
    position: fixed !important;
    width: auto !important;
}

.hx-autosuggest-input-wrapper .dropdown-menu {
    position: fixed !important;
    min-width: fit-content !important;
}

.fontawesome-font {
    font-family: var(--bs-font-sans-serif), 'FontAwesome';
}

.w-fit-content {
    width: fit-content !important;
}

.h-fit-content {
    height: fit-content !important;
}

.w-unset {
    width: unset !important;
}

.hx-grid-sorted .hx-grid-sort-icon {
    color: var(--ck-orange) !important;
}

.info-icon {
    color: var(--ck-lightgrey)
}

.info-icon:hover {
    color: black;
    cursor: pointer;
}

.ms-0-75{
    margin-left: 0.75rem;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--ck-orange);
}

.active > .page-link, .page-link.active {
    background-color: var(--ck-orange);
    border-color: var(--ck-lightgrey);
}

.page-link {
    color: var(--ck-lightgrey);
}

.page-link:hover {
    color: var(--ck-orange);
}

.active .page-link:hover {
    color: var(--ck-lightgrey);
}

.sticky-header thead {
    position: sticky;
    top: 0;
    background: white;
    z-index: 5;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.badge-light {
    --bs-bg-opacity: 1;
    --bs-text-opacity: 1;
    color: #6c757d !important;
    font-size: 1rem !important;
    padding: .5rem !important;
    margin: .25rem !important;
    background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity)) !important;
}

.non-scroll-flex, .hx-progress-overlay {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.inner-shadow {
    box-shadow: inset rgba(0,0,0,.075) 0px 0px 10px 0px;
}

.hx-grid .hx-context-menu .dropdown-menu, .hx-form-group .hx-checkbox-dropdownlist .dropdown-menu {
    position: fixed !important;
    width: auto !important;
}

.form-switch {
    margin-bottom: 0;
}

.hx-pager {
    margin-top: 1rem;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-text {
    cursor: text;
}

.MicrosoftMap .as_container_search {
    position: fixed!important;
}

#searchBox {
    box-sizing: border-box!important;
}

.contract-item-inactive {
    color: var(--ck-lightgrey);
    font-style: italic;
}

.nav-item-icon {
    width: 58px;
    font-size: x-large;
    display: flex;
    justify-content: center;
    align-self: center;
}

.sidebar-small .nav-item-icon{
    width: unset;
}

.nav-item-icon-svg {
    width: 28px;
    height: 28px;
}

.nav-link.disabled, .nav-link.disabled {
    opacity: 0.4;
}

.text-justify {
    text-align: justify!important;
}

@media (max-width: 500px) {
    .nav-pane {
        min-height: 55px;
        overflow: auto;
    }

    .nav-pane .nav {
        width: max-content;
    }

    .device-list-export-btn {
        display: none;
    }
}




.installation-search {
    min-width: 100px;
}

.form-floating > .hx-multi-select > .input-group .form-select {
    padding-top: 1.625rem;
    padding-bottom: .625rem;
}

.form-floating > .hx-multi-select > .input-group .form-select {
    height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
    line-height: 1.25;
}

.form-floating > .hx-multi-select > .input-group .form-select ~ label {
    color: rgba(var(--bs-body-color-rgb),.65);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.form-floating > .hx-multi-select > .input-group label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    padding: 1rem .75rem;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: var(--bs-border-width) solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
}

.filter-dropdown {
    min-width: 140px;
}

.btn-outline-secondary {
    --bs-btn-border-color: rgb(222, 226, 230);    
}

    .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
        --bs-btn-disabled-border-color: rgb(222, 226, 230);
    }

.btn-outline-danger {
    --bs-btn-border-color: var(--bs-danger-border-subtle);
}

.card .hx-pager {
    margin-left: 15px;
}

.fs-7  {
    font-size: .85rem!important;
}

.fs-8 {
    font-size: .75rem !important;
}

.flex-1 {
    flex: 1;
}

a.text-muted:hover {
    color: var(--ck-orange) !important;
}

.deleted {
    text-decoration-line: line-through;
    color: lightgrey !important;
}

.ignored {
    color: lightgrey !important;
}

.mx-minus-1px {
    margin-left: -1px;
    margin-right: -1px;
}

.menu-card {
    color: var(--ck-text);
    width: 230px;
    height: 230px;
}

.menu-card .nav-item-icon-svg {
    width: 64px;
    height: 64px;
}

.menu-card .nav-item-icon {
    font-size: 64px;
}

    .menu-card:hover {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    }


.no-scroll-y {
    overflow-y: visible!important;
}

.replacement-tag-card-body {
    max-height: 350px;
    overflow-y: auto;
}

.no-scroll-y {
    overflow-y: visible!important;
}

.replacement-tag-card-body {
    max-height: 350px;
    overflow-y: auto;
}

.timerecording-details-pane {
    box-shadow: 0 -0.125rem 0.25rem rgba(0,0,0,.075) !important;
}

.icon-button {
    color: var(--ck-text) !important;
}

    .icon-button:hover {
        color: black !important;
    }

.working-time-account-table {
    height: calc(100vh - 7rem - 93px);
    overflow: auto;
}

.working-time-account-table > .card:not(:first-child) {
    margin-top: 1rem;
}

.table-group-divider-light {
    border-top: calc(var(--bs-border-width)* 2) solid rgb(222, 226, 230);
}

.text-card-header {
    color: var(--bs-card-cap-color);
}

.type-selection-column {
    min-width: 220px;
}

#selectable, #nonselectable {
    flex-grow:1;
}

.settings-card {
    min-width: 350px;
}

.settings-card .card-body{
    height: 400px;
}

.settings-header {
    min-height: 55px;
    min-width: 730px;
}

.timeline-container {
    border-right: var(--bs-card-border-width) solid var(--bs-card-border-color);
    display: flex;
    flex-direction: column;
}

.timeline-menu {
    text-align: center;
    background-color: var(--bs-card-cap-bg);
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--ck-border) !important;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    height: 55px;
}

    .surchargetype-menu.timeline-menu {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding-bottom: 0 !important;
    }

.timeline {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    overflow-y: auto;
    min-width: 175px;
}
    .timeline .timeline-item {
        margin: 0;
    }

.surcharge-type-selection {
    height: 75px;
    padding: .5rem !important;
    background-color: var(--bs-card-cap-bg);
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--ck-border) !important;
}

.timeline-item {
    color: var(--bs-secondary-color);
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    padding: .25rem .5rem;
    margin-top: .25rem;
    margin-bottom: .25rem;
    margin-right: 0;
    margin-left: 0;
    box-shadow: var(--bs-box-shadow-sm);
    cursor: pointer;
}

.org-structure-container {
    display: flex;
    flex-direction: column;
    
}

.org-structure-item {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem !important;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    padding: 5px 10px;

}

    .org-structure-item.org-category {
        background-color: var(--ck-toprow-bg);
    }

.org-sturcture-subitems {
        border-left: 4px solid var(--ck-background-dark);
}

.org-structure-item > i {
    width: 20px;
    text-align: center;
}



    .nav-link.active .timeline-item {
        border-color: #FF944E !important;
        box-shadow: 0 0.125rem 0.25rem rgba(255,148,78, 0.25) !important;
    }

    .timeline-item.current-period {
        border-color: darkgreen;
        box-shadow: 0 0.125rem 0.25rem rgba(1,50,32, 0.25);
    }

.ticket-solution {
    border-color: darkgreen;
    box-shadow: 0 0.125rem 0.25rem rgba(1,50,32, 0.25);
}

.timeline-connector {
    border-top: 1px solid var(--ck-border);
    min-width: 10px;
}

.timeline-connector-vertical {
    border-right: 2px solid var(--ck-border);
    min-height: 10px;
    width:1px;
}

.w-110px{
    width: 110px;
}

.w-465px {
    width: 465px;
}

.min-width-fit-content {
    min-width: fit-content !important;
}

.max-width-fit-content {
    max-width: fit-content !important;
}

.table > :not(caption) > * > * {
    background-color: unset;
}


.comment-container .ql-container {
    height: 200px;
}

.ql-container {
    height: 500px;
    resize: vertical;
    overflow: auto;
}

.type-color-indicator{
    height: 20px;
    width: 10px;
}

.type-icon {
    width: 40px;
    align-self: stretch;
    background-color: #FF944E;
    text-align: center;
    margin-right: 10px;
    padding: .5rem !important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.type-card {
    height: 42px;
    border-radius: 5px;
    width: 380px;
}

.form-select:disabled, .form-control:disabled {
    color: rgba(33, 37, 41,0.5);
}

.form-select:focus, .form-control:focus {
    border-color: #FF944E;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(255, 148, 78, 0.25);
}

.customer-types #types {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    overflow-y:auto;
    margin-top: 16px;
}

.month-overview-table{
    border-collapse: separate;
    border-spacing: 0;
}

.month-overview-table td:nth-child(1),
.month-overview-table th:nth-child(1) {
    position: sticky;
    left: 0; /* Ensures the column stays on the left */
    z-index: 5; /* Keeps the column above other cells */
}

.month-overview-table thead {   
    position: sticky;
    top: 0; /* Makes the header stick to the top */
    z-index: 6; /* Keeps the header above the table body */
}

    .month-overview-table th,
    .month-overview-table td {
        border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
        border-left: 0;
        border-top: 0;
    }

.month-overview-row {
    --row-height: 40px;
    height: var(--row-height);
    min-height: var(--row-height);
    max-height: var(--row-height);
    font-size: smaller;
}

.month-overview-day {
    --row-width: 40px;
    width: var(--row-width);
    min-width: var(--row-width);
    max-width: var(--row-width);
    font-size: small;
}

    .month-overview-day:hover {        
        box-shadow: inset rgba(0,0,0,.075) 0px 0px 10px 0px;
    }

.month-overview-current-day {
    border-bottom: var(--ck-orange) !important;
    border-bottom-width: 4px !important;
    border-bottom-style: solid !important;
    margin:-2px;
}

.month-overview-orgstructure {
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.has-bookings-indicator {
    background: linear-gradient(225deg, lightgrey 0%, lightgrey 15%, transparent 15%, transparent 100%);
    width: 40px;
    height: 40px;
    margin-top: -2px;
    margin-left: -2px;
}

    .has-bookings-indicator.month-overview-legend-color {
        width: 40px;
        height: 40px;
    }

    .has-bookings-indicator.has-open-bookings {
        background: linear-gradient(225deg, var(--bs-yellow) 0%, var(--bs-yellow) 15%, transparent 15%, transparent 100%);
    }

.month-overview-legend-color {
    width: 40px;
    height: 40px;
}

.margin-minus-1px{
    margin: -1px;
}

.margin-right-minus-1px{
    margin-right: -1px;
}

.ck-background-light {
    background-color: var(--ck-background-light);
}

.load-month-button {
    cursor: pointer;
    background-color: var(--ck-background-light);
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-backdrop {
    --bs-backdrop-zindex: 1044;
}

.input-date {
    width: 50px !important;
}

.rounded-right {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 0px !important;
}

.rounded-left {
    border-top-left-radius: 4px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 4px !important;
}

.size-to-content {
    field-sizing: content;
}

.min-width-180px {
    min-width: 180px;
}

.min-width-80px {
    min-width: 80px;
}

.hx-offcanvas-lg {
    width: 700px !important;
}

tr .hx-context-menu {
    opacity: 1 !important;
}

.bootstrap-select .dropdown-menu {
    position: fixed;
    min-width: fit-content;
}

.ck-select {
    font-size: 1rem;
    font-weight: 400;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    padding: .375rem 2.25rem .375rem .75rem;
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.is-invalid .ck-select {
    border-color: var(--bs-form-invalid-border-color);
    padding-right: calc(1.5em + .75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}


.ck-select-label {
    color: rgba(var(--bs-body-color-rgb), .65);
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    font-size: 0.85rem;
    margin-top: 1px;
}

.ck-select-text {
    margin-top: -3px;
    margin-bottom: 1.5px;
}

.ck-select, .ck-select-menu {
    min-width: 120px;
    width: fit-content
}

    .ck-select:focus {
        border-color: #FF944E;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(255, 148, 78, 0.25);
    }

.ck-select-menu-item {
    padding: 5px 10px;
    user-select: none;
}

.ck-select-menu-item:hover {
    background-color: var(--ck-background-dark);
}

.ck-select-menu li.selected {
    background-color: var(--ck-orange) !important;
    color: white;
}

.monthdetails-day-header {
    background-color: var(--ck-background-light);
    height: 40px;
}

.monthdetails-footer {
    font-weight: bold;
    height: 48px;
}

    .monthdetails-header {
        height: 40px;
    }

.monthdetails-table td, .monthdetails-table th {
    padding: 0 5px;
}

@media (min-width: 1200px){
    .modal-xl.modal-xxl {
        --bs-modal-width: 1500px;
    }
}

.w-400px{
    width: 400px;
}

.w-358px{
    width: 358px;
}

.textarea-h-min{
    min-height: 100px !important;
}