/* Aumenta lo spazio verticale tra le righe di testo nel blocco info/footer */
.edc-footer-section .link-list-wrapper p {
	line-height: 1.25;
}
@media (min-width: 992px) {
	.edc-footer-section .row {
		display: flex;
	}
	.edc-footer-align-right {
		margin-left: auto !important;
	}
}
@media (min-width: 992px) {
	.edc-footer-section .row > .col-lg-6 {
		flex: 0 0 45%;
		max-width: 45%;
		margin-left: 2rem;
	}
}
/* Footer small-prints menu: bold links */
.it-footer-small-prints-list li a {
	font-weight: 600;
}
/* Footer menu links style */
.footer-list.link-list li a.list-item {
	text-decoration: none !important;
	text-transform: uppercase;
	color: #666;
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: color 0.2s;
}
.footer-list.link-list li a.list-item:hover,
.footer-list.link-list li a.list-item:focus {
	color: #222;
	text-decoration: underline;
}

/* Footer-link menu: inline, spaced, wrapping */
.footer-list.link-list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 6ch;
	row-gap: 0.5rem;
	margin: 0;
	padding: 0;
}
.footer-list.link-list li {
	margin: 0;
}

/* Footer-link column width: extend closer to social block */
.edc-footer-section .py-4 .col-lg-3:has(.footer-list.link-list) {
	flex: 0 0 70%;
	max-width: 70%;
}
.edc-footer-section .py-4 .edc-footer-social {
	flex: 0 0 30%;
	max-width: 30%;
}

/* message error */
div[data-drupal-messages] .messages .placeholder {
	background-color: initial;
	opacity: 0.8;
}

/* admin toolbar */
ul.toolbar-menu {
	font-size: 14px;
}
#toolbar-administration {
	height: auto;
}
#toolbar-administration::before {
	width: auto;
}

/* Tema fluido */
.container-full-width {
	max-width: calc(100% - 40px) !important;
}

/* breadcrumb */
@media (max-width: 576px) {
	.breadcrumb-container .breadcrumb {
		padding: 10px;
		line-height: 1.5rem;
	}
}

/* icone social */
.icon-telegram:after {
	content: "\F1D9";
}
.icon-linkedin:after {
	content: "\F318";
}
.it-header-center-wrapper .it-socials .edc-icon:after {
	margin-left: 0;
}
.it-header-center-wrapper .it-socials .list-inline-item:first-child .edc-icon:after {
	margin-left: 10px;
}

/* autocomplate */
.search-api-autocomplete-search {
	z-index: 9999;
}
.search-top-box .form-text.search-api-autocomplete-open {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.search-top-box .form--inline .form-item {
	float: none;
}
.search-top-box .form-group label {
	visibility: hidden;
}
.search-top-box .form-actions {
	display: none;
}
.search-top-box .form-text {
	border-radius: 1.5em;
	border-bottom: none;
}

/* node card */
/* fix card-wrapper: EDIT rimosso perche in alcuni casi si appiccica al contenuto */
/* .it-carousel-wrapper .node--view-mode-card .card-wrapper {
	padding-bottom: inherit;
}  */

/* content */
p.edc-info {
  max-width: 100%;
	border: 1px solid;
	border-top: 1px solid;
	border-color: #ccc;
	border-left-color: #06c !important;
	border-left: 6px solid;
	padding: 20px;
	margin: 1.75rem 0 1rem;
	display: flex;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}
p.edc-info .icon {
	fill: #06c;
	width: auto;
	max-width: 60px;
	min-width: 50px;
	height: 35px;
}
p.edc-info .callout-body {
	font-size: 1rem;
}

/* hide placeholder invalid image */
.content_body .filter-image-invalid {
	display: none;
}

/* fix readmore */
.read-more__button--open::after {
	transform: rotate(180deg);
}

/* modulo a portata di click */
.edc-smart-link-section .link-list-wrapper:not(:first-child) {
	display: none;
}

/* modulo mappa multi location */
.map-popup {
	padding: 10px;
	font-family: var(--bs-body-font-family);
}
.map-popup__title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 2px;
}
.map-popup__description p {
	font-size: 14px;
}
.map-popup__subtitle {
	font-size: 14px;
}
.map-popup__link {
	margin: 20px 0;
}
.map-popup a.btn {
	color: #fff;
}
.map-popup__footer {
	margin-top: 20px;
	text-align: center;
}
.map-popup__footer .btn {
	text-align: center;
	font-size: 0.9rem;
}

/* modulo banner popup */
.modal.node--type-modulo-banner-popup .modal-content {
	background: none;
	box-shadow: none;
}
.node--type-modulo-banner-popup a {
	display: inline-block;
}

/* modulo banner fisso */
.edc-banner-fissi-section .specialcard-title {
	line-height: 25px;
	font-weight: 400;
}

/* modulo calendario */
.js-view-calendar.splide {
	/* per sovrascrivere comportamento slider quando non ci sono elementi */
	visibility: visible;
}
.cal__event__show {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 150px;
	bottom: 1px;
	left: calc(50% - 5px);
	content: " ";
	display: block;
	background: #3d8eb9;
}
.view-prossimi-eventi .loader {
	min-height: 300px;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-calendar span.flatpickr-weekday {
	font-weight: 700;
}
/* fix calendario */
.dayContainer {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-template-rows: repeat(4, 1fr);
	justify-items: center;
}
.dayContainer .flatpickr-day {
	width: 100%;
}

/* modulo copertina */
@media (min-width: 992px) {
	.it-carousel-landscape-full-image .img-responsive .img-wrapper .image-style-modulo-copertina {
		max-height: 380px;
	}
	.it-carousel-landscape-full-image .img-responsive .img-wrapper .image-style-modulo-copertina-xl {
		max-height: 908px;
	}
}

.it-carousel-landscape-full-image .card-body a {
	color: #fff;
}
.it-carousel-wrapper.it-carousel-landscape-full-image.it25-hero .card .card-body-collapse .accordion-button:after {
	top: -3px;
}
/* .it-carousel-landscape-full-image .card-body .card-body a {
	padding: 0 0 0 30px;
} */

/* modulo primo piano */
.edc-primo-piano-section .card.card-img .img-responsive-wrapper .img-responsive {
	padding-bottom: 65%;
}
/* .node--type-modulo-primo-piano .img-responsive .img-wrapper img {
	height: initial;
} */

/* rimuove alignment giustificato in tutti i blocchetti con lista */
.link-list-wrapper li {
	text-align: initial;
}
@media (max-width: 576px) {
	.link-list-wrapper li {
		width: 100% !important;
	}
}

/* modulo lancio redazionale */
.edc-lancio-redazionale .link-list li {
	text-align: initial;
}

/* modulo infografica */
.edc-infografica-section a {
	text-decoration: none;
	color: initial;
}

/* modulo nota */
.callout .callout-body {
	font-family: var(--bs-body-font-family);
	font-size: var(--bs-body-font-size);
	color: var(--bs-body-color);
	width: 100%;
}
.callout-body .link-list-wrapper li {
	display: inline;
}
.callout-body .link-list-wrapper svg.icon {
	display: none;
}
@media (min-width: 992px) {
	.callout .callout-body {
		font-size: 1.125rem;
	}
}

/* accordion allegati pag trasparenza */
.accordion_allegati .field__item {
	border-top: 2px solid #f3f3f3;
	padding: 20px 0;
}
.accordion_allegati .field__item:last-child {
	padding-bottom: 0;
}
.accordion_allegati .field__item a {
	width: 100%;
	display: flex;
	justify-content: space-between;
	text-decoration: none;
	flex-direction: column;
}
.accordion_allegati .field__item a .icon {
	margin-left: 5px;
	vertical-align: bottom;
}
.accordion_allegati .attachment-title {
	color: initial;
}
.accordion_allegati .attachment-download {
	font-weight: 600;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	
}
@media (min-width: 992px) {
	.accordion_allegati .field__item a {
		flex-direction: row;
	}
	.accordion_allegati .attachment-download {
		margin-left: 10px;
	}
}

/* pagina amministrazione trasparente */
.edc-menu-amministrazione-section .edc-pagina-section > h2 {
	padding-bottom: 0;
}

/* menu amministrazione trasparente VERSIONE VECCHIA */
/* .edc-menu-amministrazione-section ul.link-list {
	margin-bottom: 0;
}
@media (min-width: 992px) {
	.edc-menu-amministrazione-section .link-list-wrapper {
		padding-bottom: 1rem !important;
	}
} */

/* form */
.view-filters .views-exposed-form {
	position: relative;
}
.views-exposed-form .form-group label.active {
	color: #1a1a1a;
	font-weight: 600;
	font-size: 1rem;
}
.form-item-field-autorizzo-value label.form-required::after {
	background: none;
}
.switch_view_map {
	position: absolute;
	bottom: -5px;
	right: 0;
	display: inline-block;
	width: auto;
}
.switch_view_map .icon-list::before {
	content: '\E897';
}
.switch_view_map .icon-map::before {
	content: '\F279';
}

/* webform */
.webform-submission-form h2 {
	text-transform: uppercase;
	padding-bottom: 15px;
}
.webform-submission-form .form-actions {
	text-align: center !important;
}
.webform-submission-form .fieldset-wrapper .description p {
	font-size: 1em;
}
.webform-submission-form .cf-turnstile {
	text-align: center;
}

	/* fix taglio domanda su mobile T [#yEaaegDV] */
.webform-submission-form fieldset legend {
    overflow: initial;
    white-space: initial;
    line-height: calc(2rem - 1px);
}

/* SERP*/
.list-filter .list-filter__number {
	width: max-content;
	margin: 10px auto 0;
	padding: 5px;
}
.list-filter a {
	text-decoration: none;
}
.list-filter .facet-item:last-child .list-filter__label {
	border-right: none;
}

/* menu bordered (amm. trasparente) */
.collapseMenu ul.link-list {
	margin-bottom: 0;
}
.collapseMenu li a.active {
	background: #297a38;
	color: #fff;
}

/* gallery */
.gallery_module .img-responsive-wrapper .img-responsive .img-wrapper img {
	max-height: 500px;
	object-fit: contain;
}
.it-carousel-wrapper .img-responsive-wrapper .img-responsive {
	top: 0;
	left: 0;
	transform: translateX(0) translateY(0);
}
.it-carousel-wrapper.edc-carousel-landscape-abstract.edc-carousel-dida .card-body-collapse .accordion-button {
	padding: 0 0 0 40px;
}
.it-carousel-wrapper.edc-carousel-landscape-abstract.edc-carousel-dida .card-body-collapse .accordion-button:after {
	top: -3px;
}
.gallery_module .card .card-body-collapse .card-title {
	font-size: 1rem;
}

/* risultati ricerca */
.search-result-container h4 a {
	text-decoration: none;
	color: #003354;
	text-transform: uppercase;
}
.search-result-container h4 .ico {
	margin-right: 0;
	font-size: 130%;
	text-align: left;
	width: 0.4em;
	vertical-align: text-bottom;
}
.image-style-search-preview {
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.search-result-container .search-result-ico {
	width: 2em;
	height: auto;
	min-height: auto;
	margin: initial;
	padding: 10px;
	font-size: 200%;
}
.link-list-wrapper .list-item.icon-left {
	align-items: center;
}
/* icone risultati ricerca */
@font-face {
	font-family: 'edc-icon-font';
	src: url('../font/edc-icon-font.eot?33724386');
	src: url('../font/edc-icon-font.eot?33724386#iefix') format('embedded-opentype'),
			 url('../font/edc-icon-font.woff?33724386') format('woff'),
			 url('../font/edc-icon-font.ttf?33724386') format('truetype'),
			 url('../font/edc-icon-font.svg?33724386#edc-icon-font') format('svg');
	font-weight: normal;
	font-style: normal;
}
.ico {
	font-family: "edc-icon-font";
	font-style: normal;
	font-weight: normal;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	
	/* For safety - reset parent styles, that can break glyph codes*/
	font-variant: normal;
	text-transform: none;
	
	/* fix buttons height, for twitter bootstrap */
	line-height: 1em;
	
	/* You can be more comfortable with increased icons size */
	font-size: 130%;
	
	/* Font smoothing. That was taken from TWBS */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.search-result-ico.ico-persona::before {
	content: '\f2c0';
}
.search-result-ico.ico-news::before {
	content: '\e800';
}
.search-result-ico.ico-bando_gara::before {
	content: '\e80b';
}
.search-result-ico.ico-bando_di_concorso::before {
	content: '\e805';
}
.search-result-ico.ico-corso::before {
	content: '\e80c';
}
.search-result-ico.ico-incarico::before {
	content: '\e80e';
}
.search-result-ico.ico-atto::before {
	content: '\f0c5';
}
.search-result-ico.ico-struttura::before {
	content: '\f0f8';
}
.search-result-ico.ico-rsa_struttura::before {
	content: '\f0f8';
}
.search-result-ico.ico-eepa_tempi_attesa::before {
	content: '\f0f8';
}
.search-result-ico.ico-intranet_struttura::before {
	content: '\f0f8';
}
.search-result-ico.ico-media::before {
	content: '\e802';
}
.search-result-ico.ico-documento::before {
	content: '\e808';
}
.search-result-ico.ico-pagina_standard::before {
	content: '\f0f6';
}
.search-result-ico.ico-pagina_trasparenza::before {
	content: '\e803';
}
.search-result-ico.ico-evento::before {
	content: '\e801';
}
.search-result-ico.ico-prestazione::before {
	content: '\e809';
}
.search-result-ico.ico-pubblicazione::before {
	content: '\e80a';
}
.search-result-ico.ico-newsletter::before {
	content: '\f1ea';
}
.search-result-ico.ico-patologia::before {
	content: '\f2ba';
}
.search-result-ico.ico-misure_famiglia::before {
	content: '\f0f6';
}
.search-result-ico.ico-progetto_ricerca::before {
	content: '\e80a';
}
.search-result-ico.ico-trial_clinico::before {
	content: '\e80a';
}

/* *********** ADD BY KATIA ******** */
p {
	line-height: 1.9rem;
}
h3, .h3 {
	font-size: 1.3rem;
	line-height: 1.5rem;
}
h4, .h4 {
	padding-bottom: 20px;
}
.view-display-id-aggregatore .form-group label {
	padding-bottom: 10px;
}

/* *********** ADD BY ANDREA - per evitare sfonfo grigio in form di reset password ******** */
.placeholder {
    vertical-align: top;
    background-color: initial;
    opacity: 0.8;
}

/* footer */
.it-footer-first-col .edc-loghi-footer {
	max-width: initial;
}
.it-footer-first-col .edc-loghi-footer img {
	max-width: 100%;
	height: auto;
}
.it-footer-first-col .edc-loghi-footer a[href="/amministrazione-trasparente"] img {
	max-width: 200px;
	height: auto;
}

.it-footer-first-col .edc-loghi-footer + .edc-loghi-footer {
	margin-top: 18px;
}

/* footer newsletter CTA */
.edc-footer-section .edc-footer-newsletter {
	background: #f3f6fb;
	border-radius: 12px;
	padding: 28px 24px;
	margin: 10px 0 24px;
}
.edc-footer-section .edc-footer-newsletter__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}
.edc-footer-section .edc-footer-newsletter__content h3 {
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 2.40rem;
	line-height: 1.25;
	font-weight: 600;
	margin-bottom: 6px;
}
.edc-footer-section .edc-footer-newsletter__content p {
	margin: 0;
	text-transform: uppercase;
	font-size: 1.15rem;
	font-weight: 600;
	color: #3a3a3a;
}
.edc-footer-section .edc-footer-newsletter__button {
	display: inline-block;
	background-color: var(--colore-secondario-edc);
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.25rem;
	padding: 19px 46px;
	margin: 8px 0;
	border-radius: 8px;
	text-decoration: none;
	transition: filter 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.edc-footer-section .edc-footer-newsletter__button:hover,
.edc-footer-section .edc-footer-newsletter__button:focus {
	filter: brightness(0.95);
	transform: translateY(-1px);
}
@media (min-width: 992px) {
	.edc-footer-section .edc-footer-newsletter {
		padding: 36px 40px;
	}
	.edc-footer-section .edc-footer-newsletter__inner {
		gap: 24px;
	}
}

/* footer social alignment */
.edc-footer-section .edc-footer-social {
	text-align: right;
	margin-left: auto;
}
.edc-footer-section .edc-footer-social .pb-2 {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 25px;
}
.edc-footer-section .edc-footer-social h4 {
	padding-bottom: 0;
	margin-bottom: 0;
	margin-right: 0;
	white-space: nowrap;
	font-weight: 700;
	font-size: 0.85rem;
	color: #888;
}
.edc-footer-section .edc-footer-social .link-list,
.edc-footer-section .edc-footer-social .list-inline,
.edc-footer-section .edc-footer-social ul {
	margin-bottom: 0;
}
.edc-footer-section .edc-footer-social ul {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: flex-end;
}
.edc-footer-section .edc-footer-social__list {
	list-style: none;
	padding: 0;
	margin: 0;
	gap: clamp(6px, 1.2vw, 14px);
}
.edc-footer-section .edc-footer-social__list .list-inline-item {
	margin-right: 0;
}
.edc-footer-section .py-4 .row {
			 justify-content: space-between;
}

@media (max-width: 750px) {
	.edc-footer-section .py-4 .row {
		flex-direction: column;
		align-items: stretch;
	}
	.edc-footer-section .edc-footer-social {
		order: 1;
		margin-bottom: 16px;
		text-align: left;
	}
	.edc-footer-section .py-4 .row > .col-lg-3 {
		order: 2;
	}
}


/* Mostra organigramma e nascondi accordion desktop - Marcello Cannarsa - 02/07/2025 */
@media (min-width: 992px) {
	.organigramma-svg-container {
		display: block;
	} 
	#accordion_organigramma {
		display: none;
	}
}
/* Mostra organigramma e nascondi accordion desktop - Marcello Cannarsa - 02/07/2025 */


/* Mostra accordion e nascondi organigramma mobile - Marcello Cannarsa - 02/07/2025 */
@media (max-width: 991px) {
	.organigramma-svg-container {
		display: none;
	}
	#accordion_organigramma {
		display: block;
	}
}	
/* Mostra accordion e nascondi organigramma mobile - Marcello Cannarsa - 02/07/2025 */

/* Fix footer verde - T - #84AdgoZ1 - MC - allineamento voci nel footer (banda verde) , sistemato e nei files su git - INIZIO - 14/10/2025 */
.ml-px-25{
    margin-left:25px !important;
}

.mr-px-25{
    margin-right:25px !important;
} 

/* Fix footer verde - T - #84AdgoZ1 - MC - allineamento voci nel footer (banda verde) , sistemato e nei files su git - FINE - 14/10/2025 */


/* Separator for multiple dates: full circle, color matches main site color */
.date-separator {
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	margin: 0 0.5em;
	border-radius: 50%;
	background-color: var(--colore-secondario-edc, #000000); /* fallback to black if not set */
	vertical-align: middle;
}

/* Separator line before newsletter block */
.edc-footer-newsletter-separator {
	border: none;
	border-top: 1.5px solid #000000;
	margin: 0 0 32px 0;
	width: 100%;
}

/* Limit content body width on mobile for better readability */
@media (max-width: 750px) {
	.content_body {
		/* Remove forced max-width and padding so text wraps naturally */
		max-width: none;
		padding-left: 0;
		padding-right: 0;
		text-align: left !important;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		text-justify: auto !important;
	}
	.content_body > div {
		max-width: 540px;
		margin-left: auto;
		margin-right: auto;
		word-break: normal;
		overflow-wrap: break-word;
		text-align: left !important;
		text-justify: auto !important;
	}
}

.progress {
    height: 30px;
    border-radius: 4px
}
