.schedule-view {
    border: 1px solid var(--gray-dark);
    margin: 16px 0;
    border-radius: 5px;
    overflow: hidden;
}

/* Header (tabs) */
.schedule-view > header {
    padding: 10px;
    border-bottom: 1px solid #bbb;
}

.schedule-view-days {
    margin: 0 auto;
    background: #e0e0e0;
    padding: 5px;
    border-radius: 8px;
    max-width: 300px;
}

.schedule-view-days > div {
    position: relative;
    display: flex;
}

.schedule-view-days button {
    position: relative;
    flex: 1;
    height: 40px;
    background: transparent;
    border: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

.schedule-view-days button:active {
    color: inherit;
}

.schedule-view-days button.active {
    font-weight: bold;
}

.schedule-view-days-active-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: .15s ease-in-out transform;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .15);
}

/* Content */
.schedule-view-locations {
    display: flex;
}

.schedule-view-locations-content {
    position: relative;
    flex: 1;
    background: #eeeeee;
    padding-top: 60px;
    padding-bottom: 30px;
    overflow-x: auto;
}

.schedule-view-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.schedule-view-locations-names {
    border-right: 1px solid #bbb;
}

.schedule-view-column-legend {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-text);
    height: 60px;
}

.schedule-view-locations-names span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Labels */
.schedule-view-hour-label {
    position: absolute;
    top: 8px;
    display: inline-block;
    padding: 0 10px;
    font-size: 16px;
    font-weight: bold;
    z-index: 5;
}

.schedule-view-hour-label.bottom {
    top: auto;
    bottom: 8px;
}

.schedule-view-hour-separator {
    position: absolute;
    top: 0;
    left: 50px;
    height: 100%;
    border: 0;
    border-left: 1px solid rgba(0, 0, 0, .2);
}

.schedule-view-event {
    border: 2px solid var(--gray-dark);
    position: absolute;
    height: 100%;
    top: 0;
    background: white;
    padding: 8px;
    border-radius: 4px;
    color: #333;
}

a.schedule-view-event:hover {
    color: inherit;
    background-color: #f0f0f0;
    text-decoration: none;
}

.schedule-view-event h6 {
    font-weight: bold;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-view-event p {
    font-size: 16px;
    color: #666;
}

.schedule-view-event-content {
    display: inline-block;
    position: sticky;
    left: 10px;
}

/* Current time */
.schedule-view-current-time-label {
    color: var(--primary-orange);
    top: 32px;
}

.schedule-view-current-time-separator {
    border-color: var(--primary-orange);
    border-width: 3px;
}
