body {
    font-family: 'Titillium Web';
    background: #ffffff;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#body {
    flex: 1; /* Riempie lo spazio disponibile */
}

.table {
    --bs-table-bg: #ffffff;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #10b1f4;
}

.footer-tema {
    bottom: 0;
    width: 100%;
    color: #f0f9ff;
    background-color: #005EB8;
    margin-top: auto; /* Spinge il footer in basso */
}

.bg-tema {
    background-color: #005EB8;
}

.bg-prefooter {
    background-color: #CBE4FB;
}
#loading {
    position: fixed;
    display: block;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    top: 50%;
    right: 50%;
    z-index: 9999;
}


.page-link {
    color: #ff0000;
}

#divLogin {
    flex: 1;
    display: flex;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center; /* Centra verticalmente */
    margin-top: 80px;
}

#loginForm {
    background: #CBE4FB; /* Colore di sfondo leggero */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Imposta una larghezza massima */
}

.text-blue-tema {
    color: #005EB8;
}

#loginForm a{
    color: #005EB8;
    font-weight: bold;
}

.vertical-menu-prefooter a:not([href]):not([class]), a:not([href]):not([class]):hover {
    color: #005EB8;
    text-decoration: none;
}

.vertical-menu-prefooter a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #005EB8;
    font-weight: bold;
}

.vertical-menu-footer a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer !important;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}
.hero-overlay .container {
    pointer-events: auto;
}

.hero-overlay p {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.btn-tema {
    background-color: #88E771;
    color: #00499D;
    font-weight: bold;

    font-size: large;
    padding: 8px 20px;
}

.btn-tema:hover {
    background-color: #9CF088;
    color: #00499D;
    font-weight: bold;
}

.btn-tema-secondary {
    background-color: #d4d9dd;
    color: #00499D;
    font-weight: bold;

    font-size: large;
    padding: 8px 20px;
}

.btn-tema-secondary:hover {
    background-color: #dbdbdb;
    color: #00499D;
    font-weight: bold;
}

.btn-tema-blue {
    background-color: #005EB8;
    color: white;
    font-weight: bold;
    font-size: large;
    padding: 8px 20px;
}

.btn-tema-blue:hover {
    background-color: #0c82f3;
    color: #00499D;
    font-weight: bold;
}

#accediButton:hover {
    background-color: #003F84;
    color: #88E771;
    border-radius: 30px;
}

#accediButton {
    padding: 10px;
    color: white;
}

.iconaAccount {
    content: url('/infeWeb/static/svg/icona-account.svg');
    transition: all 0.3s ease;
}

#accediButton:hover .iconaAccount {
    content: url('/infeWeb/static/svg/icona-account-hover.svg');
}

.iconaAccountFreccia {
    content: url('/infeWeb/static/svg/icona-freccia.svg');
    transition: all 0.3s ease;
}

#accediButton:hover .iconaAccountFreccia {
    content: url('/infeWeb/static/svg/icona-freccia-hover.svg');
}

.offcanvas-menu .nav-link.active {
    background-color: #003e8c;
    font-weight: bold;
    border-left: 3px solid #85f285;
}
.sidebar .menu,
.offcanvas-body .menu {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
}

.sidebar .user-info,
.offcanvas-body .user-info {
    padding: 1rem;
    border-top: 1px solid #00499D;
    background-color: rgb(0, 94, 184);
}

.offcanvas-menu {
    background-color: #005eb8;
}

.menu a {
    display: block;
    padding: 0.5rem 0;
    color: #000;
    text-decoration: none;
}

.menu a:hover {
    text-decoration: underline;
}

@media (min-width: 992px) {
    #body {
        padding-top: 9rem;
    }
}

@media (max-width: 991px) {
    #body {
        padding-top: 6rem;
    }
}

.titolo-home-responsive {
    font-size: 35px;
}

@media (min-width: 768px) { /* md */
    .titolo-home-responsive {
        font-size: 50px;
    }
}

@media (min-width: 992px) { /* lg */
    .titolo-home-responsive {
        font-size: 60px;
    }

    #img-hero-section {
        height: 700px;
    }
}

#headerScroll {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#headerScroll.hidden {
    display: none;
}

.form-check-input[type="checkbox"]:checked {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23005eb8' d='M13.485 1.929a1 1 0 010 1.414L6.343 10.485l-3.828-3.828a1 1 0 011.414-1.414l2.414 2.414L12.071 1.93a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}

.form-check-input:checked {
    background-color: #88e771;  /* verde sfondo quando selezionata */
    border-color: #005eb8;      /* bordo */
}

.form-check-input {
    border: 1px solid #837575 !important;
}
.footerWhiteButton{
    cursor: pointer !important;
    color: #ffffff;
}
.footerWhiteButton:hover {
    color: #CBE4FB;
}

.footerLink{
    cursor: pointer;
}

.footerLink:hover {
    color: #2c98ff;
}

.nav-link {
    cursor: pointer;
}

.cookieBannerLink {
    cursor: pointer !important;
    color: #ffffff !important;
}
.cookieBannerLink:hover {
    color: #CBE4FB !important;
}

.cursorPointerLink {
    cursor: pointer !important;
}

.imgMacroCatHome{
    height: 100px;
}