:root {
    --border-radius: .3rem;
    --bs-primary: #3fc302;
    --bs-link-color: #2f9400;
    --bs-link-hover-color: #1f6000;
    --bs-link-active-color: var(--bs-link-hover-color);
}


main > .container {
    padding: 70px 15px 20px;
}

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

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

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

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

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

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

.grid-view th {
    white-space: nowrap;
}

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

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

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

.form-group {
    margin-bottom: 1rem;
}

/* */

fieldset {
    margin-bottom: 1rem;
}

.filters-list {
    padding-left: 0;
    margin-bottom: 0;
}

/* pagination */

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
.pagination li {
    display: block;
}
.pagination li.disabled {
    visibility: hidden;
}
.pagination li a {
    display: block;
    padding: .5rem 1rem;
}
.pagination a:hover {
    background-color: #DAF1D0;
    border-radius: var(--border-radius);
}

/* form checkboxes */

.form-check.empty {
    padding-left: 0;
}
.form-check:has(input:checked) {
    background: #DAF1D0;
}
.form-check label {
    display: block;
}
.form-check:hover label,
.form-check:hover input {
    background: #e7e7e7;
    cursor: pointer;
}
.form-check input[type='checkbox']:hover {
    cursor: pointer;
}
.form-check input:checked {
    background-color: var(--bs-link-color);
    border-color: var(--bs-link-color);
}
.form-check input:focus {
    border-color: #DAF1D0;
    box-shadow: 0 0 0 0.25rem rgb(13 253 142 / 25%);
}


.height-limiter {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.height-limiter--limited .height-limiter__content {
    min-height: 200px;
    height: 20vh;
    overflow-y: hidden;
    position: relative;

}
.height-limiter--limited .height-limiter__content::after {
    content: '';
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 32px;
    display: block;
}

.height-limiter__toggle-btn {
}