﻿@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i");

body {
    height: 100%;
}

.bk-timetable-body {
    min-width: 37.5rem;
    overflow: hidden;
}

/* Nadpis "Rozvrh" zarovnán s obsahem rozvrhu místo výchozích 4 % (.bk-nadpis).
   margin = vnější px odsazení (jako .bk-content), padding = měnící se rem (jako mřížka px-*). */
#_timetableWrapper {
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 800px) {
    #_timetableWrapper {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 991.98px) {
    #_timetableWrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 767.98px) {
    #_timetableWrapper {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/** Main **/
.bk-timetable-main {
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: margin-left 0.5s;
}

    .bk-timetable-main .bk-timetable-time {
        position: relative;
        min-height: 1.25rem;
        overflow: hidden;
    }

.bk-timetable-time .bk-hour-wrapper .hour {
    color: #5c7986;
    line-height: calc(0.46875rem + 0.4vw);
    min-height: 1.125rem;
    text-align: center;
    padding: 0.1875rem;
    font-size: calc(0.46875rem + 0.4vw);
}

.bk-timetable-time .bk-hour-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-left: 0.0625rem solid;
    overflow: hidden;
}

.bk-timetable-main .bk-timetable-hours {
    position: relative;
}

.bk-timetable-hours .bk-hour-wrapper .num {
    font-size: calc(0.5625rem + 0.8vw);
    font-weight: 600;
    color: #354348;
    line-height: calc(0.5625rem + 0.8vw);
    min-height: calc(0.8125rem + 0.8vw);
    text-align: center;
    padding-top: 0.125rem;
}

.bk-timetable-hours .bk-hour-wrapper .hour {
    color: #566971;
    font-size: 0.6875rem;
    line-height: normal;
    min-height: calc(0.4375rem + 0.4vw);
    padding-top: 0.25rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: flex;
    justify-content: space-between;
}

    .bk-timetable-hours .bk-hour-wrapper .hour .left,
    .bk-timetable-hours .bk-hour-wrapper .hour .right {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bk-timetable-hours .bk-hour-wrapper .hour .left {
        flex: 1 0 auto;
        padding-right: 0.1875rem;
    }

    .bk-timetable-hours .bk-hour-wrapper .hour .right {
        flex: 0 1 auto;
    }

.bk-timetable-hours .bk-pause-wrapper .hour {
    color: #5c7986;
    line-height: calc(0.46875rem + 0.4vw);
    min-height: 1.125rem;
    text-align: center;
    padding: 0.1875rem;
    font-size: calc(0.46875rem + 0.4vw);
}

.bk-timetable-hours .bk-hour-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    min-width: 2.1875rem;
    padding-left: 0.1875rem;
    padding-right: 0.1875rem;
    border-left: 0.0625rem solid #c2ccd1;
    border-right: 0.0625rem solid #c2ccd1;
    background-color: #fff;
}

.bk-timetable-hours .bk-pause-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.bk-timetable-cell {
    display: flex;
}

.bk-cell-wrapper > div.bk-timetable-cell:last-child::after {
    width: 0rem;
}

.bk-timetable-cell.withGuards {
    top: 0;
}

.bk-timetable-cell .day-item-hover {
    cursor: pointer;
    flex-grow: 0.2;
    background-color: #f0f7fa;
    box-shadow: rgba(67, 83, 89, 0.2);
    cursor: pointer;
    box-shadow: 0 0.125rem 0.313rem 0 rgba(67, 83, 89, 0.2);
    border: 0.063rem solid #c2ccd1;
    border-radius: 0.313rem;
}

    .bk-timetable-cell .day-item-hover:hover {
        background-color: #e0edf2 !important;
    }

    .bk-timetable-cell .day-item-hover:not(.multi) .day-flex {
        min-height: 5.25rem;
    }

    .bk-timetable-cell .day-item-hover .day-flex {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .bk-timetable-cell .day-item-hover.hasAbsent {
        background-image: linear-gradient( to bottom right, transparent 0%, transparent 50%, rgba(194, 14, 26, 0.35) 50.9%, rgba(194, 14, 26, 0.45) 100% );
    }

.bk-timetable-cell .day-item {
    padding: 0.188rem 0 0.188rem 0;
    z-index: 3;
}

    .bk-timetable-cell .day-item .middle {
        font-size: 1.125rem;
        line-height: 0.813rem;
        color: #293438;
        text-align: center;
        white-space: nowrap;
        padding-bottom: 0.375rem;
    }

        .bk-timetable-cell .day-item .middle .teacher-name {
            font-size: 0.75rem;
        }

    .bk-timetable-cell .day-item .day-item-hover:not(.multi) .middle {
        padding: 0.563rem 0.5rem;
    }

    .bk-timetable-cell .day-item .multi .middle {
        padding-bottom: 0.125rem;
    }

    .bk-timetable-cell .day-item .multi .top {
        min-height: 1.125rem;
    }

    .bk-timetable-cell .day-item .bottom {
        width: 100%;
        font-size: 0.75rem;
        line-height: 0.688rem;
        text-align: center;
        height: 100%;
        max-height: 3.125rem;
        color: #566971;
        padding: 0.188rem;
        padding-top: 0;
    }

        .bk-timetable-cell .day-item .bottom .badges-wrapper {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 0.125rem;
            width: 100%;
        }

            .bk-timetable-cell .day-item .bottom .badges-wrapper.overlap {
                gap: 0;
            }

                .bk-timetable-cell .day-item .bottom .badges-wrapper.overlap .hour-badge {
                    margin-left: var(--badge-overlap, 0rem);
                }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:first-child {
                        margin-left: 0;
                    }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:nth-child(1) {
                        z-index: 1;
                    }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:nth-child(2) {
                        z-index: 2;
                    }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:nth-child(3) {
                        z-index: 3;
                    }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:nth-child(4) {
                        z-index: 4;
                    }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:nth-child(5) {
                        z-index: 5;
                    }

                    .bk-timetable-cell
                    .day-item
                    .bottom
                    .badges-wrapper.overlap
                    .hour-badge:nth-child(6) {
                        z-index: 6;
                    }

    .bk-timetable-cell .day-item .top {
        padding: 0.25rem 0.25rem 0 0.25rem;
    }

        .bk-timetable-cell .day-item .top .left {
            font-size: 0.688rem;
            line-height: 0.75rem;
            float: left;
            width: 52%;
            text-align: left;
            overflow: hidden;
            white-space: nowrap;
            display: none;
            color: #20292c;
        }

        .bk-timetable-cell .day-item .top .right {
            font-size: 0.8125rem;
            line-height: 0.8125rem;
            float: right;
            text-align: right;
            width: 48%;
            top: 0.0625rem;
            right: 0.25rem;
            letter-spacing: -0.05625rem;
            padding-right: 0.0625rem;
            display: none;
        }

            .bk-timetable-cell .day-item .top .right .first {
                min-height: 0.75rem;
                color: #20292c;
                font-size: 0.6875rem;
            }

    .bk-timetable-absence .hour-badge,
    .bk-timetable-cell .day-item .hour-badge,
    .bubble-value .plannedClassificationIco,
    .bubble-homeworks-wrapper .homeworkIco {
        width: 1rem;
        min-width: 1rem;
        height: 1rem;
        border-radius: 0.1875rem;
        font-size: 0.75rem;
        font-weight: 600;
        color: #fff;
        font-style: normal;
    }

    .bk-timetable-cell .day-item .hour-badge {
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 0.75rem;
    }

        .bk-timetable-cell .day-item .hour-badge.distanceTeachingIco {
            background-color: #0ea473;
        }

        .bk-timetable-cell .day-item .hour-badge.selfStudyIco {
            background-color: #a34bf7;
        }

        .bubble-homeworks-wrapper .homeworkIco,
        .bk-timetable-cell .day-item .hour-badge.homeworkIco {
            background-color: #f98a0b;
        }

        .bk-timetable-cell .day-item .hour-badge.plannedClassificationIco,
        .bubble-value .plannedClassificationIco {
            background-color: #605bf0;
        }

    .bk-timetable-cell .day-item .hasThemeIco {
        width: 16px;
        min-width: 16px;
        height: 16px;
        background-image: url("../../images/timetable/rozvrh-zapsanadotk.svg");
    }

    .bk-timetable-cell .day-item .hour-badge.absence {
        margin-left: auto;
    }

.bk-timetable-absence .hour-badge {
    position: absolute;
    bottom: 0.188rem;
    right: 0.188rem;
}

.line .bubble-value i.changeBadge {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    border-radius: 0.1875rem;
    font-style: normal;
    font-weight: normal;
}

    .line .bubble-value i.changeBadge.Substitution,
    .line .bubble-value i.changeBadge.Canceled,
    .line .bubble-value i.changeBadge.Removed,
    .line .bubble-value i.changeBadge.RoomChanged {
        background: #CB2424;
    }

    .line .bubble-value i.changeBadge.Added {
        background: #65A30D;
    }

.line .bubble-value i.absenceTypeIcon {
    display: table-cell;
    width: 20px;
    height: 16px;
    background-repeat: no-repeat;
}

.bk-timetable-absence .hour-badge._Absent,
.bk-timetable-cell .day-item .hour-badge.absence._Absent,
.line .bubble-value .Absent {
    background-image: url("../../images/classbook/attendance/absence.svg");
}

.bk-timetable-absence .hour-badge._AbsentOk,
.bk-timetable-cell .day-item .hour-badge.absence._AbsentOk,
.line .bubble-value .AbsentOk {
    background-image: url("../../images/classbook/attendance/omluvena.svg");
}

.bk-timetable-absence .hour-badge._AbsentMiss,
.bk-timetable-cell .day-item .hour-badge.absence._AbsentMiss,
.line .bubble-value .AbsentMiss {
    background-image: url("../../images/classbook/attendance/neomluvena.svg");
}

.bk-timetable-absence .hour-badge._AbsentLate,
.bk-timetable-cell .day-item .hour-badge.absence._AbsentLate,
.line .bubble-value .AbsentLate {
    background-image: url("../../images/classbook/attendance/prichod.svg");
}

.bk-timetable-absence .hour-badge._AbsentSchool,
.bk-timetable-cell .day-item .hour-badge.absence._AbsentSchool,
.line .bubble-value .AbsentSchool {
    background-image: url("../../images/classbook/attendance/nezapoctena.svg");
}

.bk-timetable-absence .hour-badge._AbsentSoon,
.bk-timetable-cell .day-item .hour-badge.absence._AbsentSoon,
.line .bubble-value .AbsentSoon {
    background-image: url("../../images/classbook/attendance/odchod.svg");
}

.bk-timetable-day {
    height: auto;
    font-size: calc(0.625rem + 0.5vw);
    color: #00a2e2;
    justify-content: center;
    flex-direction: column;
    display: flex;
    width: 2.5rem;
    margin-right: auto;
}

    .bk-timetable-day.day-name .bk-day-date {
        color: #566971;
        line-height: calc(0.5rem + 0.8vw);
        text-align: center;
        font-size: 0.6875rem;
        padding-top: 0.375rem;
    }

    .bk-timetable-day.day-name .bk-day-day {
        color: #354348;
        line-height: calc(0.5rem + 0.8vw);
        text-align: center;
        font-size: 0.875rem;
        font-weight: 600;
    }

        .bk-timetable-day.day-name .bk-day-day::first-letter {
            text-transform: uppercase;
        }

    .bk-timetable-day.day-name .bk-day-wrapper {
        border-radius: 0.375rem 0rem 0rem 0.375rem;
        height: calc(100% - 10%);
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

        .bk-timetable-day.day-name .bk-day-wrapper > div {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

.bk-timetable-cellRemoved {
    height: 100% !important;
}

/** Volný den **/
.day-item-volno {
    height: calc(100% - 0.625rem);
    width: calc(100% - 0.625rem);
    background-color: #fff;
    z-index: 2;
    position: absolute;
    margin: 0.313rem;
    border: 0.063rem dashed #8851f5;
    border-radius: 0.313rem;
}

    .day-item-volno .dayoff-badge {
        position: absolute;
        background-color: #8851f5;
        color: #fff;
        font-size: 0.75rem;
        line-height: 0.75rem;
        width: 0.688rem;
        height: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-top-right-radius: 0.1875rem;
        border-bottom-right-radius: 0.1875rem;
        left: 0;
        top: calc(50% - 0.5rem);
    }

    .day-item-volno .dayoff-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .day-item-volno:hover .dayoff-content {
        background-color: #8851f526;
    }

    .day-item-volno .dayoff-content > span {
        font-size: 0.75rem;
        color: #3d4c51;
        font-weight: 400;
    }

    .day-item-volno .dayoff-content .dayoff-name {
        font-size: 1.125rem;
        font-weight: 500;
    }

.day-item .empty {
    width: 100%;
    height: 100%;
    margin-top: 2.1875rem;
}

.bk-timetable-row {
    flex-grow: 1;
    position: relative;
    height: 100%;
    min-height: 6rem;
}

    .bk-timetable-row .bk-cell-wrapper {
        border-top: 0.0625rem solid #c2ccd1;
    }

.bk-cell-wrapper {
    position: relative;
    width: 100%;
}

.bk-system-baka {
    font-family: "Source Sans Pro";
    color: #758d96;
    font-size: 0.75rem;
    font-weight: 400;
}

.bk-validity {
    font-size: 0.6875rem;
    color: #bababa;
    line-height: 1.75rem;
}

/** Change **/

.bk-timetable-cell .day-item-hover.hasChange {
    border: 2px solid #cb2424;
    background-color: #fff !important;
}

    .bk-timetable-cell .day-item-hover.hasChange:hover .day-flex {
        background-color: #cb242426 !important;
    }

.bk-timetable-cell .day-item-hover .change-badge {
    position: absolute;
    background-color: #cb2424;
    color: #fff;
    font-size: 0.75rem;
    line-height: 0.75rem;
    width: 0.688rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 0.1875rem;
    border-bottom-right-radius: 0.1875rem;
    left: 0;
    top: calc(50% - 0.5rem);
    padding-right: 2px;
}

    .bk-timetable-cell .day-item-hover .change-badge.released-badge {
        background-color: var(--color-grey-400);
    }

.bk-timetable-cell .day-item-hover.new {
    border: 2px solid #65a30d;
    background-color: #fff !important;
}

    .bk-timetable-cell .day-item-hover.new:hover .day-flex {
        background-color: #65a30d26 !important;
    }

.bk-timetable-cell .day-item-hover .newHour-badge {
    position: absolute;
    background-color: #65a30d;
    color: #fff;
    font-size: 0.75rem;
    line-height: 0.75rem;
    width: 0.688rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 0.1875rem;
    border-bottom-right-radius: 0.1875rem;
    left: 0;
    top: calc(50% - 0.5rem);
    padding-right: 2px;
}

.bk-timetable-cell .day-item-hover.removed {
    border: 1px dashed #cb2424;
    background-color: #fff !important;
}

    .bk-timetable-cell .day-item-hover.removed:hover .day-flex {
        background-color: #cb242426 !important;
    }

.bk-timetable-cell .day-item .day-item-hover.removed .top .left,
.bk-timetable-cell .day-item .day-item-hover.removed .rigth .first,
.bk-timetable-cell .day-item .day-item-hover.removed .middle {
    color: #637a82 !important;
}

.bk-timetable-cell .day-item-hover.green {
    border: 1px dashed #65a30d;
    background-color: #fff !important;
}

    .bk-timetable-cell .day-item-hover.green.hasChange {
        border-color: #cb2424;
    }

.bk-timetable-cell .day-item .day-item-hover.green .middle {
    color: #3d4c51;
}

.bk-timetable-cell .day-item-hover.green:hover .day-flex {
    background-color: #65a30d26 !important;
}

.bk-timetable-cell .day-item-hover.green.hasChange:hover .day-flex {
    background-color: #cb242426 !important;
}

.bk-timetable-cell .day-item-hover.green .absent-badge,
.bk-timetable-absence .absent-badge {
    position: absolute;
    background-color: #65a30d;
    color: #fff;
    font-size: 0.75rem;
    line-height: 0.75rem;
    width: 0.688rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 0.1875rem;
    border-bottom-right-radius: 0.1875rem;
    left: 0;
    top: calc(50% - 0.5rem);
    padding-right: 1px;
}

.bk-timetable-cell .day-item-hover.green.hasChange .absent-badge {
    background-color: #cb2424;
}

.bk-timetable-cell .day-item .day-item-hover:not(.green) .middle.zapsano {
    color: #b35900;
}

/** Student released **/
.bk-timetable-cell .day-item-hover.released {
    border: 1px dashed var(--color-grey-400);
    background-color: var(--color-grey-100) !important;
}

    .bk-timetable-cell .day-item-hover.released:hover .day-flex {
        background-color: var(--color-grey-200) !important;
    }

.bk-timetable-cell .day-item .day-item-hover.released .top .left,
.bk-timetable-cell .day-item .day-item-hover.released .top .right .first,
.bk-timetable-cell .day-item .day-item-hover.released .middle,
.bk-timetable-cell .day-item .day-item-hover.released .middle .teacher-name {
    color: var(--color-grey-600) !important;
}

/** Guards **/
.bk-timetable-guard {
    bottom: 0.063rem;
    position: absolute;
    cursor: pointer;
    overflow: hidden;
    background-color: #476d7b;
    border-radius: 0.1875rem;
    z-index: 2;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 24px;
    max-height: 60px;
    justify-content: center;
    align-items: center;
}

    .bk-timetable-guard.hasChange {
        background-color: #af1c1c;
    }

    .bk-timetable-guard .withName {
        font-size: 0.75rem;
        line-height: 0.7rem;
    }

    .bk-timetable-guard .withName-time,
    .bk-timetable-guard .withAbbrev {
        font-size: 0.688rem;
        line-height: 0.67rem;
    }

/* Svislý text pro úzké dozory o přestávce */
.bk-timetable-pauseGuard.vertical-text .withName {
    transform: rotate(-90deg);
}

.bk-timetable-guard span,
.bk-timetable-generalGuard span {
    color: #fff !important;
}

/* Absence */
.bk-timetable-absence {
    position: absolute;
    display: flex;
    border: 1px dashed #65a30d;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0.125rem 0.313rem 0 rgba(67, 83, 89, 0.2);
    border-radius: 0.313rem;
    font-size: 1.125rem;
    color: #3d4c51;
    z-index: 2;
    top: 0.188rem;
    overflow: hidden;
}

    .bk-timetable-absence .bk-timetable-absence-contentWrapper {
        background: #fff;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 5.25rem;
    }

    .bk-timetable-absence:hover .bk-timetable-absence-contentWrapper {
        background: #65a30d26;
    }

/** Bubble tooltip **/
.bubble.bubble-gray .ui-tooltip-content {
    display: table;
}

.bubble .line {
    display: table-row;
    color: #20292c;
    font-size: 0.8125rem;
    height: 1.25rem;
}

    .bubble .line .bubble-label {
        color: #54666e;
        font-weight: 400;
        display: table-cell;
        padding-right: 0.5rem;
    }

    .bubble .line .bubble-value {
        font-weight: 600;
        display: table-cell;
    }

        .bubble .line .bubble-value.homework {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            margin-bottom: 5px;
        }

.bubble span.clear-left,
.clear-items > .item {
    clear: left;
}

.bubble .item {
    line-height: 1rem;
}

.bubble .clear-items .item {
    line-height: 0.8125rem;
}

.bubble .hw-label {
    line-height: 1rem;
    margin-right: 0.1875rem;
}

.bubble .bold {
    font-weight: bold;
}

@media (max-width: 40rem) {
    .bubble.bubble-blue {
        max-width: 11.5625rem;
    }
}

@media (max-width: 81.25rem) {
    .bk-timetable-main .bk-timetable-row .day-name {
        width: 1.875rem;
    }

    .bk-timetable-main .bk-timetable-hours {
        margin-left: 1.875rem;
    }
}

@media (max-width: 50rem) {
    .bk-timetable-cell .day-item .bottom {
        font-size: 0.6875rem;
        line-height: 0.6875rem;
    }

    .bk-timetable-cell .day-item .middle {
        font-size: 1.25rem;
        line-height: 1.25rem;
    }

    .bk-timetable-cell .day-item .multi .bottom {
        font-size: 0.625rem;
        line-height: 0.625rem;
    }

    .bk-timetable-hours .bk-hour-wrapper .num {
        font-size: 0.9375rem;
        line-height: 0.9375rem;
    }

    .bk-timetable-hours .bk-hour-wrapper .hour {
        font-size: 0.5625rem;
        line-height: 0.5625rem;
    }

    .bk-timetable-main .bk-timetable-row .day-name {
        width: 1.5625rem;
    }

    .bk-timetable-main .bk-timetable-hours {
        margin-left: 1.5625rem;
    }
}

@media (min-width: 65.4375rem) and (max-width: 73.75rem) {
    .dropdown-content {
        left: auto;
        right: 0;
    }
}

/** Úpravy pro redesign **/

.bk-timetable-main {
    min-height: unset;
}

.bk-timetable-day.day-name .bk-day-day,
.bk-timetable-day.day-name .bk-day-date {
    font-size: 0.85rem;
    line-height: 1rem;
}

.bk-timetable-day {
    min-width: 2rem;
    width: 2rem;
    border-right: 0.0625rem solid #c2ccd1;
    border-top: 0.0625rem solid #c2ccd1;
}

.bk-timetable-main .bk-timetable-hours {
    margin-left: 0;
}

.bk-timetable-main .bk-timetable-hours-wrapper {
    border: 0.0625rem solid #c2ccd1;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-bottom: 0;
}

    .bk-timetable-main .bk-timetable-hours-wrapper .bk-timetable-dayEmptyPlace {
        min-width: 2rem;
        border-right: 0.0625rem solid #c2ccd1;
    }

    .bk-timetable-hours .bk-hour-wrapper .hour > span {
        display: inline-block;
    }

.bk-timetable-hours .bk-hour-wrapper .num {
    font-size: 0.875rem;
    min-height: 0;
    line-height: 0.8125rem;
}

.bk-timetable-cell .day-item .middle {
    font-size: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.print-button {
    font-size: 2rem;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    background-color: transparent;
}

    .print-button:focus {
        outline: none;
    }

ul.absent-info {
    list-style: none;
    padding: 0.625rem;
    margin-bottom: 0;
    width: 12.5rem;
}

    ul.absent-info li {
        float: left;
        line-height: 1.3125rem;
        margin: 0.125rem 0;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
    }

        ul.absent-info li > img {
            margin-right: 0.625rem;
        }

    ul.absent-info span {
        float: left;
        margin-right: 0.625rem;
        width: 0.3125rem;
        height: 1.25rem;
    }

.info .fa-info-circle {
    padding: 0.25rem 0.375rem;
    font-size: 1.125rem !important;
    color: #00a2e2;
}

.filter-dropdown {
    display: none;
}

.reports_dropdown .dropdown-content {
    width: 11rem;
}

    .reports_dropdown .dropdown-content .dropdown-content-item {
        display: block;
        font-size: 0.8125rem;
        height: 2.1875rem;
        padding: 0.3125rem 0.625rem;
        cursor: pointer;
        line-height: 1.5rem;
        margin-bottom: 0rem;
    }

        .reports_dropdown .dropdown-content .dropdown-content-item input[type="radio"] {
            position: absolute;
            clip: rect(0, 0, 0, 0);
            pointer-events: none;
        }

        .reports_dropdown .dropdown-content .dropdown-content-item:hover {
            background: #00a2e2;
            color: #fff;
        }

        .reports_dropdown .dropdown-content .dropdown-content-item.active {
            background: #0090c9;
            color: #fff;
        }

.bk-timetable-cell .day-item .top .left {
    white-space: normal;
}

    .bk-timetable-cell .day-item .top .left .groups-names {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

@media (max-width: 71.875rem) {
    .filter-dropdown {
        display: flex;
    }

    .btn-group-wrapper {
        display: none;
    }
}

.bk-timetable-days-wrapper {
    border: 0.0625rem solid #c2ccd1;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    border-top: 0;
}

.raster-wrapper .raster-item:nth-child(2n) {
    background-color: rgba(241, 243, 244, 0.4);
}

.bk-timetable-row .bk-cell-wrapper .hour-lines {
    height: 100%;
    position: absolute;
    border-left: 0.0625rem dashed #758d96;
    border-right: 0.0625rem dashed #758d96;
    z-index: 1;
}

.bk-hour-wrapper.nextLayer {
    height: 2rem;
    z-index: 1;
    border-bottom: 0.0625rem solid #c2ccd1;
}

.day-item-hover .middle .cycle {
    background-color: #54666e;
    color: #fff;
    font-size: 0.75rem;
    line-height: 0.75rem;
    width: 0.688rem;
    height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 0.1875rem;
    border-bottom-left-radius: 0.1875rem;
    position: absolute;
    right: 0;
}

/* Stylování hlavičky, která zobrazuje časovou osu místo indexů */
.hour-raster-wrapper {
    height: 100%;
    position: relative;
    width: 100%;
}

    .hour-raster-wrapper .raster-item {
        margin: 0 !important;
        height: 100%;
        font-size: 14px;
        text-align: center;
        position: absolute;
    }

        .hour-raster-wrapper .raster-item:not(.fullHour) > .raster-time {
            display: none;
        }

        .hour-raster-wrapper .raster-item.fullHour {
            border-left: 0.0625rem solid #C5CED3;
        }

        .hour-raster-wrapper .raster-item .raster-time {
            position: absolute;
            left: 2px;
            top: 5px;
            color: #3D4C51;
            white-space: nowrap;
        }

.hour-raster-raster-wrapper .raster-item:nth-child(2n) {
    background-color: rgba(241, 243, 244, 0.4);
}

.raster-wrapper.showTimeline .raster-item.fullHour {
    border-left: 0.0625rem dashed #9AABB1;
}

/*************************/
