main > .container,
main > .container-fluid {
    padding: 20px 15px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    font-size: 0.9em;
}

.footer > .container,
.footer > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    font-style: italic;
    color: #c55;
}

a.asc:after,
a.desc:after {
    content: "";
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    margin: 4px 4px 2px 4px;
    border: solid 5px transparent;
    background: transparent;
}

a.asc:after {
    border-top-width: 0;
    border-bottom: solid 7px #212529;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    margin: 0 0 15px 0;
    padding: 10px 20px;
    border-left: 3px solid #eed3d7;
    background: #fdf7f7;
    color: #a94442;
}

.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

.navbar {
    width: 100vw;
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}

.breadcrumb {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    background-color: var(--light-gray);
}

a {
    text-decoration: none;
}

#loading-indicator {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    color: white;
}

#loading-indicator .spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    border: 5px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-indicator p {
    font-size: 1.2rem;
    font-weight: bold;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

body {
    overflow-x: hidden;
    background-color: rgba(208, 208, 208, 0.3);
}

main {
    min-height: 100%;
}

.container {
    overflow-y: auto;
    width: 100%;
    max-width: none;
    height: 100%;
    margin-right: 0;
    margin-left: 0;
}

.container:not(:has(.site-login)) {
    min-height: 900px;
}

.hide-container {
    position: absolute;
    visibility: hidden;
    margin: 0;
    opacity: 0;
}

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 !important;
    }
}

@media (max-width: 767px) {
    .navbar form > button.logout {
        display: block;
        width: 100%;
        padding: 10px 0;
        text-align: left;
    }
}
