﻿

@media print {
    body {
    }

        body:has(#school-timeline) {
            zoom: 60%;
        }

    .school-dropdown-popover {
    }

    .school .dx-popup-content {
        padding: 0px !important;
        border-radius: 5px;
    }

    .school-title {
        color: white;
        padding-left: 8px;
    }

        .school-title h3 {
            padding-bottom: 3px;
        }


    .future-school {
        background-color: cornflowerblue;
    }

    .past-school {
        background-color: forestgreen;
    }

    .holiday-title {
        background-color: darkorange;
        color: white;
        padding-left: 8px;
    }

        .holiday-title h3 {
            padding-bottom: 3px;
        }

    :root {
        --school-color: white;
    }

    #school-timeline .dx-popover-arrow::after {
        background-color: var(--school-color) !important;
        border: none;
    }

    #school-timeline .dx-overlay-content {
        border: none;
    }

    #school-timeline .dx-popup-content {
        border-style: solid;
        border-width: 2px;
        border-color: var(--school-color);
    }

    .school-text-segment {
        margin-bottom: 15px;
    }

    .school-title-text {
        font-weight: bold;
    }

    .school .md-work-week-cont {
        position: relative;
        padding-left: 50px;
    }

    .school .md-work-week-avatar {
        position: absolute;
        max-height: 50px;
        max-width: 50px;
        top: 21px;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        left: 20px;
    }

    .school .md-work-week-name {
        font-size: 16px;
    }

    .school .md-work-week-title {
        font-size: 12px;
        margin-top: 5px;
    }

    .school .md-switching-timeline-view-cont .mbsc-segmented {
        max-width: 350px;
        margin: 0 auto;
        padding: 1px;
    }

    .school .radio-button-picker {
        display: flex;
        justify-content: center;
    }

        .school .radio-button-picker .md-picker-container {
            display: flex;
            flex-direction: row;
            border-radius: 9999px;
            background-color: lightgray;
            width: 250px;
            justify-content: space-around;
            align-content: center;
            flex-wrap: wrap;
        }

        .school .radio-button-picker label {
            margin: 0px 0px;
            border-radius: 9999px;
            padding: 2px 5px;
            background-color: inherit;
            color: black;
            margin: 2px;
            flex: 1 0;
            display: flex;
            justify-content: center;
            transition: background-color 200ms ease-in-out;
        }

            .school .radio-button-picker label:has(input:checked) {
                background-color: white;
            }

    .school .md-switching-timeline-view-cont .mbsc-timeline-resource {
        display: flex;
        align-items: center;
    }

    .school .md-switching-timeline-view-cont .mbsc-timeline-resource-col {
        width: 205px;
    }

    @supports (overflow:clip) {
        .school .md-switching-timeline-view-cont.mbsc-ltr .mbsc-schedule-event-inner {
            left: 205px;
        }

        .school .md-switching-timeline-view-cont.mbsc-rtl .mbsc-schedule-event-inner {
            right: 205px;
        }
    }

    /* material header order */


    .school .mbsc-material .calendar-options {
        order: 1;
    }

    .school .mbsc-material .timeline-options {
        order: 2;
    }

    /* windows header order */



    .school .mbsc-windows .calendar-options {
        order: 1;
    }

    .school .mbsc-windows .timeline-options {
        order: 2;
    }



    .calendar-options {
        display: flex;
    }

    .timeline-options {
        display: flex;
        width: 650px;
        justify-content: space-around;
    }


    .school .mbsc-calendar-controls .md-calendar-print {
        border-radius: 999px;
        padding: 5px 15px;
        background-color: var(--base-theme-color);
        color: white;
    }

        .school .mbsc-calendar-controls .md-calendar-print:hover {
            background-color: var(--base-theme-color-lighter);
        }

    .school .picker-value {
        display: none;
    }

    .school .md-timeline-template .mbsc-schedule-event.mbsc-ltr {
        height: auto !important;
    }

    .school .md-timeline-template-event {
        border: 1px solid transparent;
        margin: 2px 0;
    }

    .school .md-timeline-template-event-cont {
        background: rgba(255, 255, 255, .8);
        font-size: 15px;
        height: 32px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

        .school .md-timeline-template-event-cont .mbsc-icon {
            padding: 5px;
            box-sizing: content-box;
        }

    .school .md-before-buffer,
    .school .mbsc-timeline-event-start .md-timeline-template-event,
    .school .mbsc-timeline-event-start .md-timeline-template-event-cont,
    .school .mbsc-timeline-event-start .md-timeline-template-event-cont .mbsc-icon {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .school .md-after-buffer,
    .school .mbsc-timeline-event-end .md-timeline-template-event,
    .school .mbsc-timeline-event-end .md-timeline-template-event-cont,
    .school .mbsc-timeline-event-end .md-timeline-template-event-cont .mbsc-icon {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .school .md-buffer {
        position: absolute;
        display: flex;
        width: 100%;
        font-size: 10px;
        top: 2px;
        bottom: 2px;
        left: 0;
        color: #fff;
        padding: 0 6px;
        line-height: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        opacity: .5;
        box-sizing: border-box;
        z-index: -1;
    }

    .school .md-buffer-tail {
        position: absolute;
        width: 14px;
        height: 100%;
        top: 0;
    }

    .school .md-before-buffer .md-buffer-tail {
        left: 100%;
    }

    .school .md-after-buffer .md-buffer-tail {
        right: 100%;
    }

    .school .md-buffer-time {
        font-weight: 600;
    }

    .school .md-timeline-template-event-cont .mbsc-icon:before {
        color: #fff;
        font-size: 18px;
    }

    .school .md-timeline-template-time {
        margin: 0 10px;
    }

    .school .md-timeline-template-title {
        color: #666;
    }

    .school .md-timeline-template .mbsc-timeline-column,
    .school .md-timeline-template .mbsc-timeline-header-column {
        min-width: 100px;
    }

    .school .md-timeline-template .mbsc-timeline-resource,
    .school .md-timeline-template .mbsc-timeline-row {
        min-height: 100px;
    }


    .school .mbsc-calendar-controls {
        justify-content: space-between;
    }

    .no-print {
        display: none;
    }

    .dx-popover-arrow::after {
        display: none;
    }
}
