/* 
#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;
    }
} 
*/

html.boxed .body {
    border-top-color: var(--secondary);
}

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: #57cdff !important;
	font-size: 1.4em !important;
}

.fc-view.fc-widget-content {
    border: 0 none;
}
.fc-button-primary {
    color: #fff;
    background-color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 80%, white);
}
.fc-button-primary:hover {
    color: #fff;
    background-color: color-mix(in srgb, var(--primary) 90%, black);
    border-color: color-mix(in srgb, var(--primary) 80%, white);
}
.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;
}

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.1em;
}

/* 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%);
}

#parrocchie .post .post-image img {
    filter: saturate(0);
    transition: all 0.6s;
}
#parrocchie .post:hover .post-image img {
    filter: saturate(1);
}
.header-nav {
}
.header-nav li a {
    font-size: 16px !important;
}
h1, h2, h3, h4, h5, h6 {
    letter-spacing: .02em;
}
.notizie-principali h4 {
    color: var(--primary) !important;
}

article h1, article h2, article h3, article h4 {
    margin-top: 0;
}

@media (max-width: 991px) {
    #header .header-nav-main {
        z-index: 9;
    }
}

@media (min-width: 992px) {
    #header .header-nav-bar.bg-primary {
        z-index: 2 !important;
    }
}

.bg-menu-2 {
    background-color: #dd7731 !important;
}

.appuntamenti .post.post-medium .row:first-child {
    background-color: #ffe5cd;
    padding-top: 12px;
    border-radius: 12px;    
}

.post-image .thumb-info-wrapper h5 {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    border-radius: 0 0 6px 0;
}

#real-time-news .owl-carousel {
    opacity: 1 !important;
}

#real-time-news .owl-carousel .owl-stage-outer {
    background-color: #e9e9e9 !important;
    border-radius: 6px;
    overflow: hidden;
    min-height: 3em;
    padding-bottom: 1rem !important;
}

#real-time-news .owl-carousel .owl-stage-outer .text-color-light {
    color: #000 !important;
}

#real-time-news .owl-carousel .owl-stage-outer .line-height-6 {
    line-height: 1 !important;
}

.icon-post {
    width: 48px;
    filter: invert();
}

@media (min-width: 992px) {
    #header .header-nav.header-nav-links nav > ul > li > a, 
    #header .header-nav.header-nav-links nav > ul > li:hover > a, 
    #header .header-nav.header-nav-line nav > ul > li > a, 
    #header .header-nav.header-nav-line nav > ul > li:hover > a {
        color: var(--primary);
	padding-right: 0.8rem !important;
        padding-left: 0.8rem !important;
	font-size: 14px !important;
    }
    #header .header-nav.header-nav-links nav > ul > li:hover, 
    #header .header-nav.header-nav-line nav > ul > li:hover {
	background-color: var(--primary) !important;
    }
    #header .header-nav.header-nav-links nav > ul > li:hover > a, 
    #header .header-nav.header-nav-line nav > ul > li:hover > a {
        color: #fff;
    }
    #header .header-nav.header-nav-line nav > ul li > a:before {
        display: none !important;
    }
}

#servizi img {
    max-width: 65px;
    filter: invert(1);
}
h5 {
    font-family: "Roboto Slab" !important;
}