/**
 * Design Comuni Inveruno - Palette ocra del sito
 *
 * Riporta nel tema il "CSS aggiuntivo" che sul live era salvato nel
 * Customizer del tema child (custom_css "Design Comuni Italia-child"):
 * il CSS aggiuntivo di WordPress e' legato al tema attivo, quindi con il
 * tema unico non veniva piu' caricato e tornava il verde standard.
 * Esclusi solo i selettori Elementor (plugin rimosso, ADR-007).
 * Caricato dopo bootstrap-italia-comuni.min.css, style.css e inveruno-custom.css.
 */

/** NASCONDI BOX CONTATTI SUPPORTO */
.controllo-contatti {
	display: none;
}

/** NASCONDI NOTA DI TEMPLATE INCOMPLETO */
.callout.note {
	display: none !important;
}

/** NASCONDI selettore lingue */
.it-header-wrapper .nav-item.dropdown button {
	display: none;
}

.it-footer-main {
	background-color: #202021;
}

h2.title-medium-2-semi-bold {
	font-size: 1.5rem !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
}

.btn-outline-primary {
	color: #ef9200;
	box-shadow: inset 0 0 0 2px #e3931e !important;
}

.icon-primary {
	fill: #000 !important;
}

.btn-outline-primary.focus,
.btn-outline-primary:focus {
	box-shadow: inset 0 0 0 1px #ef9200, 0 0 0 .25rem rgb(255 193 7 / 62%);
}

.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 rgb(255 193 7 / 61%);
}

a {
	color: #e3931e;
	text-decoration: underline;
}

a:hover {
	color: #30475f;
}

.nav-item a:hover {
	color: #eee !important;
	text-decoration: underline !important;
}

.bg-primary {
	--bs-bg-opacity: 1;
	background-color: #ef9200 !important;
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a {
	color: #ef9200;
}

a.read-more {
	color: #e3931e;
}

a.read-more .icon {
	fill: #e3931e;
}

.it-calendar-wrapper .it-header-block-title {
	background-color: #e3931e;
}

.t-primary {
	color: #ef9200;
}

.it-header-wrapper .search-link svg {
	fill: #ca8e00;
}

/** colore background menu */
.it-header-navbar-wrapper {
	background: #50575e;
}

.navbar {
	background: #ef920000;
	padding: 0;
}

/** colori di base */
.it-hero-wrapper {
	background-color: #ef9200;
}

.it-header-center-wrapper {
	background: #ef9200;
}

.it-header-slim-wrapper {
	background: #d18000;
}

.it-header-slim-wrapper .it-header-slim-wrapper-content .btn-primary {
	background-color: #d18000 !important;
}

/** Pulsanti primari */
.btn-primary {
	color: #fff;
	background-color: #ef9200;
	border-color: #ef9200;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

.btn-primary.focus,
.btn-primary:focus {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 .25rem rgba(0, 122, 82, .5);
}

.btn-primary:hover {
	background-color: #30475f !important;
	color: #fff;
	border-color: #ef9200b8 !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
	color: #fff;
	background-color: #ef9200 !important;
	border-color: #ef9200 !important;
	pointer-events: none;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
	color: #fff;
	background-color: #30475f !important;
	border-color: #ef9200cf !important;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 .25rem #efa80094;
}

/** Pulsanti secondari */
.btn-secondary {
	color: #fff;
	background-color: #5d7083 !important;
	border-color: #5d7083 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

.btn-secondary.focus,
.btn-secondary:focus {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 .25rem rgba(93, 112, 131, .5);
}

.btn-secondary:hover {
	background-color: #4b5b6a !important;
	color: #fff;
	border-color: #465462 !important;
}

.btn-secondary.disabled,
.btn-secondary:disabled {
	color: #fff;
	background-color: #5d7083 !important;
	border-color: #5d7083 !important;
	pointer-events: none;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
	color: #fff;
	background-color: #465462;
	border-color: #404d5a;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
	box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125), 0 0 0 .25rem rgba(93, 112, 131, .5);
}

/** Pulsanti success */
.btn-success {
	color: #fff;
	background-color: #30475f !important;
	border-color: #efa800e3 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

.btn-success.focus,
.btn-success:focus {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075), 0 0 0 .25rem #efa80096;
}

.btn-success:hover {
	background-color: #30475f !important;
	color: #fff;
	border-color: #ef9200d6 !important;
}

.btn-success.disabled,
.btn-success:disabled {
	color: #fff;
	background-color: #30475f !important;
	border-color: #ef9200d4 !important;
	pointer-events: none;
}

.btn-success:not(:disabled):not(.disabled).active,
.btn-success:not(:disabled):not(.disabled):active,
.show > .btn-success.dropdown-toggle {
	color: #fff;
	background-color: #30475f !important;
	border-color: #efa800 !important;
}

/** Chip */
.chip:not(.chip-disabled) {
	border-color: #ef9200;
	background: #fff;
}

.chip .chip-label {
	color: #ef9200;
}

.chip:is(a):hover:not(.chip-disabled) {
	background-color: #5d7083;
}

.chip:is(a):hover:not(.chip-disabled) .chip-label {
	color: #fff;
}

.chip:is(div):hover:not(.chip-disabled) {
	background-color: transparent;
	border-color: #5d7083;
}

.chip:is(div):hover:not(.chip-disabled) .chip-label {
	color: #5d7083;
}

.chip.chip-success > .chip-label {
	color: #50575e;
}

/** Tipografia */
p,
strong,
h3,
li {
	font-family: Titillium Web;
}

.it-page-section .card.card-teaser-info {
	border-left: 8px solid #FFC107;
}

.article-wrapper ul {
	list-style-type: disc;
}

/** elenchi puntati */
li::marker {
	font-size: 12px;
	color: #ef9200;
}

#cont ul {
	margin-left: 2rem;
}

#cont li::marker {
	content: '• ';
	font-size: 1.2em;
}

/** Blocco file Gutenberg */
.wp-block-file:before {
	content: "\f103";
	font-family: dashicons;
	display: inline-block;
	line-height: 1;
	width: 30px;
	font-size: 18px;
	color: #000;
}

.wp-block-file__button {
	background: #32373c;
	color: #fff;
	text-transform: uppercase;
	padding: 3px 15px;
}

.wp-block-file__button:hover {
	background: #50575e;
	color: #fff;
	text-transform: uppercase;
	padding: 3px 15px;
}

.col-lg-10 {
	width: 100%;
}

.card .categoryicon-top .icon {
	fill: #3c434a;
}

.splide__list {
	justify-content: center;
}

/** stile indice di pagina tema base */
.cmp-navscroll .navbar.it-navscroll-wrapper .link-list-wrapper .accordion .accordion-header .accordion-button {
	color: #e4a821;
}

.navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active span {
	color: #e4a821;
}

.navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active {
	border-left: 2px solid #e4a821;
}

.link-list-wrapper ul li a span {
	color: #ef9200 !important;
}

.link-list-wrapper ul li a span:hover {
	color: #51575e !important;
}

/** padding menu social */
.link-list-wrapper ul li a {
	padding: .25rem 10px;
}

/** background sezioni in evidenza */
.has-bg-grey {
	background-color: #e3931e1f;
}

/** colore cta condivisione tema base */
.btn-dropdown {
	color: #ef9200;
}

/** valutazione */
.cmp-rating .rating > label svg:hover {
	fill: #ef9200;
}

.rating:not(:checked) > label:hover svg,
.rating:not(:checked) > label:hover ~ label svg,
.rating > input:checked + label:hover + svg,
.rating > input:checked ~ label svg,
.rating > input:checked ~ label:hover + svg,
.rating > input:checked ~ label:hover ~ label + svg,
.rating > label:hover ~ input:checked ~ label + svg {
	fill: #ef9200;
}

/*
 * Nel CSS originale la media query qui sotto non era chiusa, quindi tutte le
 * regole seguenti valevano solo da 768px in su: il comportamento e' mantenuto.
 */
@media (min-width: 768px) {
	/** link a capo negli allegati troppo lunghi */
	.card-wrapper.card-teaser-wrapper .card-teaser {
		flex: 0 0 70%;
	}

	a {
		word-break: break-word;
	}

	/** box siti tematici in home */
	.card-bg-blue {
		background-color: #d8942c;
	}

	.card-bg-blue:hover {
		background-color: #51575e;
	}

	/** prima news in evidenza home */
	.evidenza {
		margin-left: -15px;
	}

	.prima-news {
		margin-bottom: 30px !important;
	}

	/** amministrazione trasparente */
	.at-tableclass ul li a {
		color: #000;
	}

	.at-number {
		float: right;
		height: 2px !important;
		text-align: center;
		font-size: 0.7em !important;
	}

	/** immagine notizia */
	.figure.img-full img {
		width: 75%;
		height: 500px;
		max-height: 600px;
		-o-object-fit: contain;
		object-fit: contain;
	}

	/** card eventi quando e' una sola */
	.card.card-teaser {
		min-width: 300px;
	}
}

/* Accenti del tema Inveruno (inveruno-custom.css) allineati all'ocra */
.cmp-info-summary {
	border-left-color: #ef9200;
}

.cmp-navscroll .link-list .nav-link.active,
.cmp-navscroll .link-list .nav-link:hover {
	color: #e4a821;
}

.badge-dataset-theme {
	background-color: #50575e;
}
