html {
    scroll-behavior: smooth;
}

img.rounded {
    height: 128px;
    width: 128px;
    border-radius: 50% !important;
    object-fit: cover;
    margin-bottom: 16px;
}

.raeppli-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 140px;
}

html, body, #wrapper {
    height:100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.diagonal-reverse {
    background-color: #fff;
    background-image: -webkit-linear-gradient(150deg, #fff 85%, #000 85%);
    min-height: 50px;
}

.text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.col-form-label {
    font-weight: bold;
}

.btn-raeppli {
    background-color: black;
    color: white;
}
.btn-raeppli:hover {
    background-color: #212121;
    color: white;
}

.text-muted {
    color: #8492a6 !important;
}

.box {
    background-color: #dcdcdc;
    border-radius: 4px;
    padding: 16px;
}

/* Sidebar styles */
.sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #e1e5eb;
}

.sidebar-sticky {
    padding-top: 20px;
    padding-bottom: 20px;
    color: #495057;
}

.nav-link {
    color: #495057;
}

.nav-link:hover {
    color: #002939;
    font-weight: bold;
}

.nav-link.active {
    color: white !important;
    background-color: #002939;
    border-radius: 4px;
    /*margin: 4px;*/
    /*font-weight: bold;*/
}

.nav-link.active .fa-solid {
    color: white !important;
}

.dropdown-item.active {
    color: white !important;
    background-color: #002939;
}

.dropdown-item.active .fa-solid {
    color: white !important;
}

.accordion {
    --bs-accordion-bg: #fff;
    --bs-accordion-btn-bg: #e8e8e8;
    --bs-accordion-active-bg: #002939;
    --bs-accordion-active-color: #fff;
    --bs-accordion-icon-active-color: #fff;
}

.dashboard-title {
    font-size: 128px;
}
.dashboard-text {
    font-size: 24px;
}

/* btn-sm styles */
.btn-group-xs > .btn, .btn-xs {
    padding  : .25rem .4rem;
    font-size  : .875rem;
    line-height  : .5;
    border-radius : .2rem;
}

.menu-item-verpflegung {
    border: 1px solid #1a202c;
    border-radius: 4px;
    padding: 1px;
}

.card {
    background-color: #e0e0e0;
    /*color: #fff;*/
    /*padding: 20px;*/
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.big-checkbox {width: 20px; height: 20px;}

/* Larger devices - No toggle icon */
@media (min-width: 768px) {
    #leftSidebar {
        display: block !important;
        position: fixed;
        max-width: 350px;
        height: 100%;
        overflow-y: auto;
        z-index: 999;
        margin-top: 60px;
    }

    .content {
        margin-left: 250px;
    }

    main[role="main"] {
        width: 85%;
        margin-left: 350px;
        margin-top: 70px;
        padding-right: -350px;
        margin-bottom: 32px;
    }
}

/* Mobile devices - Toggle icon */
@media (max-width: 767px) {
    .mobile-logo {
        max-width: 108px !important;
    }

    .navbar-toggler {
        display: block;
    }

    #leftSidebar {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        z-index: 999;
        margin-top: 60px;
    }

    .content {
        margin-left: 0;
    }

    main[role="main"] {
        width: 100%;
        margin-left: 0;
        margin-top: 64px;
        padding-right: -350px;
        margin-bottom: 32px;
    }

    .mobile-container {
        margin-top: -24px;
    }
}
