/* Custom styles specific to this application */
/* custom-base.css must be included along with this file, as it defines root variables */

/* region Course cards */
.u-card-course {
    border-radius: .25rem;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
    height: 600px;
    padding: 1rem;
}

.u-card-course-level {
    color: var(--unil-main-color-500);
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: .25rem;
}

.u-card-course-title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    font-size: 17px;
    font-weight: 700;
    line-clamp: 3;
    line-height: 26px;
    overflow: hidden;
}

.u-card-course-content {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: rgb(61 77 91);
    display: -webkit-box;
    font-size: 15px;
    line-clamp: 3;
    line-height: 22px;
    overflow: hidden;
    padding-top: .5rem;
}

.u-card-course-schedules {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding-bottom: .5rem;
}

.u-card-course-schedules-item {
    align-items: center;
    background-color: var(--unil-main-color-100);
    border-radius: .25rem;
    display: inline-flex;
    font-size: 15px;
    gap: .5rem;
    line-height: 22px;
    margin-top: .5rem;
    padding: .125rem .5rem;
}

/* endregion */

/* region Combo box items with icons */
.u-combo-item-with-icon img {
    height: 16px;
    vertical-align: bottom;
}

/* endregion */

/* region Expandable content with show less/show more links */
.u-content-overview div.collapse:not(.show) {
    overflow: hidden;
    display: block;
}

.u-content-overview a.collapsed:after {
    content: attr(show-more-label);
}

.u-content-overview a:not(.collapsed):after {
    content: attr(show-less-label);
}

.u-schedules-overview div.collapse:not(.show) {
    height: 104px;
}

.u-schedules-overview div.collapsing {
    min-height: 104px;
}

.u-notif-overview div.collapse:not(.show) {
    height: 160px;
}

.u-notif-overview div.collapsing {
    min-height: 160px;
}

/* endregion */

/* region Custom responsive row with 4 columns on xxl screens because Bootstrap xxl is too low (1400px) */
@media (min-width: 1740px) {
    .u-row-cols-xxxl-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }
}

/* endregion */