@media screen and (min-width: 968px) {
    .table-schedule {
        table-layout: fixed;
    }
}

.table-schedule th {
    padding: 15px 0 !important;
    text-align: center !important;
    color: #800020;
}

.table-schedule td:not(:first-child) {
    padding: 0;
    position: relative;
}

.table-schedule tbody td:first-child:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.table-schedule .time-cell {
    width: 120px;
    white-space: nowrap;
    text-align: center;
    padding: 15px 0;
}

.table-schedule .event-title {
    display: block;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    padding: 5px;
    margin: 0;
    font-size: 14px;
    line-height: 17px
}

.table-schedule .empty-event {
    background-color: transparent;
}

.table-schedule .occupied-event {
    padding: 0;
    border: none;
}

.table-schedule .event-box {
    background-color: rgba(245, 233, 214, .3);
    border: 2px solid #d4c1a3;
    border-radius: 6px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 3px;
}

.table-schedule .empty-box {
    border: 2px solid #f0f0f0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 3px;
    box-sizing: border-box;
}

.uk-button-schedule {
    line-height: normal;
    text-decoration: underline;
    font-size: 13px;
}

@media (max-width: 968px) {
    .table-schedule tbody td:first-child,
    .table-schedule thead th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
        background: #fff;
        padding-left: 3px;
        padding-right: 3px;
    }

    .table-schedule thead th:first-child {
        background-color: #f8f9fa;
        z-index: 3;
    }

    .table-schedule tbody td:not(:first-child) {
        min-width: 150px;
    }
}