/* RESET CSS */
* strong {
	font-weight: bold;
}

html {
	margin: 0;
  padding: 0;
	font-size: 16px;
  background-color: white;
}


/* CUSTOM PAGINATION */

#pagination_links {
	text-align: center;
	font-size: 18px;
	line-height: 1.555;
	margin-top: 10px;
	margin-bottom: 20px;
}

#pagination_links .page-numbers ul{
	list-style: none;
}

#pagination_links .page-numbers li{
	display:inline;
	margin-right: 5px;
}

#pagination_links .page-numbers {

}

#pagination_links .page-numbers .current {
	color: #5d7083;
	border: 1px solid #5d7083;
	border-radius: 5px;
	padding:  6.75px 13.5px 6.75px 13.5px ;
	margin: 5px;
}

/* STILI PERSONALIZZATI */

.bg-banner-persone {
	background-color: #f5f5f5;
}

.card.card-avatar .card-avatar-img {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	margin: 0 12px 0 0;
	border-radius: 50%;
	overflow: hidden;
}

.color-invert {
	filter: brightness(0%) invert(100%);
}

.chip-selected {
	background: #30475f !important;
	border-color: #30475f !important;
	color: #ffffff;
}

.chip-selected a {
	color: #ffffff;
}

.chip-label a {
	text-decoration: none !important;
}

.aiis-institution-list {
	row-gap: 0.25rem;
}

.aiis-institution-card {
	display: flex;
	height: 100%;
	min-height: 160px;
	padding: 1.25rem;
	background: #ffffff;
	border-left: 4px solid #0066cc;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 43, 85, 0.08);
	color: #17324d;
	text-decoration: none;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.aiis-institution-card:hover,
.aiis-institution-card:focus {
	color: #0059b3;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 43, 85, 0.14);
}

.aiis-institution-card-static {
	cursor: default;
}

.aiis-institution-card-static:hover {
	color: #17324d;
	transform: none;
	box-shadow: 0 8px 24px rgba(0, 43, 85, 0.08);
}

.aiis-institution-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 86px;
	width: 86px;
	height: 68px;
	margin-right: 1rem;
	padding: 0.45rem;
	background: #f2f7fc;
	border: 1px solid #d7e6f5;
	border-radius: 4px;
	color: #0059b3;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.05;
	text-align: center;
}

.aiis-institution-logo-image {
	background: #ffffff;
}

.aiis-institution-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.aiis-institution-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.aiis-institution-name {
	margin-bottom: 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
}

.aiis-institution-description {
	color: #435a70;
	font-size: 0.95rem;
	line-height: 1.35;
}

.aiis-institution-country {
	margin-top: auto;
	padding-top: 0.75rem;
	color: #5d7083;
	font-size: 0.85rem;
	font-weight: 600;
}

@media only screen and (max-width: 575px) {
	.aiis-institution-card {
		flex-direction: column;
		min-height: 0;
	}

	.aiis-institution-logo {
		margin-right: 0;
		margin-bottom: 1rem;
	}
}

.menutree {}

.menutree a {
	text-decoration: none;
}

.menutree ul {}

.menutree ul li {}

.box_change_map_lang {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
}

.it-brand-title h1.h3 {
	font-size: 1em !important;
}



@media only screen and (max-width: 450px) {
    .it-brand-title h1.h3 {
        font-size: 1em !important;
        line-height: 1.25rem;
    }
  }


.it-brand-tagline {
	font-size: 1rem !important;
    
}

.display_block {
	display: block !important;
}


/** Accessibilità */

.it-footer a {
	text-decoration: none;
}

.it-footer-main .link-list-wrapper ul li a:not(.disabled) {
	text-decoration: none;
}

.it-footer-main .link-list-wrapper ul li a:hover {
	text-decoration: underline !important;
}

.it-footer-small-prints a:hover:not(.disabled) {
	color:#fff;
	font-size:1rem;
	text-decoration: underline !important;
}

.mappasitolink {
	display: flex;
	gap: 4px;
}

a.mappasitolink:hover {
	text-decoration: underline !important;
}

#button-newsletter-iscriviti {
	background-color: inherit !important;
}

#button-newsletter-iscriviti:hover {
	background-color: #17324d !important;
}

.customSpacingDiv {
	display: flex;
	gap: 4px;
}

.customSpacing {
	height: 24px !important;
	transform: translateY(-2px) !important;
}

.customSpacing a {
	display: block !important;
	min-width: 24px !important;
	min-height: 24px !important;
}

.cardTitlecustomSpacing {

}

.cardTitlecustomSpacing a {
	display: inline-block !important;
	min-height: 24px !important;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.aiis-ercim-brand {
	align-items: center;
	min-height: 40px;
	text-decoration: none;
}

.aiis-ercim-brand-logo {
	display: block;
	width: auto;
	max-width: 150px;
	max-height: 30px;
	object-fit: contain;
}

.aiis-ercim-brand-text {
	font-weight: 600;
}

/** CHIPS */
.hover-text-white:hover {
	color: white !important;
}

/* modifiche visibilità  hero e banner */

.it-hero-wrapper .it-hero-text-wrapper span, .it-hero-wrapper .it-hero-text-wrapper h1, .it-hero-wrapper .it-hero-text-wrapper .h1, .it-hero-wrapper .it-hero-text-wrapper h2, .it-hero-wrapper .it-hero-text-wrapper .h2, .it-hero-wrapper .it-hero-text-wrapper h3, .it-hero-wrapper .it-hero-text-wrapper .h3, .it-hero-wrapper .it-hero-text-wrapper h4, .it-hero-wrapper .it-hero-text-wrapper .h4, .it-hero-wrapper .it-hero-text-wrapper h5, .it-hero-wrapper .it-hero-text-wrapper .h5, .it-hero-wrapper .it-hero-text-wrapper h6, .it-hero-wrapper .it-hero-text-wrapper .h6, .it-hero-wrapper .it-hero-text-wrapper p {
	text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.8);
}

.it-hero-wrapper.it-overlay.it-dark .img-responsive-wrapper:after {
	 background: rgba(0, 64, 89, 0.2);
}

.it-hero-wrapper.it-overlay.it-primary .img-responsive-wrapper:after {
	 background: rgba(0, 0, 0, 0.2);
}

.container-banner-home .it-hero-wrapper .it-hero-text-wrapper {
	 background: rgba(0, 64, 89, 0.4) !important;
}

.aiis-section-hero .img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aiis-section-hero .it-hero-text-wrapper {
	background: rgba(0, 64, 89, 0.48) !important;
}

/* override font: usa Titillium su testi descrittivi hero e carousel home */
.it-hero-wrapper .it-hero-text-wrapper p,
.it-carousel-wrapper .card-text,
.it-carousel-wrapper .card-signature {
	font-family: "Titillium Web", "Roboto", "Lora", "Roboto Mono", Arial, Helvetica, sans-serif;
}

/* override utility Bootstrap Italia: evita Roboto come prima scelta su contenuti font-serif */
.font-serif {
	font-family: "Titillium Web", "Roboto", "Lora", "Roboto Mono", Arial, Helvetica, sans-serif !important;
}

/* override globale descrizioni card: Bootstrap Italia usa Roboto su .card-text */
.card .card-body .card-text,
.card .card-body .card-text a {
	font-family: "Titillium Web", "Roboto", "Lora", "Roboto Mono", Arial, Helvetica, sans-serif !important;
}


/* card progetti */
.dli_card_progetti .head-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px; /* Spazio tra i bottoni */
}

.dli_card_progetti .card-tag {
	/* flex: 1 1 100%;  Occupa l'intera larghezza disponibile */
}

.dli_card_progetti a {
	text-align: center;
}
