/*!
Theme Name: Gestionale Musicultura
Theme URI: http://underscores.me/
Author: Martino Stenta
Author URI: http://noiza.com
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: gestmusi
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.

Gestionale Musicultura 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.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
	 ========================================================================== */

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

/**
 * 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: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */


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

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


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

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


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

/* Base - Font Family
--------------------------------------------- */
/* montserrat-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100;
  src: url("fonts/Montserrat/montserrat-v26-latin-100.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-100.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-100.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-100.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-100.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-100.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100;
  src: url("fonts/Montserrat/montserrat-v26-latin-100italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-100italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-100italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-100italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-100italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-100italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 200;
  src: url("fonts/Montserrat/montserrat-v26-latin-200.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-200.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-200.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-200.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-200.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-200.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 200;
  src: url("fonts/Montserrat/montserrat-v26-latin-200italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-200italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-200italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-200italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-200italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-200italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/Montserrat/montserrat-v26-latin-300.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-300.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-300.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-300.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-300.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-300.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300;
  src: url("fonts/Montserrat/montserrat-v26-latin-300italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-300italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-300italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-300italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-300italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-300italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Montserrat/montserrat-v26-latin-regular.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-regular.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-regular.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-regular.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-regular.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-regular.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/Montserrat/montserrat-v26-latin-italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/Montserrat/montserrat-v26-latin-500.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-500.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-500.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-500.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-500.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-500.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  src: url("fonts/Montserrat/montserrat-v26-latin-500italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-500italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-500italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-500italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-500italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-500italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/Montserrat/montserrat-v26-latin-600.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-600.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-600.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-600.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-600.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-600.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 600;
  src: url("fonts/Montserrat/montserrat-v26-latin-600italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-600italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-600italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-600italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-600italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-600italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/Montserrat/montserrat-v26-latin-700.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-700.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-700.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-700.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-700.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-700.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 700;
  src: url("fonts/Montserrat/montserrat-v26-latin-700italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-700italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-700italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-700italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-700italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-700italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  src: url("fonts/Montserrat/montserrat-v26-latin-800.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-800.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-800.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-800.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-800.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-800.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 800;
  src: url("fonts/Montserrat/montserrat-v26-latin-800italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-800italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-800italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-800italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-800italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-800italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  src: url("fonts/Montserrat/montserrat-v26-latin-900.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-900.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-900.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-900.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-900.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-900.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 900;
  src: url("fonts/Montserrat/montserrat-v26-latin-900italic.eot"); /* IE9 Compat Modes */
  src: url("fonts/Montserrat/montserrat-v26-latin-900italic.eot?#iefix") format("embedded-opentype"), url("fonts/Montserrat/montserrat-v26-latin-900italic.woff2") format("woff2"), url("fonts/Montserrat/montserrat-v26-latin-900italic.woff") format("woff"), url("fonts/Montserrat/montserrat-v26-latin-900italic.ttf") format("truetype"), url("fonts/Montserrat/montserrat-v26-latin-900italic.svg#Montserrat") format("svg"); /* Legacy iOS */
}

/* Custom */


.acf-field[data-key="field_6880e7bb7316b"],
.acf-field[data-key="field_68aed9d3db628"]
.acf-field[data-key="field_68aeda35db629"]
.acf-field[data-key="field_68b01082cbc86"] {
    display: none;
}

:root {
    --primary-color: #4222F1;
    --text-color: #2D3748;
    --text-secondary-color: #718096;
    --bg-color: #F8F9FA; /* Leggermente più chiaro di EDF2F7 per aree di lavoro */
    --border-color: #E2E8F0;
    --slate-900: #0F172A;
    --success-color: #19C971;
}

body {
    background: var(--slate-200, #F1F5F9);
    color: var(--text-color);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.row {
	width: 100%;
}
.cont {
	width: 100%;
	max-width: 1280px;
	padding: 20px;
	margin: 0 auto;
    background-color: var(--card-bg-color);
}
.footer-legal-info {
	text-align: center;
	color: var(--slate-900, #0F172A);
	font-family: Montserrat;
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
}

/*--------------------------------------------------------------
# Base & Stili Generali
--------------------------------------------------------------*/




h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.row-header {

    background-color: var(--slate-900);
}

.site-header.cont {
	display: flex;
	justify-content: center;
	padding-top: 24px;
	padding-bottom: 24px;
}
.site-header.cont .site-branding {
	max-width: 142px;
}

.site-header.cont .site-branding a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 142px;
    color: var(--slate-300, #CBD5E1);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 133.333% */
    letter-spacing: 0.96px;
    text-transform: uppercase;
    text-decoration: none;
    gap: 6px;
}
.site-branding a svg {
	width: 100%;
	max-width: 142px;
	height: 16px;
}
.site-branding a .d {
	fill: #fff;
}
.site-footer {
	background-color: initial;
}
.tocc-cont {
	max-width: 600px;
	background-color: #fff;
	border-radius: 20px;
	padding: 5px;
	border: 1px solid var(--slate-300, #CBD5E1);
}
img.tocc {
	max-width: 600px;
	display: block;
}
/* Stili per il logout nell'header */


.header-logout {
    margin-left: auto;
    position: absolute;
    top: 23px;
    right: 23px;
}

.logout-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--blue, #4222F1);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    background-color: #E0DCFB;
    border-radius: 24px;
}

.logout-link:hover {
    background-color: #C1BAF7;
}

.logout-link svg {
    width: 16px;
    height: 16px;
}


/* Pulsanti della homepage */
.home-intro .add-collaborator-btn,
.acf-form-submit  input.button {
   border-radius: 24px;
   background: var(--blue, #4222F1);
   color: var(--white, #FFF);
   font-family: Montserrat;
   font-size: 16px;
   font-weight: 600;
   line-height: 20px;
   padding: 16px;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   gap: 4px;
   border: none;
   transition: background-color 0.15s ease-out;
   cursor: pointer;
}

/* Pulsanti delle pagine persona */
.persona-view-head-action #edit-button,
.persona-view-head-action #cancel-button {
   border-radius: 24px;
   background: var(--blue, #4222F1);
   color: var(--white, #FFF);
   font-family: Montserrat;
   font-size: 16px;
   font-weight: 600;
   line-height: 20px;
   padding: 12px 16px;
   display: inline-flex;
   align-items: center;
   gap: 4px;
   border: none;
   transition: background-color 0.15s ease-out;
   cursor: pointer;
}

/* Pulsante reset filtri */


/* Pulsanti del login */
.login-form input[type="submit"] {
   border-radius: 12px;
   background: var(--blue, #4222F1);
   color: white;
   border: none;
   padding: 16px;
   font-family: Montserrat;
   font-size: 16px;
   font-weight: 600;
   line-height: 20px;
   cursor: pointer;
   width: 100%;
}

/* Pulsante logout */
.logout-link {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 8px 16px;
   color: var(--blue, #4222F1);
   text-decoration: none;
   border-radius: 24px;
   background-color: #E0DCFB;
   font-family: Montserrat;
}

/* Hover states */
.home-intro .add-collaborator-btn:hover,
.persona-view-head-action #edit-button:hover,
.persona-view-head-action #cancel-button:hover {
    background-color: #2506cd;
}


.login-form input[type="submit"]:hover {
    background-color: #2506cd;
}

.logout-link:hover {
    background-color: #C1BAF7;
}

/* Pulsanti secondari */
button.btn-secondary,
a.btn-outline-secondary,
a.acf-repeater-add-row {
    background-color: rgba(66, 34, 241, 0.16);
    color: var(--blue, #4222F1);
    border-radius: 24px;
    padding: 14px 16px;
    border: none;
    font-family: Montserrat;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    line-height: 20px;
}

button.btn-secondary:hover,
a.btn-outline-secondary:hover,
a.acf-repeater-add-row:hover {
    background-color: rgba(66, 34, 241, 0.32);
}
a.add-collaborator-btn .fa-plus {
	content:'';
	width: 24px;
	height: 24px;
	background-image: url(img/plus.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.button:hover, button:hover, input[type="submit"]:hover {
    background-color: #2506cd; 
    color: #fff;
}

button.btn-secondary, a.btn-outline-secondary,
a.acf-repeater-add-row  {
		background-color: rgba(66, 34, 241, 0.16);
		color: var(--blue, #4222F1);
		cursor: pointer;

}
button.btn-secondary:hover, a.btn-outline-secondary:hover,
a.acf-repeater-add-row:hover {
    background-color: rgba(66, 34, 241, 0.32);
}
a.acf-repeater-add-row:hover {
	color: var(--blue, #4222F1);
}
#persona-edit-mode .acf-fields>.acf-field {
	padding: 16px 0;
}



.reset-btn {
	cursor: pointer;
}
.reset-btn .fa-undo {
	content:'';
	width: 18px;
	height: 18px;
	background-image: url(img/reset.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/*--------------------------------------------------------------
# Tabella Persone (front-page.php)
--------------------------------------------------------------*/

.cont.cont-home {
	border-radius: 40px;
	border: 1px solid var(--slate-300, #CBD5E1);
	background: var(--white, #FFF);
	margin-top: 56px;
	padding: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin: 0;
}

.home-intro {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 32px 48px;
}

.filters-section {
	padding: 0 32px 16px;
}
.export-section {
	text-align: right;
}
#export-btn {
	background-color: transparent;
	background-image: url(img/dl.svg);
	background-repeat: no-repeat;
	background-position:  left 4px center;
	background-size: 20px;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	padding: 8px 8px 8px 28px;
	transition: background-position 0.2s ease;
}
#export-btn:hover {
	background-position: top 12px left 4px;
}
#export-loading {
	padding: 8px 16px 8px;
	font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}
.people-list {
	padding-bottom: 40px;
}
.people-list table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg-color);
    overflow: hidden;
    margin-bottom: 0;
}


.people-list thead {
    border-bottom: 1px solid var(--slate-300, #CBD5E1);
    border-top: 1px solid var(--slate-300, #CBD5E1);
    background: var(--slate-200, #F1F5F9);
}

.people-list th,
.people-list td {
    padding: 17px 16px 16px;
    text-align: left;
    border-bottom: 1px solid var(--slate-300, #CBD5E1);
}
.people-list th.row-name,
.people-list td.row-name {
	padding-left: 32px;
}

.people-list th td {
    color: var(--slate-900, #0F172A);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
}
.people-list tr.clickable-row {
	cursor: pointer;
	transition: background-color 0.15s ease-out;
}
.people-list tr.clickable-row:hover {
	background: rgba(66, 34, 241, 0.16);
}
.people-list tr td {
	color: var(--slate-900, #0F172A);

	/* label-XS medium */
	font-family: Montserrat;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px; /* 133.333% */
}

.people-list td a.button {
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.row-arrow {
	background-image: url(img/arrow_drop_down.svg);
	background-repeat: no-repeat;
	background-position: center;
	width: 76px;
	padding-right: 32px;
}
.filters-section-first {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 32px;
}
.filters-section-first h3 {
	color: var(--slate-900, #0F172A);
	margin: 0;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px; /* 125% */
	flex: 0 0 123px;
}
.facetwp-facet-ricerca_libera.facetwp-facet {
	margin: 0;
}
.filter-search {
	flex: 1 1 100%;
}
.filter-search .facetwp-input-wrap,
.facetwp-facet input.facetwp-search {
	width: 100%;
}

.filters-section-second {
	display: flex;
	gap: 16px;
}
.filters-section-second label {
	color: var(--slate-900, #0F172A);

	/* label-XS */
	font-family: Montserrat;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: 16px; /* 133.333% */
}
.filters-section-second .fs-wrap {
	width: 100%;
}
.filter-group {
	flex: 1 0 calc(25% - 12px);
}
.filter-group .facetwp-facet {
	margin-bottom: 16px;
}

.filters-section-first .facetwp-facet input.facetwp-search {
	border-radius: 100px;
	border: 1px solid var(--slate-300, #CBD5E1);
	background: var(--slate-200, #F1F5F9);
	color: var(--slate-600, #475569);
	padding: 12px 16px 12px 48px;
	/* label-S */
	font-family: Montserrat;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px; /* 171.429% */
}
.filters-section-first .facetwp-facet .facetwp-icon {
	left: 16px;
	right: auto;
}

.filters-section-second .fs-label-wrap {
	border-radius: 8px;
	border: 1px solid var(--slate-300, #CBD5E1);
	background: var(--slate-200, #F1F5F9);
	display: flex;
	height: 48px;
	padding: 8px 8px 8px 16px;
	justify-content: space-between;
	align-items: center;
	align-self: stretch;
}
.filters-section-second .fs-label-wrap .fs-label {
	padding: 0;
	color: var(--slate-600, #475569);

	/* label-S */
	font-family: Montserrat;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px; /* 171.429% */
}
.filters-section-second .fs-arrow {
	right: 14px;
}
.filters-section-second  .fs-dropdown {
	border-radius: 8px;
	border: 1px solid var(--slate-300, #CBD5E1);
	margin-top: 4px;

	background: var(--slate-200, #F1F5F9);
}
.filters-section-second  .fs-dropdown .fs-search {
	display: none;
}
.filters-section-second  .facetwp-facet .fs-options {
	padding: 8px 16px;
}
.filters-section-second  .facetwp-facet .fs-option {
	color: var(--slate-600, #475569);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    padding: 4px 0;
}
.filters-section-second  .facetwp-facet .fs-option[data-value=""] {
    display: none !important;
}

/* Stile per i radio button tipologia in linea con il design esistente */
.facetwp-facet-tipologia.facetwp-type-radio {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    background: none;
    margin: 0 !important;
}

.facetwp-facet-tipologia .facetwp-radio {
    border-radius: 24px;
    background: #fff;
    padding: 12px;
    color: var(--slate-900, #0F172A);
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease-out;
    background-image: none;
    margin-bottom: 0 !important;
}

.facetwp-facet-tipologia .facetwp-radio:hover {
    background: var(--slate-200, #F1F5F9);
}

.facetwp-facet-tipologia .facetwp-radio.checked,
.facetwp-facet-tipologia .facetwp-radio.checked:hover {
		background: var(--slate-300, #CBD5E1);
}

.facetwp-counter {
	font-size: 10px;
	margin-top: -8px;
}
.reset-btn.btn-secondary {
	font-size: 14px;
}

/*--------------------------------------------------------------
# Scheda Singola Persona (single-persona.php)
--------------------------------------------------------------*/

/* Contenitore principale per entrambe le modalità */
#persona-view-mode,
#persona-edit-mode {
    border-radius: 40px;
    border: 1px solid var(--slate-300, #CBD5E1);
    background: var(--white, #FFF);
    margin-top: 56px;
    padding: 32px;
}
#persona-edit-mode.cont {

}
.persona-view-head-left a,
.add-person-head a  {
	color: var(--blue, #4222F1);
	text-decoration: none;
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px; 
	padding-left: 26px;
	background-image: url(img/arrow-back.svg);
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: center left;
	margin-bottom: 8px;
	display: inline-block;
}
/* Stili per la modalità di sola lettura */
#persona-view-mode h1,
.add-person-head h1 {
    margin: 0;
    color: var(--slate-900, #0F172A);

    /* title-L */
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 125% */
}
.persona-view-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.persona-view-head-action {
	display: flex;
	align-items: center;
	gap: 12px;
}
.persona-view-head-action button {
	background-image: url(img/edit.svg);
	background-repeat: no-repeat;
	background-size: 24px;
	background-position: center left 12px;
	padding-left: 40px;
}

#persona-view-mode .card {
    margin-top: 48px;
}

#persona-view-mode h3 {
    color: var(--slate-900, #0F172A);
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 125% */
    padding-left: 56px;
    position: relative;
    margin: 0;
}
#persona-view-mode h3:before {
	display: inline-block;
	width: 24px;
	height: 24px;
	left: 24px;
	content: '';
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
#persona-view-mode .card-dat h3:before {
	background-image: url(img/dat.svg);
}
#persona-view-mode .card-res h3:before {
	background-image: url(img/res.svg);
}
#persona-view-mode .card-rel h3:before {
	background-image: url(img/rel.svg);
}
#persona-view-mode .card-doc h3:before {
	background-image: url(img/doc.svg);
}
#persona-view-mode .card-pag h3:before {
	background-image: url(img/pag.svg);
}
#persona-view-mode .card-sto h3:before {
	background-image: url(img/sto.svg);
}
#persona-view-mode .card-inner {
	border-radius: 24px;
	background: var(--slate-200, #F1F5F9);
	padding: 24px;
	margin-top: 16px;
}
.card-line {
	display: flex;
	justify-content: flex-start;
	gap: 64px;
	padding: 16px 0;
	border-bottom: 1px solid var(--slate-300, #CBD5E1);
}
.card-line:first-of-type {
	padding-top: 0;
}
.card-line:last-of-type {
	padding-bottom: 0;
	border-bottom: 0;
}
.card-line label,
.timeline-date label,
.timeline-phase label {
	color: var(--slate-600, #475569);

	/* label-S */
	font-family: Montserrat;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px; /* 171.429% */
}

#persona-view-mode .card-sto > p {
	padding: 20px;
	font-size: 16px;
	opacity: 0.8;
}

#persona-view-mode p {
    color: var(--slate-900, #0F172A);

    /* label-L */
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 133.333% */
    margin: 0;
}
#persona-view-mode p strong {
    color: var(--text-secondary-color);
    width: 150px;
    display: inline-block;
}
#persona-view-mode p a {
	color: var(--slate-900, #0F172A);

	/* label-L */
	font-family: Montserrat;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; /* 133.333% */
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}


/* Stili per la modalità di modifica (ACF Form) */
#persona-edit-mode .acf-field label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

#persona-edit-mode .acf-input input[type="text"],
#persona-edit-mode .acf-input input[type="email"],
#persona-edit-mode .acf-input textarea,
#persona-edit-mode .acf-input select {
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    padding: 12px;
}
#persona-edit-mode .acf-input input:focus,
#persona-edit-mode .acf-input textarea:focus,
#persona-edit-mode .acf-input select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(66, 34, 241, 0.2);
}

#persona-edit-mode .acf-file-uploader p {
	display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#persona-edit-mode .acf-input .acf-button {
	width: auto;
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 18px;
	padding: 8px 12px;
}

/* Messaggio di successo di ACF */

#persona-view-mode .acf-notice.-success p {
	color: #307B60;

	/* label-M */
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px; /* 125% */
	margin: 0;
}

#persona-view-mode .acf-notice.-success {
		border-radius: 24px;
		border: 1px solid #ACD9CB;
    background-color: #E8F5F1;
    color: #0b5e31;
    padding: 16px 24px 16px 40px;
    background-image: url(img/success.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center left 12px;
    margin: 0 0 24px;
}

#persona-view-mode .acf-notice .acf-notice-dismiss {
    position: absolute;
    top: 50%; /* Centra verticalmente */
    transform: translateY(-50%); /* Allineamento preciso */
    right: 24px;
    text-indent: -9999px;
    width: 24px;
    height: 24px;
    opacity: 1;
    background-image: url(img/dismiss.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
}

#persona-view-mode .acf-notice .acf-notice-dismiss:hover {
    opacity: 1;
}

/*--------------------------------------------------------------
# Stili per il Ripetitore "Periodi di Lavoro"
--------------------------------------------------------------*/


#persona-view-mode ul {
	margin: 16px 0 0 0;
	padding: 0;
	list-style-type: none;
}

.timeline-item {
    display: flex;
    padding: 24px;
    position: relative;
    border-bottom: 4px solid var(--slate-300, #fff);
    background: var(--slate-200, #F1F5F9);
}
.timeline-item:first-child {
	border-radius: 24px 24px 0 0;
}
.timeline-item:last-child {
    border-bottom: none;
    border-radius: 0 0 24px 24px;
}
.timeline-item:only-child {
    border-radius: 24px;
    border-bottom: none;
}

/* Contenitore per i metadati */
.timeline-meta {
    flex: 0 0 192px; /* Larghezza fissa per la colonna meta */
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 24px;
    position: relative;
}

/* Bordo verticale che si estende per tutta l'altezza */
.timeline-meta::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--slate-300, #CBD5E1);
}

/* Contenuto delle note */
.timeline-content {
    flex: 1;
    padding-left: 24px;
    min-height: 100%; /* Assicura che prenda almeno la stessa altezza */
}

/* Stili per data e fase */
.timeline-date,
.timeline-phase {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.timeline-date p,
.timeline-phase p {
    color: var(--slate-900, #0F172A);
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin: 0;
}
#persona-view-mode .timeline-content p {
	margin-bottom: 16px;
}
#persona-view-mode .timeline-content p:last-child {
	margin-bottom: 0;
}

/* Layout responsive */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .timeline-meta {
        flex: none;
        padding-right: 0;
        border-bottom: 1px solid var(--slate-300, #CBD5E1);
        padding-bottom: 16px;
    }
    
    .timeline-meta::after {
        display: none;
    }
    
    .timeline-content {
        padding-left: 0;
    }
}

/*--------------------------------------------------------------
# Login Page
--------------------------------------------------------------*/

.login-page {
    background: var(--slate-200, #F1F5F9);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    flex-direction: column;
}

.login-box {
    max-width: 100%;
    width: 480px;
    padding: 40px 80px 80px;
    text-align: center;
    border-radius: 40px;
    border: 1px solid var(--slate-300, #CBD5E1);
    background: var(--white, #FFF);
}

.login-logo {
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.login-logo .logo-text {
    color: var(--slate-900, #0F172A);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 133.333% */
    letter-spacing: 0.96px;
    text-transform: uppercase;
}

.login-logo .logo-brand {
    width: 142px;
    text-align: center;
}
.login-logo .logo-brand svg {
		width: 142px;
		height: 16px;
		margin: 0 auto;
}
.login-logo .logo-brand svg .d {
	fill: #4222F1;
} 

.login-title {
    color: var(--slate-900, #0F172A);

    /* title-L */
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 125% */
    margin: 0 0 4px;
}

.login-subtitle {
    color: var(--slate-900, #0F172A);
    text-align: center;

    /* label-XS */
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    margin: 0;
}

.login-form {
    text-align: left;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid var(--grey-600, #475569);
    background: var(--grey-100, #F1F5F9);
    color: var(--grey-600, #475569);
    padding: 20px 16px;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 125% */
    width: 100%;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-bottom: 2px solid #4222F1;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder {
    color: var(--slate-400, #475569);
    opacity: 0.7;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--slate-400, #94A3B8);
}

.login-form .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form .forgetmenot input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.login-form .forgetmenot label {
    color: var(--slate-900, #0F172A);

    /* label-XS medium */
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
}

.login-form .submit {
    margin-top: 24px;
}

.login-form input[type="submit"] {
    width: 100%;
    padding: 16px;
    border-radius: 24px;
    background: var(--blue, #4222F1);
    color: white;
    border: none;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-form input[type="submit"]:hover {
    background: #2506cd;
}

.login-forgot {
    text-align: center;
    margin-top: 20px;
}

.login-forgot a {
    color: var(--blue, #4222F1);
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.login-forgot a:hover {
    text-decoration: underline;
}

/* Password visibility toggle icon */
.password-field-wrapper {
    position: relative;
}
.password-field-wrapper a {
	display: inline-block;
	color: var(--slate-600, #475569);
	margin-top: 8px;
	/* label-XS medium */
	font-family: Montserrat;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px; /* 133.333% */
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

/* Messaggi di errore e successo per login */
.login-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 24px;
    margin-top: 40px;
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.login-message.success {
    background: #E8F5F1;
    color: #307B60;
    border: 1px solid #ACD9CB;
}

.login-message.error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.login-message svg {
    flex-shrink: 0;
}

/* Link di ritorno */
.login-forgot a[href*="home"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.page-template-page-lost-password .login-title {
	font-size: 26px;
	line-height: 32px;

}

.acf-field[data-name="documento_fronte"] .acf-file-uploader .acf-button[type="button"],
.acf-field[data-name="documento_retro"] .acf-file-uploader .acf-button[type="button"],
.acf-field[data-name="tessera_sanitaria_fronte"] .acf-file-uploader .acf-button[type="button"],
.acf-field[data-name="tessera_sanitaria_retro"] .acf-file-uploader .acf-button[type="button"] {
    background: var(--blue, #4222F1) !important;
    color: white !important;
    border: 1px solid var(--blue, #4222F1) !important;
    border-radius: 6px !important;
    font-family: Montserrat !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
}

.facetwp-pager {
	display: flex;
	justify-content: center;
	padding: 20px 0 0;
}

.facetwp-template .alert-info {
	padding: 0 32px;
	font-size: 16px;
	opacity: 0.8;
	text-align: center;
}