.zajecia .timetable-container {
    padding: 8px 10px;
    border: 2px solid #aaa;
    width: min-content;
}
@media (max-width: 40rem) {
    .zajecia .timetable-container {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100%; width: -webkit-fill-available; width: -moz-available; width: stretch;
    }
}

.zajecia .timetable-container.timetable-newline {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100%; width: -webkit-fill-available; width: -moz-available; width: stretch;
}

@media not (max-width: 40rem) {
    /* Additional border separator because these two kv-list elements are not separated */
    .zajecia kv-list + kv-list {
        dl > dt:first-child, dl > dt:first-child + dd {
            border-top: 1px solid var(--border);
        }
    }
}

/* In browsers supporting :has, we can avoid duplicating the timetable border */
@supports (selector(:has(.className))) {
    .zajecia kv-list:has(.timetable-newline) + kv-list {
        dl > dt:first-child, dl > dt:first-child + dd {
            border-top: none;
        }
    }
}
.prowadzacy {
    padding: 5px 0 5px 5px;
}
.miniaturka {
    float: left;
}

.inicjaly {
    width: 25px;
    height: 25px;
    line-height: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    background: white;
}

.portret {
    width: 25px;
    height: 25px;
    border-radius: 50%
}

.cudza-grupa {
    color: #888;
    font-style: italic;
}

.zajecia tr > td[colspan='2'] { width: min-content; }
