﻿@media print {
    .noprint {
        display: none;
    }

    @page {
        width: fit-content;
        margin: 10mm 10mm 10mm 10mm;
        size: A4 landscape;
    }

    .mud-drawer-open-mini-md-left .mud-main-content {
        margin-left: 0px !important;
    }
}

::-webkit-scrollbar {
    height: 8px !important;
}

::-webkit-scrollbar-thumb {
    background: #3F8B8F !important;
}

.mud-table-hover .mud-table-body .mud-table-row:hover {
    cursor: pointer;
}

.AddJobDialogPadding {
    padding-top: 0px !important;
}

.mud-tab {
    text-transform: none !important;
}

.mud-tab {
    max-height: 50vh !important;
}

.mud-dialog .mud-dialog-content {
    overflow: scroll;
    max-height: 80vh !important;
}

html {
    --mainlayout-height: calc(100vh - var(--mud-appbar-height) - 24px);
    --mainlayout-height-inside: calc(var(--mainlayout-height) - 8px);
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.OutsideOfficeHours {
    background-color: lightgray;
}

.InOfficeHours {
    background-color: white;
}

.Job {
    color: white;
    font-size: x-small;
    position: absolute;
}

.TipTitle {
    text-align: center;
    font-size: 12px;
}

.TipValue {
    text-align: center;
    font-size: 10px;
}

.schedulerRows {
    border-right: 1px solid #dfe7eb;
    border-bottom: 1px solid #dfe7eb;
    min-width: 175px;
    min-height: 40px;
    background: white;
    padding: 1px 0px 1px 0px;
    margin: 0;
}

.schedulerHeaders {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    background: white;
    border-right: 1px solid #dfe7eb;
    border-bottom: 1px solid #dfe7eb;
    min-width: 175px;
    font-weight: normal;
    padding: 0;
    margin: 0;
    height: 25px;
}

.firstCol > :first-child {
    position: -webkit-sticky;
    position: sticky;
    background: white;
    left: 0;
    border-right: 1px solid #dfe7eb;
    border-bottom: 1px solid #dfe7eb;
    text-align: right;
    min-width: 60px;
    width: 60px;
    z-index: 23;
    font-size: small;
    padding: 0 5px 0 0;
    margin: 0;
}

.DropZone {
    width: 165px;
    min-width: 165px;
    min-height: 40px;
    z-index: 1;
    padding: 0;
    margin: 0;
}

.DropZoneW {
    width: 200px;
    min-width: 200px;
    min-height: 40px;
    z-index: 1;
    padding: 0;
    margin: 0;
}

.DropZoneO {
    width: 180px;
    min-width: 180px;
    min-height: 40px;
    z-index: 1;
    padding: 0;
    margin: 0;
}

.PickZone {
    width: 180px;
    min-width: 180px;
    z-index: 1;
    padding: 0;
    margin: 0;
}

.SelectionBox {
    padding: 20px 30px 20px 20px;
}

.custom-height .mud-input > input.mud-input-root-outlined, .custom-height div.mud-input-slot.mud-input-root-outlined {
    padding: 10px !important;
}

.custom-height .mud-input-control {
    margin-top: 3px !important;
}

.layout-custom-height {
    background-color: white;
    border-radius: 5px;
}

    .layout-custom-height .mud-input > input.mud-input-root-outlined, .layout-custom-height div.mud-input-slot.mud-input-root-outlined {
        padding: 10px !important;
    }

    .layout-custom-height .mud-input-control {
        margin-top: 3px !important;
    }

.mud-drop-item:not(.mud-drop-item-preview-start) {
    transform: none !important;
}

/* Reset all margins and padding for the entire text field hierarchy */
.no-margin-field,
.no-margin-field * {
    margin: 0 !important;
}

    .no-margin-field.mud-input-control-margin-dense,
    .no-margin-field .mud-input-control,
    .no-margin-field .mud-input,
    .no-margin-field .mud-input-root,
    .no-margin-field .mud-input-slot {
        margin: 0 !important;
    }

    .no-margin-field input,
    .no-margin-field div,
    .no-margin-field label {
        margin: 0 !important;
    }

.margin-left-12px {
    margin-left: 12px;
}

.min-width-200px {
    min-width: 200px;
}

.margin-top-8px {
    margin-top: 8px;
}

.margin-top-0px {
    margin-top: 0px;
}

.padding-left-32px {
    padding-left: 32px !important;
}

.margin-4px,
.margin-4px * {
    margin: 4px !important;
}

    .margin-4px.mud-input-control-margin-dense,
    .margin-4px .mud-input-control,
    .margin-4px .mud-input,
    .margin-4px .mud-button-root,
    .margin-4px .mud-icon-button,
    .margin-4px .mud-input-root,
    .margin-4px .mud-input-slot {
        margin: 4px !important;
    }

/*Azure Maps Styling*/
.AzureMapContainer {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

#mapOverlayContainer {
    position: absolute;
    box-sizing: border-box;
    top: 0px;
    padding: 0px;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: end;
    pointer-events: none;
}

.legend {
    position: relative;
    bottom: 5px;
    left: 5px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 5px;
    pointer-events: all;
}