/** OVERRIDE **/
body {font-family: "Titillium Web",Geneva,Tahoma,sans-serif !important;}
.it-page-sections-container p {font-family: "Titillium Web",Geneva,Tahoma,sans-serif !important;}
.callout li {font-size: .889rem;}
.it-page-sections-container ul {margin-bottom: 30px;}
.not-first {margin-top: 50px;}
.template-collapse .collapse-header [data-toggle=collapse][aria-expanded=false] {color: #0F2C4F;}
.collapse-header [data-toggle=collapse][aria-expanded=false] {color: #000;}
.collapse-header [data-toggle=collapse][aria-expanded=true] {color: #c30000;}
.collapse-header [data-toggle=collapse]:before {width: 1.2rem; padding-top: 5px; content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C32B34'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");};
@media (max-width: 767px) {
    .template-visore-h .btn-primary {width: 100%;}
}

/** SIDEBAR **/
#c2i-menu-collassati {display: none;}
.c2i-sub-menu {display: none;}
.c2i-sub-menu-page {display: none;}
.c2i-side-menu-page {display: inline-block !important; width: 90%;}
.c2i-side-submenu-page {display: inline-block;}


/** SWIPER **/
.swiper-pagination-bullet {background: #0059b3 !important; opacity: .3 !important; height: 8px !important;}
.swiper-pagination-bullet-active {background: #0059b3 !important; opacity: 1 !important;}
.swiper-pagination-bullet {background: #c30000!important;}
.swiper-pagination-bullet-active {background: #c30000!important; opacity: 1!important;}
.swiper-pagina-gallery {margin-bottom: 50px !important;}
.swiper-pagination-pagina-gallery {bottom: 0 !important;}
.swiper-news-gallery .swiper-pagination-bullet {background: #DBDBDB !important; opacity: 1 !important; height: 8px !important; margin: 0 10px !important;}
.swiper-news-gallery .swiper-pagination-bullet-active {background: #F1C411 !important; opacity: 1 !important;}
.swiper-news-gallery {padding-bottom: 50px !important;}
.swiper-pagination-news-gallery {bottom: 0 !important; width: 150px !important; left: 50% !important; transform: translateX(-50%) !important;}
.swiper-button-next {bottom: 0 !important; top: unset !important; z-index: 999; bottom: -10px !important; right: 40% !important;}
.swiper-button-next:after {font-size: 20px !important; color: #F1C411 !important;}
.swiper-button-prev {bottom: 0 !important; top: unset !important; z-index: 999; bottom: -10px !important; left: 40% !important;}
.swiper-button-prev:after {font-size: 20px !important; color: #F1C411 !important; bottom: -10px !important;}
@media (max-width: 767px) {
    .swiper-news-gallery {padding-left: 15px !important; padding-right: 15px !important;}
    .swiper-slide-news {max-width: 275px;}
}

/** PAGINATION **/
.pagination-wrapper {padding-bottom: 15px;}
.pagination .page-item .page-link, .pagination .page-item .page-link:hover {cursor: pointer;}
.swiper-pagination-bullets.swiper-pagination-horizontal {width: auto !important;}
.pagination .page-item {width: auto;}
.swiper-pagination-clickable .swiper-pagination-bullet {background: transparent !important; height: auto; opacity: 1 !important;}
.pagination .page-item .page-link, .pagination .page-item .page-link:hover {display: block !important; width: auto; min-width: auto; height: auto;}
.swiper-pagination-clickable .swiper-pagination-bullet-active a {border: 1px solid #9F0022 !important; color: #9F0022 !important;}

.c2i-gallery .swiper-pagination{position: relative;}
.c2i-gallery .swiper-pagination-bullets.swiper-pagination-horizontal {width: 100% !important;}
.c2i-gallery .swiper-pagination-bullet {background: #bcbcbc !important;}
.c2i-gallery .swiper-pagination-bullet.swiper-pagination-bullet-active {background: #c30000 !important;}

/** OFFCANVAS BOOTSTRAP 4 **/
.offcanvas-collapse {position: fixed; top: 0; bottom: 0; width: 100%; padding: 0; overflow-y: auto; background-color: rgba(0,0,0,0.4); transition: -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out; transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out; transform: translateX(-100%); z-index: 999;}
.offcanvas-collapse.open {transform: none !important;}
#offcanvas-menu-mobile .template-menu {max-width:90%; background:#c30000; height: 100%;}
#offcanvas-menu-mobile .template-menu-textarea {padding:30px; margin-right:80px; background:#fff; position:relative; height: 100%;}
#offcanvas-menu-mobile .template-menu .btn-close {position:absolute; z-index:999; top:45px; right:-33px; background: none;}
#offcanvas-menu-mobile .template-menu .logo-int img {max-height:60px;}
#offcanvas-menu-mobile .template-menu .logo-int .tit {font-size:1.3em; font-weight:700;}
#offcanvas-menu-mobile .template-menu .logo-int .sub-tit {font-size:0.85em;}
#offcanvas-menu-mobile .template-menu .menu-first, #offcanvas-menu-mobile .template-menu .menu-second {padding-bottom:20px;}
#offcanvas-menu-mobile .template-menu .nav-item {padding: 0;}
#offcanvas-menu-mobile .template-menu .nav-link {color:#3F3F3F; padding: 0.5rem 0;}
#offcanvas-menu-mobile .template-menu .menu-first .nav-link {font-weight:700; font-size:18px;}
#offcanvas-menu-mobile .template-menu .menu-second {font-size:16px;}
#offcanvas-menu-mobile .template-menu .nav-item ul {margin-top:15px;}
#offcanvas-menu-mobile .template-menu .nav-item ul li {padding:5px 0;}
#offcanvas-menu-mobile .template-menu .box-social {padding-top:12px; font-size:0.9em;}
#offcanvas-menu-mobile .template-menu .box-social a {padding-left:12px;}
@media (max-width: 575px) {
    #offcanvas-menu-mobile .template-menu-textarea {padding:30px 15px; margin-right:50px;}	
}

/* HEADER FIXED */
#menup.fixed {position: fixed; z-index: 999; top: 0; width: 100%; background: #c30000; color: #fff; max-width: 1920px;}
#menup.fixed .nav-link{color: #fff !important; border-bottom: 3px solid transparent;}
#menup .nav-link{border-bottom: 3px solid transparent !important;}

/* MAPPA AGENDA URBANA */
.gm-style div.popup { padding: 8px 10px!important; min-width: 300px;}
.gm-style div.popup h2 { background: #eee !important; color: #333!important; font-weight: bold!important; font-size: 16px!important; text-transform: none!important; padding: 6px!important; }
.gm-style div.popup .txt { font-size: 14px!important; padding: 6px!important; }


.Flexible-container { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; }
.Flexible-container iframe, .Flexible-container object, .Flexible-container embed { position: absolute; top: 0; left: 0; width: 100%!important; max-height: 100%!important; }

#map-canvas { min-height: 550px; }
#legend { background: #fff; padding: 10px; margin: 10px; border: .5pt solid #ccc; min-width: 250px;}
#legend h6 { margin: 0 auto 10px auto; font-size: 15px !important;}
#legend img { vertical-align: sub; height: 14px;}
#legend .tit-tracciato{font-weight: 600; font-size: 12px; line-height: 32px;}
.map-icon { font-size: 18px; line-height: 32px; text-align: right; white-space: nowrap; }


/* FORM CONTATTI */
.c2i-form-contatti .form-group{margin-bottom: 1rem;}
.form-control:focus::placeholder{opacity: 0;}
textarea.form-control{border: 1px solid #CCC5C5;}
.c2i-form-contatti #submit{background: #c30000; color: #fff;}
.c2i-form-contatti #submit:hover{background: #3f3f3f;}


/* SLIDER HOME */
.c2i-banner-header .menu-slider .icon-prev, .c2i-banner-header .menu-slider .icon-next {position: absolute; left: 30px; top: 50%; transform: translateY(-50%); z-index: 11; cursor: pointer;}
.c2i-banner-header .menu-slider .icon-next {left: auto; right: 30px;}
.c2i-banner-header .menu-slider .icon-prev img, .c2i-banner-header .menu-slider .icon-next img{height: 30px;}
@media (max-width: 768px){
    .c2i-banner-header .menu-slider .icon-prev, .c2i-banner-header .menu-slider .icon-next{top: 115px;}
}

/* FIX VARI */
#header .header-top-mobile a{color: #fff;}
.template-intro .box-nav h3 {margin: 0 0 10px 0;}
.box-nav li {padding: 6px 0;}
.dropdown-azioni a.dropdown-toggle img.icon {width: auto; height: 16px;}
.dropdown-azioni .left-icon .icon {max-width: 32px; height: auto; width: auto; max-height: 16px;}


/* GIOVANNI 11/2022 */
.card-download {color: #B11026!important; margin-left: 15px;}
.hiddenMenu {display: none;}


/* DIVINA FOLIGNO */
.c2i-attrattore .swiper-pagina-gallery{background: #000; text-align: center;}
.c2i-attrattore .swiper-pagina-gallery .swiper-pagination-pagina-gallery {bottom: 10px !important;}


/* AGID 2022 */
h2.title-xxlarge{font-size: 1.55em; font-weight: 600;}
.it-hero-wrapper{background: #c30000;}
.template-content .it-page-sections-container ul{padding-left: 2rem; list-style: initial;}


.c2i-sub-menu-page {padding-left: 20px; padding-top: 10px;}

.clean-input{display: none !important;}

.c2i-ricerca .pagination .page-item.active .page-link{border: 1px solid #9F0022 !important; color: #9F0022 !important;}
.c2i-ricerca .category-top .category{font-size: 0.7em; color: #000; font-weight: 600;}

.box-nav li a {text-decoration: none; color: #000; padding-right: 10px;}
.box-nav li a.active {color: #c30000; font-weight: 500;}


@media (max-width: 1500px){
    #header .header-bottom .nav-link {font-size: 0.90em;}
}

input[type="checkbox"]{width: 20px; height: 20px; border: 1px solid #cccccc; vertical-align: middle; }
input[type="checkbox"]:checked{background: #fff url("Static/img/checked.svg") center center no-repeat; background-size: auto; background-size: 14px;}

@media (max-width: 768px){
    .bg-grey-card .col-12{margin: 0;}
    .dropdown-azioni{margin-bottom: 20px;}
}


#page-content {margin: 0 auto;}


/* CALENDARIO */
.c2i-calendario .it-calendar-wrapper .card-title, .c2i-calendario .it-calendar-wrapper .card-title span{font-family: "Roboto", monospace !important; }
.it-calendar-wrapper .it-header-block-title{background: #c30000;}
.it-calendar-wrapper .it-header-block-title h4 {color: #fff;}

.btn-outline-primary {color: #c30000; background-color: transparent; background-image: none; -webkit-box-shadow: inset 0 0 0 1px #c30000; box-shadow: inset 0 0 0 1px #c30000;}
.btn-outline-primary:hover {color: #fff; -webkit-box-shadow: inset 0 0 0 1px #c30000; box-shadow: inset 0 0 0 1px #c30000; background: #c30000;}