/* 
#header .header-body {
    background-color: transparent;
}

#header .header-container{
    background-color: #24111f;
}
section.page-header-image {
    background-color: #24111f !important;
}

@media (min-width: 992px) {
    #header .header-nav-bar {
        background-color: rgba(253,108,0,0.85) !important;
        backdrop-filter: blur(4px);
    }
}
@media (max-width: 991px) 
{
    #header .header-container > .header-row {
        flex-direction: column;
    }

    #header .header-container > .header-row > .header-column {
        justify-content: center;
    }
} 
*/
h1,
h2,
h3,
h4 {
    letter-spacing: 0;
}

html .header-logo {
    width: unset !important;
    height: unset !important;
}

html.boxed .body {
    border-top-color: #ffffff !important;
}


html .bg-secondary article h2,
html .bg-secondary article h2.text-color-primary,
html .bg-secondary article p {
	/* color: #fff !important; */
}

html .bg-secondary article h2 {
	font-size: 2em !important;
    line-height: 1.1em !important;
}

html .bg-secondary article h4 {
	color: #004a74 !important;
	font-size: 1.4em !important;
}

.fc-view.fc-widget-content {
    border: 0 none;
}
.fc-button-primary {
    color: #fff;
    background-color: #009fe3;
    border-color: #0098d9;
}
.fc-button-primary:hover {
    color: #fff;
    background-color: #1b80c0;
    border-color: #1474b2;
}
.fc-toolbar h2 {
    color: var(--primary);
    font-weight: bold;
}

section.page-header.page-header-modern.bg-color-primary {
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.border-primary {
    border-color: #E33A2E !important;
}

.rounded-5 {
    border-radius: 24px;
}

section.page-header.page-header-modern.bg-color-primary:before {
    content: '';
    background-color: var(--primary);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.7;
}

#header .header-nav.header-nav-links:not(.header-nav-light-text) nav > ul > li > a, 
#header .header-nav.header-nav-line:not(.header-nav-light-text) nav > ul > li > a {
    font-size: 1.3em;
}

#header .header-nav.header-nav-links nav > ul.nav.nav-pills {
    flex-wrap: nowrap !important;
}

@media (min-width: 992px) {
    #header .header-nav-bar .header-nav {
        min-height: auto !important;
    }
}

#header .header-nav.header-nav-links nav > ul > li > a {
    color: #E33A2E !important;
    border-radius: 5px !important;
    text-align: center;
    height: 100%;
    min-height: auto;
    padding: 0.2em 1em;
    margin-bottom: 0.2em;
}

#header .header-nav.header-nav-links nav > ul > li:hover > a {
    color: #fff !important;
    background-color: #E33A2E !important;
    border-radius: 5px !important;
    height: 100%;
    min-height: auto;    padding: 0.2em 1em;
    margin-bottom: 0.2em;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
    border-top: 0 none !important;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1) !important;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
    font-size: 1.1em;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li:hover a {
    color: #fff;
    background-color: #E33A2E !important;
}

.fc-button-primary {
    color: #fff;
    background-color: #E33A2E;
    border-color: #E33A2E;
}

.fc-button-primary:hover {
    color: #fff;
    background-color: #c42c21;
    border-color: #c42c21;
}

/* custom scrollbar */

/* width */

.fc-scroller::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: transparent;
}

/* Track */
.fc-scroller::-webkit-scrollbar-track {
    background-color: transparent;
}

.fc-scroller::-webkit-scrollbar-corner {
    background-color: transparent;
}

.fc-scroller::-webkit-scrollbar-button {
    width: 2px;
    height: 2px;
}
html.dark.no-overflowscrolling .nano > .nano-pane > .nano-slider {
    background: #51535d;
}
/* Handle */
.fc-scroller::-webkit-scrollbar-thumb:horizontal {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.2) 30%, rgba(100,100,100,0.2) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}
.fc-scroller.fc-scroller-frame::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(100,100,100,0.2) 60%, rgba(100,100,100,0.2) 100%, rgba(0,0,0,0) 100%);
}

.fc-scroller::-webkit-scrollbar-thumb:vertical {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.2) 30%, rgba(100,100,100,0.2) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}
.fc-scroller.fc-scroller-frame::-webkit-scrollbar-thumb:vertical {
    background: linear-gradient(90deg, rgba(0,0,0,0) 60%, rgba(100,100,100,0.2) 60%, rgba(100,100,100,0.2) 100%, rgba(0,0,0,0) 100%);
}

/* Handle on hover */
.fc-scroller::-webkit-scrollbar-thumb:horizontal:hover {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.6) 30%, rgba(100,100,100,0.6) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}
.fc-scroller.fc-scroller-frame::-webkit-scrollbar-thumb:horizontal:hover {
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(100,100,100,0.6) 60%, rgba(100,100,100,0.6) 100%, rgba(0,0,0,0) 100%);
}

.fc-scroller::-webkit-scrollbar-thumb:vertical:hover {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(100,100,100,0.6) 30%, rgba(100,100,100,0.6) 70%, rgba(0,0,0,0) 70%);
    transition: background 1.6s;
    -webkit-transition: background 1.6s;
}
.fc-scroller.fc-scroller-frame::-webkit-scrollbar-thumb:vertical:hover {
    background: linear-gradient(90deg, rgba(0,0,0,0) 60%, rgba(100,100,100,0.6) 60%, rgba(100,100,100,0.6) 100%, rgba(0,0,0,0) 100%);
}

.news-secondary-home .text-center {
    text-align: left !important;
}

.news-secondary-home .text-center h4 {
    font-size: 2.4em;
    line-height: 1em;
}

.news-secondary-home .text-center h5 {
    font-family: "Rokkitt";
    font-size: 1.6em;
    line-height: 1em;
    text-transform: unset;
}

html .news-terthiary-home h3 a,
html .news-terthiary-home h3 {
    color: var(--primary) !important;
}

html .news-terthiary-home h4 {
    color: var(--secondary) !important;
}
.fc-event, .fc-event-dot {
    background-color: #e33a2e;
}
.sommario h4.text-color-tertiary {
    color: #333 !important;
    font-size: 1.60em !important;
}
@media (min-width: 768px) {
    #rubriche .col-md-2 {
        flex: 0 0 auto;
        width: 20%;
    }
}
