.navbar {
    padding-top: 0.25rem;
    padding-bottom: 0rem;
}

.navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0rem;
}

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

body {
    background-color: #f8f9fa;
}

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

.footer > .container, .footer > .container-fluid {
    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,
.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 {
    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 */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(0, 0, 0, 0.5);
}

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

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

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

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .25rem 1rem;
    margin-bottom: 0.5rem;
}

.breadcrumb-item > a
{
    text-decoration: none;
}

/* Jaarverslagmarkering op bezoeken, gerenderd door frontend\helpers\SafetyMeetingHelpers::annualReportMarker() */
.annual-report-marker {
    display: inline-flex;
    align-items: center;
    color: #4b2a8a;
    vertical-align: middle;
    text-decoration: none;
}

.annual-report-marker i {
    font-size: 16px;
    line-height: 1;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.annual-report-marker-badge {
    gap: 4px;
    padding: 1px 7px;
    border: 1px solid #d9c9f2;
    border-radius: 6px;
    background-color: #f2ecfb;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

/* Telbadge in het jaaroverzicht per jaar, deelt het palet van de markering */
.annual-report-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b2a8a;
    background-color: #f2ecfb;
    border: 1px solid #d9c9f2;
}


/* Toestand van een oplevering, gerenderd door frontend\helpers\DeliverableHelpers::stateBadge().
   Deze stijl staat hier en niet per scherm, want dezelfde markering moet overal hetzelfde
   icoon, dezelfde naam en dezelfde kleur hebben (WCAG 3.2.4). Vorm plus tekst, nooit kleur
   alleen (1.4.1). Gemeten contrast: opgeleverd 6,09:1, open 7,05:1, stil 6,85:1. */
.dlv-state {
    --dlv-done: #14653c;
    --dlv-done-bg: #dcf3e6;
    --dlv-open: #96131b;
    --dlv-open-bg: #fbe1e2;
    --dlv-later: #5d5869;

    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 2px 9px 2px 7px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
}

.dlv-state i {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.dlv-state-opgeleverd {
    color: var(--dlv-done);
    background: var(--dlv-done-bg);
}

.dlv-state-open {
    color: var(--dlv-open);
    background: var(--dlv-open-bg);
}

/* Nog niet aan de orde: enkel het icoon, met de naam verborgen. Bewust de stilste van de drie. */
.dlv-state-later {
    color: var(--dlv-later);
    padding-left: 9px;
}
