/*!
Theme Name: entemanifestazioni
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: entemanifestazioni
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.

entemanifestazioni 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
--------------------------------------------------------------*/

/* 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.2;
	-webkit-text-size-adjust: 100%;
	font-size: 16px;
}

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

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

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

/**
 * 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: 700;
}

/**
 * 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-size: 100%;
	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: 2px solid blue;
}

/**
 * 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: #444;
	font-family: inherit;
	font-size: 1.125rem;
	line-height: 1.4;
}

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: var(--color-bg);
	overflow-x: hidden;
}

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

ul,
ol {
	font-size: 1.1rem;
	padding-left: 20px;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: var(--weight-bold);
}

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,
a:visited {
	color: var(--color-1);
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: var(--color-2);
}

*:focus-visible {
  outline: 2px solid blue;
  outline-offset: 3px;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 5px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	text-transform: uppercase;
	font-weight: var(--weight-bold);
 	font-size: 16px;
  	letter-spacing: 1px;
}

input[type="submit"] {
	background-color: var(--color-1);
	transition: background-color 0.2s;
}

input[type="button"]:hover,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus {
	background-color: var(--color-2);
}

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"],
select,
textarea {
	width: 100%;
	color: #333;
	font-size: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 5px;
	padding: 15px 20px;
	transition: border-color 0.2s;
	background-color: #fff;
}

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,
select:focus,
textarea:focus {
		border-color: var(--color-1);
		outline: 1px solid var(--color-1);
		outline-offset: 0px;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
  color: #767676;
}

select option:first-of-type {
  color: #767676;
}

option:not(:first-of-type) {
  color: #333;
}

button,
select,
label,
input[type="submit"] {
	cursor: pointer;
}

textarea {
	width: 100%;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

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

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

/* Navigation
--------------------------------------------- */

.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;
}

.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,
.site-footer ul.menu .menu-item-description{
	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: var(--weight-bold);
	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;
}


/* ------------------ Inizio tema  ------------------ */

:root {
	--color-1: #8f2732;
	--color-2: #000000;
	--color-bg: #f5f5f4;
	--color-border: #e6e6e6;
	--color-text: #333;
	--weight-bold: 600;
}

/* UTILITA' */

.site-container,
.page-template-page-container #primary > article.page {
	max-width: 1280px;
  	margin: 0 auto;
	padding: 0 40px;
}

.header-container {
	max-width: 1440px;
  	margin: 0 auto;
	padding: 0 40px;
}

@media screen and (max-width: 480px) {
	.site-container,
	.header-container,
	.page-template-page-container #primary > article.page  {
		padding: 0 20px;
	}
}

body:not(.single-post):not(.page-template-default) main#primary::before,
body:not(.single-post):not(.page-template-default) main#primary::after,
body.single-post .deco-box::before,
body.single-post .deco-box::after {
	content: "";
	display: block;
	position: absolute;
	background-repeat: no-repeat;
	z-index: -1;
}

body:not(.single-post):not(.page-template-default) main#primary::before,
body.single-post .deco-box::before,
.deco-box-start::before {
	top: 200px;
	left: 0;
	width: 280px;
	height: 280px;
	background-image: url("img/deco1.jpg")!important;
}

body:not(.single-post):not(.page-template-default) main#primary::after,
body.single-post .deco-box::after,
.deco-box-end::after {
	bottom: 0;
	right: 0;
	width: 320px;
	height: 320px;
	background-image: url("img/deco2.jpg");
}

.deco-box-start::before,
.deco-box-end::after {
	content: ""!important;
	background-repeat: no-repeat;
	position: absolute;
	z-index: -1;
}

.deco-box-start {
	border-top: 1px solid var(--color-border);
}

.deco-box-start::before {
	top: 0;
}

.deco-box-end {
	border-bottom: 1px solid var(--color-border);
}

.section-title {
  position: relative;
  margin: 40px 0;
  display: flex;
}

.section-title :is(h1, h2) {
  font-size: 22px;
  text-transform: uppercase;
  display: inline-block;
  z-index: 9;
  position: relative;
  margin: 0;
  padding-right: 30px;
  color: var(--color-2);
}

.section-title::after {
  content: "";
  border-top: 1px solid #e6e6e6;
  display: inline-block;
  position: relative;
  top: 14px;
  flex: 1 auto;
  height: 1px;
}

h1,
h2,
.main-title {
	font-size: 36px;
	color:var(--color-1);
	letter-spacing: 0.5px;
	line-height: 1.3;
	font-weight: var(--weight-bold);
}

h3 {
	font-size: 22px;
	color:var(--color-2);
	font-weight: var(--weight-bold);
	line-height: 1.3;
}

.site-main a {
	font-weight: var(--weight-bold);
}

.elementor-page .elementor-heading-title {
	line-height: 1.3;
}

.site-main :is(p) {
	line-height: 1.8;
}

.site-main :is(ol, ul) {
	line-height: 1.7;
}

.page article.page a,
.single article.post .entry-content a,
.elementor-widget-text-editor a {
	font-weight: var(--weight-bold);
}

@media screen and (max-width: 768px) {
	.subtitle {
		font-size: 16px;
	}
	h1,
	h2,
	.main-title {
		font-size: 28px;
	}
	h3 {
		font-size: 22px;
	}
}

ul.menu,
ul.list-style,
.single-post .post-content .entry-content ul,
.elementor-widget-text-editor ul {
	padding-left: 0px;
	list-style: none;
}

ol.list-style,
.single-post .post-content .entry-content ol,
.elementor-widget-text-editor ol {
	 counter-reset: item;
	 padding-left: 0px;
 	 list-style: none;
}

:is(ul, ol).list-style li,
.single-post .post-content .entry-content :is(ul, ol) li,
.elementor-widget-text-editor :is(ul, ol) li {
	position: relative;
	padding-left: 1.25em;
}

ul.list-style li::before,
.single-post .post-content .entry-content ul li::before,
.elementor-widget-text-editor ul li::before {
  	content: "";
  	border: solid var(--color-1);
	width: 6px;
	height: 6px;
	border-radius: 6px;
	top: 12px;
	position: absolute;
	left: 2px;
}

ol.list-style li::before,
.single-post .post-content .entry-content ol li::before,
.elementor-widget-text-editor ol li::before {
	content: counter(item) ". ";
  	counter-increment: item;
	position: absolute;
	left: 2px;
	color: var(--color-1);
	font-size: 1em;
	font-weight: 500;
}

ul.nude, ol.nude {
	list-style: none;
  	margin: 0;
  	padding-left: 0;
}

a.button,
button.button,
.wp-block-button > a,
.elementor-widget-button:not(.nostile) a.elementor-button {
  	text-decoration: none;
  	background-color: transparent;
  	color: var(--color-1);
  	padding: 18px 20px;
  	display: inline-block;
  	border: 2px solid var(--color-1);
  	margin: 10px 5px 0;
  	transition: all 0.5s;
  	font-weight: var(--weight-bold);
  	font-size: 14px;
  	text-transform: uppercase;
  	letter-spacing: 1px;
  	border-radius: 5px;
	line-height: 1.2;
}

a.button:not(.no-arrow)::after,
button.button:not(.no-arrow)::after,
.wp-block-button:not(.no-arrow) > a::after,
.elementor-widget-button:not(.nostile):not(.no-arrow) a.elementor-button .elementor-button-text::after  {
  content: "";
  border-style: solid;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg) scale(1);
  margin-left: 5px;
  position: relative;
  top: -1px;
  transition: opacity 0.5s, transform 0.5s;
}

a.button:hover,
button.button:hover,
.wp-block-button > a:hover,
.elementor-widget-button:not(.nostile) a.elementor-button:hover {
  background-color: var(--color-1);
  color: #fff;
}

a.button:not(.no-arrow):hover,
button.button:not(.no-arrow):hover,
.wp-block-button:not(.no-arrow) > a:hover,
.elementor-widget-button:not(.nostile):not(.no-arrow) a.elementor-button:hover {
  padding-left: 26px;
  padding-right: 14px;
}


a.button:not(.no-arrow):hover::after,
button.button:not(.no-arrow):hover::after,
.wp-block-button:not(.no-arrow) > a:hover::after,
.elementor-widget-button:not(.nostile):not(.no-arrow) a.elementor-button:hover .elementor-button-text::after   {
  opacity: 0;
  transform: rotate(-45deg) scale(0.1);
}


a.button:where(.fill),
button.button:where(.fill),
.wp-block-button:where(.fill) > a,
.elementor-widget-button:not(.nostile):where(.fill) a.elementor-button {
  background-color: #fff;
  color: #000;
}

a.button:where(.fill):hover,
button.button:where(.fill):hover,
.wp-block-button:where(.fill) > a:hover,
.elementor-widget-button:not(.nostile):where(.fill) a.elementor-button:hover {
  background-color: #fff;
  color: var(--color-1);
}

a.button:where(.fill.no-arrow):hover,
button.button:where(.fill.no-arrow):hover,
.wp-block-button:where(.fill.no-arrow) > a:hover,
.elementor-widget-button:not(.nostile):where(.fill.no-arrow) a.elementor-button:hover {
  background-color: #000;
  color: #fff;
}

.elementor-widget-button:not(.nostile) a.elementor-button .elementor-button-content-wrapper {
  display: inline-block;
}

button.nude {
	background-color: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	font-size: inherit;
	color: inherit;
	font-weight: inherit;
	text-transform: inherit;
}

.hide {
	display: none;
}

@media screen and (min-width: 1201px) {
	.hide-desktop {
		display: none;
	}
}

@media screen and (max-width: 1200px) {
	.hide-mobile {
		display: none;
	}
}

.deco-bg::before,
body.navint-sticky #nav-box::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 1000%;
	background-image: url("data:image/svg+xml;base64,DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEgNyI+DQo8cmVjdCBzdHlsZT0iZmlsbDojZmZmZmZmOyIgeD0iMCIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPg0KPC9zdmc+DQo=");
	background-repeat: repeat;
	transform: rotate(-45deg);
	background-size: 0.85px;
	opacity: 0.1;
	min-width: 800px;
}

.logo-path::after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url("img/logo-path.svg");
	background-repeat: no-repeat;
  	background-size: 600px;
  	background-position: 90% 60%;
  	opacity: 0.1;
}


/* elementor */

.col-img .elementor-widget {
	height: 100%;
}

@media screen and (max-width: 1200px) {
	.elementor-element.br br {
		display: none;
	}
}

.dialog-type-lightbox.dialog-type-lightbox {
	z-index: 99999;
}

.dialog-type-lightbox .elementor-slideshow__footer {
	display: none;
}

.swiper-pagination {
	bottom: -20px !important;
	position: relative !important;
}

.swiper-pagination .swiper-pagination-bullet {
	width: 40px;
	height: 6px;
	margin: 0 10px !important;
	padding: 9px 0;
	background-color: transparent;
  	box-sizing: content-box;
	transition: all 0.5s;
}

.swiper-pagination .swiper-pagination-bullet::after  {
	content: "";
	display: block;
	position: relative;
	background-color: var(--color-2);
	width: 100%;
	height: 100%;
	border-radius: 5px;
	transition: all 0.5s;
}

.swiper-pagination .swiper-pagination-bullet:hover {
	opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet:hover::after {
	background-color: var(--color-1);
}

.elementor-widget-image-gallery .elementor-image-gallery .gallery .gallery-item {
	max-width: none;
}

.elementor-widget-image-gallery .elementor-image-gallery .gallery .gallery-item {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media screen and (max-width: 768px) {
	.elementor-widget-image-gallery.loghi .elementor-image-gallery .gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 480px) {
	.elementor-widget-image-gallery.loghi .elementor-image-gallery .gallery {
		grid-template-columns: repeat(1, 1fr);
	}
}

.box-cta::before {
	content: ""!important;
	width: 100%!important;
	height: 1000%!important;
	background-image: url("data:image/svg+xml;base64,DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEgNyI+DQo8cmVjdCBzdHlsZT0iZmlsbDojZmZmZmZmOyIgeD0iMCIgeT0iMyIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPg0KPC9zdmc+DQo=");
	background-repeat: repeat;
	transform: rotate(-45deg);
	background-size: 0.85px;
	opacity: 0.1!important;
	min-width: 900px;
	transform-origin: 0% 10%;
}

@media screen and (min-width: 769px) {
	.box-cta.logo-path::after {
 	 	background-size: 1000px;
  		background-position: 120% 60%;
	}
}

.box-cta h2 {
	color: #fff;
	margin: 0;
}

.box-cta p {
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {
	.box-cta p {
		font-size: 18px;
	}
}

.elementor-widget-button.full-width,
.elementor-widget-button.full-width a {
	width: 100%;
}

.foto-box  a.elementor-button-link {
	background-color: #FFFFFF;
	font-size: 14px;
	text-transform: uppercase;
	color: var(--color-1);
	border: 1px solid var(--color-border);
	border-radius: 5px;
}

.foto-box  a.elementor-button-link:hover {
	background-color: var(--color-1);
	color: #fff;
}

.foto-box  a.elementor-button-link .elementor-button-text {
	font-weight: 700;
}

.foto-box p.elementor-heading-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-1);
	text-align: center;
}

.foto-box h3.elementor-heading-title {
	font-size: 20px;
	text-align: center;
}


/* iubenda */

.iubenda-nostyle {
  width: auto!important;
	height: auto!important;
}

#iubenda-iframe #purposes-content-container .purposes-header .purposes-header-title {
  font-size: 40px !important;
  margin-bottom: 16px !important;
  line-height: 1.2 !important;
}

@media (max-width: 799px) {
 #iubenda-iframe #purposes-content-container .purposes-header .purposes-header-title {
    font-size: 24px !important;
  }
}

/* page header */

.header-title {
	min-height: 200px;
	display: flex;
	align-items: center;
	width: 100%;
	background-color: var(--color-1);
	position: relative;
	overflow: hidden;
	padding: 40px 0;
}

.header-title #logo-item {
	position: absolute;
	width: 600px;
  	height: 460px;
	background-image: url("img/logo-path.svg");
	background-repeat: no-repeat;
  	opacity: 0.1;
	right: 60px;
}

.header-title > div:not(#logo-item) {
	width: 100%;
	position: relative;
  	z-index: 9;
}

.header-title :is(.parent-title, .main-title) {
	color: #fff;
	text-transform: uppercase;
	font-weight: var(--weight-bold);
	margin: 0;
	line-height: 1.4;
}

.header-title .parent-title {
	font-size: 18px;
}

.header-title .main-title {
	font-size: 30px;
}


@media screen and (max-width: 480px) {
	.header-title #logo-item {
		width: 400px;
  		height: 300px;
		right: 20px;
	}
	.header-title .parent-title {
 		font-size: 16px;
	}
	.header-title .main-title {
 		font-size: 24px;
	}
}


/* Template con contenitore */

.page-template-page-container #primary > article.page {
	padding-top: 80px;
  	padding-bottom: 100px;
}

.page-template-page-container .site-footer {
	border-top: 1px solid var(--color-border);
}

.page-template-page-container .site-footer .footer-body{
	border-top: 0;
}

@media (max-width: 768px) {
	.page-template-page-container #primary > article.page{
  		padding-top: 60px;
 		padding-bottom: 80px;
	}
}

/* NAV */

.site-header {
	background-color: #fff;
}

.site-header .header-content {
	border-bottom: 1px solid var(--color-border);
	display: flex;
  	justify-content: space-between;
 	align-items: center;
}

.site-header .header-content #menu-contact {
	display: flex;
	margin: 0;
} 

.site-header .header-content #menu-contact li {
	margin-left: 100px;
}

.site-header .header-content #menu-contact li:is(.fax, .indirizzo) {
	display: none;
}

.site-header .header-content #menu-contact li a {
	color: var(--color-2);
	font-size: 16px;
	line-height: 1;
	position: relative;
}

.site-header .header-content #menu-contact li a:hover {
	color: var(--color-1);
}

.site-header .header-content #menu-contact .menu-item-description {
	text-transform: uppercase;
  	font-size: 13px;
  	display: block;
  	font-weight: 500;
  	letter-spacing: 0.5px;
	color: var(--color-2);
}

.site-header .header-content #menu-contact li a::before {
	content:"";
	background-repeat: no-repeat;
	filter: contrast(60%);
	position: absolute;
	width: 48px;
	height: 48px;
	display: inline-block;
	background-size: contain;
	background-position: center;
	left: -60px;
  	top: -7px;
}

.site-header .header-content #menu-contact li a[href^="tel:"]::before,
.site-footer .contatti-footer ul.menu a[href^="tel:"]::before  {
	background-image: url("img/icon_phone.svg");
}

.site-header .header-content #menu-contact li a[href^="mailto:"]::before,
.site-footer .contatti-footer ul.menu a[href^="mailto:"]::before {
	background-image: url("img/icon_mail.svg");
}

.main-navigation > div {
    height: 100%;
}

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

.main-navigation ul.menu {
	justify-content: flex-end;
	height: 100%;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	font-weight: 500;
}

 .main-navigation .menu > li > a {
	padding: 0 18px;
	height: 100%;
	display: flex;
	align-items: center;
	transition: color 0.2s;
	text-transform: uppercase;
  	font-size: 14px;
}

 .main-navigation .menu li a {
	color: var(--color-text);
	position: relative;
}

.main-navigation .menu li a:hover {
	color: var(--color-1);
}

#main-nav  { 
	background-color: #fff;
	height: 60px;
	position: sticky;
	top: 0;
	z-index: 9999;
	transition: height 0.2s;
}

#main-nav .nav-container {
	display: flex;
  	justify-content: space-between;
	height: 100%;
}

#main-nav #menu-social {
	display: flex;
  	font-size: 12px;
  	margin: 0;
}

body.nav-sticky #main-nav::after {
	content:"";
	display: block;
	position: relative;
	width: 100%;
	height: 10px;
	left: 0;
	background-image: linear-gradient(rgba(0,0,0,0.05), transparent);
	transition: top 0.2s;
}


/* NAV secondo livello: genitori, selezioni e submenu */

#site-navigation ul.menu > li.menu-item.menu-item-has-children > button {
	position: absolute;
	border: 0;
	padding: 0;
}
#site-navigation ul.menu > li.menu-item.menu-item-has-children > button::before {
	content: "";
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	position: relative;
}
#site-navigation ul.menu > li.menu-item.menu-item-has-children > button[aria-expanded="true"]::before {
	transform: rotate(-135deg);
}

@media screen and (min-width: 1201px){ /* dimensione sopra l'hamburger menu*/
	.main-navigation li:not(.megamenu) .sub-menu {
		display: flex !important;
		flex-direction: column;
	}
	.main-navigation .menu > li > .sub-menu {
		border-top: 2px solid var(--color-1);
		transform: translateY(20px);
		transition: transform 0.3s, opacity 0.2s;
	}
	.main-navigation .menu > li:hover > .sub-menu,
	.main-navigation .menu > li.open > .sub-menu {
		transform: translateY(0px);
	}
	#main-nav .main-navigation .menu > li.menu-item-has-children > a::before {/* freccia superiore submenu */
		content: "";
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-bottom: 7px solid var(--color-1);
		position: absolute;
		bottom: 0;
		left: calc(50% - 10px);
		transform: translateY(20px);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s, opacity 0.3s;
	}
	#main-nav .main-navigation .menu > li.menu-item-has-children:hover > a::before,
	#main-nav .main-navigation .menu > li.menu-item-has-children.open > a::before {
		transform: translateY(0px);
		opacity: 1;
		visibility: visible;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > a {
		padding-right: 26px;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > button {
		background-color: transparent;
		width: 14px;
		height: 14px;
		top: calc(50% - 7px);
		right: 7px;
		pointer-events: none;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > button::before {
		border: solid var(--color-text);
		border-width: 0 2px 2px 0;
		top: -7px;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > button[aria-expanded="true"]::before {
		top: -3px;
	}
	.main-navigation .sub-menu .menu-item-has-children > a::after {/* icona marcatore genitori secondo livello+ */
		content: "";
		border: solid #fff;
		border-width: 0 1px 1px 0;
		display: inline-block;
		padding: 3px;
		transform: rotate(-45deg);
		top: calc(50% - 3px);
		position: absolute;
		right: 12px;
	}
	#main-nav .main-navigation ul.menu > li.current-menu-item::before,
	#main-nav .main-navigation ul.menu > li.current-menu-ancestor::before,
	body:not(.error404):not(.search-results) #main-nav .main-navigation ul.menu > li.current_page_parent::before,
	body.single-tribe_events  #main-nav .main-navigation ul.menu > li.calendario::before { /* voci attive primo livello */
		content:"";
	 	border-bottom: 3px solid var(--color-1);
		width: 100%;
		display: block;
		position: relative;
		top: calc(100% - 3px);
		margin: 0 auto -2px;
	}
	.main-navigation ul ul {
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		position: absolute;
		top: 100%;
		z-index: 99999;
		transform: translateX(20px);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.2s, opacity 0.2s;
	}
	.main-navigation ul ul ul {
		top: 0;
	}
	#site-navigation.main-navigation ul li:not(.wpml-ls-item) ul a {
		min-width: 280px;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.open > ul {
		left: auto;
		transform: translateX(0px);
		opacity: 1;
		visibility: visible;
	}
	.main-navigation ul li:not(.megamenu) ul li:hover > ul {
		left: 100%;
	}
	.main-navigation .sub-menu {
		background-color: #fff;
		padding: 8px 26px;
	}
	.main-navigation .sub-menu li a {
		padding: 16px 0;
		line-height: 1.2;
		transform: translateX(0px);
		transition: color 0.2s, transform  0.2s;
	}
	.main-navigation .sub-menu li:not(.wpml-ls-item) a:hover {
		transform: translateX(6px);
	}
	.main-navigation .sub-menu li:not(:last-child) {
		border-bottom: 1px solid #ddd;
	}
	.main-navigation .wpml-ls-item .wpml-ls-flag {
		min-width: 18px;
	}
}

/* NAV Branding */

.site-header .site-branding {
	position: relative;
	z-index: 9;
	padding: 10px 0 5px;
}


/* Menu Social */

#main-nav #menu-social,
.site-footer .footer-social ul.menu {
	margin: 0;
	display: flex;
	align-items: center;
	height: 100%;
}

#main-nav #menu-social {
	justify-content: flex-end;
}

.site-footer .footer-social ul.menu {
	justify-content: center;
}

#main-nav #menu-social li:where(:not(:first-child)),
.site-footer .footer-social ul.menu li:where(:not(:first-child)) {
	margin-left: 5px;
}

#main-nav #menu-social a,
.site-footer .footer-social ul.menu a {
	font-size: 0;
	width: 32px;
	height: 32px;
	padding: 0;
	text-indent: -99999px;
	display: flex;
	justify-content: center;
	align-items: center;
}

#main-nav #menu-social a::before,
.site-footer .footer-social ul.menu a::before {
	content:"";
	background-repeat: no-repeat;
	filter: contrast(60%);
	position: relative;
	width: 18px;
	height: 18px;
	display: inline-block;
	background-size: contain;
	background-position: center;
}

#main-nav #menu-social a[href^="https://www.facebook.com/"]::before,
.site-footer .footer-social ul.menu a[href^="https://www.facebook.com/"]::before {
	background-image: url("img/facebook-f.svg");
}

#main-nav #menu-social a[href^="https://www.instagram.com/"]::before,
.site-footer .footer-social ul.menu a[href^="https://www.instagram.com/"]::before {
	background-image: url("img/instagram.svg");
}

#main-nav #menu-social a[href^="https://www.youtube.com/"]::before,
.site-footer .footer-social ul.menu a[href^="https://www.youtube.com/"]::before {
	background-image: url("img/youtube.svg");
}

#main-nav #menu-social a[href^="https://x.com/"]::before,
.site-footer .footer-social ul.menu a[href^="https://x.com/"]::before {
	background-image: url("img/x-twitter.svg");
}

#main-nav #menu-social a[href^="https://www.linkedin.com/"]::before,
.site-footer .footer-social ul.menu a[href^="https://www.linkedin.com/"]::before {
	background-image: url("img/linkedin.svg");
}

#main-nav #menu-social a:hover::before,
.site-footer .footer-social ul.menu a:hover::before {
filter: invert(19%) sepia(29%) saturate(7176%) hue-rotate(339deg) brightness(70%) contrast(83%);
}


/* NAV mobile icon */

#nav-icon {
  width: 28px;
  height: 28px;
  transform: rotate(0deg);
	display: none;
	z-index: 99;
	background-color: transparent;
	border: 0;
	padding: 0;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

#nav-icon span:nth-child(1) {
 top: 5px;
}

#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
 top: 13px;
}

#nav-icon span:nth-child(4) {
 top: 21px;
}

/* NAV responsive */

@media screen and (min-width: 1201px) { /* forza menù aperto oltre il mobile */
	#primary-menu {
		display: flex!important;
	}
}

@media screen and (max-width: 1200px) {
	#site-navigation {
		display: flex;
  		align-items: center;
	}
	#nav-icon {
		display: block;
		min-width: 28px;
	}
	#primary-menu {
		display: none;
		position: fixed;
		background-color: rgba(255, 255, 255, 0.95);
		left: 0;
		top: 0px;
		width: 100%;
		padding: 80px 40px 40px;
		font-size: 20px;
		overflow: auto;
		transition: padding 0.2s;
	}
 	#site-navigation.main-navigation ul.menu li:not(.button):not(.wpml-ls-item) a {
		padding: 20px 15px;
		border-bottom: 1px solid #e1e2e4;
	}
	#site-navigation.main-navigation ul.menu > li:not(.button) > a {
		color: var(--color-2);
	}
   	#site-navigation.main-navigation ul.menu li.current-menu-item:not(.button) > a {
  		color: var(--color-1);
		font-weight: var(--weight-bold);
	}
	#main-nav.toggled {
		background-color: transparent;
	}
	#main-nav.toggled::after {
		display: none!important;
	}
	#main-nav.toggled #nav-icon {
		top: 16px;
    	position: fixed;
	}
	#main-nav.toggled #nav-icon span:nth-child(1) {
		top: 10px;
		width: 0%;
		left: 50%;
	}
	#main-nav.toggled #nav-icon span:nth-child(2) {
		transform: rotate(45deg);
	}
	#main-nav.toggled #nav-icon span:nth-child(3) {
		transform: rotate(-45deg);
	}
	#main-nav.toggled #nav-icon span:nth-child(4) {
		top: 10px;
		width: 0%;
		left: 50%;
	}
	@keyframes navanilink {
	  from {
			transform: translateY(100%);
			opacity: 0;
		}
	  to {
			transform: translateY(0px);
			opacity: 1;
		}
	}
	#main-nav.toggled .main-navigation ul.menu > li {
		transform: translateY(100%);
		animation-name: navanilink;
		animation-duration: 1s;
		animation-fill-mode: forwards;
		animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
		opacity: 0;
		width: 100%;
		line-height: 1.4;
	}
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(2) { animation-delay: 0.1s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(3) { animation-delay: 0.2s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(4) { animation-delay: 0.3s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(5) { animation-delay: 0.4s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(6) { animation-delay: 0.5s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(7) { animation-delay: 0.6s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(8) { animation-delay: 0.7s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(9) { animation-delay: 0.8s }
	#main-nav.toggled .main-navigation ul.menu > li:nth-child(10) { animation-delay: 0.9s }
	.main-navigation ul ul {
		box-shadow: none;
		position: relative;
		top: 0;
		opacity: 1;
		visibility: visible;
		border-top: 0;
		flex-direction: column;
	}
	#site-navigation.main-navigation .megamenu .sub-menu .sub-menu > li > a,
	#site-navigation.main-navigation li:not(.megamenu):not(.wpml-ls-item) .sub-menu > li > a {
		padding-left: 35px;
	}
	#site-navigation.main-navigation .megamenu .sub-menu .sub-menu .sub-menu > li > a,
	#site-navigation.main-navigation .menu li:not(.megamenu) .sub-menu .sub-menu > li > a {
		padding-left: 50px;
	}
	#site-navigation.main-navigation .megamenu .sub-menu .sub-menu .sub-menu > li > a::before,
	#site-navigation.main-navigation .menu li:not(.megamenu):not(.wpml-ls-item) .sub-menu > li > a::before {
 		content: "";
 		border: solid var(--color-1);
 		border-width: 0 2px 2px 0;
 		display: inline-block;
 		padding: 3px;
 		transform: rotate(-45deg);
		top: calc(50% - 4px);
		left: 15px;
		position: absolute;
	}
	#site-navigation.main-navigation .megamenu .sub-menu .sub-menu .sub-menu > li > a::before,
	#site-navigation.main-navigation .menu > .menu-item-has-children:not(.megamenu) .sub-menu .sub-menu > li > a::before {
		left: 30px;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > button {
		top: 14px;
		right: 15px;
		background-color: var(--color-1);
		border-radius: 5px;
		width: 38px;
		height: 38px;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > button::before {
		border: solid #fff;
		border-width: 0 2px 2px 0;
		right: 1px;
		top: -4px;
	}
	#site-navigation ul.menu > li.menu-item.menu-item-has-children > button[aria-expanded="true"]::before {
		top: 0px;
	}
	#main-nav.toggled nav.social-contact {
		display: none;
	}
	/* Selettore WPML */
	#site-navigation ul.menu > li.wpml-ls-item {
		display: flex;
		border-bottom: 1px solid #e1e2e4;
	}
	#site-navigation ul.menu li.wpml-ls-item > a {
		padding: 25px 20px;
	}
	#site-navigation ul.menu li.wpml-ls-item button {
		display: none;
	}
	#site-navigation ul.menu li.wpml-ls-item .sub-menu {
		display: flex!important;
		flex-direction: row;
	}
	#site-navigation ul.menu .wpml-ls-item .wpml-ls-flag {
		min-width: 18px;
	}
}

@media screen and (max-width: 1024px) {
	.site-header .header-content {
  		flex-direction: column;
	}
	.site-header .header-content #menu-contact {
  		margin: 12px 0 24px;
	}
}

@media screen and (max-width: 768px) {
	#primary-menu {
		padding-left: 20px;
		padding-right: 20px;
	}
	.site-header .header-content #menu-contact {
  		flex-direction: column;
	}
	.site-header .header-content #menu-contact li {
  		margin-top: 10px;
 		margin-bottom: 10px;
	}
	.site-header .header-content #menu-contact {
    	margin: 0 0 12px;
  	}
}

@media screen and (max-width: 480px) {
	#primary-menu {
		padding-left: 10px;
		padding-right: 10px;
	}
	.site-header .header-content {
    	padding: 0;
  	}
	.site-header .header-content #menu-contact {
    	margin: 0 0 6px;
  	}
	.site-header .header-content #menu-contact li {
 		margin-left: 40px;
	}
	.site-header .header-content #menu-contact li a::before {
		width: 24px;
		height: 24px;
		left: -36px;
		top: -5px;
	}
}


/* Blog - struttura post blog/archivio */


.blog-container article.post img {
	max-height: 300px;
	aspect-ratio: 16/10;
	object-fit: cover;
	transition: transform 0.5s;
}

.blog-container article.post .text-content {
	padding: 24px 40px 36px;
}

.blog-container article.post .text-content .entry-meta {
	text-transform: uppercase;
	color: var(--color-2);
	font-size: 14px;
	font-weight: 500;
	margin-top: 20px;
	  letter-spacing: 0.5px;
}

.blog-container article.post .text-content .entry-title {
	margin: 0 0 10px;
	font-weight: var(--weight-bold);
	line-height: 1.1;
	font-size: 26px;
 	color: var(--color-1);
}

.blog-container article.post a {
	display: block;
	background-color: #fff;
	border: 1px solid var(--color-border);
	border-radius: 5px;
	overflow: hidden;
	transition: transform .5s;
	margin-top: 5px;
}

.blog-container article.post a:hover {
  transform: translateY(-5px);
}


.blog-container article.post .text-content p {
	font-size: 16px;
	font-weight: initial;
	color: var(--color-text);
	margin: 0;
	line-height: 1.5;
}

@media screen and (min-width: 664px) and (max-width: 768px),
screen and (max-width: 420px) {
	.blog-container article.post .text-content {
 		 padding: 24px 24px 32px;
	}
	.blog-container article.post .text-content .entry-title {
  		font-size: 22px; 
	}
}


/* CF7 form */

.wpcf7-form input:focus  {
  border-color: var(--color-1);
}

.wpcf7-form p {
  margin: 0 0 10px;
}

.wpcf7-form textarea {
  resize: none;
  max-height: 220px;
}

.wpcf7-form-control-wrap {
  margin-top: 2px;
  display: block;
}

.wpcf7-form .wpcf7-submit {
	min-width: 160px;
	color: #fff;
	background-color: var(--color-1);
	padding: 18px 20px;
	transition: background-color 0.5s, color 0.5s;
	font-weight: var(--weight-bold);
	font-size: 16px;
	text-transform: uppercase;
	border: none;
	border-radius: 5px;
}

.wpcf7-form .wpcf7-submit:disabled {
	opacity: 0.5;
}

.wpcf7-form .wpcf7-submit:not(:disabled):hover {
  background-color: var(--color-2);
}

.wpcf7-form .policy-privacy-text label input[type="checkbox"] {
	position: absolute;
	left: 0;
	margin-top: 3px;
}

.wpcf7-form .policy-privacy-text label .wpcf7-list-item-label {
	padding-left: 10px;
	display: block;
  line-height: 1.2;
	font-size: 15px;
}

.wpcf7-form :is(input, select, textarea).wpcf7-not-valid {
	border-color: red;
}

.wpcf7-form :is(input, select, textarea).wpcf7-not-valid:focus {
	outline-width: 2px;
  outline-offset: 2px;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: var(--weight-bold);
  margin-top: 2px;
}

.wpcf7 form.wpcf7-form .wpcf7-response-output {
	font-size: 16px;
	line-height: 1.2;
  	padding: 10px 20px;
 	margin: 10px 0 0;
	border-radius: 5px;
}


/* HP */

@media screen and (min-width: 1025px) {
	.hp-box-1 {
		max-width: 420px;
	}
}

body.home .deco-box-start::before {
	z-index: 0;
}

.man-box::before {
	content: ""!important;
	background-color: var(--color-1);
	opacity: 0 !important;
}

.man-box:hover::before {
	opacity: 0.5 !important;
}

.man-box::after {
	content: "";
	background-color: var(--color-1);
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	mix-blend-mode: multiply;
	opacity: 0;
	transition: opacity 0.5s;
}

.man-box:hover::after {
	opacity: 1;
}

.man-box .elementor-widget-text-editor {
	max-width: 310px !important;
	width: calc(100% - 20px);
 	padding: 12px 36px;
  	border-radius: 0 10px 0 0;
  	background-color: #fff;
}

.man-box .elementor-widget-text-editor h3 {
	font-size: 26px;
	color: var(--color-1);
	margin: 20px 0 0;
}

.man-box .elementor-widget-text-editor p {
	margin: 12px 0;
	line-height: 1.6;
	font-weight: 400;
	color: var(--color-text);
}

.man-box .elementor-widget-text-editor pre {
	margin: 20px 0 0;
  	padding: 0;
  	background-color: transparent;
  	font-family: 'Raleway', sans-serif;
 	font-size: 14px;
  	text-transform: uppercase;
  	font-weight: 600;
	color: var(--color-text);
}

.man-box .elementor-widget-text-editor pre::after {
	content: "";
	border-style: solid;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(-45deg) scale(1);
	margin-left: 8px;
	position: relative;
	top: -2px;
	transition: opacity 0.5s, transform 0.5s;
}

@media screen and (min-width: 1201px) {
	.man-box .elementor-widget-text-editor {
    	transform: translateY(130px);
	}
	.man-box:hover .elementor-widget-text-editor {
    	transform: translateY(2px);
	}
	.man-box .elementor-widget-text-editor p {
		opacity: 0;
    	transition: opacity 0.5s;
	}
	.man-box:hover .elementor-widget-text-editor p {
    	opacity: 1;
	}
}

@media screen and (max-width: 480px) {
	.man-box .elementor-widget-text-editor {
		padding: 12px 24px;
	}
}


/* Scheda Manifestazione */

#nav-box a {
	padding: 5px;
}

#nav-box a:hover::after {
	content: "";
	width: 100%;
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	border-bottom: 2px solid #fff;
}

#nav-box .elementor-inline-items {
	line-height: 1.2;
}

#nav-box .elementor-inline-items .elementor-icon-list-item {
  margin-inline: 10px;
}

body:not(.navint-sticky) #nav-box {
	transform: translateY(-60px);
	top: 60px;
	transition: none;
}

body.navint-sticky #nav-box {
	position: fixed;
	top: 120px;
	z-index: 99;
	background-color: var(--color-1);
	transform: translateY(0px);
	transition: transform 0.4s;
}

body.navint-sticky #nav-box::before {
	height: 2000px;
  	transform-origin: 0% 10%;
}

@media screen and (max-width: 768px) {
	body:not(.navint-sticky) #nav-box {
		transform: translateY(-70px);
		top: 70px;
	}
	body.navint-sticky #nav-box {
		top: 130px;
	}
	#nav-box .elementor-inline-items .elementor-icon-list-item {
  		margin-inline: 6px;
	}
}

.info-box ul {
	font-weight: 500;
  	color: var(--color-2);
}

.info-box ul.elementor-icon-list-items li.elementor-icon-list-item {
	padding: 14px 16px !important;
	border-radius: 5px;
	line-height: 1.4;
}

.info-box ul li:first-child {
	color: var(--color-1);
	font-size: 22px;
	font-weight: 600;
}

.info-box ul li:first-child svg {
	fill: var(--color-1);
}

.info-box ul li:first-child .elementor-icon-list-icon {
	inset-block-start: 2px;
}

.info-box ul li:first-child .elementor-icon-list-text {
	line-height: 1.2;
}

.info-box ul li:nth-child(even) {
	background-color: var(--color-bg);
}

.info-box ul.elementor-icon-list-items li.elementor-icon-list-item  a {
	color: var(--color-2);
  	font-weight: 500;
}

.info-box ul.elementor-icon-list-items li.elementor-icon-list-item  a:hover {
	color: var(--color-1);
}


/* Programma Evento */

.evento-box > .elementor-element:first-child {
	min-width: 200px;
}

.evento-box .elementor-widget-icon-box {
	background-color: var(--color-1);
	color: #fff;
	padding: 28px 20px;
	border-radius: 5px;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 20px;
}

.evento-box .elementor-icon svg {
	fill: #fff;
	margin-top: 5px;
}

.evento-box .evento-box-text {
	padding: 26px 40px 24px;
	background-color: #fff;
	border-radius: 5px;
}

.evento-box .evento-box-text h3 {
	font-size: 24px;
}

.evento-box .evento-box-text .elementor-widget-text-editor {
	margin-top: 8px;
	padding-left: 20px;
}

.evento-box .evento-box-text .elementor-widget-text-editor p {
	margin: 4px 0;
	line-height: 1.6;
}

@media screen and (max-width: 768px) {
	.evento-box .elementor-widget-icon-box {
		padding: 14px 20px;
	}
}


@media screen and (max-width: 480px) {
	.evento-box .evento-box-text {
  		padding: 24px 20px 20px;
	}
	.evento-box .evento-box-text .elementor-widget-text-editor {
  		padding-left: 0px;
	}
}