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

.footer {
    background-color: #f8f9fa;
    font-size: .9em;
    height: auto;
    min-height: 120px;
    border-top: 3px solid #0066cc;
}

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

.footer h6 {
    color: #0066cc;
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer .text-muted {
    color: #6c757d !important;
}

.footer a,
.footer .footer-link {
    color: #0066cc;
    transition: color 0.2s;
    text-decoration: none;
}

.footer a:hover,
.footer .footer-link:hover {
    color: #004499;
    text-decoration: underline;
}

.footer .bi {
    color: #0066cc;
}

/* Footer links inline */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-end;
    }
}

/* Footer Mobile Responsive */
@media (max-width: 767px) {
    .footer {
        padding: 1.5rem 0;
        min-height: auto;
    }

    .footer > .container {
        padding: 0 1rem;
    }

    .footer h6 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .footer .footer-link {
        display: inline-block;
        padding: 0.5rem 0.75rem;
        background-color: rgba(0, 102, 204, 0.08);
        border-radius: 6px;
        font-weight: 500;
    }

    .footer .footer-link:hover {
        background-color: rgba(0, 102, 204, 0.15);
        text-decoration: none;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-links .footer-link {
        padding: 0.6rem 1rem;
    }
}

.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;
}

/* Link header tabella su sfondo primary */
.table thead th a,
.table thead th a:hover,
.table thead th a:visited {
    color: #fff !important;
    text-decoration: none;
}

.table thead th a:hover {
    text-decoration: underline;
}

/* Frecce sorting bianche su sfondo primary */
.table thead th a.asc:after {
    border-bottom-color: #fff;
}

.table thead th a.desc:after {
    border-top-color: #fff;
}

.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;
}

/* Stili errori form in rosso */
.help-block,
.invalid-feedback {
    display: block;
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.has-error .form-control,
.is-invalid {
    border-color: #dc3545 !important;
}

.has-error label,
.form-group.has-error > label {
    color: #dc3545;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 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(255, 255, 255, 0.75);
}

.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: .75rem 1rem;
}

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