﻿.appbar-white {
    background-color: white !important;
    color: black !important;
}

.appbar-dark {
    background-color: rgba(50,51,61,1) !important;
    color: white !important;
}

.navmenu-paper {
    height: 100%;
    background-color: inherit;
    display: flex;
    flex-direction: column;
}

.main-content {
    padding: 10px 16px;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.training-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.filterInputSmall {
    margin-top: 0 !important;
}

.selectInputSmall {
    margin-top: 0 !important;
}

.scrollbar-thin::-webkit-scrollbar {
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.centered-container > * {
    width: 100%;
}

.heading-with-line {
    font-weight: 600;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--mud-palette-primary);
}

.training-card.waitinglist {
    opacity: 0.5;
    position: relative;
}

.waitinglist-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.clamp-10 {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.center-loading {
    display: flex;
    justify-content: center;
    align-items: start;
    height: 100vh;
    margin-top: 30px;
}

.fixed-dialog-content {
    min-height: 600px;
    max-height: 600px;
    overflow-y: auto;
}