/*
Theme Name: Fondazione Sport 2023 - ItaliaWP2 Child Theme
Description: Tema child di ItaliaWP2
Version: 1.0.0
Template: italiawp2
Text Domain: italiawp2
*/

:root {
	--color-primary: #cd071e;
	--color-primary-dark: #6a0410;
	--color-primary-darker: #52030c;
	--color-primary-light: #f7a6a9;
	--color-primary-lighter: #e9b7bd;
}

body {
	color: #111;
}

.menu-separatore .bg-oro {
    background-color: #cd071e !important;
}

@media screen and ( min-width:768px ) {
.testolungo {margin-top:0.5em;}
}

/* "sidebar" articoli e pagine spostata a destra */
.articolo__extra-info {
	border-left: 1px solid #E5E5E5;
}

#menu-sinistro .menu-separatore {
	margin-right: 0;
}

#briciole > .container > .row > .offset-lg-1 {
	margin-left: 0;
}

.articolo__extra-info > #menu-sinistro {
	top: 80px;
}


#intro {
	margin-bottom: 1em;
}

#intro .titolo-sezione .h2 {
	color: #52030C;
}

#articolo-dettaglio-testo h4 {
	font-size: 1.25rem;
}
#articolo-dettaglio-testo h4 > a {
	color: var(--color-primary-dark);
}

@media (min-width: 576px) {
	.h1, h1 {
		font-size: 2rem;
	}
	.h2, h2 {
		font-size: 1.8rem;
	}
	.h3, h3 {
		font-size: 1.5rem;
	}
	.h4, h4 {
		font-size: 1.25rem;
	}
	.h5, h5 {
		font-size: 1.15rem;
	}
}


#mainheader .comune {
	display: flex;
	align-items: center;
}
#mainheader .comune .logoimg {
	width: 160px;
	margin-top: 0;
}
#mainheader .comune .logoimg img {
	max-width: 100%;
	max-height: 100px;
}

@media (max-width: 991px) {
	#mainheader .comune .logoimg {
		margin-top: 0;
	}
}
@media (min-width: 992px) {
	#mainheader:not(.ridotto) > .header > .header-tablet {
		padding-top: 10px;
	}
}


#footer .logoimg img {
	height: 90px;
	max-height: none;
}


/* Gallerie */
@media (min-width: 768px) {
	#articolo-dettaglio-testo .galleriasfondo {
		width: 100%;
		margin: 0;
		inset: 0;
	}
	.col-md-11.offset-md-1 > .galleriaslide {
		margin-left: -4.166%;
		margin-right: 4.166%;
	}
}

/* Menù in sidebar */
.list-group-item:hover {
	font-weight: inherit!important;
}
.list-group-item-action:focus {
	border: 0 none!important;
}


/* .btn-verde come .btn-primary (colore primario) */
.btn-verde {
	background-color: #cd071e !important;
	border-color: #cd071e !important;
}
.btn-verde:hover {
	background-color: #6a0410 !important;
	border-color: #6a0410 !important;
}


/* non celeste! */
.section-gallery a,
.owl-prev, .owl-next,
.galleriahome figure figcaption > p:first-of-type {
	color: hsl(353 93% 95% / 1) !important;
}


/* fix paginazione */
section .pagination .page-item .page-link:hover,
section .pagination .page-item .page-numbers:hover {
	background: var(--color-primary, #cd071e)!important;
}
section .pagination .page-item .page-link[aria-current],
section .pagination .page-item .page-numbers.current{
	color: var(--color-primary-dark, #6a0410);
	border-color: currentColor;
}

/* fix ricerca */
#articolo-dettaglio-testo .cerca-risultato-item p,
.cerca-risultato-item .categoria {
	color: #111;
}

/* fix logo testata */
.logotxt h1 {
	line-height: 1;
}
.logotxt h1 span.tagline {
	margin-top: .2em;
}
#mainheader .comune .logotxt {
	height: auto;
	min-height: 40px;
}
@media ( max-width: 380px ) {
	.logotxt {
		font-size: 0.8em;
	}
}


/* fix lista allegati */
.allegato > .scheda-allegato {
	height: 100%;
}
.allegati-riga {
	row-gap: 24px;
}