﻿dxbl-loading-panel .dxbl-loading-panel-target-content:has(div.component-not-found) {
    display: flex;
    flex-direction: column;
}

.monthly-schedule {
    font-family: Arial, sans-serif;
}

    .monthly-schedule table {
        width: 100%;
        border-collapse: collapse;
    }



    .monthly-schedule td {
        border: 1px solid #ccc;
        /*padding: 8px;*/
        text-align: center;
        background-color: white;
        width: 5%;
        vertical-align: top;
    }

.IconOnShift {
    color: black;
    margin-right: 12px;
    font-size: 15px;
}

.circlemorning {
    background: #b3e6ff;
    border-radius: 50%;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
}

.circleAfternoon {
    background: #ffcc99;
    border-radius: 50%;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
}

.monthly-schedule th {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    color: white;
    background-color: var(--primary);
    width: 5%;
}

/*.monthly-schedule .date {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 5px;
    background-color: var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    line-height: 50px;*/ /* Adjust to match the height of the circle */
/*text-align: center;*/ /* Center the text horizontally */
/*}*/

.monthly-schedule .date {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 5px;
    background-color: var(--primary);
    /* border-radius: 50%; */
    width: 100%;
    height: 20px;
    color: white;
    /* line-height: 50px; */
    /* text-align: center; */
}


.monthly-schedule .morning {
    background-color: #b3e6ff; /* Light Blue */
}

.monthly-schedule .afternoon {
    background-color: #ffcc99; /* Light Orange */
}

.leave-popup-element {
    max-width: 300px;
    position: absolute !important;
}

.leaves-calendar-header, .component-leaves-calendar-header {
    overflow-x: scroll;
}

    .leaves-calendar-header::-webkit-scrollbar,
    .component-leaves-calendar-header::-webkit-scrollbar,
    .leaves-calendar-body::-webkit-scrollbar {
        width: 0 !important;
        background: transparent !important;
    }

.calendar-days-wrapper > .d-flex.flex-column{
    height:fit-content;
}

#btnSetActivation:disabled {
    pointer-events: auto;
}

.calendar-header-days {
    min-width: unset;
    max-height: 33px;
    overflow-x: unset;
    position: sticky;
    top: 0;
    left: 0;
    background: white;
    z-index: 999;
    border-bottom: 2px solid var(--bs-gray-500);
    padding-right: 0;
    padding: 0;
}

body:has(.notification-tray-block-show) .calendar-header-days {
    z-index: 2 !important;
}

.leaves-calendar-body {
    position: sticky;
    width: 240px !important;
    min-width: 240px;
    min-height: 600px;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: scroll;
    display: block !important;
}

.dashboard-widget-container .leaves-calendar-body{
    /*min-height:240px;*/
    max-height: unset;
}

.dashboard-widget-container .leaves-calendar-body .calendar-top-row-first-row{
    height:26px;
    min-height:26px;

}

.single-component-in-dashboard{
    height:100%;
    max-height:100%;
}
.single-component-in-dashboard .component-leaves-calendar{
    min-height: 700px;
    max-height: 700px;
    height: 700px;
}

.single-component-in-dashboard .leaves-calendar-main > div{
    max-height:590px;
}

.calendar-person-row-days {
    min-height: 41px;
    max-height: 41px;
}

.calendar-day-on-leave span {
    top: 10px;
}

.day-is-holiday span {
    top: 7px;
}

.calendar-top-row-first-row {
    height: 27px;
    min-height: 27px;
    width: 240px;
    position: sticky;
    top: 2px;
    left: 0;
    z-index: 9999;
}


.calendar-days-wrapper {
    display: flex;
    overflow-x: auto;
}

.leaves-calendar-main {
    /*    overflow-y:scroll;
    max-height:600px;

    outline:var(--bs-gray-500) 1px solid;
    border-radius:5px;*/
}

    .leaves-calendar-main > div {
        max-height: 600px;
        outline: var(--bs-gray-500) 1px solid;
        border-radius: 5px;
    }

.calendar-half-size .calendar-header-days {
    min-width: auto;
}

.calendar-half-size .calendar-person-row-days {
    min-width: auto;
}

.calendar-header-month > div {
    height: 31px;
    max-height: 31px;
    background: white;
}

.calendar-top-row-first-row:first-of-type {
    border-bottom: none !important;
    margin-top: 2px;
    top: 0;
}

.calendar-body-row {
    border-bottom: 2px solid var(--bs-gray-500);
    border-right: 2px solid var(--bs-gray-500);
    width: 100%;
}

    .calendar-body-row:not(:last-of-type) {
        min-width: -webkit-fill-available;
    }

.calendar-header-month .month-shown {
    max-width: 47px;
    min-width: 47px;
    overflow-x: visible;
}

.calendar-header-month {
    background: white;
    max-height: 31px;
}



#leave-printable-area-test{
	width:100% !important;
}

@media print{
#app:has(#leave-printable-area-test) > div.page{
	display:none !important;
}

}