.grecaptcha-badge {
    z-index:999;
}

.alert {
    position: fixed;
}

.bold {
    font-weight: bold;
}

.no-sort {
    cursor: auto !important;
}

body {
    padding-bottom: 80px;
}

html {
    overflow-y: scroll;
}

.form-label.required::after {
    content: ' *';
    color: red;
}

.mono-font {
    font-family: 'Rubik Mono One', monospace;
}

.container-xxxl {
    max-width: 2000px;
}

.logo-img {
    height: 50px; /* default height for large screens */
}

@media (max-width: 768px) { /* tablet/smaller screens */
    .logo-img {
        height: 40px;
    }
}

/* Hide the asterisk for labels that are not associated with required fields */
.form-group input[required] + label::after {
    content: "*";
    color: red;
    font-weight: bold;
    margin-left: 4px;
}

.form-floating label::after {
    content: "";
}

.form-floating input[required] + label::after {
    content: "*";
    color: red;
    font-weight: bold;
    margin-left: 4px;
}

.navbar {
    border: 1px solid var(--bs-border-color);
}

#nav-bar-top {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1030;
}

/* When hidden, slide the nav up */
.nav-hidden {
    transform: translateY(-100%) !important;
}

/* Counter-animation: Move the button back down so it stays visible */
.nav-hidden #navbarManualToggle {
    transform: translateY(148%); 
    background: var(--bs-light); /* Give it a background so it's visible against content */
    border: 1px solid var(--bs-border-color) !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px;
    position: relative;
    z-index: 1040;
}

/* Fix the click-through issue */
.nav-hidden {
    pointer-events: none;
}
#navbarManualToggle {
    pointer-events: auto !important;
    border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);
}