﻿.app-vacation-map {
    min-width: 0;
}

.app-vacation-map-scroll {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid var(--app-border);
    border-radius: .625rem;
}

.app-vacation-map-scroll:focus-visible {
    outline: 3px solid var(--app-primary);
    outline-offset: 2px;
}

.app-vacation-map-canvas {
    min-width: 960px;
}

.app-vacation-map .e-schedule {
    font-family: inherit;
    color: var(--app-text);
    border: 0;
}

.app-vacation-map .e-schedule .e-header-cells {
    background: var(--app-primary-soft);
}

.app-vacation-map .e-schedule .e-resource-cells {
    min-width: 200px;
}

.app-vacation-resource {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
}

.app-vacation-map .e-schedule .e-appointment {
    border-radius: .3rem;
    cursor: pointer;
}

.app-vacation-map .e-schedule .app-vacation-current {
    background: var(--calendar-vacation) !important;
    border-color: var(--calendar-vacation) !important;
    color: var(--calendar-vacation-on) !important;
}

.app-vacation-map .e-schedule .app-vacation-added {
    background: var(--app-success) !important;
    border-color: var(--app-success-hover) !important;
    color: var(--app-on-primary) !important;
}

.app-vacation-map .e-schedule .app-vacation-removed {
    background: var(--app-danger-soft) !important;
    border: 1px dashed var(--app-danger) !important;
    color: var(--app-danger-hover) !important;
    text-decoration: line-through;
}

.app-vacation-bar {
    padding: 0 .35rem;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}

.app-vacation-key {
    display: inline-block;
    width: .75rem;
    height: .75rem;
    border-radius: .2rem;
    margin-right: .35rem;
}

.app-vacation-key-current {
    background: var(--calendar-vacation);
}

.app-vacation-key-added {
    background: var(--app-success);
}

.app-vacation-key-removed {
    background: var(--app-danger-soft);
    border: 1px dashed var(--app-danger);
}

.app-vacation-search {
    max-width: 25rem;
}

.app-vacation-month {
    text-transform: capitalize;
    font-weight: 600;
}

.app-vacation-map .e-timeline-year-view .e-work-cells, .app-vacation-map .e-timeline-year-view .e-header-cells {
    width: 70px !important;
    min-width: 70px !important;
}

.app-vacation-map .e-timeline-year-view .e-content-wrap table, .app-vacation-map .e-timeline-year-view .e-date-header-wrap table {
    width: 100% !important;
    min-width: 840px !important;
}

.app-vacation-map .e-timeline-year-view .e-date-header-wrap col, .app-vacation-map .e-timeline-year-view .e-content-wrap col {
    width: 70px !important;
}

.app-vacation-map .e-timeline-month-view .app-vacation-weekend {
    background: var(--app-neutral-soft);
}

.app-vacation-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.4;
}

.app-vacation-date small {
    font-size: .65rem;
    text-transform: capitalize;
}

.app-vacation-date strong {
    font-size: .8rem;
}

.app-personal-vacation-year {
    width: 100%;
    min-width: 0;
}

.app-personal-vacation-year .e-schedule {
    border: 0;
    font-family: inherit;
}

.app-personal-vacation-year .e-year-view .e-calendar-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
    gap: 1rem;
    width: 100%;
    padding: 0;
}

.app-personal-vacation-year .e-year-view .e-calendar-wrapper .e-month-calendar.e-calendar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    border: 1px solid var(--app-border);
    border-radius: .625rem;
}

.app-personal-vacation-year .e-calendar .e-title {
    text-transform: capitalize;
    font-weight: 600;
}

.app-personal-vacation-year .e-calendar .e-prev, .app-personal-vacation-year .e-calendar .e-next {
    display: none;
}

.app-personal-vacation-year .app-personal-vacation-day .e-day {
    background: var(--calendar-vacation) !important;
    color: var(--calendar-vacation-on) !important;
    box-shadow: none;
    font-weight: 700;
}

.app-personal-vacation-year .app-personal-vacation-day .e-appointment-indicator {
    display: none;
}

.app-personal-vacation-year .e-other-month.app-personal-vacation-day .e-day {
    background: transparent !important;
    color: var(--app-disabled-text) !important;
    box-shadow: none !important;
    font-weight: 400;
}

.app-personal-vacation-year[aria-busy="true"] {
    pointer-events: none;
}

.app-vacation-map .e-schedule .app-vacation-added {
    border-style: dashed !important;
    border-width: 2px !important;
}

.app-vacation-key-added {
    border: 2px dashed var(--app-success-active);
}

.app-personal-vacation-year .e-calendar .e-content td.e-selected:not(.app-personal-vacation-day) .e-day {
    background: transparent;
    color: var(--app-text);
}
