/*!
Theme Name: piemonteoggi
Theme URI: https://www.wearecroma.it/
Author: Croma
Author https://www.wearecroma.it/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: piemonteoggi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

piemonteoggi is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
@charset "utf-8";
/* CSS Document */

/*--Import GLOBAL CSS--*/
@import url('css/global.css');
@import url('css/vanilla-calendar-min.css');
@import url('css/swiper-bundle.min.css');
@import url('css/bootstrap.min.css');

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



/**CUSTOM**/



body{background-color:#101558; font-family:var(--font-family); overflow-x:hidden;}
.wrapper{width:100%; max-width:1180px; padding:0 15px; margin:0 auto; position:relative;}
.mechine{position:absolute; top:0; height:100vh; display:grid; place-items:center;}
.mechine.mechine-left{left:0; transform:translateX(-125%);}
.mechine.mechine-right{right:0; transform:translateX(125%);}
.header{padding:12px 25px; border-radius:4px 4px 0 0; background-color:#fff;}
.header-images{min-height:125px; border-radius:12px; width:156px; background-size:cover; background-repeat:no-repeat; background-position:center center; display:grid; place-items:center; background-color:#08315D;}
.header-image-1{background-image:url(../images/header-image-1.jpg);}
.header-strip{background-color:var(--primary-color); min-height:46px; padding:10px 15px;}
.top-links a{display:block; color:#fff; font-size:15px; line-height:1;}
.top-links a:hover{color:#fff; text-decoration:underline;}
.top-strip{padding:15px 0;}
.top-links  .column:not(:last-child){border-right:1px solid #fff;}
.social-media-links a:not(:last-child){margin-right:10px;}
.social-media-links a{color:#fff;}
.social-media-links a:hover{color:#fff; text-decoration:none; opacity:0.7;}
.social-media-links.social-media-links-dark a{color:#000;}
.social-media-links.social-media-links-dark a:hover{color:var(--primary-color);}
.nav-icon{cursor:pointer;}

.section{padding:15px 0;}
.header-labels .row.rows{margin:-6px;}
.header-labels .row.rows .columns{padding:6px;}
.header-label{border-radius:12px; min-height:38px; padding:5px 10px; color:#fff; white-space:nowrap; font-size:14px; display:flex; align-items:center;}
.header-label:hover{color:#fff;}
.header-label span:not(:last-child){margin-right:10px;}
.header-label.light-gray-bg-color{color:#000;}

.main{background-color:#fff; padding:0 25px; border-radius:0 0 4px 4px;}
.links-section .row.rows{margin:-8px -20px;}
.links-section .row.rows .columns{padding:8px 20px; position:relative;}
.links-section .row.rows .columns:not(:last-child)::after{position:absolute; right:0; top:50%; transform:translateY(-50%); height:20px; width:1px; background-color:#707070; content:"";}
.links-section a{display:flex; align-items:center; font-size:17px; color:#000; line-height:1; text-decoration: none;}
.links-section a:hover{text-decoration:underline; color:#000;}
.links-section a span{line-height:1; display:block;}
.links-section a span:not(:last-child){margin-right:5px;}

.secondary-link{color:var(--secondary-color) !important;}
.links-slider-wrap{background-color:var(--primary-color); border-radius:12px; padding:8px 10px;}
.links-slider .swiper-slide{width:auto;}
.links-slider .swiper-slide a{font-size:15px; color:#fff; display:block; position:relative; padding:0 15px;}
.links-slider .swiper-slide a:hover{color:#fff; text-decoration:underline;}
.links-slider-arrows a{display:block;}
.links-slider-arrows a:not(:last-child){margin-right:5px;}
.links-slider-arrows{width:90px;}
.links-slider-block{min-width:0;}
.links-slider .swiper-slide a{position:relative;}
.links-slider .swiper-slide a::after{position:absolute; right:0; top:50%; transform:translateY(-50%); width:1px; height:14px; content:""; background-color:#fff;}


/*territori slider*/

.links-slider-wrapterritori{background-color:ffffff; border-radius:12px; padding:8px 10px;}
.links-sliderterritori .swiper-slide{width:auto;}
.links-sliderterritori .swiper-slide a{font-size:15px; color:#000; display:block; position:relative; padding:0 15px; text-decoration:none;}
.links-sliderterritori .swiper-slide a:hover{color:#000; text-decoration:underline;}
.links-slider-arrows a{display:block;}
.links-slider-arrows a:not(:last-child){margin-right:5px;}
.links-slider-arrows{width:90px;}
.links-slider-block{min-width:0;}
.links-sliderterritori .swiper-slide a{position:relative;}
.links-sliderterritori .swiper-slide a::after{position:absolute; right:0; top:50%; transform:translateY(-50%); width:1px; height:14px; content:""; background-color:#000;}

.ad{border-radius:12px;}
.box-link{min-height:38px; border-radius:12px; background-color:#ECECEC; padding:5px 15px; font-size:14px; text-transform:uppercase; color:#000;}
.box-link:hover{color:#000;}
.box-link.box-link-lg{min-height:64px;}
.box-link.secondary-bg-color{color:#fff;}
.box-link span:not(:last-child){margin-right:10px;}
.box-links .row.rows{margin:-6px -10px;}
.box-links .row.rows .columns{padding:6px 10px;}

/*.article-image{min-height:430px; border-radius:12px; overflow:hidden; background-size:cover; background-repeat:no-repeat; background-position:center center; padding:20px;}*/
.article-image{min-height:430px; border-radius:12px; overflow:hidden; background-size:contain; background-repeat:no-repeat; background-position:center center; padding:20px;}

.article-image-overlay{position:relative;}
.article-image-overlay::after{position:absolute; left:0; top:0; width:100%; height:100%; background: linear-gradient(to right, rgba(0,0,0,0.4) 0%,rgba(84,84,84,0.19) 100%); content:""; opacity:0.28; z-index:0;}
.article-image-label{min-width:100px; border-radius:12px; text-align:center; padding:5px 10px; font-size:14px; font-family:var(--font-bold); color:#000; background:rgba(255,255,255,0.73); text-transform:uppercase; line-height:1;}
.article-image .article-image-label{position:relative; z-index:1;}
.article-image:not(:last-child), .article-row:not(:last-child){margin-bottom:5px;}
.article-section{padding:15px;}
.article.post .article-image{min-height:300px;}

.article-intro-text{font-size:15px;}
.article-intro-row .columns{position:relative;}
.article-intro-row .columns:not(:last-child)::after{width:1px; background:#C7C7C7; content:""; position:absolute; right:0; top:50%; transform:translateY(-50%); content:""; height:50%;}
.ad-section, .banner-section{text-align: center !important;}
.banner-section img{border-radius:12px;}

.post-section .row.rows{margin:-10px;}
.post-section .row.rows .columns{padding:10px;}
.post-ad{border-radius:12px; background-color:#000;}

.video-post-section{background-color:#F2F2F2; margin:0 -25px; padding:25px 25px;}
.article-video{position:relative; padding:10px; border-radius:12px; overflow:hidden; min-height:170px; background-size:cover; background-repeat:no-repeat; background-position:center center; display:grid; place-items:center;}
.article-video:not(:last-child){margin-bottom:15px;}
.article-video.article-image-overlay::after{background:linear-gradient(to bottom, rgba(0,0,0,0.43) 0%,rgba(0,0,0,1) 100%); opacity:0.59; z-index:0;}
.article-video .article-image-label{z-index:1; position:absolute; left:10px; top:10px;}
.article-video .play-icon{position:relative; z-index:1;}

.video-post-section-header:not(:last-child){margin-bottom:15px;}
.two-column-section > .row.rows{margin:-10px;}
.two-column-section > .row.rows > .columns{padding:10px;}
.article-bg-section{background-color:#F2F2F2; padding-right:15px; margin-left:-25px; padding-left:25px;}

.article-banner img{border-radius:12px;}
.double-border{height:10px; border-top:1px solid #D9D9D9; border-bottom:1px solid #D9D9D9;}

.sidebar-box{background-color:#EEE; border-radius:12px; padding:15px;}
.sidebar-box:not(:last-child){margin-bottom:25px;}
.sidebar-box-block:not(:last-child){margin-bottom:30px;}

.sidebar-ad{background-size:cover; background-repeat:no-repeat; background-position:center center; border-radius:12px; padding:30px 15px; min-height:215px; overflow:hidden;}
.sidebar-ad h1{color:#2C3039;}
.sidebar-ad-image{background-size:cover; background-repeat:no-repeat; background-position:center center; min-height:170px;}
.sidebar-ad.sidebar-article-ad{min-height:auto; padding:0;}
.sidebar-ad-content{padding:15px; background-color:#F5F5F5;}

.sidebar-post{padding:25px 0;}
.sidebar-posts .sidebar-post:not(:last-child){border-bottom:1px solid #D9D9D9;}
.sidebar-post .article .article-image{min-height:165px;}
.article-row p a img{position:relative; top:5px;}

.footer:not(:first-child){margin-top:20px;}
.footer-content{padding:30px; border-radius:4px; background-color:#fff;}
.copyright{padding:20px 0; text-align:center;}
.copyright p a{color:#fff;}
.copyright p a:hover{color:#fff; text-decoration:underline;}
.footer-logo img{max-width:480px;}
.footer .social-media-links a{color:#000;}
.footer .social-media-links a:hover{color:var(--primary-color);}
.footer-content p{font-size:16px;}
.footer-logo-block:not(:last-child){margin-bottom:10px;}

.images{border:1px solid #C7C7C7; border-radius:12px; overflow:hidden;}

.section-header:not(:last-child){margin-bottom:30px;}
.announcements-section .row.rows{margin:-15px -25px;}
.announcements-section .row.rows .columns{padding:15px 25px;}
.announcement{border:5px solid #818181; border-radius:12px; padding:15px 30px;}

.announcement{display:block;}
.announcement-image{padding:15px 0; border-bottom:1px solid #C7C7C7;}
.announcement-image:not(:last-child){margin-bottom:10px;}
.announcement-content h4, .announcement-content h6{color:#000;}
.announcement-content h4:not(:last-child), .announcement-content h6:not(:last-child){margin-bottom:5px;}

.breadcrumbs a{color:#A4A4A4;}
.breadcrumbs a:hover{text-decoration:underline; color:#000;}

.content-articles .content-article:not(:last-child){margin-bottom:40px;}
.content-article-image:not(:last-child){margin-bottom:15px;}
.content-article-image img{border-radius:4px;}
.content-article-block p:not(:last-child){margin-bottom:15px;}

.image-slider-wrap{background-color:#EEE; padding:40px; border-radius:4px; position:relative;}
.slider-arrow{position:absolute; top:50%; transform:translateY(-50%);}
.slider-arrow.slider-arrow-prev{left:10px;}
.slider-arrow.slider-arrow-next{right:10px;}

.website-list .row.rows{margin:-25px -8px;}
.website-list .row.rows .columns{padding:25px 8px;}
.website-image{min-height:50px;}
.website-image:not(:last-child){margin-bottom:10px;}
.website-content a:not(:last-child){margin-bottom:5px;}

.calendar-section{padding:30px; border:1px solid #848484; border-radius:4px;}

@media(max-width:1399px){
	.top-strip .container{max-width:100%;}
}
@media(max-width:1199px){
	.header-label{font-size:13px;}
	.header-label{border-radius:10px;}
	.links-slider .swiper-slide a{padding:0 10px;}
	.article-image{min-height:380px;}
	.mechine{display:none;}
	.images{border-radius:10px;}
	.announcement{border-width:4px; border-radius:10px; padding:12px;}
	.announcements-section .row.rows{margin:-10px -15px;}
	.announcements-section .row.rows .columns{padding:10px 15px;}
	.website-list .row.rows{margin:-20px -8px;}
	.website-list .row.rows .columns{padding:20px 8px;}
}
@media(max-width:991px){
	.header{padding:10px 15px;}
	.header-label{border-radius:8px;}
	.main{padding:0 15px;}
	.links-section a{font-size:15px;}
	.links-section .row.rows{margin:-5px -10px;}
	.links-slider-arrows{width:70px;}
	.article-image{min-height:350px;}
	.video-post-section{margin:0 -15px;}
	.video-post-section{padding:15px;}
	.article-bg-section{margin-left:-15px; padding-left:15px;}
	.footer-logo img{max-width:400px;}
	.images{border-radius:8px;}
	.announcement{border-width:3px; border-radius:8px; padding:10px 25px;}
	.announcements-section .row.rows{margin:-10px -10px;}
	.announcements-section .row.rows .columns{padding:10px 10px;}
	.website-list .row.rows{margin:-15px -8px;}
	.website-list .row.rows .columns{padding:15px 8px;}
	.calendar-section{padding:20px;}
}
@media(max-width:767px){
	.wrapper{padding:0;}
	.top-links a{font-size:14px;}
	.header{border-radius:0; padding:20px 15px;}
	.logo img{max-width:280px;}
	.header-label span.survey:not(:last-child){margin:0;}
	.header-labels-section{background-color:#101558;}
	.main{padding:0;}
	.header-labels-section{padding:15px 15px;}
	.header-labels-section.border-bottom{border-bottom:0 !important;}
	.links-slider-arrows{width:60px;}
	.links-slider-section{padding:0;}
	.links-slider-wrap{border-radius:0;}
	.ad-section{padding:15px 15px;}
	.links-slider-section.border-top{border-top:0 !important;}
	.box-links-section{padding-left:15px; padding-right:15px;}
	.article-image{padding:15px;}
	.article-image{border-radius:8px;}
	.article-image{min-height:300px;}
	.banner-section{padding:15px;}
	.post-section{padding:15px;}
	.article.post .article-image{min-height:250px;}
	.video-post-section{margin:0;}
	.video-post-section{padding:15px;}
	.article-bg-section{margin-left:-15px; padding-left:15px;}
	.two-column-section{padding:0 15px;}
	.footer-content p{font-size:14px;}
	.footer-logo img{max-width:350px;}
	.copyright{padding:15px 0;}
	.section-padding{padding-left:15px; padding-right:15px;}
	.images{border-radius:6px;}
	.announcement{border-width:2px; border-radius:6px; padding:10px 20px;}
	.announcements-section .row.rows{margin:-5px -5px;}
	.announcements-section .row.rows .columns{padding:5px 5px;}
	.section-header:not(:last-child){margin-bottom:20px;}
	.calendar-section{padding:15px;}
}
@media(max-width:575px){
	.logo img{max-width:240px;}
	.header-label{padding:5px; min-height:34px;}
	.header-labels .row.rows{margin:-4px;}
	.header-labels .row.rows .columns{padding:4px;}
	.footer-logo img{max-width:300px;}
	.copyright{padding:10px 0;}
	.announcement{padding:10px 15px;}
	.image-slider-wrap{padding:20px 40px;}
	.website-image{min-height:auto;}
}

.swiper-wrapper{
	margin: 0px;
}

.btn.btn-primary{
	border-color: var(--primary-color);
}


/* MODIFICHE */
a:visited {
	color: initial;
}

h1,h2{	
    font-weight: bold;
}

.body.custom-background{
	background-attachment: fixed;
}

.link-img-articolo{
	width: 100%;
}
.link-articolo{
	color: inherit; 
	text-decoration: inherit;
}
.links-slider .swiper-slide a{
text-decoration: none;
}
a.box-link.box-link-lg.secondary-bg-color.d-flex.align-items-center{
	text-decoration: none;
}
a.box-link.d-flex.align-items-center {
    text-decoration: none;
}

.tronc-2row{
	--lh: 1.4rem;
	line-height: var(--lh);
  --max-lines: 2;
	max-height: calc(var(--lh) * var(--max-lines));
	overflow: hidden;
}

.banner-section a{
	width: 100%;
}
.ad-section a{
	width: 100%;
}

.sidebar-ad{
	background-size: contain;
}

.occhiello{

	margin-bottom: 0!important;
}

.secondario_centrale .article-row{
margin-bottom: 5px;
}

.ui-datepicker{
width: 100% !important;
}

.date-submit{
width: 100%;

}
.content-articles p{
	font-size: 24px;
}


@media(min-width:767px){

	.article-section{padding:0px;}	
}


@media(max-width:767px){

	
	.article-row:not(:last-child) {
		margin-bottom: 5px;
	}

	.header-strip h6{		
		font-size: 12px;
	}

}

.sidebar-ad.sidebar-article-ad a{
    width: 100%;
}
a .sidebar-ad-content{
    color: #000;
	text-decoration: none;
}

.nav-icon{cursor:pointer;}

.navbar-toggler{ display: none;}

.mobile-menu{position:fixed; width:100%; height:100%; left:0; top:0; background:var(--secondary-color); z-index:999; opacity:0; visibility:hidden; transition:all 0.1s linear;}
.mobile-menu.active{opacity:1; visibility:visible;}
.mobile-menu-header{padding:10px 15px; min-height:80px;}
.mobile-menu .logo img{max-width:200px;}
.mobile-menu-content{min-height:0; padding:15px;}
.mobile-menu-content-wrap{height:100%; overflow-y:scroll; overflow-x:hidden;}
.close-btn{cursor:pointer;}
.close-btn img{max-width:20px;}
.mobile-menu-block:not(:last-child){margin-bottom:40px;}
.mobile-menu-block-header{padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,0.3);}
.mobile-menu-block-header:not(:last-child){margin-bottom:15px;}
.mobile-menu h4{color:#fff;}
.mobile-menu ul{margin:-5px; display:flex; flex-wrap:wrap; padding-left: 5px;}
.mobile-menu ul li{padding:5px;}
.mobile-menu ul li a{font-size:14px; color:#fff; font-family:var(--font-bold);}
.mobile-menu ul li a:hover{color:#fff;}

.fa-facebook-f, .fa-facebook-square { color: #3b5998; }
.fa-twitter, .fa-twitter-square { color: #00aced; }
.fa-google-plus, .fa-google-plus-square { color: #dd4b39; }
.fa-youtube, .fa-youtube-play, .fa-youtube-square { color: #bb0000; }
.fa-tumblr, .fa-tumblr-square { color: #32506d; }
.fa-vine { color: #00bf8f; }
.fa-flickr { color: #ff0084; }
.fa-vimeo-square { color: #aad450; }
.fa-pinterest, .fa-pinterest-square { color: #cb2027; }
.fa-linkedin, .fa-linkedin-square { color: #007bb6;}
.fa-instagram {color:#d62d6b  }
.fa-spotify { color: #1ed760; }
.fa-telegram { color: #4682b4; }

.post-template-template-no-banner .banner-dett-mobile{
 display: none !important;
}

.logo{
width: 100%;
text-align: center;
}

.entry-footer{
display:none;

}

.widget-area{
	display: none;
}

/*pagina donazioni */
.page-id-456 .box-links-section{
	display: none!important;
}
.page-id-456 .banner-dett-mobile{
	display: none!important;
}

#post-456{
	padding: 25px;
}

/*pagina cerca per data */
.page-id-51 .ad-section{
	display: none!important;
}

/* gestisce il "non a capo"nei titoli*/

.article-row .fw-bold span {

    display: inline;

}


@media(max-width:767px){
.header_top iframe {
	max-height: 300px;
	
}}

/* Cose */
@keyframes pulsaagrande {
	0% { font-size: 26px; }
    50% { font-size: 30px; }
    100% { font-size: 26px; }
}
@keyframes pulsaaa {
    0% { font-size: 22px; }
    50% { font-size: 24px; }
    100% { font-size: 22px; }
}
@keyframes pulsaaamobile {
	0% { font-size: 18px; }
    50% { font-size: 20px; }
    100% { font-size: 18px; }
}
div.box-links span.fw-bold {
    animation: pulsaaa infinite;
    animation-duration: 5s;
    text-align: center;
}
@media screen and (min-width: 1240px) {
	div.box-links span.fw-bold {
		animation: pulsaagrande infinite;
		animation-duration: 5s;
	}	
}
@media screen and (max-width: 980px) {
	div.box-links span.fw-bold {
		animation: pulsaaamobile infinite;
		animation-duration: 5s;
	}	
}
div.flex-img-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
div.flex-img-wrapper img {
	max-height: 285px;
	z-index: 100;
}
div.flex-img-wrapper span.article-image-label {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}
h1.fw-bold {
    margin: 0;
}
div.sidebar-post article.article div.article-row {
    margin: 0;
}
@media screen and (max-width: 768px) {
    body.home section.post-section div.row div.d-lg-block {
        margin: 25px 0;
    }
    body.home section.post-section div.row div.d-flex.d-block {
        margin: 20px 0 30px 0;
    }
    body.home section.section div.article-banner {
        margin: 25px 0 25px 0;
    }
    body.home section.border-top article.header_top div.d-flex {
        margin: 25px 0 5px 0;
    }
    div.article-row.article-intro-row.d-block.d-md-none {
        display: none!important;
    }
    div.article-row.article-intro-row.d-none.d-md-block {
        display: block!important;
    }
    div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category {
        display: flex!important;
    }
}
@media screen and (max-width: 540px) {
    div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category div.row:nth-child(2) div.columns:nth-child(1):after {
        display: none;
    }
    div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category div.row:nth-child(2) div.columns:nth-child(2) {
        display: none;
    }
}
@media screen and (max-width: 880px) {
    div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.flex-dbl div.row:nth-child(2) div.columns:nth-child(1):after {
        display: none;
    }
    div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.flex-dbl div.row:nth-child(2) div.columns:nth-child(2) {
        display: none;
    }
}
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.flex-trpl div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-1 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-2 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-3 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-4 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-5 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-6 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-7 div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.post-territorio div.row:nth-child(2) div.columns:nth-child(1):after,
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.post-categoria div.row:nth-child(2) div.columns:nth-child(1):after {
    display: none;
}
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.flex-trpl div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-1 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-2 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-3 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-4 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-5 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-6 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.apertura-7 div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.post-territorio div.row:nth-child(2) div.columns:nth-child(2),
div.article-row.article-intro-row.d-none.d-md-block.ctm-flex-category.post-categoria div.row:nth-child(2) div.columns:nth-child(2) {
    display: none;
}
div.ctm-flex-category {
    display: flex!important;
    flex-direction: row-reverse!important;
    flex-wrap: wrap!important;
    justify-content: flex-end!important;
    align-items: flex-start!important;
    gap: 25px!important;
}
div.ctm-flex-category > :first-child {
    margin-left: auto!important;
}
div.ctm-flex-category > * {
    width: max-content!important;
}
/* 
@media screen and (max-width: 980px) {
    div.ctm-flex-category {
        flex-direction: column!important;
        margin-top: 25px!important;
    }
    div.ctm-flex-category > :first-child {
        margin-left: 0!important;
    }
    div.ctm-flex-category > :first-child > div {
        padding: 0!important;
    }
}
@media screen and (max-width: 768px) {
    div.ctm-flex-category>:first-child {
        padding-bottom: 10px!important;
    }
}
*/
div.ctm-flex-detail {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    margin-right: auto;
}
/* div.detail-row-reverse {
    display: flex!important;
    flex-direction: column-reverse;
    gap: 15px;
} */
div.image-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 35px;
}
@media screen and (max-width: 640px) {
    div.image-gallery-wrapper {
        grid-template-columns: 1fr;
    }
}
div.image-gallery-wrapper div.gallery-image {
    width: 100%!important;
    height: 100%!important;
    max-height: 195px;
}
div.image-gallery-wrapper div.gallery-image a {
    width: 100%!important;
    height: 100%!important;
}
div.image-gallery-wrapper div.gallery-image img {
    width: 100%!important;
    height: 100%!important;
    object-fit: cover!important;
}


div.article-row.article-intro-row.d-none.d-md-block.detail-row-reverse {
    display: flex!important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    gap: 15px;
}
@media screen and (max-width: 980px) {
    div.ctm-thumbnail-infos {
        flex-direction: column;
        justify-content: flex-start!important;
        align-items: flex-start!important;
    }
    div.ctm-thumbnail-infos > div.columns {
        padding: 15px 0 0 15px!important;
    }
    div.ctm-thumbnail-infos > div.columns:after {
        display: none;
    }
    div.ctm-thumbnail-infos > div.columns:nth-child(3) {
        padding-bottom: 15px !important;
    }
}
a.wa-ctm svg {
	color: #00e676;
}

div.ctm-flex-category.search div.col-auto a { border-radius: 4px!important; }
div.ctm-flex-category.search div.col-auto::after { display: none!important; }

body.hfeed div.ctm-flex-category {
    display: flex!important;
    flex-direction: row-reverse!important;
    flex-wrap: nowrap!important;
    justify-content: flex-end!important;
    align-items: flex-start!important;
    gap: 25px!important;
}

div.ctm-flex-category.search > div.row:nth-child(2) > div.columns:nth-child(2) {
	display: none!important;
}

/* 20220307 */
div.calendar-section form.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.calendar-section form.search-form input::placeholder {
	color: #fff!important;
}
div.calendar-section form.search-form input[type=submit] {
    background-color: #a80404!important;
    color: #fff!important;
}
div.calendar-section form.search-form * {
    width: 100%;
}
div.section-content label {
    display: block;
    text-align: center!important;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}
label.ctm-label {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}

@media screen and (min-width: 980px) {
	a.box-link.box-link-lg.secondary-bg-color.d-flex.align-items-center {
		background-color: #a80404!important;
		height: 200px!important;
	}
	a.box-link.box-link-lg.secondary-bg-color.d-flex.align-items-center span.flex-grow-1 {
		font-family: Comic Sans MS, Comic Sans, sans-serif, cursive!important;
	}
}

ul.easy-image-gallery {
    display: grid!important;
    grid-template-columns: repeat(3,1fr);
    column-gap: 25px;
    row-gap: 25px;
}
ul.easy-image-gallery li * {
    border-radius: 0!important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
ul.easy-image-gallery li {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 235px;
}
ul.easy-image-gallery span.overlay {
    display: none!important;
}
ul.easy-image-gallery i.icon-view {
    display: none!important;
}
@media screen and (max-width: 640px) {
	ul.easy-image-gallery { grid-template-columns: 1fr; }	
}


@media screen and (min-width: 1241px) {
	.fancybox-navigation .fancybox-button {
		background-clip: content-box;
		height: 115px!important;
		opacity: 0;
		position: absolute;
		top: calc(50% - 50px);
		width: 115px!important;
	}
	button.fancybox-button.fancybox-button--arrow_right {
		right: 5%!important;
	}
	button.fancybox-button.fancybox-button--arrow_left {
		left: 5%!important;
	}
}
@media screen and (min-width: 1440px) {
	button.fancybox-button.fancybox-button--arrow_right {
		right: 10%!important;
	}
	button.fancybox-button.fancybox-button--arrow_left {
		left: 10%!important;
	}
}
.fancybox-infobar {
    font-size: 22px!important;
}

/* div.fancybox-infobar {
    position: absolute!important;
    top: 85%!important;
    bottom: 0px!important;
    left: 50%!important;
    transform: translateX(-50%);
} */
div.fancybox-infobar {
    position: absolute!important;
    top: 85%!important;
    bottom: 0!important;
    left: 5%!important;
}
div.fancybox-infobar span:first-child::before {
	content: 'Foto: ';
}
.fancybox-container * {
    font-size: 18px!important;
    opacity: 1!important;
    color: #fff!important;
}