/*
Theme Name: Design Comuni Italia - child
Version: 1.0
Description: A child theme of Design Comuni Italia
Template: design-comuni-wordpress-theme-main
Author: Amministratore
*/
@import url("../design-comuni-wordpress-theme-main/style.css");
@import url("./assets/icons/bootstrap-icons/font/bootstrap-icons.min.css");
/* Your awesome customization starts here */

/* SET COLORI - START*/
:root {
	--bs-primary: hsl(212deg, 100%, 33%);
	--bs-secondary: hsl(208deg, 12%, 21%);
	--bs-primary-rgb: 0, 79, 170;
	--bs-secondary-rgb: 48, 55, 61;
	--bs-link-color: hsl(212deg, 100%, 33%);
	--bs-link-hover-color: #00397A;
}

.rating:not(:checked)>label:hover svg,
.rating:not(:checked)>label:hover~label svg,
.rating>input:checked~label svg {
	fill: #004faa;
}

.btn-outline-primary {
	box-shadow: inset 0 0 0 2px #004faa;
	color: #004faa;
}

.btn-primary {
	background-color: #004faa;
	border-color: #004faa;
}
.margin-bottom{
    margin-bottom: 40px;
}

.btn-outline-primary:hover {
	color: #00397A;
	box-shadow: inset 0 0 0 2px #00397A;
}

.btn-primary:hover {
	background-color: #00397A;
	border-color: #00397A;
}

.form-check [type="radio"]:checked+label::before {
	border-color: #004faa;
}

.form-check [type="radio"]:checked+label::after {
	border-color: #004faa;
	background-color: #004faa;
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a {
	color: #004faa;
        font-weight: 400;
}

.it-calendar-wrapper .it-header-block-title {
	background-color: #004faa;
}

.icon-primary {
	fill: #004faa !important;
}

.btn-dropdown {
	color: #004faa;
}

a:hover:not(.disabled) .icon {
	fill: #004faa;
}

.link-list-wrapper ul li a:hover:not(.disabled) span {
	color: #004faa;
}

.link-list-wrapper ul li a:hover:not(.disabled) .icon {
	fill: #004faa;
}

.link-list-wrapper ul li a span {
	color: #004faa;
}

.section.section-primary {
	background: #004faa;
}

.accordion-header .accordion-button {
	color: #004faa;
        font-size: 1.25rem;
}

.accordion-header .accordion-button:not(.collapsed) {
	color: #004faa;
}

.accordion-header .accordion-button::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 24 24' %3E%3Cg%3E%3Cpath fill='hsl(212deg, 100%, 33%)' d='M12,10.3l4.8,4.8c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1c0,0,0,0,0,0l-4.8-4.8c-0.6-0.6-1.5-0.6-2.1,0L6.2,14c-0.3,0.3-0.3,0.8,0,1c0,0,0,0,0,0c0.3,0.3,0.8,0.3,1.1,0L12,10.3z'/%3E%3C/g%3E%3C/svg%3E");
	color: #004faa;
}

.pagination .page-item .page-link[aria-current] {
	border: 1px solid #004faa;
	color: #004faa;
	pointer-events: none;
}

.pagination .page-item .page-link:hover {
	color: #004faa;
	background-color: rgba(0, 0, 0, 0);
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
	color: #004faa;
	box-shadow: inset 0 0 0 2px #004faa;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 .25rem rgba(0, 79, 170, .5);
}

.card .card-body .category-top a.category {
	color: #004faa;
}

.primary-color {
	color: #004faa !important;
}

.chip .chip-label {
	color: #004faa;
}

.chip:not(.chip-disabled) {
	border-color: #004faa;
}

.chip:is(a):hover:not(.chip-disabled) {
	background-color: #004faa;
}

.cmp-navscroll .navbar.it-navscroll-wrapper .link-list-wrapper .accordion .accordion-header .accordion-button {
	color: #004faa;
}

aside .cmp-navscroll .navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active {
	border-left: 2px solid #004faa;
}

@media (min-width: 992px) {
	.navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active span {
		color: #004faa;
		text-decoration: none;
	}
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a:hover {
	color: #00397A;
}

/* SET COLORI - END*/

/* CSS DETTAGLIO ESAME - START*/

.section-esami-laboratorio {
	border-radius: 20px;
}

.section-esami-laboratorio .container {
	display: flex;
}

.section-esami-laboratorio i {
	font-size: 3rem;
	margin-right: 2rem;
	color: #004faa;
}

.h2-dettaglio-esame {
	font-size: 1.3rem;
	color: #004faa;
}

.h3-dettaglio-esame {
	font-size: 1.1rem;
	color: #004faa;
}

.h4-dettaglio-esame {
	color: #004faa;
	font-size: 1rem;
	line-height: 1rem;
}

#accordion-dettaglio-esame button {
	padding: 0;
	border: 0;
}

#accordion-dettaglio-esame button:hover {
	text-decoration: none;
}

#accordion-dettaglio-esame {
	border: 0;
}

#accordion-dettaglio-esame .collapse-body {
	padding: 0;
}


/* CSS DETTAGLIO ESAME - END*/

/* GLOSSARIO - START */

#glossario-form .letter {
	color: #707070;
}

#glossario-form .letter:hover {
	color: #004faa;
	cursor: pointer;
}

#glossario-form .letter.selected {
	color: #004faa;
	font-weight: 500;
}

#glossario-form .label-form-glossario {
	font-weight: 600;
}

#glossario-form .first-c {
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid #004faa;
	margin-right: 5rem;
	width: auto;
	font-size: 2rem;
	font-style: italic;
	color: #004faa;
}

.error-404 {
	margin: 3em 0;
	color: #004faa;
}

.error-404 .inner-content {
	text-align: center;
	max-width: 550px;
	margin: auto;
}

.error-title {
	font-size: 180px;
	line-height: 180px;
	margin-bottom: 15px;
	font-weight: 500;
}

.error-title span {
	width: 20rem;
	height: 15rem;
	display: inline-block;
	background-image: url("./assets/images/no-result.png");
	background-size: contain;
	background-repeat: no-repeat;
	margin: 0 10px;
	background-position: center;
}

.error-text {
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 26px;
}

@media (max-width: 768px) {
	.error-title {
		font-size: 120px;
		line-height: 120px;
	}

	.error-title span {
		width: 100px;
		height: 100px;
	}

	.error-text {
		margin-bottom: 15px;
		font-weight: 600;
		font-size: 24px;
	}
}

.hr-text {
	position: relative;
	height: 3px;
	background: #004faa;
	margin-bottom: 2rem;
}

.hr-text.hr-news-glossario {
	margin-top: 2rem;
}

.news-glossario {
	display: inline-block;
	background-color: #ffffff;
	color: #004faa;
	padding: 0.2rem 2rem;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	white-space: nowrap;
	font-size: 1.6em;
	font-weight: 500;
}

/* GLOSSARIO - END */

/* Util css - START */

@media (min-width: 1200px) {
	.border-end-xl {
		border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
	}

	.border-end-xl.border-primary {
		--bs-border-opacity: 1;
		border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
	}
}

/* Util css - END */

/* Header - START */

.it-header-slim-wrapper {
	background: #06c;
	padding: 6.5px 5px;
}

.it-header-slim-left-zone {
	width: 100%;
}


.btn-intranet:hover {
	background-color: #00397A;
}

#slim-menu-div.link-list-wrapper ul li a {
	padding: 0;
	font-size: 0.875rem;
	line-height: 1.6rem;
}

.logo-hamburger {
	text-decoration: unset;
}

.navbar .navbar-collapsable .menu-wrapper .navbar-nav {
  padding: 0;
}

@media (max-width: 1200px) {
	.link-list-wrapper #menu-slim-header-menu li a {
		padding: .25rem 13px;
	}
}

@media (min-width: 992px) {
	.it-header-slim-left-zone {
		display: flex;
		align-items: center;
		width: auto;
	}

	.it-header-slim-wrapper .it-header-slim-wrapper-content .it-header-slim-left-zone .navbar-brand {
		font-size: 1rem;
		font-weight: 600;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .it-brand-title {
		font-size: 2rem;
		font-weight: 700;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .it-brand-tagline {
		font-size: 1rem;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-right-zone .it-socials {
		font-size: 1rem;
	}

	.it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper {
		font-size: 1rem;
	}

	#menu-slim-header-menu {
		display: flex;
		flex-direction: row;
	}

	#menu-slim-header-menu li {
		color: #fff;
		font-size: 1rem;
		font-weight: 600;
	}

	#menu-slim-header-menu li:hover {
		text-decoration: underline;
	}
}

/* Header - END */

/* Footer - START */

.it-footer .footer-heading-title {
	font-size: 1.125rem;
	font-weight: 600;
}

.it-footer a {
	color: #ffffff;
}

.it-footer a:hover {
	color: #d4d4d4;
}

.footer-text {
	align-content: center;
	font-size: 1.25rem;
	font-weight: 600;
}

@media (min-width: 768px) {
	.it-footer .footer-heading-title {
		border-bottom: 0;
	}
}

.footer-row-1 {
	border-bottom: 1px solid #0F4B57;
}

.it-footer-bottom {
	background: #17324D;
}

#menu-menu-info-1 {
	display: flex;
	flex-direction: row;
}

@media (min-width: 576px) {
	#menu-menu-info-1 .menu-item a {
		font-size: 0.875rem;
		font-weight: 600;
	}
}

/* Footer - END */


/* Home start*/
.card-in-evidenza{
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgb(0 0 0 / 15%);
}

.title-in-evidenza a {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2F475E;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.title-in-evidenza a:hover {
  text-decoration: underline;
}

.title-in-evidenza{
	line-height: 2rem;
}

.category-in-evidenza {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  color: #003366;
  align-content: flex-end;
}

.date-in-evidenza {
  align-content: flex-end;
  font-weight: 300;
  font-size: 0.875rem;
  color: #003366;
}

img.img-in-evidenza {
	object-fit: cover;
	height: 100%;
}


@media (max-width: 992px) {
	.title-in-evidenza a {
		font-size: 1.3rem;
		}

		.title-in-evidenza {
			line-height: 1.5rem;
		}
}

.title-in-evidenza-2 a {
  font-size: 1rem;
  font-weight: 600;
  color: #2F475E;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25rem;
  text-overflow: ellipsis;
}

.title-in-evidenza-2 a:hover {
  text-decoration: underline;
}

.title-in-evidenza-3 a {
  font-size: 1.50rem;
  font-weight: 600;
  color: #2F475E;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.50rem;
  text-overflow: ellipsis;
}


.title-in-evidenza-3 a:hover {
  text-decoration: underline;
}





.img-in-evidenza {
  object-fit: cover;
  width: 100%;
  display: block;
}


.footer-in-evidenza {
    font-weight: bold;
    font-size: 0.9rem;
}

.border-asm-comunica-img{
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
}

.border-asm-comunica-card{
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}



.descrizione-asm-comunica-line-1 {
    display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
}

.descrizione-asm-comunica-line-2 {
    display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;  
}

.descrizione-asm-comunica-line-3 {
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
}

 .descrizione-asm-comunica-3 {
  font-size: 1rem;
  color: #2F475E;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.50rem;
  text-overflow: ellipsis;
}


/* Home end*/

/* Dipartimenti start*/
 .info-container {
    width: 47%;
}

.card-color-info-text {
    color: #191919;;
}

.title-in-evidenza-card-info {
  font-size: 1.3rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}






.title-in-evidenza-card-ua {
  font-size: 1.10rem;
  font-weight: 600;
  line-height: 1.5rem;
  /* niente clamp/overflow qui */
  display: block;
  overflow: visible;
  text-overflow: clip;
}

.title-in-evidenza-card-ua .link-class {
  display: -webkit-box;
  -webkit-line-clamp: 4;       
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  color: #0B3EE3;
  white-space: normal;    
  
  word-break: break-word;
}

.title-in-evidenza-card-ua .link-class:hover{
  text-decoration: underline;
  color: #0B3EE3;
}


.link-class{
    text-decoration: none;
    color: #0B3EE3;    
}
.link-class:hover{
    text-decoration: underline;
    color: #0B3EE3; 
}

.icon-wrapper {
    background-color: #dfe6fc; /* colore di sfondo come nelle altre icone */
    border-radius: 50%;        /* rende il contenitore rotondo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-in-evidenza-card-sottotitolo {
  font-size: 1.15rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-in-evidenza-card-info h3{
	line-height: 1.5rem;
}

.title-in-evidenza-card-descrizione {
  margin-top: 2%;
  font-size: 1rem;
  word-break: break-word;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}


.icon-unita-organizzativa{
    object-fit: cover;
    height: 70px;
    width: 70px;
}
@media (max-width: 1399px) {
    .icon-unita-organizzativa{
        object-fit: cover;
	height: 60px;
        width: 60px;
    }
    
}

.icon-unita-organizzativa-link{
    object-fit: cover;
	height: 4rem;
}
@media (max-width: 1399px) {
    .icon-unita-organizzativa-link{
        object-fit: cover;
	height: 3.75rem;
    }
    
}

.icon-unita-organizzativa-interna{
    height: 70px;
    width: 70px;
}

.icon-allegato{
    height: 50px;
    width: 50px;
}

.icon-ospedale{
    height: 50%;
    width: 50%;
}

@media (max-width: 1399px) {
    .icon-unita-organizzativa-interna{
        height: 60px;
        width: 60px;
        object-fit: cover;
    }
    
}

@media (max-width: 576px) {
  .template-card-pagine-collegate-icons {
    display: none !important;
  }
}

@media (max-width: 1199px) and (min-width: 992px){
    
    .card-info{
    width : 100%;
    }
}

@media(max-width:766px){
    .card-info{
    width : 100%;
    }   
}

@media(max-width:991px){
    .card-info-allegati{
    width : 100%;
    }   
}

.icon-unita-organizzativa-allegato {
    object-fit: cover;
	height: 3rem;
}

ul {
  list-style: disc;
  margin-left: 1.5em;
  padding-left: 1em;
}

ol {
  list-style: decimal;
  margin-left: 1.5em;
  padding-left: 1em;
}

.breadcrumb {
    margin-left: 0em;  
    padding-left:0;
}
/* Dipartimenti end*/

/*Breadcrumb start*/

.cmp-breadcrumbs-2 ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* permette l’andare a capo */
  padding: 0;
  margin: 0;
  gap: 0.4rem;
}

.cmp-breadcrumbs-2 {
    margin-top: 2rem;
}

.cmp-breadcrumbs-2 li {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  /* niente nowrap, così va a capo se serve */
  word-break: break-word;
  overflow-wrap: anywhere;
}

.cmp-breadcrumbs-2  li::after{
  content: '/';
  margin: 0 0.4rem;
}

.cmp-breadcrumbs-2 li:last-child::after {
  content: '';
}

/* Opzionale: riduci padding o font su schermi piccoli */
@media (max-width: 600px) {
  .cmp-breadcrumbs ol {
    gap: 0.2rem;
  }

  .cmp-breadcrumbs li {
    font-size: 15px;
  }
}

/*Breadcrumb end*/

/*Menu laterale amministrazione trasparente start*/
.menu-laterale {
    padding: 1rem;
    border-right: 1px solid #ddd;
    position: sticky;
    top: 100px; /* se vuoi che segua lo scroll */
    text-align: left;
}

.menu-laterale ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.menu-laterale li {
    margin-bottom: 0.8rem;
}

.menu-laterale a {
    color: #004faa;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.menu-laterale a:hover {
    text-decoration: underline;
}

.link-list .current-menu-item > a {
    border-left: solid #2B78C6; /* Colore evidenziazione */
    font-weight: 600;
    color: #1d4f91; /* Colore testo attivo */
}

.link-list{
    margin-left: 0;
}

/* Mostra i figli dei figli solo se il loro genitore di primo livello è attivo */
.current-menu-ancestor > .sub-menu {
  display: block;
}

/* Nascondi di default tutti i figli */
.menu-item .sub-menu {
  display: none;
}

/* Mostra i figli solo se NON siamo sulla pagina padre */
.current-menu-ancestor:not(.current-menu-item) > .sub-menu {
  display: block;
}


/*Menu laterale amministrazione trasparente end*/
.filtro-bandi button.clean-input {
  display: none !important;
}
/*START Link accessibili*/
a{
 color:#004faa;
}

/* Link nei contenuti: indicatore secondario sempre visibile */
.entry-content a,
.elementor-widget-text-editor a {
  text-underline-offset: 2px;   /* più leggibile */
}

/* Esclusioni: non toccare bottoni, menu, paginazione ecc. */
a.btn, .btn a,
.menu a, .nav a,
.page-link, .pagination a {
  text-decoration: none !important;
}
p a {
    text-decoration: underline !important;
}
/*END Link accessibili*/

/*START Tabella*/
table.table-bordered,
table.table-bordered th,
table.table-bordered td {
  border-left:none !important;
  border-right:none !important;
  border-top-color:white;
}
.table-bandi tbody tr:hover {
  background-color: transparent !important;
}

.tooltip-pallino {
  position: relative;
  cursor: pointer;
}


.tooltip-pallino::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 999;
}

.tooltip-pallino:hover::after {
  opacity: 1;
}

/*END Tabella*/

/*START card allegati*/
.footer-allegato {
  background-color: #EDF4FC;
  padding: 0.5rem 1.5rem;
  text-align: end;
}

.footer-allegato p {
  margin-bottom: 0;
  text-align: start;
  font-size: 1.1rem;
  color: #000;
}

.footer-allegato a {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #004faa;
  text-align: center;
  text-decoration: none;
}

.footer-allegato a:hover {
  text-decoration: underline;
}

.footer-allegato .icon {
  margin-bottom: 0.2rem;
}

.allegato-card-content {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgb(0 0 0 / 15%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.title-card-allegati {
  font-size: 1rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5rem; 
  white-space: normal; 
  word-break: break-word;
}

/*END card allegati*/

/*START card link*/
.link-box-title {
  font-size: 1.6rem;
  line-height: 2rem;
  min-height: 80px;
}

.link-box-anchor {
  color: #0B3EE3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}
.link-box-icon {
    align-items: start; 
    padding-right: 1.5rem;
    justify-content: flex-end;
}
.icon-wrapper-2{
    border-radius: 50%;        /* rende il contenitore rotondo */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/*END card link*/

/*START invio segnalazioni*/
/* Layout del form */
.wpcf7 form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

/* Label */
.wpcf7 form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.2rem;
  color: #333;
}

/* Input, Select e Textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Textarea */
.wpcf7 textarea {
  min-height: 120px;
}

/* Checkbox privacy */
.wpcf7-acceptance {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Bottone */
.wpcf7 input[type="submit"] {
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background-color: #004faa;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #003b87;
}

@media (min-width: 992px) {
  .wpcf7 form {
    max-width: 100%;
  }
}

.wpcf7-acceptance input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
}


.acceptance-warning-message {
        color: #dc3232;
        font-size: 1em;
        font-weight: normal;
        display: block;
        margin-left: 1rem; /* sposta verso destra per allinearlo al testo */
        margin-top: 0.3em;  /* piccola distanza sopra */
}
/*END invio segnalazioni*/
/*START css in primo piano*/
.in-primo-piano .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.in-primo-piano .card:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.in-primo-piano .card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-title{
    line-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.in-primo-piano .no-image {
  justify-content: start;
}

.in-primo-piano .img-wrapper img {
  max-height: 60px;
  border-radius: 8px;
}
/*END css in primo piano*/
.it-hero-text-wrapper {
  padding-bottom: 0 !important;
}

.asm-comunica{
    height: 100%;
}

/*START immagine notizia*/

.img-notizia{
    aspect-ratio: 16/9;
    object-fit: cover;
    width:100%;
}

/*END immagine notizia*/

/*START Lista documenti*/
.lista-documenti-card{
    justify-content: space-between;
}

.lista-documenti-icon-allegato{
    align-items: start; 
    justify-content: center;
}

.lista-documenti-right-div{
    padding-top: 1rem;
    padding-right: 1.5rem;
}

.lista-documenti-card-mime{
    min-height: 50%;
    font-size :1rem;
}

.lista-documenti-card-bottom{
    text-align: end;
    background-color: #EDF4FC;
}

.lista-documenti-card-bottom p{
    text-align: start
}

.lista-documenti-card-bottom-download{
    font-size: 0.9rem;
    color: #004faa;
}

.lista-documenti-card-bottom-download svg{
    margin-bottom: 0.2rem;
}   
/*END Lista documenti*/

/*START valuta servizio*/
.bg-valuta-servizio{
    background-color: #EDF4FC;
}
/*END valuta servizio*/

/*START bandi*/
.bandi label{
   font-weight: 600;
}


.bandi-filtri select{
    border: solid 1px; 
    height: 50%; 
}

.bandi-filtri input{
    height: 50%; 
}


.bandi-filtri-date input{
  display: block; 
  height: 50%;  
}

.table-bandi-size span{
    width: 12px; 
    height: 12px;
}
/*END bandi*/

/*START asm comunica*/
.asm-comunica a {
  font-size: 1.60rem;
  font-weight: 600;
  min-height: 78px;
  color: #2F475E;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6rem;
  text-overflow: ellipsis;
}

.asm-comunica a:hover {
  text-decoration: underline;
}
.asm-comunica h6{
    color: #2F475E;
}


.asm-comunica p{
  font-size: 1rem;
  color: #2F475E;
  overflow: hidden;
  line-height: 1.50rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  word-break: break-word; 
}
/*END asm comunica*/

/*START Template*/

.template-card{
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


.template-card p{
 min-height: 56px;
}
.template-card a{
 min-height: 56px;
 color: #0B3EE3;
}

.template-items{
     align-items: start;
}

.template-card-pagine{
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/*END Template*/

/*START Template pagine collegate*/
.template-card-pagine-collegate {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: 0;                /* <— chiave per evitare i tagli strani */
}

.template-card-pagine-collegate h3{
    min-height: 40px;
}

.template-card-pagine-collegate-icons{
    align-items: start; 
    justify-content: space-around;
}

/*END Template pagine collegate*/

/*START recupero allegati*/
.recupero-allegati{
    padding-top: 1rem; 
    padding-right: 1.5rem;
}

/*END recupero allegati*/

/*START recupero documento principare e allegati*/
.documento-principale-title{
    font-size: 1.5rem;
}
.documento-principale{
    font-size: 1.2rem;
}
/*END recupero documento principare e allegati*/


/*START recupero documento principare e allegati*/
.recupero-documento-pubblico{
    font-size: 1.5rem; 
    word-break: break-word; 
    white-space: normal;
}

.recupero-documento-pubblico-title{
   word-break: break-word; 
   white-space: normal;
}
/*END recupero documento principare e allegati*/


/*START Link utili*/
.template-card-link-utili{
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
/*END Link utili*/

/*START app io*/
.app-io{
    padding-top: 1.5rem;
    padding-left: 0.5rem;
}

.app-io p{
    min-height: 56px;
}
/*END app io*/

/*START link icon*/
.icon-link{
    height: 70px;
    width: 70px;
}
@media (max-width: 1399px) {
    .icon-link{
	height: 60px;
        width: 60px;
    }
    
}
/*END link icon*/

/*START unita organizzativa*/

.info-unita-organizzativa{
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.info-unita-organizzativa a{
 color: #0B3EE3;
}

.uoc-interne{
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;  
}

/*END unita organizzativa*/

/*START amministrazione trasparente*/
.amm-trasp-progress{
    width: 0%;
}
/*END amministrazione trasparente*/

/*START single page*/
.single-page{
  padding-bottom: 0 !important;  
}
/*END single page*/

/*START modulo contatto questionario gradimento*/
/* RADIO e CHECKBOX base */
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  opacity: 1 !important;
  position: static !important;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid #000 !important;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  cursor: pointer;
}

.wpcf7 input[type="radio"]{
    border-radius: 50%;
}
/* RADIO selezionato */
.wpcf7 input[type="radio"]:checked {
  background-color: #000; /* cerchio nero pieno */
  border: 1px solid #000;
}

/* CHECKBOX selezionato */
.wpcf7 input[type="checkbox"]:checked {
  background-color: #000;
  border: 1px solid #000;
}
.wpcf7-list-item {
  display: block;
  margin-bottom: 5px;
}
/*END modulo contatto questionario gradimento*/

/*START INTRANET*/

/*START card notizie in primo piano intranet*/
.news-dipendenti-card{
    border: solid 1px;
    border-color: #33B2E2;
}
a:hover,
    a:focus {
        text-decoration: underline;
    }

/*START card notizie in primo piano intranet*/


/*END INTRANET*/
.wpcf7-form .clean-input {
  display: none !important;
}


.pagination-wrapper .pagination a.page-link { 
    color: #000 !important; 
}

    
.screen-reader-response ul:empty { display: none; }


.img-in-evidenza-ratio{
   aspect-ratio: 1/1;
   object-fit: cover;
}

.custom-select-style {
    background-color: #EDF4FC !important;
    border: 1px solid #000 !important;
}



.in-primo-piano-descrizione {
  font-size: 1rem;
  color: #2F475E;
  overflow: hidden;
  line-height: 1.50rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


/*START descrizioni-in-evidenza*/
.descrizione-in-evidenza {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease, height 0.3s ease;
    color:#2F475E;
    font-size: 1rem;
}

@media (min-width: 1200px) {
    .descrizione-in-evidenza {
        -webkit-line-clamp: 2;
        opacity: 1;
        height: auto;
        visibility: visible;
        height: 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .descrizione-in-evidenza {
        -webkit-line-clamp: 1;
        opacity: 1;
        height: auto;
        visibility: visible;
        height: 30px;
    }
}

@media (max-width: 991.98px) {
    .descrizione-in-evidenza {
        opacity: 0;
        height: 0 !important;
        visibility: hidden;
    }
}

@media (min-width: 991.98px){
    .title-primo-piano{
        min-height: 98px;
    }
    
}
/*END descrizioni-in-evidenza*/
.box-quadrato {
  aspect-ratio: 1 / 1; /* Mantiene proporzione quadrata */
  background-size: cover; /* Riempie senza deformare */
  background-position: center;
}



/*START Card personale*/

.card:after{
    margin-top: 0;
}


.card-personale {
  border: 1px solid #ddd; /* colore grigio chiaro consigliato */
  border-radius: 6px;     /* opzionale, per angoli arrotondati */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* ombra leggera */
  transition: box-shadow 0.2s ease-in-out; /* per hover più fluido */
}

.card-personale .card-body {
  display: flex;
  flex-direction: column;
}

.card-personale .card-body p {
  margin-top: auto; /* spinge il <p> in fondo alla card-body */
  margin-bottom: 0;
}

.card-personale .card-body hr{
    margin-bottom: 0;
}


.card-margin{
    margin-top: auto !important;
}


/*END Card personale*/


/*START modifica card allegati*/

@media (max-width: 350px){
  /* nasconde la colonna con l’icona file */
  .allegato-card-content .icon-file-wrap{ display:none !important; }

  /* fa allargare a tutta larghezza il blocco testo a destra */
  .allegato-card-content .recupero-allegati{
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* mostra solo l'icona di download: nasconde la label visiva */
  .allegato-card-content .footer-allegato .link-class .link-label{
    display: none;
  }
  
  .recupero-allegati {
    padding-left: 1.5rem;
}
  
}

@media (max-width: 580px){

    .allegato-svg{
        display: none !important;
    }
    .recupero-allegati{
        padding: 2rem;
    }
}


/*END modifica card allegati*/

/*START breadcrumb personale */
.cmp-breadcrumbs-2 li > a {
  color: #004faa;              /* tuo colore */
  text-decoration: underline;       /* opzionale */
}

/* Stati */
.cmp-breadcrumbs-2 li > a:hover,
.cmp-breadcrumbs-2 li > a:focus {
  color: #30475f;              /* hover/focus */
  text-decoration: underline;  /* opzionale */
}

p {
 font-family: "Titillium Web", sans-serif !important;
}

.rating>legend{
    font-size: 0.875rem !important;
}

/*START tabella provvedimenti*/

/* più spazio a "Oggetto" e gestione testo */
.table-provvedimenti th:nth-child(1),
.table-provvedimenti td:nth-child(1) {
  width: 40%;           
  min-width: 260px;     /* evita che si schiacci troppo */
  white-space: normal;  /* consenti a capo */
  word-break: break-word;
}

.provvedimenti-filtri select{
    border: solid 1px; 
}

.clean-input {
  display: none !important;
}


/*START miglioramento css matomo*/
/* === KPI Matomo - stile dashboard ASM === */
.matomo-kpi .table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 1px rgba(16,24,40,.06);
  overflow: hidden;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.matomo-kpi .table-responsive {
  border-radius: 12px;
  overflow: hidden;
}

.matomo-kpi .table td {
  padding: 10px 14px;
  border: none !important;
  vertical-align: middle;
}

.matomo-kpi .table tr + tr td {
  border-top: 1px solid #eef1f6;
}

.matomo-kpi .table td:first-child {
  font-weight: 600;
  color: #444;
  width: 65%;
}

.matomo-kpi .table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #111;
}

.matomo-kpi .table tr:hover td {
  background: #fafbff;
}

/* Colori più coerenti col tema ASM */
.matomo-kpi .table-hover tbody tr:hover {
  background-color: #f6f8fc;
}

/* Responsive */
@media (max-width: 768px) {
  .matomo-kpi .table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}


/*END miglioramento Matomo*/
.cmplz-message p{
    font-size: 1rem !important;
}


/*START CSS Articolazione degli uffici*/
            .asm-uoc-wrap{
                max-width:1100px;
                margin-inline:auto;
                padding-inline:clamp(12px,4vw,24px);
                box-sizing:border-box;
            }
            .asm-uoc-grid{
                display:grid;
                gap:1rem;
            }
            .asm-uoc-card{
                border:1px solid #e5e5e5;
                border-radius:.75rem;
                padding:1rem;
                background:#fff;
            }
            .asm-uoc-title{margin:0 0 .5rem;font-size:1.15rem;}
            .asm-uoc-resp,.asm-uoc-address,.asm-uoc-phone,.asm-uoc-email{margin:.25rem 0;}
            @media (max-width:576px){.asm-uoc-grid{grid-template-columns:1fr;}}
            
/*END CSS Articolazione degli uffici*/

/*CSS pallino in bandi di gara e concorso e avviso*/
.stato-dot{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle}
.tooltip-pallino[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;left:50%;transform:translateX(-50%);bottom:150%;padding:4px 8px;border-radius:4px;background:#000;color:#fff;white-space:nowrap;font-size:12px;z-index:10}


/*Filtri personale*/

.filter-personale{
   display:flex; 
   flex-wrap:wrap; 
   gap:.5rem; 
   align-items:flex-end; 
}

.riempimento-pagina{
    margin-top:auto; 
    padding-top: 20px;
}

/*Start social cellulare*/

.it-socials ul{
    list-style: none; 
}
/*End social cellulare*/

/*Start card homepage*/

@media (max-width: 991px) { 
    .mobile-card a{ 
        font-size: 20.8px;
    }
}

@media (max-width: 767px){
    .mobile-card{
        width: 80%;
    }
}


.card-page-news{
    color:#2F475E;
}

.card-page-news  h3{
    font-weight: 600;
}


.uwy.userway_p1 .userway_buttons_wrapper {
    top:  93.2% !important;
    left: 97% !important;
}

@media (max-width: 768px){
    .uwy.userway_p1 .userway_buttons_wrapper {
    left: 90% !important;
}
}

.uwy.userway_p7 .userway_buttons_wrapper {
    top:  93.2% !important;
}

#postdivrich {
    display: none !important;
}

.iframe-albo {
    width: 93vw !important;        /* 80% della pagina */
    max-width: none !important;    /* rimuove i limiti del contenitore */
    position: relative;
    left: 50% !important;          /* esce dal contenitore */
    transform: translateX(-50%);   /* centra l'iframe */
    display: block;
}
