/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

@media (max-width: 1200px) and (min-width: 767px) {
	.menu-link {
		padding: 5px !important;
	}

	#logo img {
		padding: 20px 0 !important;
	}
}






@media (max-width: 767.98px) {

	.add-solution-popup {
		z-index: 10000000 !important;
		display: none;
		position: fixed;
		/* transform: translate(-50%, -50%); */
		bottom: 10% !important;
		left: 2%;
		width: 530px;
		max-width: 95%;
		background: white;
		padding: 10px;
		border-radius: 5px;
		font-size: 1.25em;
		box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
		word-wrap: break-word;
		text-align: justify;
		z-index: 7;
	}

	#logo img {
		padding: 15px 0 !important;
	}
}
	#logo img {
		padding: 5px 0;
	}

	.posts-carousel .entry-content {
		height: 7em;
		overflow: hidden;
	}

	.slider-caption.slider-caption-center {
		max-width: 70%;
	}

	.swiper-slide.dark {
		background: black;
	}

	.swiper-slide-bg {
		opacity: 1;
	}

	.slider-caption-text {
		background: rgb(0 0 0 / 71%);
		padding: 20px;
	}

	.siam-card {
		width: 450px;
		max-width: 100%;
		aspect-ratio: 450/290;
	}

		.siam-card .flip-card-front::after, .flip-card-back::after {
			content: none;
		}

		.siam-card .flip-card-inner .card-body {
			background: rgb(255 255 255 / 70%);
			border-radius: 15px;
		}

		.siam-card .flip-card-back {
			background: transparent;
		}

		.siam-card .flip-card-inner p {
			color: unset;
		}

	.user-info label {
		font-size: 16px;
		font-weight: 600;
	}

	.flip-card-inner {
		transform: translateY(-50%) translateZ(1px) scale(0.94);
	}

	#signatureCanvas {
		border: 2px solid #000;
		border-radius: 5px;
		cursor: crosshair;
		width: 100%;
		aspect-ratio: 16/9;
	}

	.posts-carousel .entry-image img, .post-grid .entry-image img {
		object-fit: contain;
		aspect-ratio: 1;
	}

	.is-expanded-menu.stretched .full-header.dark:not(.sticky-header) #header-wrap > .container {
		background: rgb(0 0 0 / 72%);
	}

	.page-title-content h1, .page-title-content .h1 {
		line-height: 1.2;
		margin-bottom: 15px;
	}

	.limited-text {
		display: -webkit-box;
		-webkit-line-clamp: 2; /* Limita a 2 righe */
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.portfolio-image img {
		aspect-ratio: 16/9;
		object-fit: contain;
	}

	.number-badge {
		line-height: 15px;
	}

	.table-ticket .text-truncate, .table-comunication .text-truncate {
		max-width: 400px;
		cursor: pointer;
		pointer-events: all;
	}

	.select-1 {
		width: 100%;
	}

	.select2-container .select2-selection--single {
		height: 38px;
	}

	.select2-container--default .select2-selection--single .select2-selection__rendered {
		line-height: 38px;
	}

	.select2-container--default .select2-selection--single .select2-selection__arrow {
		height: 38px;
	}

	.children-category-filter {
		padding-top: 5px;
	}

		.children-category-filter li {
			list-style: circle;
			margin-left: 30px;
		}

			.children-category-filter li a {
				color: black;
			}

	.heading-block:has(.fancy-title):after {
		content: none;
	}

	.heading-block.title-block:after {
		content: none;
	}

	.statutory-bodies-container {
		columns: 3 200px;
		column-gap: 1rem;
	}

	.statutory-body {
		break-inside: avoid;
		margin-bottom: 1rem;
	}

	.template-switch {
		--cnvs-switch-width: 60px;
		--cnvs-switch-spacing: 1px;
		--cnvs-switch-bg: var(--cnvs-contrast-300);
		--cnvs-switch-active-bg: var(--cnvs-themecolor);
	}

	.circular-file-box .fbox-content h3 {
		line-break: anywhere;
	}

	/* Disabilito step successivi a quello corrente (per registrazione)*/
	.process-steps li:has(a.active) ~ li {
		cursor: not-allowed;
	}

		.process-steps li:has(a.active) ~ li a {
			pointer-events: none;
		}

	.rating.rating-input {
		display: none;
	}

	.siam-sticky-register {
		position: fixed;
		left: 50%;
		right: auto; /* <-- rimuove l’ancoraggio a destra */
		bottom: calc(16px + env(safe-area-inset-bottom));
		transform: translateX(-50%); /* <-- centra orizzontalmente */
		z-index: 2147483647;
		pointer-events: none;
	}

		.siam-sticky-register a {
			pointer-events: auto;
			display: inline-flex;
			align-items: center;
			gap: .5rem;
			padding: 0.925rem 1.9rem;
			border-radius: 999px;
			background: linear-gradient(135deg, #063058, #1e40af);
			color: #fff;
			font-size: larger;
			text-decoration: none;
			font: "Inter", sans-serif;
			box-shadow: 0 10px 22px rgba(0, 0, 0, .18), 0 6px 10px rgba(0, 0, 0, .12);
			transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
		}

			.siam-sticky-register a:hover,
			.siam-sticky-register a:focus-visible {
				transform: translateY(-1px);
				box-shadow: 0 14px 28px rgba(0,0,0,.22), 0 10px 10px rgba(0,0,0,.18);
				outline: none;
			}

	/* Variante “pill” minimale quando lo spazio è poco */
	@media (max-width: 420px) {
		.siam-sticky-register a span.label {
			/*	display: none;*/
		}
	}

	/* Non mostrarlo in stampa */
	@media print {
		.siam-sticky-register {
			display: none !important;
		}
	}

	/* Rispetto preferenze utente */
	@media (prefers-reduced-motion: reduce) {
		.siam-sticky-register a {
			transition: none;
		}
	}

/*figure img {
	width: 100% !important;
	height: 100% !important;
}*/

figure .image.image-style-align-right {
	float: right;
	margin-left: 20px;
	padding: 10px;
}

figure.image.image-style-align-left {
	float: left;
	margin-right: 20px;
	padding:10px;
	
}

/*.fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed {
position:relative !important;

}

.fluid-width-video-wrapper{
	padding-top:0px !important;
}*/