/* TAG */
.section { padding: 40px 0px!important; margin: 0px!important; background-color: white; }
footer { color:white!important }
footer a { color:white!important; border-bottom: none!important }

/* ID */
#calendar-month, #calendar-year { color: #333 }
#copyrights {
    background-color: #949599;
}
#page-title {
    position: relative;
    padding: 2rem 0;
    background-color: #949599;
    border-top: 2px solid #949599;
    border-bottom: 1px solid #949599;
}
#page-title h1 {
    font-weight: 400;
    letter-spacing: 0px;
    color: #fff;
    font-size: 26px;
}

#page-menu-wrap {
    border-bottom: 2px solid #949599;
    background-color: #85868a;
}

#page-menu-wrap nav > ul > li { padding: 5px 0px 5px 0px}
#page-menu-wrap nav > ul > li > a { font-size: 14px; text-transform: uppercase; color: #fff; }

/* CLASS */
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #ddd; }
.breadcrumb-item + .breadcrumb-item::before { color: #fff; }
.calendar-month, .calendar-year { font-weight:100; font-size: 25px!important }
.fc-date, .fc-weekday { vertical-align: top }
.fc-calendar .fc-head { background: #949599 }
.full-header #logo { border-right: none }
.full-header .primary-menu .menu-container { border-right: 0px solid #EEE; }
.media-box.fbox-bg .fbox-content, .media-box.fbox-bg .fbox-media img { border-radius: 0px }
.modal-content, .modal-header{ border-radius: 0px }
.modal-content { border: none }
.modal-header { border-bottom: 1px solid #949599; background: #949599 }
.modal-header .modal-title { color: white; margin: auto }
.modal-body { padding: 20px }
.modal-footer { display: flow-root; text-align: center }
/* Bootstrap 5.3 colora le celle (--bs-table-bg) e non le righe: lo sfondo va impostato sulle celle */
.table > thead > tr > th,
.table tr.bg_pr > * { --bs-table-bg: #949599; --bs-table-color: #fff; color: #fff }
/* Riga dei filtri: b_none sul tr fa ereditare alle celle un bordo nero, si riporta il colore dei bordi della tabella */
.table tr.b_none, .table tr.b_none > * { border-style: solid; border-color: var(--bs-table-border-color) }
.widget_links > ul > li { border-bottom: 1px solid #ddd }
.widget_links > ul > li.ui-state-active > a { font-weight: bold; }
.widget_links:not(.widget-li-noicon) li.ui-state-active::before { font-weight: bold; }

@media (min-width: 992px) {
    .section { padding: 60px 0px!important; margin: 0px!important; background-color: white; }
    .fc-calendar-event { max-height: 60px; overflow: auto }
    .full-header, .full-header #logo img { height: 70px!important }
    .menu-item .menu-link { padding: 19px 15px!important }
    .sub-menu-container .menu-link { padding: 10px 15px!important }
}

/* Side-header: alza lo z-index sopra #page-title e #page-menu, altrimenti la navbar del contenuto copre il pannello della sidebar quando si apre */
.is-expanded-menu.side-header #header,
.is-expanded-menu.side-header #header-trigger { z-index: 1000 }
#page-title, #page-menu { z-index: auto }

/* Preloader e loading (form submit): overlay fullscreen con spinner */
#preloader { position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 10000 }
#preloader .css3-spinner { background-color: white; height: 100%; width: 100% }
#loading { position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 9999 }
#loading .css3-spinner { background-color: white; height: 100%; width: 100% }