#menu-secondary li.menu-item a.dropdown-toggle ul.dropdown-menu {
    z-index: 999;
}

.rwmb-meta-box {
    margin-bottom: 1rem !important;
}

.upload_image_thumbnail {
    max-width: 150px;
}

.video_wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9, for an aspect ratio of 1:1 change to this value to 100% */
}

.video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#attachment-display-settings-link-to [value|="post"] {
    display: none;
}

label:not(.form-check-label) {
    font-weight: bold;
}

.nav-task-settings .nav-link.active {
    background-color: var(--bg-white) !important;
    color: var(--body-color) !important;
    font-weight: bold !important;
    /* border-left: 1px solid var(--border) !important;
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important; */
}

.rubric.table {
    --bs-table-striped-color: var(--body-color);
    --bs-table-striped-bg: inherit;
    color: var(--body-color);
}

.list-style-type-none,
.list-style-type-none>* {
    list-style-type: none !important;
}

[class*="a11y-speak"] {
    display: none !important;
}

.lp-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999 !important;
    width: 100%;
    height: 100vh;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-1 .gallery-item {
    max-width: 100% !important;
}

.gallery-columns-2 .gallery-item {
    max-width: 49% !important;
}

.gallery-columns-3 .gallery-item {
    max-width: 32.33% !important;
}

.gallery-columns-4 .gallery-item {
    max-width: 24% !important;
}

.gallery-columns-5 .gallery-item {
    max-width: 19% !important;
}

.text-gold {
    color: #FFD700 !important;
}

.bg-gold {
    background-color: #FFD700;
}

.text-orange {
    color: #f17839;
}

.bg-orange {
    background-color: #f17839;
}

.lp-frame-pdf {
    position: absolute;
    top: 0;
}

.leaflet-popup-content-wrapper {
    max-height: 500px;
    overflow-y: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.lp-max-w-150 {
    max-width: 150px;
}

.lp-max-h-150 {
    max-height: 150px;
}

.lp-fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

div:has(> iframe.lp-frame-pdf) {
    position: relative !important;
}

[data-theme="dark"] .list-group-item-action:not(.list-group-item-primary):not(.list-group-item-secondary):not(.active) a,
[data-theme="dark"] .card-title a,
[data-theme="dark"] a.card-title,
[data-theme="dark"] .card-header a,
[data-theme="dark"] .nav-link a {
    background-color: var(--bg-white);
    border-color: var(--border);
    color: var(--body-color);
}

.dropdown-toggle::after {
    max-height: 20px;
}

.btn-outline-success:hover,
.btn-outline-success:active {
    color: white !important;
}

#submission-new-submit-container.fixed {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    /* White background with 0.7 opacity */
    padding: 15px;
}


.flatpickr-monthDropdown-months.form-select {
    display: inline-block;
}

/* .lp-achievement.not-achieved .card-thumbnail {
    filter: grayscale(100%);
} */

/* .lp-achievement.achieved{
    border-color: #f17839;
} */

@media print {
    .break-inside-avoid {
        break-inside: avoid;
    }

    .d-print-none {
        display: none !important;
    }

    .print-row-cols-auto>* {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .print-row-cols-1>* {
        flex: 0 0 auto !important;
        width: 100% !important;
    }

    .print-row-cols-2>* {
        flex: 0 0 auto !important;
        width: 50% !important;
    }

    .print-row-cols-3>* {
        flex: 0 0 auto !important;
        width: 33.3333333333% !important;
    }

    .print-row-cols-4>* {
        flex: 0 0 auto !important;
        width: 25% !important;
    }

    .print-row-cols-5>* {
        flex: 0 0 auto !important;
        width: 20% !important;
    }

    .print-row-cols-6>* {
        flex: 0 0 auto !important;
        width: 16.6666666667% !important;
    }

    .print-h-auto {
        height: auto !important;
    }
}