/*!
Theme Name: Design Comuni Italia
Author: Capitale Lavoro S.p.A.
Description: Design Comuni Italia è il tema di Drupal per i siti dei Comuni Italiani. Rispetta le linee guida di design dell’Agenzia per l’Italia digitale rilasciate dal Team per la Trasformazione Digitale. Utilizza Bootstrap Italia.
Version: 1.7.1
License: AGPL 3.0 or later
Text Domain: design_comuni_italia
*/
/* Fix Toolbar Amministrativa che crea spazi bianchi sopra e a destra */
#toolbar-administration { height: auto; position: absolute; top: 0; }
#toolbar-administration:before { content: initial; }
/* Fix a word-break */
a[href^="mailto:"]{
	word-break: break-all;
}
/* Fix card border-bottom */
.card-wrapper {
	padding-bottom: 0;
}
/* Fix lightbox */
.it-single-slide-wrapper figure a{
	height: 100%;
	width: 100%;
}
.it-single-slide-wrapper figure a img{
	height: 100%;
	width: 100%;
	object-fit: cover;
} 
/* Fix default logo */
header .it-brand-wrapper a, header .it-brand-wrapper img {
	max-height: initial;
}
header .it-brand-wrapper img {
	width: 48px;
	height: 48px;
	margin-right: 8px;
}
@media (min-width: 992px){
	header .it-brand-wrapper img {
		width: 82px;
		height: 82px;
		margin-right: 16px;
	}
}
footer.it-footer .logo-wrapper .ue-logo {
	width: unset;
	height: unset;
}
footer.it-footer .it-brand-wrapper {
	min-height: initial;
}
footer .ue-logo::after {
	width: 178px;
	min-width: 100%;
	height: unset;
	background-size: 100%;
	aspect-ratio: 178 / 56;
	display: block;
	position: relative;
}
footer .it-brand-wrapper img {
	width: 48px;
	margin-right: 8px;
}

/* Stepper mobile - full width con scritta a sinistra e indice a destra */
@media (max-width: 991.98px) {
	.steppers .cmp-info-progress {
		width: 100%;
	}
	.steppers .cmp-info-progress .steppers-header {
		width: 100%;
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
	}
	.steppers .cmp-info-progress .steppers-header ul {
		flex: 1;
		margin: 0;
	}
	.steppers .cmp-info-progress .steppers-header .steppers-index {
		display: block !important;
		flex-shrink: 0;
		margin-left: auto;
		font-size: 0.875rem;
		font-weight: 600;
		color: #5d7083;
	}
}