/*!
Theme Name: start4-0
Theme URI: https://www.presscommtech.com/
Author: PressComm tech s.r.l.
Author URI: https://www.presscommtech.com/
Description: Tema personalizzato Start 4.0
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: start4-0
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> 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
	 ========================================================================== */

/**
 * Custom Font
 */

@font-face {
    font-family: 'Onest';
    src: url('fonts/Onest/Onest-VariableFont_wght.woff2') format('woff2');
}

/**
 * Colors
 */
:root{
    --BLACK: #001D3D;
    --BLACK-50-RGBA: rgba(0, 29, 61, .5);
    --Black-25: #B6BFC7;
    --Black-50: #738292;
    --GIALLO: #F5C125;
    --GIALLO-SCURO: #B68E15;
    --WHITE: #FEFEFE;
    --AZZURRO: #1266CD;
    --linear-button: linear-gradient(180deg, #EDA800 0%, #F8BC2B 100%);
    --SFUMATURA-GIALLA: linear-gradient(0deg, #EDA800 0%, #F8BC2B 100%);
    --GRIGIO-CHIARO:  #F0F1F3;
    --GRIGIO: #E5E8EC;
    --GRIGIO-SCURO: #88887F;
    --Luce-25: rgba(245, 245, 245, 0.25);
    --Ombra-15: #D9DDE1;

    --gap-30: 30px;
    --gap-60: 60px;
    --spazio-blocchi-60: 60px;
    --spazio-blocchi-margin-top-bottom: 90px;
    --spazio-blocchi-margin-sn-dx: 120px;
    --Spazio-Blocchi-Inner-text-space: 30px;

    --Size-XS: 14px;
    --Size-s: 12px;
    --Size-M: 20px;
    --size-m: 26px;
    --Size-L: 32px;
    --Size-XL: 48px;
    --Size-2XL: 64px;
    --Size-3XL: 96px;
}

/**
 * Custom Font
 */
*{
    font-family: 'Onest', sans-serif;
}


/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Links
--------------------------------------------- */
a {
    color: #4169e1;
}

a:visited {
    color: #800080;
}

a:hover,
a:focus,
a:active {
    color: #191970;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}

.post,
.page {
    margin: 0;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 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;
    line-height: .7em;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

    /*rtl:ignore*/
    float: left;

    /*rtl:ignore*/
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {

    /*rtl:ignore*/
    float: right;

    /*rtl:ignore*/
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/**
 *	Custom CSS Start 4.0
 */

/*Footer*/
.footerEU{
    width: 100%;
    background: var(--AZZURRO);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

footer .site-info{
    background: var(--BLACK);
    color: var(--WHITE);
    padding: 30px 120px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30)
}

footer .site-info .widget{
    margin: 0;
}

footer .site-info hr{
    width: 100%;
    margin: 0;
    background: var(--WHITE);
    opacity: .25;
}

footer .footerDetails{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

footer .footerDetails .footerLegals{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--gap-30)
}

footer .linkFooterLegals ul{
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 25px;
}

footer .linkFooterLegals ul li::marker{
    color: var(--GIALLO);
}

footer .linkFooterLegals ul li:first-child{
    list-style: none;
}

footer .linkFooterLegals ul li a, footer .linkFooterLegals ul li{
    text-decoration: none;
    color: var(--WHITE);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

footer .footerMenu .wp-block-group{
    /*align-items: flex-start;*/
    justify-content: space-between;
}

footer .footerMenu a{
    text-decoration: none;
    color: var(--WHITE);
}

footer .footerMenu ul{
    margin-top: 15px;
    padding: 0;
    list-style: none;
    gap: 15px;
    display: flex;
    flex-direction: column;
}

footer .footerMainContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

footer .footerNewsletter{
    border-left: 1px solid rgba(254, 254, 254, .25);
    padding-left: 60px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    justify-content: center;
}

footer .footerNewsletter h2{
    font-size: var(--Size-L);
    margin-top: 30px;
}

footer .footerNewsletter p{
    font-size: 16px;
    margin-top: 15px;
}

footer .footerNewsletter .wp-block-button__link, .imgCoverBlock .wp-block-button__link,#servizi.cards .sliderItem .footerItem .wp-block-button__link{
    background: var(--GIALLO);
    position: relative;
    color: var(--BLACK);

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    transition: all .5s ease-in-out;
    border-radius: 50px;
}

.callToActionButton .wp-block-button__link{
    background: var(--WHITE);
}

/* Content Multilingua*/
html[lang="it-IT"] footer .footerNewsletter .wp-block-button__link::after{
    content: 'Iscriviti';
}

html[lang="it-IT"] .imgCoverBlock .wp-block-button__link::after{
    content: 'Scopri di più';
}

html[lang="it-IT"] #servizi.cards .sliderItem .footerItem .wp-block-button__link::after{
    content: 'Scopri di più';
}

html[lang="it-IT"] #network .wp-block-button__link::after{
    content: 'Network';
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.20) inset;
    display: flex;
    justify-content: flex-start;
    padding-left: 23.32px;
}



html[lang="it-IT"] .callToActionButton#video .wp-block-button__link::after{
    content: 'Guarda video';
    background: var(--WHITE);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.20) inset;
    display: flex;
    justify-content: flex-start;
    padding-left: 23.32px;
}

html[lang="en-GB"] .callToActionButton#video .wp-block-button__link::after{
    content: 'Watch video';
    background: var(--WHITE);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.20) inset;
}

html[lang="en-GB"] footer .footerNewsletter .wp-block-button__link::after{
    content: 'Subscribe';
}

html[lang="en-GB"] .imgCoverBlock .wp-block-button__link::after{
    content: 'Discover more';
}

.callToActionButton#video .wp-block-button__link:before{
    content: url("img/icons/play.svg");
    width: 20px;
    height: 20px;
    z-index: 2;
    transition: opacity .5s ease-in-out;
}

.callToActionButton#video .wp-block-button__link:hover:before{
    opacity: .75;
}

.callToActionButton#video .wp-block-button__link{
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
}

footer .footerNewsletter .wp-block-button__link::after, .imgCoverBlock .wp-block-button__link::after, #servizi.cards .sliderItem .footerItem .wp-block-button__link::after {
    position: absolute;
    inset: 0;
    background-image: var(--linear-button);
    opacity: 0;
    transition: opacity .5s ease-in-out;
    border-radius: 50px;
    z-index: 1;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.20) inset;
    color: rgba(0, 29, 61, .75);
    display: flex;
    align-items: center;
    justify-content: center;
}


footer .footerNewsletter .wp-block-button__link:hover::after,  .imgCoverBlock .wp-block-button__link:hover::after, .callToActionButton .wp-block-button__link:hover::after, #servizi.cards .sliderItem .footerItem .wp-block-button__link:hover::after {
    opacity: 1;
}
/*Footer*/

/*Header*/
.snackbar{
    width: 100%;
    color: var(--BLACK);
    background: var(--GIALLO);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 20;
    position: fixed;
    top: 0;
    height: 45px;
}

.snackbar a{
    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.snackbar p, .snackbar section{
    margin: 0;
}

header.site-header{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
    /*flex-direction: row;*/
    flex-direction: column;
    padding-left: 30px;
    padding-right: 20px;
    min-height: 60px;
    max-height: fit-content;
    background: var(--WHITE);
    border-bottom: 1px solid var(--GRIGIO-CHIARO);
    z-index: 20;
    position: fixed;
    width: 100%;
    top: 44px;
}

header .site-branding{
    height: 1.3em;
}

header .main-navigation ul{
    justify-content: center;
}

/*header .main-navigation ul li{*/
header .main-navigation ul li:not(.sub-menu li) {
    padding-left: 30px;
    padding-right: 30px;

    color: var(--BLACK);

    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

header .main-navigation ul li a{
    color: var(--BLACK);
    transition: opacity .2s ease-in-out;
    height: 60px;
    display: flex;
    align-items: center;
}

header .main-navigation ul li a:hover{
    opacity: .5;
}


header .sub-menu{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--WHITE);
    box-shadow: none;
}

/*Menu overlay*/
/* Creiamo l'overlay direttamente nell'elemento li */
.site {
    position: relative;
    top: 104px;
}

.site::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--BLACK);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10;
    pointer-events: none;
}

.site:has(header .main-navigation ul li:hover > ul)::before {
    opacity: 0.25;
    visibility: visible;
}

/* Add this rule to style the active state for .site::before */
.site.active::before {
    opacity: 0.25;
    visibility: visible;
}

/* Initial state for .site::before */
.site::before {
    opacity: 0;
    visibility: hidden;
    /* Add other styles for .site::before as needed */
}



/* submenu */
/* Stile base submenu - nascosto di default */
.main-navigation ul ul {
    display: block; /* Cambiato da none a block */
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    max-height: 0;
    overflow: hidden; /* Aggiunto per nascondere il contenuto durante l'animazione */
    transition: max-height 0.5s ease-in-out;
    opacity: 0; /* Aggiunto per fade effect */
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: flex;
    width: 100vw;
    position: fixed;
    left: 50%;
    margin-left: -50vw;
    top: 104px;
    transform: none;
    background: var(--WHITE);
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    max-height: 1000px; /* Valore specifico invece di fit-content */
    opacity: 1;
    border-bottom: 1px solid var(--GRIGIO);
    align-items: center;
    gap: 15px;
}

.main-navigation ul li > ul li a {
    padding: 0;
    height: fit-content;
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.main-navigation ul li:hover > ul li a,
.main-navigation ul li.focus > ul li a {
    --delay-base: 0.1s;
    --delay-increment: 0.1s;
    transition-delay: calc(var(--delay-base) + (var(--index, 0) * var(--delay-increment)));
    transition-property: opacity;
    opacity: 1;
}

/* Assegna un indice progressivo ai primi 10 elementi */
.main-navigation ul li > ul li:nth-child(1) { --index: 0; }
.main-navigation ul li > ul li:nth-child(2) { --index: 1; }
.main-navigation ul li > ul li:nth-child(3) { --index: 2; }
.main-navigation ul li > ul li:nth-child(4) { --index: 3; }
.main-navigation ul li > ul li:nth-child(5) { --index: 4; }
.main-navigation ul li > ul li:nth-child(6) { --index: 5; }
.main-navigation ul li > ul li:nth-child(7) { --index: 6; }
.main-navigation ul li > ul li:nth-child(8) { --index: 7; }
.main-navigation ul li > ul li:nth-child(9) { --index: 8; }
.main-navigation ul li > ul li:nth-child(10) { --index: 9; }



/* Stile degli elementi nel submenu */
.main-navigation ul ul li {
    padding: 0;
}

.main-navigation ul ul a {
    width: auto;
    padding: 15px 20px;
}

/* Mantiene i submenu di livello più profondo normali */
.main-navigation ul ul ul,
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    position: absolute; /* Torniamo a absolute per i submenu nidificati */
    width: 200px;
    left: 100%;
    transform: none;
    top: 0;
    padding: 10px;
}

.main-navigation ul li > ul li a:hover {
    color: #7F8E9E;
}





/* Titolo Submenu */
/* Container per il submenu con titolo */
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: flex;
    flex-direction: column; /* Modifichiamo per avere una disposizione verticale */
    width: 100vw;
    position: fixed;
    left: 50%;
    margin-left: -50vw;
    top: 104px;
    transform: none;
    background: var(--WHITE);
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    max-height: 1000px;
    opacity: 1;
    border-bottom: 1px solid var(--GRIGIO);
    gap: var(--gap-30); /* Aumentiamo il gap per dare spazio tra titolo e menu */
}

/* Stile del titolo del submenu */
.main-navigation ul li > ul::before {
    content: attr(data-parent-title); /* Utilizzeremo un attributo data per il testo */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    color: var(--BLACK);
    text-align: center;
    /* DETAILS */
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

/* Mostra il titolo quando il submenu è visibile */
.main-navigation ul li:hover > ul::before,
.main-navigation ul li.focus > ul::before {
    opacity: 1;
}

/* Container per gli elementi del submenu */
.main-navigation ul ul .sub-menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/*Header*/

/*components*/
.imgBigBlock{
    padding: var(--spazio-blocchi-60);
    display: flex;
    flex-direction: column;
    gap: var(--gap-60);
}

.padding30All{
    padding: 30px;
}

.imgCoverBlock{
    border-radius: 45px;
}

h2.bigTitle{
    font-family: "Onest", sans-serif;
    font-size: var(--Size-3XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;


    height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

h3{
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.halfRow > div{
    flex-basis: 50%;
}

.startLabel{
    background: var(--GIALLO);
    width: fit-content;
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--BLACK) !important;
    text-align: center;
    font-size: var(--Size-XS) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 120% !important;
    margin-bottom: 15px !important;
}

.smallImgCover h2{
    text-align: center;

    font-size: var(--Size-XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%
}

.smallImgCover{
    padding: 90px;
}

.smallImgCover .imgBigBlock{
    margin: 0;
    padding: 0;
}

.smallImgCover .imgBigBlock .wp-block-buttons{
    margin-top: 0;
}

.dividerSection{
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.dividerSection h2{
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    color: var(--BLACK);
    border: solid 1px var(--Black-25);
    padding: 10px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 45px;
    width: fit-content;
    background: var(--WHITE);
    margin-left: 120px !important;
}

.dividerSection h2:before{
    content: "";
    width: 100%;
    height: 1px;
    background: var(--Black-25);
    position: absolute;
    z-index: -1;
    left: 0;
}

.dividerSection h2:after{
    content: url("img/icons/arrow_blu.svg");
    display: flex;
    align-items: center;
    justify-content: center;
    top: 1px;
    position: relative;
}

.standardContentBlock{
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    gap: var(--gap-60);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/*Slider*/
.sliderContainer{
    max-width: 100vw;
    overflow-x: scroll;
    cursor: grab;
    -ms-overflow-style: none;  /* Nasconde scrollbar in IE e Edge */
    scrollbar-width: none;     /* Nasconde scrollbar in Firefox */
}

.sliderContainer .sliderContent{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    width: fit-content;
}

/*Slider Servizi*/
.cards .sliderContent{
    gap: 15px;
}

#servizi.cards .sliderItem {
    border: 1px solid var(--Black-25);
    border-radius: 45px;
    padding: 30px;
    margin: 0;
    width: 400px;
    height: 600px;
    align-self: stretch;

    display: flex;
    flex-direction: column;
    gap: var(--gap-30);

    position: relative;

    transition: all .3s ease-in-out;
}


#servizi.cards .sliderItem:hover{
    background: var(--GRIGIO-CHIARO);
    /* PRESSIONE PULSANTE */
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}


#servizi.cards .sliderItem .headerItem{
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 15px;
    width: 100%;
}

#servizi.cards .sliderItem .headerItem .wp-block-heading{
    margin: 0;
}

#servizi.cards .sliderItem .headerItem h3{
    font-size: var(--Size-3XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

#servizi.cards .sliderItem .headerItem h2{
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    color: var(--BLACK);
}

#servizi.cards .sliderItem p{
    margin: 0;
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#servizi.cards .sliderItem .footerItem{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0;
    width: calc(100% - 60px);
    position: absolute;
    bottom: 30px;
}

#servizi.cards .sliderItem .footerItem .wp-block-cover{
    aspect-ratio: 1;
    width: 120px;
    height: 120px;
    min-height: auto;
    border-radius: 15px;
}

#servizi.cards .sliderContent{
    padding-left: 120px;
    padding-right: 120px;
    user-select: none;
}

.sliderContainer::-webkit-scrollbar {
    display: none;            /* Nasconde scrollbar in Chrome, Safari e Opera */
}

.sliderContainer:active {
    cursor: grabbing;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.sliderContainer {
    overflow-x: auto;
    scrollbar-width: none; /* Per Firefox */
    -ms-overflow-style: none; /* Per Internet Explorer e Edge */
}

.sliderContainer::-webkit-scrollbar {
    display: none; /* Per Chrome, Safari e Opera */
}

.slider-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 330px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-fade-left {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.slider-fade-right {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

#sliderNewsHome .slider-fade-left {
    background: linear-gradient(to right, var(--GRIGIO-CHIARO), transparent);
}

#sliderNewsHome .slider-fade-right{
    background: linear-gradient(to left, var(--GRIGIO-CHIARO), transparent);
}

.slider-fade.visible {
    opacity: 1;
}

.slider-nav-btn {
    pointer-events: auto;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), rgba(255, 255, 255, 0.50);
    box-shadow: 0 4px 4px 0 rgba(255, 255, 255, 0.25) inset, 0 3px 10px 0 rgba(0, 8, 20, 0.15);
    backdrop-filter: blur(7px);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    width: 90px;
    height: 90px;
}

.slider-nav-btn:hover {
    border: 1px solid #DDD;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 100%), rgba(255, 255, 255, 0.50);
    box-shadow: 0 3px 10px 0 rgba(0, 8, 20, 0.15);
    backdrop-filter: blur(7px);
}

.slider-nav-btn:hover img{
    opacity: .5;
}

.slider-nav-btn:active {
    transform: scale(0.95);
}

.slider-nav-btn-left img{
    transform: rotate(180deg);
}

/* Testo standard */

.standardContentBlock h2{
    color: var(--BLACK);
    font-size: var(--Size-3XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
}

.standardContentBlock h3{
    color: var(--BLACK);
    font-size: var(--Size-XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
}

.standardContentBlock p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
}

/*Infinite Slider*/
.infiniteSlider{
    height: 150px;
}

.infiniteSlider .sliderItem{
    margin: 0;
    border-right: 1px solid var(--Black-25);
    padding-left: 60px;
    padding-right: 60px;
    width: max-content;
}

.infiniteSlider .sliderItem img{
    height: 150px;
    width: auto;
}

.sliderContainer.infiniteSlider {
    cursor: grab;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;  /* Nasconde la scrollbar in IE/Edge */
    scrollbar-width: none;     /* Nasconde la scrollbar in Firefox */
    display: flex;
    user-select: none;
}

.sliderContainer.infiniteSlider::-webkit-scrollbar {
    display: none;  /* Nasconde la scrollbar in Chrome/Safari/Opera */
}

.sliderContainer.infiniteSlider.grabbing {
    cursor: grabbing;
}

.sliderContainer.infiniteSlider {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    will-change: scroll-position;
    scroll-behavior: auto !important;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: pan-y pinch-zoom;
}

.sliderContainer.infiniteSlider::-webkit-scrollbar {
    display: none;
}

.sliderContainer.infiniteSlider * {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}


.standardContentBlock .txtContainer{
    gap: var(--gap-30);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.standardContentBlock .txtContainer h2{
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.halfPageRow{
    display: flex;
    flex-direction: row;
    gap: var(--gap-60);
}

.halfPageRow > *{
    flex-basis: 50%;
}

.halfPageRow img{
    border-radius: 45px;
}

/*Buttons*/
.standardContentBlock .wp-element-button{
    display: flex;
    padding: 30px 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid var(--Black-25);
    color: var(--BLACK);
    background: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}

.standardContentBlock .wp-element-button:hover{
    border-radius: 50px;
    background: var(--GRIGIO);

    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

.standardContentBlock .highlights .wp-element-button{
    background: var(--GIALLO);
    border: 1px solid var(--GIALLO);
}

.standardContentBlock .highlights .wp-element-button:hover{
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), #F5C125;

    /* PRESSIONE PULSANTE */
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

/*Post*/
.post header{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 120px;
    gap: var(--gap-30);
}

.post header .post-thumbnail{
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post header img{
    height: 100%;
    width: auto;
}

.post header iframe{
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    max-width: 50%;
}

.post .postHeaderButtons{
    padding-left: 60px;
    padding-right: 60px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-direction: row;
}

.post header > *{
    flex-basis: 50%;
}

.post header .firstColumn h1{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.post header .firstColumn{
    display: flex;
    padding: 0 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
}

.post header .entry-meta{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.post header .entry-meta .strillo{
    display: flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    background: var(--GIALLO);

    color: var(--BLACK);
    text-align: center;

    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.post header .entry-meta .anno{
    display: flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    border: 2px solid var(--BLACK);

    color: var(--BLACK);
    text-align: center;

    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.post.category-progetto header .firstColumn h1{
    margin-top: 30px;
    margin-bottom: 60px;
}


.post .footerCompanies{
    display: flex;
    flex-direction: row;
    gap: var(--gap-30);
    justify-content: center;
}

.post .footerCompanies a{
    overflow: hidden;
    color: var(--Black-50);
    text-overflow: ellipsis;

    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}


.post .entry-content{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
    padding-top: 30px;
}

.post .tagsList{
    background: var(--BLACK);
    padding: 120px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
}

.post .tagsList .tagsListTitle{
    color: var(--WHITE);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.post .tagsList .tagsListTitle:before{
    content: "";
    width: 15px;
    height: 15px;
    aspect-ratio: 1/1;
    background: var(--GIALLO);
    border-radius: 3px;
}

.post .tagsList .tagContainer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    max-width: 1200px;
    width: 100%;
    padding: 0 30px;
    justify-content: flex-start;
}

.post .tagsList a{
    display: flex;
    padding: 20px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 2px solid var(--Luce-25);
    transition: border .3s ease-in-out;
    text-decoration: none;
    width: fit-content;

    color: var(--WHITE);

    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.post .tagsList ul li:hover{
    border-color: var(--WHITE);
}

.post .tagsList ul li a{
    text-decoration: none;
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    color: var(--WHITE);
}

.post .wp-block-separator {
    width: calc(100vw - 8px);
    left: calc(-1 * ((100vw - 1200px) / 2));
    position: relative;
    background: var(--GRIGIO);
    border: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.post p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 0;
}

.post h2{
    padding-top: 30px;
    padding-bottom: 30px;
    color: var(--BLACK);
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
}

.post .wp-block-image, .post .wp-block-embed.is-type-video{
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 0;
}

.post .wp-block-image img{
    border-radius: 5px;
}

.post .wp-block-image .wp-element-caption{
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    gap: var(--gap-30);
    margin-bottom: 0;
}

.post .wp-block-image .wp-element-caption:before{
    content: "";
    width: 15px;
    height: 15px;
    aspect-ratio: 1/1;
    background: var(--GIALLO);
    border-radius: 3px;
}

.post .wp-block-quote{
    border-left: 5px solid var(--GIALLO);
    padding-left: 30px;
    margin: 30px 0;
}

.post .wp-block-quote p{
    overflow-wrap: break-word;
    color: var(--BLACK);
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.post .wp-block-embed.is-type-video iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    align-self: stretch;
    border-radius: 5px;
    height: 100%;
}

.post .wp-block-buttons{
    padding-top: 30px;
    padding-bottom: 30px;
}

.post .wp-block-buttons .wp-element-button{
    display: flex;
    padding: 30px 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 50px;
    border: 1px solid var(--Black-25);

    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    background: var(--WHITE);

    transition: all ease-in-out .3s;
}

.post .wp-block-buttons .wp-element-button:hover{
    border-radius: 50px;
    background: var(--GRIGIO);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

.post .wp-block-buttons .wp-block-button.pulsanteGiallo .wp-element-button{
    background: var(--GIALLO);
    border-color: var(--GIALLO);
}

.post .wp-block-buttons .wp-block-button.pulsanteGiallo .wp-element-button:hover{
    border-radius: 50px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), #F5C125;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}
/* News */

.post.category-news .newsBadge, .post.category-video .newsBadge{
    color: var(--Black-50);
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.post.category-video .newsBadge:before{
    content: url("img/icons/video_icon.svg");
}

.post.category-news .newsBadge:before{
    content: url("img/icons/news_ico.svg");
    height: 25px;
}

.post.category-news .dateBadge, .post.category-video .dateBadge{
    color: var(--Black-50);
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    border-left: 1px solid var(--Black-50);
    padding-left: 10px;
}

.post.category-news .entry-meta{
    gap: 10px;
}

.post.category-evento .eventFade{
    background: var(--SFUMATURA-GIALLA);
}

.post.category-evento .eventoBadge{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 10px;
}

.post.category-evento .eventoBadge:before{
    content: url("img/icons/evento_cal.svg");
}

.post.category-evento .eventDateBadge{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 10px;
}

.post.category-evento .eventDateBadge:before{
    content: url("img/icons/evento_date.svg");
}

.post.category-evento .footerEvento{
    display: flex;
    gap: var(--gap-30);
    align-items: center;
}

.post.category-evento .eventPlace{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 10px;
    text-decoration: none;
}

.post.category-evento .eventPlace:before{
    content: url("img/icons/evento_place.svg");
}

/* Pagina Media */
.media{
    background: var(--GRIGIO-CHIARO);
}

.media header .title{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.media header{
    background: var(--GRIGIO-CHIARO);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media header h1{
    margin: 0;
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}


.media header{
    padding-top: 30px;
    padding-bottom: 30px;
}

.mediaContent .postContainer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 15px;
    row-gap: var(--gap-30);
    justify-content: center;
    max-width: 1685px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}

.mediaContent{
    display: flex;
}

.mediaContent a{
    text-decoration: none;
}

.cardPost{
    border-radius: 30px;
    width: 410px;
    height: 595px;
    background: var(--WHITE);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--Ombra-15);
}

.cardPost.Evento{
    background: var(--GIALLO);
    border: 1px solid var(--GIALLO-SCURO);

}

.cardPost .featuredCard{
    width: 100%;
    height: 230px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    padding: 30px;
    background-position: center !important;
}

.cardPost .contenutoCard{
    padding: 30px 30px 0;
}

.cardPost .footerCard{
    border-top: 1px solid var(--Ombra-15);
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: var(--gap-30);
    align-items: center;
}

.cardPost.Evento .footerCard{
    border-top: 1px solid var(--GIALLO-SCURO);
}

.cardPost .contenutoCard h2{
    overflow: hidden;
    color: var(--BLACK);
    text-overflow: ellipsis;
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limita il testo a 3 righe */
    -webkit-box-orient: vertical;
}

.dettaglioPost{
    padding-top: 25px;
    padding-bottom: 25px;
}

.cardPost .cardBadge{
    border-radius: 30px;
    border-bottom: 1px solid var(--GIALLO-SCURO);
    background: var(--GIALLO);
    width: fit-content;
    padding: 0 10px;
    height: 30px;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.cardPost.Evento .cardBadge:before{
    content: "";
    background-image: url("img/icons/evento_cal.svg");
    background-size: 18px 20px;
    width: 18px;
    height: 20px;
    position: relative;
}

.cardPost.News .cardBadge:before{
    content: "";
    background-image: url("img/icons/news_ico.svg");
    background-size: 20px 16px;
    width: 20px;
    height: 16px;
    position: relative;
}

.cardPost.Video .cardBadge:before{
    content: "";
    background-image: url("img/icons/video_icon.svg");
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    position: relative;
}

.cardPost.News .dettaglioPost, .cardPost.Video .dettaglioPost {
    overflow: hidden;
    color: var(--BLACK);
    text-overflow: ellipsis;
    white-space: normal;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limita il testo a 3 righe */
    -webkit-box-orient: vertical;
    padding-bottom: 0;
}

.cardPost .realizzato{
    overflow: hidden;
    color: var(--Black-50);
    text-overflow: ellipsis;
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}

.cardPost .companyList{
    margin-top: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.cardPost .companyList div{
    overflow: hidden;
    color: var(--BLACK);
    text-overflow: ellipsis;
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.cardPost .eventDateBadge, .cardPost .eventPlace{
    color: var(--BLACK);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.cardPost .eventDateBadge:before{
    content: "";
    background-image: url("img/icons/evento_date.svg");
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    position: relative;
}

.cardPost.Evento .dettaglioPost{
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.cardPost .eventPlace:before{
    content: "";
    background-image: url("img/icons/evento_place.svg");
    background-size: 25px 30px;
    width: 25px;
    height: 30px;
    position: relative;
}

.cardPost .footerCard .tagsList{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 275px;
}

.cardPost .footerCard .tagsList a{
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: rgba(0, 29, 61, 0.10);

    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    width: fit-content;
}

.truncated-link {
    display: inline-block; /* Assicura che l'elemento sia trattato come un blocco inline */
    max-width: 275px; /* Imposta una larghezza massima per il link */
    white-space: nowrap; /* Impedisce il testo di andare a capo */
    overflow: hidden; /* Nasconde il testo che supera la larghezza massima */
    text-overflow: ellipsis; /* Aggiunge le ellissi (...) al testo troncato */
}

.media header .selettori{
    display: flex;
    padding: 30px 0;
    justify-content: center;
    align-items: center;
    gap: var(--gap-30);
    align-self: stretch;
}

.media header .selettori a{
    overflow: hidden;
    color: var(--Black-50);
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-decoration: none;
    border-bottom: solid 2px var(--Black-50);
    transition: color ease-in-out .3s;
}

.media header .selettori a:hover{
    color: var(--BLACK);
}

.media header .selettori a.active{
    color: var(--BLACK);
    border-bottom: solid 2px var(--BLACK);
}

.media header .filtri{
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid var(--Ombra-15);
    border-bottom: 1px solid var(--Ombra-15);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: var(--gap-30);
    max-height: 80px;
    overflow: hidden;
    transition: all ease-in-out .5s;
}

.media header .filtri .buttonFiltri::after{
    display: none;
}

.media header .filtri .buttonFiltri span{
    display: flex;
}

.media header .filtri.open{
    background: var(--GRIGIO);
    max-height: 500px;
}

.media header .filtri.open span{
    display: none;
}

html[lang="it-IT"] .media header .filtri.open .buttonFiltri::after{
    content: "Chiudi";
    display: flex;
}
html[lang="en-GB"] .media header .filtri.open .buttonFiltri::after{
    content: "Close";
    display: flex;
}

.media header .filtri .buttonFiltri{
    display: flex;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;

    color: var(--BLACK);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    gap: 15px;
    cursor: pointer;
    transition: opacity ease-in-out .3s;
    border-radius: 5px;
}

.media header .filtri .buttonFiltri:before{
    content: "";
    background-image: url("img/icons/filtri.svg");
    background-size: 21px 15px;
    width: 21px;
    height: 15px;
    position: relative;
}

.media header .filtri .buttonFiltri:hover{
    opacity: .5;
}


.media header .filtri.open .buttonFiltri{
    background: var(--BLACK);
    color: var(--WHITE);
}

.media header .filtri.open .buttonFiltri:before{
    content: "";
    background-image: url("img/icons/filtri_w.svg");
}

.media header .tagsFilterList{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.media header .tagsFilterList .tagsFilterRow{
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 60px;
}

.media header .tagsFilterList .tagsFilterRow a{
    text-decoration: none;
}

.media header .tagsFilterList .tagsFilterRow .tagItem{
    border-radius: 30px;
    border: 1px solid var(--Black-25);
    display: flex;
    padding: 10px 15px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;

    color: var(--BLACK);
    text-align: center;

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    transition: all .3s ease-in-out;
}

.media header .tagsFilterList .tagsFilterRow .tagItem:hover{
    border: 1px solid var(--Ombra-15);
    background: var(--GRIGIO);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

.media header .tagsFilterList .tagsFilterRow .tagItem.active{
    display: flex;
    padding: 10px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 30px;
    background: var(--BLACK);

    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;

    color: var(--WHITE);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.media .no-results{
    margin-bottom: 60px;
}

.media .no-results h2{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 15px;
}

.media .no-results p{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0 !important;
}

.media .pagination{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 60px;
}

.media .pagination .next-page, .media .pagination .prev-page {
    display: flex;
    width: 90px;
    height: 90px;
    padding: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.media .pagination .current-page{
    display: flex;
    width: 73px;
    height: 90px;
    flex-direction: column;
    justify-content: center;
    color: #000;

    text-align: center;

    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.recent-posts-slider .cardPost{
    width: 400px !important;
    height: 590px !important;
}

.truncated-link, .cardPost a{
    text-decoration: none;
}

.recent-posts-slider{
    background: var(--GRIGIO-CHIARO);
    padding-top: 90px;
    padding-bottom: 90px;
}

.recent-posts-slider .startLabel{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 120px;
}

.recent-posts-slider h2{
    color: var(--BLACK);
    font-size: var(--Size-3XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin-top: 30px;
    margin-bottom: 0;
}

.recent-posts-slider .slider-wrapper{
    margin-top: 90px;
}

.recent-posts-slider .sliderContainer .sliderContent{
    gap: 15px;
    padding-top: 15px;
    padding-left: 120px;
    padding-right: 120px;
}

.slider_title{
    padding-left: 120px;
}

.cardPost.leggiTutti{
    display: flex;
    background: url('img/various/more.png');
    border: 1px solid var(--Black-25);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
}

.cardPost.leggiTutti a{
    color: var(--WHITE);
    text-align: center;

    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;

    display: flex;
    flex-direction: row;
    gap: var(--gap-30);
}

.cardPost.leggiTutti a:before{
    content: url("img/icons/arrow_yellow.svg");
    width: 30px;
    height: auto;
}

/* Pagine servizi */

.servizi header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 90px;
    flex-direction: column;
    gap: var(--gap-30);
}

.servizi header h1{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-3XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
}

.servizi header .post-thumbnail{
    width: 90px;
    height: 90px;
    aspect-ratio: 1;
    border-radius: 90px;
    overflow: hidden;
}

.servizi .coverServizi{
    height: 600px;
    padding: 0;
}

.servizi .serviziCallToAction{
    background: var(--GIALLO);
    display: flex;
    gap: var(--gap-60);
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-top: 15px;
    padding-bottom: 15px;

    transition: all 0.3s ease-in-out;
}

.servizi .serviziCallToAction > *{
    width: fit-content;
    margin: 0 !important;
}

.servizi .serviziCallToAction p{
    color: var(--BLACK);

    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.servizi p{
    margin: 0 !important;
}

.servizi .wp-block-cover .wp-block-cover__inner-container{
    position: fixed;
    bottom: 0;
    z-index: 10;
}

.servizi .wp-block-cover .serviziCallToAction .wp-element-button{
    background: var(--BLACK);
    color: var(--WHITE);

    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    display: flex;
    gap: 15px;
    flex-direction: row;
    align-items: center;
}

.servizi .wp-block-cover .serviziCallToAction .wp-element-button:after{
    content: url("img/icons/arrow_yellow_short.svg");
    height: 16px;
}

.servizi .standardContentBlock h2{
    font-size: 48px;
}

.servizi .attivaServizio{
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    background: var(--GIALLO);
}

.servizi .attivaServizio h2{
    color: var(--BLACK);
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0 !important;
}

.servizi .attivaServizio p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-align: left;
}

.servizi .attivaServizio .attivaContent{
    display: flex;
    flex-direction: column;
    gap: var(--gap-60);
}

.servizi .attivaServizio .wp-block-button{
    width: max-content;
}

.servizi .attivaServizio .wp-block-button .wp-block-button__link {
    background: var(--BLACK);
    color: var(--WHITE);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;

    height: 75px;

    transition: all ease-in-out .3s;
}

.servizi .attivaServizio .wp-block-button .wp-block-button__link:after{
    content: url("img/icons/arrow_yellow_short.svg");
    height: 16px;
}

.servizi .attivaServizio .wp-block-button .wp-block-button__link:hover{
    color: #bec4cb;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
    border-radius: 50px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #001D3D;

}

.servizi .attivaServizio .attivaMainContainer{
    gap: var(--gap-60);
}

.servizi .ServiziContentCorrelati{
    background: var(--GRIGIO-CHIARO);
    padding-bottom: 30px;
}

.servizi .serviziLinkRow{
    padding: 60px 120px;
    justify-content: center;
    gap: 120px;
    border-top: 2px solid var(--GRIGIO);
    border-bottom: 2px solid var(--GRIGIO);
}

.servizi .serviziLinkRow a{
    color: var(--BLACK);
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.servizi .serviziLinkRow a:after{
    content: url("img/icons/arrow_yellow.svg");
}


.divisoreCentro h2{
    border-radius: 45px;
    border: 1px solid var(--Black-25);
    width: fit-content;
    display: flex;
    padding: 10px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    background: var(--WHITE);
    position: relative;
    z-index: 1;
}

.servizi .divisoreCentro h2{
    background: var(--GRIGIO-CHIARO);
}

.divisoreCentro{
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 0;
    margin-bottom: 0;
}

.servizi .divisoreCentro{
    padding-top: 60px;
    padding-bottom: 60px;
}

.servizi .divisoreCentro:after, .divisoreCentro:after{
    content: "";
    height: 1px;
    background: var(--Black-25);
    width: 100%;
    position: absolute;
    margin-top: -23px;
    z-index: 0;
}

.servizi .recent-posts-tag{
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    flex-wrap: wrap;
    justify-content: center;
}

.servizi .tuttiServizi{
    display: flex;
    width: fit-content;
    margin: 30px auto 0;
    text-decoration: none;
    padding: 30px 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid var(--Black-25);
    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    transition: all ease-in-out .3s;
}

.servizi .tuttiServizi:hover{
    background: var(--GRIGIO);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

/*Avvisi e Bandi*/
.avvisi-e-bandi header{
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
}

.avvisi-e-bandi header h1, .staff header h1, .documenti header h1{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.avvisi-e-bandi header h1:before, .staff header h1:before, .documenti header h1:before{
    content: "Start 4.0";
    color: var(--BLACK);
    text-align: center;

    font-size: var(--Size-XS, 14px);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    border-radius: 3px;
    background: var(--GIALLO);
    display: flex;
    height: 28px;
    padding: 5px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
}


.avvisi-e-bandi p{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}


.avvisi-e-bandi .avvisi-e-bandi-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1685px;
    margin-left: auto;
    margin-right: auto;
}

.avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando{
    width: 410px;
    height: 365px;
}

.avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando{
    border-radius: 0 30px 30px 30px;
    padding-top: 30px;
    padding-bottom: 30px;;
}

.avvisi-e-bandi .avvisi-e-bandi-list.aperti .avviso-e-bando{
    background: var(--GIALLO);
}

.avvisi-e-bandi .avvisi-e-bandi-list.aperti .linguetta{
    background: var(--GIALLO);
}

.avvisi-e-bandi .avvisi-e-bandi-list.chiusi .avviso-e-bando {
    background: var(--GRIGIO-CHIARO);
}

.avvisi-e-bandi .avvisi-e-bandi-list.chiusi .linguetta{
    background: var(--GRIGIO-CHIARO);
}

.avvisi-e-bandi .avvisi-e-bandi-list .linguetta{
    border-radius: 30px 30px 0 0;
    display: flex;
    padding: 15px 15px 0 15px;
    flex-direction: row;
    align-items: center;
    width: 150px;
    height: 50px;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    justify-content: center;
    gap: 10px;
}

.avvisi-e-bandi .avvisi-e-bandi-list .linguetta .switch, .switch{
    display: flex;
    width: 60px;
    padding: 3px;
    align-items: center;
    gap: 10px;

    border-radius: 30px;
    border-top: 1px solid rgba(0, 29, 61, 0.15);
    background: rgba(0, 29, 61, 0.15);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;

}

.avvisi-e-bandi .avvisi-e-bandi-list.aperti .linguetta .switch, .switch{
    justify-content: flex-start;
}

.avvisi-e-bandi .avvisi-e-bandi-list.chiusi .linguetta .switch, .switch{
    justify-content: flex-end;
}

.avvisi-e-bandi .avvisi-e-bandi-list .linguetta .switch .switchBall, .switch .switchBall{
    border-radius: 30px;
    border-bottom: 1px solid var(--Black-25);
    background: var(--WHITE);
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando .publicationDate{
    overflow: hidden;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    padding-left: 30px;
    padding-right: 30px;
}

.avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando h2{
    overflow: hidden;
    color: var(--BLACK);
    text-overflow: ellipsis;
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    align-self: stretch;
    margin-top: 15px;
    margin-bottom: 30px;

    padding-left: 30px;
    padding-right: 30px;

    min-height: 93px;
}


.avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando .dedicato-a{
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.avvisi-e-bandi .avvisi-e-bandi-list.aperti .avviso-e-bando .dedicato-a{
    border-top: 1px solid var(--GIALLO-SCURO);
    border-bottom: 1px solid var(--GIALLO-SCURO);
}

.avvisi-e-bandi .avvisi-e-bandi-list.chiusi .avviso-e-bando .dedicato-a{
    border-top: 1px solid var(--Ombra-15);
    border-bottom: 1px solid var(--Ombra-15);
}

.avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando .dedicato-a .titoletto{
    overflow: hidden;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-30);
    padding: 15px 30px;
    position: relative;
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza:before{
    content: url("img/icons/sveglia.svg");
    width: 45px;
    height: 41px;
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza .scadenzaContainer{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    max-width: 130px;
    text-align: left;
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza{
    color: var(--BLACK);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza .titoletto{
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza .arrowButtonBandi{
    position: absolute;
    right: 30px;
}

.avvisi-e-bandi .avvisi-e-bandi-list .bandiItem .scadenza .arrowButtonBandi a{
    padding: 15px;
}

.avvisi-e-bandi .servizi{
    margin-top: 60px;
}

.avvisi-e-bandi .custom-pagination{
    display: flex;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    gap: 5px;
    align-self: stretch;
    margin-top: 30px;
}

.avvisi-e-bandi .custom-pagination .current-page{
    color: #000;
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    width: 73px;
    height: 90px;
    flex-direction: column;
    justify-content: center;
}

.avvisi-e-bandi .custom-pagination a{
    height: 90px;
    width: 90px;
    border-radius: 90px;
    border: 1px solid var(--Ombra-15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    transition: all ease-in-out .3s;
}

.avvisi-e-bandi .custom-pagination a:hover{
    background: var(--Ombra-15);
}

.single-bandi header{
    padding: 0 60px 120px 60px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
}

.single-bandi header h1.entry-title{
    margin: 0;
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.single-bandi header.aperto{
    background: var(--SFUMATURA-GIALLA, linear-gradient(0deg, #EDA800 0%, #F8BC2B 100%));
}

.single-bandi header.chiuso{
    background: var(--GRIGIO-CHIARO, #F0F1F3);
}

.single-bandi .shareHeader{
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.single-bandi .headerContainer{
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    padding-left: 60px;
    padding-right: 60px;
}

.single-bandi .switch-single{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: capitalize;
}

.single-bandi .scadenza-single{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gap-30);
    text-align: center;
}

.single-bandi .dedicato-a-single{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    font-size: var(--Size-M);
    height: 90px;
}

.single-bandi header .titoletto{
    overflow: hidden;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /
}

.single-bandi .scadenza-single, .single-bandi .dedicato-a-single{
    color: var(--BLACK);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.single-bandi .entry-content{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-60);
}

.single-bandi .entry-content h2{
    color: var(--BLACK);
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
}

.single-bandi .entry-content p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
}

.single-bandi .allegati h3{
    overflow: hidden;
    color: var(--BLACK);
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.single-bandi .allegati{
    display: flex;
    flex-direction: column;
}

.single-bandi .allegati .allegatiHeader{
    border-bottom: 1px solid var(--Black-25);
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: row;
    gap: 35px;
}

.single-bandi .allegati .allegatiItem{
    border-bottom: 1px solid var(--Black-25);
    padding-top: 15px;
    padding-bottom: 15px;
    gap: var(--gap-60);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.single-bandi .allegati .doc{
    overflow: hidden;
    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    max-width: 800px;
    width: 100%;
}

.single-bandi .allegati .version{
    overflow: hidden;
    color: var(--Black-50);
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    max-width: 150px;
    width: 100%;
}

.single-bandi .allegati .allegatiItem a{
    text-decoration: none;
}

.single-bandi .allegati .download{
    display: flex;
    width: 163px;
    height: 45px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 50px;
    background: var(--GIALLO);

    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;

    transition: all ease-in-out .3s;
}

.single-bandi .allegati .download:after{
    content: url("img/icons/downlaod.svg");
    width: 21px;
    height: 21px;
}

.single-bandi .allegati .download:hover{
    border-radius: 50px;
    background: var(--linear-button, linear-gradient(180deg, #EDA800 0%, #F8BC2B 100%));
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;

}

.downloadSpace{
    width: 165px;
}

/*Pagina Standard*/
.page-template-default article header{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    justify-content: center;
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    height: 600px;
}

.page-template-default article header:after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 29, 61, 0.50) 0%, rgba(0, 29, 61, 0.50) 100%);
    z-index: 0;
}


.page-template-default article header:before{
    content: "Start 4.0";
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 15px;
    border-radius: 3px;
    background: var(--GIALLO);
    z-index: 1;
}

.page-template-default article header h1{
    margin: 0;
    color: var(--WHITE);
    text-align: center;
    font-size: var(--Size-3XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    z-index: 1;
}

.page-template-default article h2{
    font-size: var(--Size-XL);
}

.standardContentBlock ul{
    margin: 0;
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.standardContentBlock ul li{
    margin-bottom: 15px;
}

.standardContentBlock .wp-block-buttons{
    gap: 10px;
}

.page-template-default article header.clean:after,.page-template-default article header.clean:before{
    display: none;
}

.page-template-default article header.clean {
    height: auto;
}

.page-template-default article header.clean h1{
    color: var(--BLACK);
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.page-template-default article .divisoreCentro h2{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.titleBig{
    color: var(--BLACK);
    font-size: var(--Size-3XL) !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 110%;
}

.page-template-default article h3{
    color: var(--BLACK);
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.page-template-default article p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.max1200Center{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.topBottom30{
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Accordion */
.accordionHeader{
    padding: 30px 120px;
    cursor: pointer;
}

.accordionHeader .wp-block-cover{
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    aspect-ratio: 1;
    border-radius: 15px;
    min-height: unset;
}

.accordionHeader h2{
    color: var(--BLACK);
    font-size: var(--Size-2XL) !important;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    opacity: .75;
    width: calc(100% - 240px);
    transition: opacity .3s ease-in-out;
}

.accordionHeader:hover h2{
    opacity: 1;
}

.accordionHeaderContainer{
    gap: var(--gap-60);
}

.accordionHeader .accordionButton{
    width: 60px;
    height: 60px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
    border-radius: 50px;
    border: 1px solid transparent;
}

.accordionHeader .accordionButton:after{
    content: url("img/icons/croce.svg");
    height: 18px;
    width: 18px;
    opacity: .5;
    transition: all .3s ease-in-out;
}

.accordionHeader:hover .accordionButton{
    background: var(--GRIGIO-CHIARO);
    border-color: var(--Ombra-15);
}

.accordionHeader:hover .accordionButton:after{
    opacity: 1;
}

.accordionContent{
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease-in-out;
    border-bottom: 1px solid var(--GRIGIO);
}

.accordionContent p{
    width: calc(100% - 600px);
}

.accordion.open .accordionContent{
    max-height: 1000px;
}

.accordion.open .accordionContent{
    padding-bottom: 30px;
}

.accordion.open h2{
    opacity: .5;
}

.accordion.open .accordionHeader .accordionButton{
    border-radius: 50px;
    border: 1px solid var(--Ombra-15);
    background: var(--GRIGIO-CHIARO);
}

.accordion.open .accordionHeader .accordionButton:after{
    opacity: 1;
}

.accordion.open .accordionHeader .accordionButton{
    transform: rotate(45deg);
}

.accordion.open{
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

.accordion{
    transition: all .5s ease-in-out;
}

.centeredElement{
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-container-core-group-is-layout-12dd3699 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    margin-left: auto !important;
    margin-right: auto !important;
}

.halfDoubleImage{
    gap: var(--gap-30);
}

.halfDoubleImage .wp-block-cover{
    max-height: 300px;
    min-height: 300px;
    max-width: 400px;
    width: 100%;
    height: 100%;
}

.halfDoubleImage .wp-block-cover img{
    border-radius: 15px;
}

.fullRowLink{
    border-top: 2px solid var(--GRIGIO);
    border-bottom: 2px solid var(--GRIGIO);
    background: var(--GRIGIO-CHIARO);

    padding: 60px 120px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.fullRowLink:after{
    content: url("img/icons/arrow_yellow.svg");
    height: 18px;
}

.fullRowLink p{
    margin: 0 !important;
    color: var(--BLACK);
    font-size: var(--size-m);
    font-style: normal;
    font-weight: 700 !important;
    line-height: 120%;
}

.serviziTitle{
    gap: var(--gap-30);
}

.serviziTitle h2{
    font-size: var(--Size-3XL) !important;
}

.linkListItem{
    padding: 60px 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all .3s ease-in-out;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.linkListItem .wp-block-cover{
    width: 120px;
    height: 120px;
    border-radius: 15px;
    min-height: unset;
    aspect-ratio: 1;
}

.linkListItem .linkListContent{
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
}

.linkListItem .linkListContent .wp-block-group{
    width: 100%;
    gap: var(--gap-60);
}

.linkListItem .linkListContent h2{
    color: var(--BLACK);
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.linkListItem .linkListButton{
    width: 60px;
    height: 60px;
    border-radius: 50px;
    border: 1px solid var(--Ombra-15);
    opacity: 0.5;
    aspect-ratio: 1;
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
}

.linkListItem .linkListButton:after{
    content: url("img/icons/arrow_open.svg");
    height: 19px;
    width: 8px;
    transition: all .3s ease-in-out;
}

.linkListItem p{
    width: calc(100% - 360px);
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    transition: max-height .3s ease-in-out;
}

.linkListItem:hover p{
    max-height: 250px;
}

.linkListItem:hover{
    border-top: 1px solid var(--GRIGIO);
    border-bottom: 1px solid var(--GRIGIO);
    background: var(--GRIGIO-CHIARO);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

.linkListItem:hover .linkListButton{
    border-radius: 50px;
    border: 1px solid var(--Ombra-15);
    background: var(--Ombra-15);
    cursor: pointer;
    opacity: 1;
}

/*Item Staff*/

.itemStaff{
    width: 410px;
    height: 385px;
    border-radius: 30px;
    border: 1px solid var(--Ombra-15);
    background: var(--WHITE);
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    gap: var(--gap-30);
    position: relative;
}

.itemStaff .wp-block-cover{
    aspect-ratio: 1;
    width: 156px;
    height: 156px;
    border-radius: 156px;
    min-height: unset;
}

.itemStaff .staffItemContent{
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.itemStaff h3{
    margin-top: 0;
    color: var(--BLACK);
    text-align: center;
    font-size: var(--size-m) !important;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.itemStaff p{
    margin-top: 0;
    color: var(--BLACK);
    font-size: var(--Size-XS) !important;
    font-style: normal;
    font-weight: 700 !important;
    line-height: 120%;
}

.itemStaff .footerItemStaff{
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 15px 30px;
    border-top: 1px solid var(--Ombra-15);
}

.itemStaff .footerItemStaff a{
    text-decoration: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    color: var(--BLACK);
    border-radius: 15px;
    background: var(--GRIGIO-CHIARO);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all ease-in-out .3s;
}

.itemStaff .footerItemStaff a:after{
    content: url("img/icons/arrow_blu.svg");
    width: 18px;
    height: 14px;
    transition: all ease-in-out .3s;
}

.itemStaff .footerItemStaff p{
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itemStaff .footerItemStaff a:hover {
    border-radius: 15px;
    background: var(--GRIGIO);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
    opacity: 0.75;
}

.itemStaff .footerItemStaff a:hover:after{
    opacity: 0.75;
}

.teamRow{
    gap: 15px;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
    flex-wrap: wrap !important;
}

.teamReadAll{
    padding-bottom: 30px;
}

.row2Content{
    gap: var(--gap-30);
    display: flex;
    flex-direction: column;
}

#sliderCentroCompetenza h2{
    color: var(--BLACK);
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

#sliderCentroCompetenza p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;

    display: flex;
    flex-direction: row;
    gap: var(--gap-30);
    align-items: flex-start;
}

#sliderCentroCompetenza .sliderContent{
    margin-top: 0;
    padding: 0;
}

#sliderCentroCompetenza{
    border-top: 1px solid var(--Black-25);
    border-bottom: 1px solid var(--Black-25);
}

#sliderCentroCompetenza.infiniteSlider .sliderItem{
    width: 450px;
    height: 410px;
    padding: 120px 60px;
}

#sliderCentroCompetenza.infiniteSlider{
    height: fit-content;
}

#sliderCentroCompetenza p:before{
    content: "";
    background: var(--GIALLO);
    border-radius: 3px;
    width: 15px;
    height: 15px;
    aspect-ratio: 1;
}

.staff .teamRow{
    padding-top: 0;
    padding-bottom: 60px;
    justify-content: left;
    padding-left: 120px;
}

.docBlock {
    padding: 30px 360px;
}

.docBlock h2{
    color: var(--BLACK);
    font-size: var(--size-m) !important;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.docBlock .docTitle{
    /*max-width: 765px;*/
    max-width: 370px;
    width: 100%;
    overflow: hidden;
    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}

.docBlock .docVersion{
    color: var(--Black-50);
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    max-width: 151px;
    width: 100%;
}

.docBlock .docRow{
    gap: var(--gap-60);
    justify-content: space-between;
    border-bottom: 1px solid var(--Black-25);
    padding-top: 15px;
    padding-bottom: 15px;
    align-items: center;
    margin-top: 0;
}

.docBlock .docRow .wp-block-button__link{
    border-radius: 50px;
    background: var(--GIALLO);
    color: var(--BLACK);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    padding: 10px 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    width: 163px;
    justify-content: center;
    transition: all ease-in-out .3s;
}

.docBlock .docRow .wp-block-button__link:hover{
    border-radius: 50px;
    background: var(--linear-button, linear-gradient(180deg, #EDA800 0%, #F8BC2B 100%));
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
    color: var(--BLACK-50-RGBA);
}

.docBlock .docRow .wp-block-button__link:after{
    content: url("img/icons/downlaod.svg");
    height: 20px;
}

.docBlock .docRow .wp-block-button__link:hover:after{
    opacity: .5;
}

/*Network*/
.networkHeader h1{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin: 0;
}

.networkHeader .startLabel{
    margin-bottom: 0 !important;
}

.networkHeader p{
    color: var(--BLACK);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-top: 0;
    margin-bottom: 0;
}

.networkHeader .colonnaNetwork{
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    padding: 120px 60px;
    width: 50%;
}

.headerNetworkTable{
    padding: 30px 120px;
    border-bottom: 2px solid var(--GRIGIO);
}

.headerNetworkTable .col1, .headerNetworkTable .col2{
    color: var(--Black-50);
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    width: 100%;
    max-width: 775px;
}

.headerNetworkTable .col2, .lineNetworkTable .col2{
    text-align: center;
}

.lineNetworkTable{
    padding: 30px 120px;
    border-bottom: 1px solid var(--GRIGIO);
}

.lineNetworkTable .col1, .lineNetworkTable .col2{
    color: var(--BLACK);
    font-size: var(--Size-XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    width: 100%;
    max-width: 775px;
}

.networkButton{
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.networkButton:after {
    content: url("img/icons/arrow_blu.svg");
    height: 18px;
}

.space120{
    height: 120px;
}

.itemRegione{
    display: flex;
    flex-direction: row;
    padding: 30px 120px;
    justify-content: space-between;
}

.itemRegione .regioneItemContent{
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--gap-30);
}

.itemRegione .regioneItemContent .wp-block-image{
    margin-top: 0;
}

.numeroRegioneItem{
    display: flex;
    width: 60px;
    height: 60px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: var(--GIALLO);
    color: var(--BLACK);
    font-size: var(--size-m) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 120% !important;
    aspect-ratio: 1;
}

.imgRegioneItem{

}

.nomeAziendaRegioneItem{
    color: var(--BLACK);
    font-size: var(--Size-L) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 110% !important;
}

.searchButton a, .languageButton{
    border-radius: 30px;
    border: 1px solid var(--GRIGIO-CHIARO);
    background: var(--WHITE);
    display: flex !important;
    height: 45px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: var(--BLACK);
    font-size: var(--Size-s);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: max-content !important;
    transition: all ease-in-out .3s;

    cursor: pointer;
}

.searchButton a:after{
    content: url("img/icons/cerca.svg");
    height: 16px;
}

.menu-buttons .widget_block{
    margin: 0;
}

.searchButton a:hover, .searchButton.active a, .languageButton:hover, .languageButton.active{
    border-radius: 30px;
    border: 1px solid var(--GRIGIO-CHIARO);
    background: var(--WHITE);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

header .menu-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

header .barraRicerca{
    padding: 0 120px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: all ease-in-out .3s;
}

header .barraRicerca.active{
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    max-height: 500px ;
}

header .barraRicerca section{
    width: 100%;
    margin: 0;
}

header .barraRicerca section form{
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
}

header .barraRicerca section form label{
    text-align: center;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%
}

header .barraRicerca section form .wp-block-search__input{
    display: flex;
    height: 45px;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 30px;
    border: 2px solid var(--GRIGIO);
    background: var(--WHITE);
    padding: 10px 20px 10px 44px;
    background-image: url("img/icons/cerca.svg");
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 16px;
}

header .barraRicerca section form .wp-block-search__input::placeholder{
    color: var(--BLACK);
    font-size: var(--Size-s);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.wp-block-search__input::before{
    background: red;
    width: 16px;
    height: 16px;
    position: absolute;
}

#placeholder::before {
    content: url('img/icons/cerca.svg');
    width: 16px;
    height: 16px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.error-404 h1{
    color: var(--BLACK);
    text-align: center;
    font-size: 150px;
    margin-bottom: 0;
}


.error-404 p{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XL);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
}

.error-404 a{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-M);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 120px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

/* Share */
.buttonShare{
    display: flex;
    height: 45px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    border: 1px solid var(--Black-25);
    cursor: pointer;
    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    transition: all ease-in-out .3s;
}

.buttonShare:hover{
    border-radius: 30px;
    border: 1px solid var(--Black-50);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
}

.buttonShare:after{
    content: url("img/icons/share.svg");
    height: 20px;
}

footer .footerNewsletter{
    border: none;
    width: 100%;
    padding: 0;
    flex-direction: row;
}

footer .footerNewsletter .wp-block-group{
    margin-right: 36px;
}


.searchResults{
    background: var(--GRIGIO-CHIARO);
}

.searchResults header h1{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: capitalize;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 60px 120px;
}

.searchResults header h1:before{
    content: "Start 4.0";
    display: flex;
    height: 28px;
    padding: 5px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    background: var(--GIALLO);
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    width: fit-content;
}

.searchResults nav{
    margin: 0 !important;
}

/*Search Items*/
.searchResults .searchItem {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-60);

    border-bottom: 2px solid var(--Black-25);
    background: var(--GRIGIO-CHIARO);

    padding: 30px 360px;
}

.searchResults .searchItem a{
    text-decoration: none;
    color: var(--BLACK);
}

.searchResults .searchItem img{
    border-radius: 15px;
}

.searchResults .searchItem p, .searchResults .searchItem h2{
    color: var(--BLACK);
    margin: 0;
}

.searchResults .searchItemContent{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.searchResults .searchItem p{
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.searchResults .searchItem h2{
    font-size: var(--Size-L);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.search-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em; /* Regola secondo le tue esigenze */
}

.searchBadge{
    height: 30px;
    padding: 4px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 30px;
    border-bottom: 1px solid var(--GIALLO-SCURO);
    background: var(--GIALLO);

    color: var(--BLACK);
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    width: fit-content;

    display: flex;
    flex-direction: row;
}

.badge-text{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.searchBadge .badge-news::before {
    content: "";
    background-image: url(img/icons/news_ico.svg);
    background-size: 20px 16px;
    width: 20px;
    height: 16px;
    position: relative;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.searchBadge .badge-video::before {
    content: "";
    background-image: url(img/icons/video_icon.svg);
    background-size: 20px 16px;
    width: 20px;
    height: 16px;
    position: relative;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}


.search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 60px 0;
}

.search-pagination .prev-page,
.search-pagination .next-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.search-pagination .prev-page:hover,
.search-pagination .next-page:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

.search-pagination .prev-page img,
.search-pagination .next-page img {
    width: 15px;
    height: 30px;
}

.search-pagination .prev-page{
    transform: rotate(180deg);
}

.search-pagination .page-counter {
    font-weight: bold;
    font-size: var(--Size-M);
    color: var(--BLACK);
    min-width: 60px;
    text-align: center;
}

.search-not-found{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 90px;
    gap: 30px
}

.search-not-found p{
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-M);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
}

.search-not-found form{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.search-not-found input[type="search"] {
    display: flex;
    height: 45px;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 30px;
    border: 2px solid var(--GRIGIO);
    background: var(--WHITE);
    padding: 10px 20px 10px 44px;
    background-image: url(img/icons/cerca.svg);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 16px;
}

.search-not-found [type="submit"]{
    border-radius: 30px;
    border: 1px solid var(--Black-25);
    background: var(--GRIGIO-CHIARO);
    display: flex;
    height: 45px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--BLACK);
    font-style: normal;
    font-weight: 600;
    line-height: 23px;
    width: max-content;
    transition: all ease-in-out .3s;
}

.search-not-found [type="submit"]:hover{
    border-radius: 30px;
    border: 1px solid var(--Black-50);
    background: var(--GRIGIO-CHIARO);
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.10) inset;
    cursor: pointer;
}

.menu-buttons .wp-block-buttons{
    flex-direction: row;
    gap: 5px;
    flex-wrap: nowrap;
}

.languageButton {
    position: relative;
    padding: 10px 43px 10px 20px;
}

.languageButton::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Bandiere per ogni lingua */
html[lang="it-IT"] .languageButton::after {
    background-image: url('img/flags/it.svg'); /* o .png */
}

html[lang="en-GB"]  .languageButton::after {
    background-image: url('img/flags/en.svg');
}
/* Aggiungi altre lingue secondo necessità */

.menuLingue{
    max-height: 0;
    overflow: hidden;
    transition: all ease-in-out .3s;
}

.menuLingue.active{
    padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    max-height: 500px;
}

.menuLingue ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    align-items: center;
}

.menuLingue ul a{
    text-decoration: none;
    color: var(--BLACK);
    transition: opacity .2s ease-in-out;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: var(--Size-L);
    font-weight: 700;
}

.menuLingue ul a:hover{
    opacity: .5;
}

.menuLingue ul:before{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    font-size: 14px;
    text-align: center;
    font-weight: 700;
    color: var(--BLACK);
}

html[lang="it-IT"] .menuLingue ul:before{
    content: "Scegli una lingua";
}

html[lang="en-Gb"] .menuLingue ul:before{
    content: "Choose a language";
}

.mobileNav{
    width: 60px;
    height: 60px;
    display: none;
}

.menuMobile{
    display: none;
}

.post-thumbnail {
    line-height: 0;
    font-size: 0;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

iframe#mappaStart{
    border: 0;
    height: 700px;
    /*max-width: 1200px;*/
    width: 100%;
}

.mapContainer{
    display: flex;
}

.archive h1{
    margin: 0;
    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-2XL);
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: capitalize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 60px;
}

.archive h1:before{
    content: "Start 4.0";
    border-radius: 3px;
    background: var(--GIALLO);
    display: flex;
    height: 28px;
    padding: 5px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: var(--BLACK);
    text-align: center;
    font-size: var(--Size-XS);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.archive .site-main{
    background: var(--GRIGIO-CHIARO);
}

.container-posts{
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 15px;
    padding-left: 120px;
    padding-right: 120px;
    padding-bottom: 60px;
}

.container-posts .cardPost{
    width: 405px;
}

.linkListContent em{
    font-style: normal;
}

#certificazioniButtons{
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Stili per la transizione smooth del serviziCallToAction */

.hideBar{
    transform: translateY(75px) !important;
}

.servizi .attivaServizio a{
    color: var(--BLACK);
}

.post.category-evento .buttonShare{
    border-color: rgba(0, 29, 61, 0.25);
}


/*Tablet*/
@media (min-width: 768px) and (max-width: 1024px) {
    .post .entry-content{
        padding-right: 30px;
        padding-left: 30px;
    }

    .media header .selettori {
        width: max-content;
    }

    .mobSliderContainer {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: scroll;
    }


}

/*Mobile*/
@media (max-width: 767px) {
    :root {
        --Size-XS: 12px;
        --Size-M: 18px;
        --size-m: 20px;
        --Size-L: 24px;
        --Size-XL: 26px;
        --Size-2XL: 30px;
        --Size-3XL: 40px;


        --gap-60: 30px;
        --spazio-blocchi-60: 30px;
        --spazio-blocchi-margin-top-bottom: 15px;
        --spazio-blocchi-margin-sn-dx: 30px;
        --Spazio-Blocchi-Inner-text-space: 15px;
        --spazio-blocchi-inner-margin-sn-dx: 15px;
    }

    #sliderCentroCompetenza.infiniteSlider {
        height: 250px;
    }

    /*Menu*/
    .languageButton {
        display: none !important;
    }

    .searchButton a {
        border: none;
    }

    .custom-logo-link img {
        display: flex;
        width: 100px;
        height: 24px;
        max-width: unset;
    }

    .searchButton a {
        font-size: 0;
        color: transparent;
        width: 60px;
        height: 60px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .searchButton a::after {
        display: flex !important;
        width: 60px;
        height: 60px;
        align-items: center;
        justify-content: center;
    }

    .searchButton a:hover, .searchButton.active {
        background-color: transparent;
        border: none;
        box-shadow: none;
    }

    .menu-buttons {
        display: flex;
        flex-direction: row;
        gap: 5px;
    }

    .mobileNav {
        width: 60px;
        height: 60px;
        display: flex;
        z-index: 30;
        justify-content: center;
        align-items: center;
    }

    .mobileNav:after {
        content: "";
        display: flex;
        width: 15px;
        height: 9px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        background: url(img/icons/mobileMenu.svg) no-repeat center;
    }

    .closeMobileMenu {
        width: 60px;
        height: 60px;
        display: flex;
        z-index: 30;
        align-items: center;
        justify-content: center;
    }

    .closeMobileMenu:after {
        content: "";
        display: flex;
        width: 30px;
        height: 30px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        border-radius: 30px;
        background: #000 url(img/icons/close.svg) no-repeat center;
    }

    header.site-header {
        padding-right: 0;
    }

    .menuMobile {
        display: flex;
        position: fixed;
        top: 0;
        left: -100vw;
        z-index: 25;
        background: var(--WHITE);
        width: 100vw;
        height: 100vh;
        transition: left .3s ease-in-out;
        flex-direction: column;
        gap: 30px;
    }

    .menuMobile.active {
        left: 0;
    }

    .menuMobile .menuMobile-container {
        display: flex;
        width: 100%;
    }

    .menuMobile .menuMobile-header {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        height: 60px;
        align-items: center;
    }

    .menuMobile .backMobile {
        display: flex;
        color: var(--GRIGIO-SCURO);
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        padding-left: 30px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .menuMobile .backMobile:before {
        content: url("img/icons/chevron.svg");
        width: 9px;
        height: 18px;
    }

    .menuMobile .menuMobile-content {
        padding-left: 30px;
        padding-right: 30px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .menuMobile .menuMobile-content .menuLabel {
        color: var(--Black-50);
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
    }

    .menuMobile .menuMobile-content ul {
        margin: 0;
        list-style: none;
    }

    .menuMobile .menuMobile-content ul li a {
        color: var(--BLACK);
        font-size: var(--Size-L);
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        text-decoration: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 45px;
    }

    .menuMobile .menuMobile-content .sub-menu {
        display: none;
        background: inherit;
        min-height: 100%;
        padding: 0;
    }

    .menuMobile .menuMobile-content .menu-item-has-children > a:after {
        content: "";
        width: 15px;
        height: 30px;
        background: url(img/icons/chevron.svg) no-repeat center;
        transform: rotate(180deg);
    }

    .menuMobile .menuMobile-content .menu-item-has-children .sub-menu a:after {
        display: none;
    }

    .menuMobile #menu-main-menu {
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
        position: relative;
        transition: transform 0.3s ease-in-out;
    }

    .menuMobile .widget {
        margin: 0;
    }

    .menuMobile .menuMobile-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        /*padding: 0 30px 30px 30px;*/
        padding: 0 30px 90px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menuMobile .mobileShare {
        height: 45px;
        width: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 30px;
        border: 1px solid var(--GRIGIO-CHIARO);
    }

    .menuMobile .mobileShare:after {
        content: url("img/icons/share.svg");
        width: 20px;
        height: 20px;
    }

    .menuMobile .widget_polylang ul {
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        gap: 5px;
        list-style: none;
    }

    .menuMobile .widget_polylang ul a {
        text-decoration: none;
        border-radius: 30px;
        border: 1px solid var(--GRIGIO-SCURO);
        opacity: 0.25;
        background: var(--WHITE);
        color: var(--BLACK);
        font-size: var(--Size-s);
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        height: 45px;
        padding: 10px 20px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        display: flex;
    }

    .menuMobile .widget_polylang ul .current-lang a {
        opacity: 1;
    }

    .menuMobile .widget_polylang ul .lang-item-it a:after {
        width: 15px;
        height: 15px;
        content: url("img/flags/it.svg");
    }

    .menuMobile .widget_polylang ul .lang-item-en a:after {
        width: 15px;
        height: 15px;
        content: url("img/flags/en.svg");
    }

    .cardPost.News .dettaglioPost, .cardPost.Video .dettaglioPost, .cardPost.Evento .dettaglioPost {
        padding-top: 15px;
    }

    .cardPost .contenutoCard {
        padding: 15px 15px 0;
    }

    .cardPost .footerCard {
        padding: 15px;
    }

    .halfRow, .halfPageRow {
        flex-direction: column;
        max-width: -webkit-fill-available;
    }

    .halfRow .imgCoverBlock {
        padding: var(--spazio-blocchi-margin-sn-dx) var(--spazio-blocchi-inner-margin-sn-dx);
        height: 300px;
        min-height: 300px;
    }

    .imgCoverBlock {
        border-radius: 0;
        width: 100%;
        padding: 0;
    }

    .halfRow {
        margin-top: 5px;
        gap: 5px;
    }

    .padding30All {
        padding: 0;
    }

    .imgCoverBlock .wp-block-buttons, .imgCoverBlock h3 {
        margin-top: 0;
    }

    .dividerSection h2 {
        margin-left: 30px !important;
    }

    .slider-fade {
        display: none !important;
    }

    #servizi.cards .sliderContent {
        padding-left: 30px;
        padding-right: 30px;
    }

    #servizi.cards .sliderItem {
        width: 315px;
        height: 535px;
    }

    #servizi.cards .sliderItem .footerItem .wp-block-cover {
        width: 90px;
        height: 90px;
    }

    #servizi.cards .sliderItem .footerItem {
        gap: initial;
    }

    #servizi.cards .sliderItem .headerItem h3 {
        font-size: 64px
    }

    #servizi {
        margin-bottom: 60px;
    }

    .standardContentBlock {
        margin-bottom: 60px;
    }

    .infiniteSlider {
        margin-bottom: 60px;
    }

    .recent-posts-slider {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .recent-posts-slider .startLabel {
        margin-left: 30px;
    }

    .slider_title {
        padding-left: 30px;
    }

    .recent-posts-slider .sliderContainer .sliderContent {
        padding-left: 30px;
        padding-right: 30px;
    }

    .recent-posts-slider .cardPost {
        width: 315px !important;
        height: 535px !important;
    }

    .recent-posts-slider .slider-wrapper {
        margin-top: 15px;
    }

    .halfPageRow img {
        border-radius: 0;
    }

    .halfPageRow figure {
        width: 100vw;
    }

    footer .site-info {
        padding: 30px;
    }

    footer .footerNewsletter .wp-block-group {
        flex-direction: column;
        margin: 0;
    }

    footer .footerDetails .footerLegals {
        flex-direction: column;
    }

    footer .footerDetails {
        flex-direction: column;
        gap: 30px;
    }

    footer .linkFooterLegals ul {
        gap: 5px;
    }

    footer .linkFooterLegals ul#anag {
        flex-direction: column;
    }

    footer .linkFooterLegals ul#anag li:first-child {
        list-style: unset;
    }

    footer .linkFooterLegals ul#links {
        list-style: none;
        margin-top: 30px;
        gap: 8px;
    }

    footer .footerMenu .wp-block-group{
        flex-direction: column;
    }

    footer .footerMenu .wp-block-group .partners{
        flex-direction: row;
    }

    .halfDoubleImage {
        width: 100%;
        flex-direction: column;
    }

    #sliderCentroCompetenza h2 {
        font-size: 80px;
    }

    .teamRow, .staff .teamRow {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Network */
    .networkHeader {
        display: flex;
        flex-direction: column;
    }

    .networkHeader .colonnaNetwork {
        width: 100%;
        padding: var(--spazio-blocchi-margin-sn-dx) var(--spazio-blocchi-60);
    }

    .headerNetworkTable, .itemRegione {
        padding: var(--spazio-blocchi-margin-top-bottom) var(--spazio-blocchi-margin-sn-dx);
    }

    .lineNetworkTable {
        padding-left: var(--spazio-blocchi-margin-sn-dx);
        padding-right: var(--spazio-blocchi-margin-sn-dx);
    }

    .itemRegione .regioneItemContent {
        gap: 8px;
    }

    .itemRegione .numeroRegioneItem {
        flex-grow: 1;
        flex-shrink: 0;
    }

    .itemRegione figure {
        flex-grow: 1;
        flex-shrink: 0;
        display: none;
    }

    /*Documenti*/
    .docBlock {
        padding: 0;
        margin-bottom: 60px;
    }

    .docBlock h2 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .docBlock .docRow .wp-block-button__link {
        font-size: 0;
        aspect-ratio: 1;
        width: 45px;
    }

    .docBlock .docRow .wp-block-button__link:after {
        margin-left: -10px;
    }

    .docBlock .docRow {
        padding-left: 15px;
        padding-right: 15px;
        gap: var(--gap-30);
    }

    .linkListItem {
        padding: 30px 20px;
        border-top: 1px solid var(--GRIGIO);
        gap: 20px;
    }

    .linkListItem .wp-block-cover {
        width: 60px;
        height: 60px;
        aspect-ratio: 1;
    }

    .linkListItem p {
        display: none;
    }

    .linkListItem .linkListButton {
        border: none;
        opacity: 1;
    }

    .linkListItem:hover .linkListButton {
        border-radius: 0;
        border: transparent;
        background: none;
        cursor: pointer;
    }

    .linkListItem:hover {
        border-top: none;
        border-bottom: none;
        background: var(--WHITE);
        box-shadow: none;
    }

    .avvisi-e-bandi .avvisi-e-bandi-list {
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column;
    }

    .avvisi-e-bandi .avvisi-e-bandi-list .avviso-e-bando, .bandiItem {
        max-width: 100%;
        width: fit-content;
        min-width: 100%;
    }

    .servizi .attivaServizio .attivaMainContainer {
        flex-direction: column;
        align-items: flex-start;
    }

    .servizi .attivaServizio {
        padding: 30px;
    }

    .avvisi-e-bandi p {
        padding-left: 30px;
        padding-right: 30px;
    }

    .attivaContent p {
        padding: 0;
    }

    .avvisi-e-bandi .custom-pagination a {
        height: 60px;
        width: 60px;
    }

    .media header .filtri {
        padding-left: 15px;
        padding-right: 15px;
    }

    .media header .filtri.open {
        max-height: 1500px;
    }

    .mediaContent {
        display: flex;
        /*padding-left: 15px;*/
        /*padding-right: 15px;*/
    }

    .mediaContent .cardPost {
        max-width: calc(100% - 30px);
    }

    .standardContentBlock:last-of-type {
        margin-bottom: 0;
    }

    /*Bando*/
    .single-bandi header {
        padding: 0 30px 30px;
    }

    .single-bandi .shareHeader {
        height: 90px;
        justify-content: center;
    }

    .single-bandi .headerContainer {
        padding: 0;
    }

    .single-bandi .allegati .allegatiItem, .single-bandi .allegati .allegatiHeader, .single-bandi .allegati h3, .single-bandi .entry-content h2, .single-bandi .entry-content p {
        padding-left: 30px;
        padding-right: 30px;
    }

    .single-bandi .allegati .download {
        font-size: 0;
        width: 45px;
        aspect-ratio: 1;
    }

    .single-bandi .allegati .download:after {
        margin-left: -10px;
    }

    .single-bandi .allegati .allegatiHeader {
        gap: 10px;
    }

    .cardPost .featuredCard {
        padding: 15px;
    }

    .mediaContent .postContainer {
        margin-top: 0;
    }

    .mediaContent .cardPost .openPost a {
        width: 45px;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .post .postHeaderButtons {
        padding-left: 30px;
        padding-right: 30px;
        height: 90px;
        justify-content: center;
    }

    .post header {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        flex-direction: column;
    }

    .post header img {
        border-radius: 0;
    }

    .post header .firstColumn {
        padding: 0 30px;
    }

    .post header .entry-meta .anno {
        line-height: normal;
    }

    .post .tagsList {
        padding: 30px;
    }

    .post .tagsList a {
        padding: 15px 20px;
    }

    .post h2 {
        padding-left: 30px;
        padding-right: 30px;
    }

    .post p {
        padding-left: 30px;
        padding-right: 30px;
    }

    .post .wp-block-image img {
        border-radius: 0;
    }

    .post .wp-block-image .wp-element-caption {
        padding-left: 30px;
        padding-right: 30px;
    }

    .post .wp-block-separator {
        width: 100%;
        left: 0;
        margin-top: 0;
    }

    .post .wp-block-embed.is-type-video iframe {
        border-radius: 0;
    }

    .post .wp-block-buttons .wp-element-button {
        padding: 15px 30px;
    }

    .post .wp-block-quote {
        border-left: 10px solid var(--GIALLO);
        padding-left: 10px;
        margin-left: 10px;
    }

    .post .wp-block-quote p {
        padding-left: 0;
    }

    .post .wp-block-embed.is-type-video {
        padding-top: 0;
        padding-bottom: 0;
    }

    .post .wp-block-group-is-layout-flex {
        flex-direction: column;
        gap: 0;
    }

    .standardContentBlock .wp-element-button {
        padding: 15px 30px;
    }

    .standardContentBlock {
        padding-bottom: 0;
        padding-top: 30px;
    }


    .servizi header {
        padding: 30px;
    }

    .servizi .coverServizi {
        height: unset;
    }

    .servizi .recent-posts-tag {
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }

    .recent-posts-tag .cardPost {
        width: 100%;
    }

    .servizi .serviziCallToAction {

    }

    .servizi .serviziCallToAction p{
        color: var(--BLACK);
        font-size: var(--size-m) !important;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
    }

    .servizi .wp-block-cover .serviziCallToAction .wp-element-button{
        font-size: 0;
        aspect-ratio: 1;
        position: relative;
    }

    .servizi .wp-block-cover .serviziCallToAction .wp-element-button:after{
        content: url(img/icons/arrow_yellow_short.svg);
        height: 16px;
        position: relative;
        left: -6px;
    }

    .servizi .serviziLinkRow {
        flex-direction: column;
        padding: 15px 30px;
        gap: 0;
        border-bottom: none;
    }

    .servizi .serviziLinkRow p:first-child {
        border-bottom: 1px solid var(--GRIGIO);
        padding-bottom: 15px;
    }

    .servizi .serviziLinkRow p {
        padding-top: 15px;
    }

    .servizi .standardContentBlock h2 {
        font-size: 36px;
    }

    .accordionHeader {
        padding-left: 0;
        padding-right: 0;
    }

    .accordionHeaderContainer {
        flex-direction: column;
    }

    .accordionHeader h2 {
        text-align: center;
    }

    .accordionContent p {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .max1200Center {
        padding-left: 30px;
        padding-right: 30px;
    }

    .searchResults .searchItem {
        padding: 30px;
        flex-direction: column;
    }

    .fullRowLink {
        padding: 30px;
    }

    .opportunita-per-le-imprese .standardContentBlock {
        margin-bottom: 0 !important;
    }

    .post .tagsList .tagContainer {
        padding: 0;
    }

    .teamReadAll {
        padding-bottom: 60px;
    }

    .linkListContent h2 {
        display: flex;
        flex-direction: column;
    }

    .linkListItem .linkListContent .wp-block-group {
        gap: 20px;
    }

    .linkListItem .linkListContent {
        margin: 0;
        gap: 0;
        width: 100%;
    }

    .post header iframe {
        aspect-ratio: 16 / 9;
        border-radius: 0 !important;
        max-width: 100%;
    }

    .hideBar {
        transform: translateY(200px) !important;
    }

    .post header .post-thumbnail {
        width: 100%;
        border-radius: 0;
    }

    .page-template-default article header {
        height: 400px;
    }

    .standardContentBlock .wp-block-buttons {
        margin-top: 0;
    }

    .serviziTitle .startLabel {
        margin-bottom: 0 !important;
    }

    .serviziTitle {
        padding: 30px !important;
    }

    .linkListItem .linkListButton {
        width: 40px;
    }

    .docBlock .docVersion{
        width: fit-content;
    }

    .docBlock .docTitle {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .docBlock .docRow:nth-child(2) .docVersion{
        width: 500px;
    }

    .media header .tagsFilterList .tagsFilterRow{
        padding-left: 0;
        padding-right: 0;
    }
}

.infiniteSlider .sliderItem {
    tabindex: 0;
}



/* Fix per WordPress Admin Bar - evita che copra gli altri elementi */
html {
    margin-top: 0 !important;
}

body.admin-bar {
    margin-top: 0;
    padding-top: 32px; /* Altezza della admin bar su desktop */
}

#wpadminbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}

/* Responsive - admin bar più piccola su mobile */
@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 46px; /* Altezza della admin bar su mobile */
    }
}

/* Se hai un header fisso, aggiungi anche questo */
body.admin-bar .site-header {
    /*top: 32px; !* Sposta il tuo header sotto la admin bar *!*/
    top: 75px;
}

body.admin-bar .snackbar{
    top: 32px;
}

body.admin-bar .main-navigation ul li:hover > ul, body.admin-bar .main-navigation ul li.focus > ul{
    top: 135px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 90px;
    }

    body.admin-bar .menuMobile {
        margin-top: 45px;
    }

    body.admin-bar .snackbar {
        top: 46px;
    }


    .media header .selettori {
        width: max-content;
    }

    .mobSliderContainer {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: scroll;
    }

    .post.category-evento .footerEvento {
        flex-direction: column;
        gap: 5px;
        margin-top: 30px;
    }

    .post.category-evento h1 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .post.category-evento .eventoBadge{
        margin-bottom: 30px;
    }
}


/*Mobile - small*/
@media (max-width: 360px) {
    .standardContentBlock .wp-element-button {
        padding: 15px 25px;
    }

    #servizi.cards .sliderContent, .recent-posts-slider .sliderContainer .sliderContent{
        padding-left: 15px;
        padding-right: 15px;
    }

    .recent-posts-slider .startLabel{
        margin-left: 15px;
    }

    .slider_title{
        padding-left: 15px;
    }

    .cardPost{
        width: 360px;
    }
}
