#pre-header, .footer-wrapper {
	background-color: #0059B3;
}
.footer-wrapper {
	font-weight: 500;
}
.footer-wrapper a.text-underline-hover {
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 255, 255, 0.5);
}

.section-hero-left {
	background-color: #0059B3 !important;
	background: unset;
}

:focus:not(.focus--mouse):not([data-focus-mouse=true]) {
    border-color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    outline-offset: 0 !important;
}

/* LABEL */

span.label {
	border-radius: 3px;
	padding: 0 5px;
	font-size: 0.9rem;
}

/* CALENDARIO */

#sdcalendar_category .calendar_table th {
	background-color: #158A35;
}
#sdcalendar_category .calendar_table #today {
	background: #158A35;
}
#sdcalendar_category .time_hours {
	background: #158A35;
}
#sdcalendar_category .event_title {
	color: #158A35;
}
.calendar_navigation .calendar_navigation_title {
	font-size: 2.222rem;
	line-height: 1.2;
}
.calendar_navigation .calendar_navigation_current_disabled, .calendar_navigation .calendar_navigation_current {
	font-size: 1rem;
	font-weight: 600;
}
.calendar_navigation td {
	font-size: 2rem;
	font-weight: 600;
}
#sdcalendar_category .calendar_table strong {
	font-size: 1rem;
}

/* DOWNLOAD */

.sddownload_rows {
	padding: 0;
}
.sddownload_row .buttons .btn {
	padding: 10px 20px;
}
.sddownload_row .text {
	padding-top: 4px;
	padding-bottom: 4px;
}
.sddownload_row .text h3 {
	margin: 3px 0;
}
.sddownload_row .text .description, .sddownload_row .text .file_name {
	margin: 3px 0;
}

.label-warning {
	color: white;
	background-color: #a66300;
	border-color: #a66300;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.label-info {
	color: white;
	background-color: #17a2b8;
	border-color: #17a2b8;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.label-inverse {
	color: white;
	background-color: #343a40;
	border-color: #343a40;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

#sddownload_category .last_update {
	width: 100%;
	margin-top: -1rem;
}

/* ACCEDI CON GOOGLE */

.btn-google {
	color: #FFF !important;
	background-color: #D94831 !important;
	border-color: #D94831 !important;
}

/* ARTICOLI */

.com-content-article .icons {
	display: none;
	visibility: hidden;
}

/* MESSAGGIO HOME */

.home-message .msg {
	font-size: 1.2rem !important;
	font-weight: 600 !important;
}

/* RICERCA */

div#search-form.com-finder__form {
	display: none;
	visibility: hidden;
}

/* SOCIAL */

@media (min-width: 991.98px) {
	.footer-inline-menu {
		margin-bottom: 0;
	}
}

/* NEWS IN MOBILE */

@media (max-width: 991.98px) and (orientation: portrait) {
	.card.card-article .card-body {
		flex-direction: column !important;
	}
	.card.card-article .card-article-img {
		display: block !important;
		width: 100%;
		background-size: cover;
	}
}

/* LABEL NEWS */

.badge {
	border-radius: 3px;
}

/* DATA NEWS */

.it-carousel-wrapper .date {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 84px;
	height: 110px;
	background-color: #0e865c;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.it-carousel-wrapper .date span.year {
	font-weight: 700;
	font-size: .88rem;
	letter-spacing: 2.3px;
}
.it-carousel-wrapper .date span {
	line-height: 1;
	display: block;
}
.it-carousel-wrapper .date span.day {
	font-family: "Roboto Mono", monospace;
	font-size: 2.5rem;
	font-weight: 400;
}
.it-carousel-wrapper .date span.month {
	font-size: 1.31rem;
	font-weight: 700;
}

/* RICERCA */

mark {
	background: none;
	padding: 0;
	color: inherit;
}

/* LINKS */

.com-content-article a:not([class]), .article-wrapper .wysiwig-text a:not([class]), #sddownload_category .page-intro a:not([class]), #sdgallery_category .page-intro a:not([class]),
.com-content-article a:not([class]):link, .article-wrapper .wysiwig-text a:not([class]):link, #sddownload_category .page-intro a:not([class]):link, #sdgallery_category .page-intro a:not([class]):link,
.com-content-article a:not([class]):visited, .article-wrapper .wysiwig-text a:not([class]):visited, #sddownload_category .page-intro a:not([class]):visited, #sdgallery_category .page-intro a:not([class]):visited,
.com-content-article a:not([class]):focus, .article-wrapper .wysiwig-text a:not([class]):focus, #sddownload_category .page-intro a:not([class]):focus, #sdgallery_category .page-intro a:not([class]):focus,
.com-content-article a:not([class]):active, .article-wrapper .wysiwig-text a:not([class]):active, #sddownload_category .page-intro a:not([class]):active, #sdgallery_category .page-intro a:not([class]):active,
.com-content-article a[class="focus--mouse"], .article-wrapper .wysiwig-text a[class="focus--mouse"], #sddownload_category .page-intro a[class="focus--mouse"], #sdgallery_category .page-intro a[class="focus--mouse"],
.com-content-article a[class=""], .article-wrapper .wysiwig-text a[class=""], #sddownload_category .page-intro a[class=""], #sdgallery_category .page-intro a[class=""] {
	text-decoration: underline !important;
	color: #0059B3 !important;
	font-weight: 600 !important;
}

.com-content-article a:not([class]):hover, .article-wrapper .wysiwig-text a:not([class]):hover, #sddownload_category .page-intro a:not([class]):hover, #sdgallery_category .page-intro a:not([class]):hover,
.com-content-article a[class="focus--mouse"]:hover, .article-wrapper .wysiwig-text a[class="focus--mouse"]:hover, #sddownload_category .page-intro a[class="focus--mouse"]:hover, #sdgallery_category .page-intro a[class="focus--mouse"]:hover,
.com-content-article a[class=""]:hover, .article-wrapper .wysiwig-text a[class=""]:hover, #sddownload_category .page-intro a[class=""]:hover, #sdgallery_category .page-intro a[class=""]:hover {
	text-decoration: none !important;
	color: #0059B3 !important;
	font-weight: 600 !important;
}

/* IMMAGINI */

.com-content-article img, .article-wrapper .wysiwig-text img, #sddownload_category .page-intro img, #sdgallery_category img {
	max-width: 100% !important;
	height: auto !important;
}

/* CUSTOM ALERT */

.home-message.petrol,
.home-message.petrol .msg svg {
  background-color: #466579;
  color: #FFF !important;
  fill: #FFF !important;
}
.home-message.navy,
.home-message.navy .msg svg {
  background-color: #0059B3;
  color: #FFF !important;
  fill: #FFF !important;
}

/* CORREZIONE ICONA E TITOLO HEADER MOBILE */

@media (max-width: 767px) {
	#pre-header .container .col-8 {
		padding-top: 5px;
	}
	.header-utils .icon-wrapper {
	    padding-top: 0 !important;
	}
}

/* ALERT */

.home-message .row {
	min-height: 40px;
}

.alert {
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* ASTERISCO FORM */

.icon-asterisk::before
{
	content: "*";
	display: inline-block;
	font-style: normal;
	font-weight: bold;
	font-size: 1.2rem;
	color: inherit;
}

/* PUNTI ELENCO QUICKS */

.withbullets {
	list-style: none;
	padding: 0;
	margin: 0;
}
.withbullets li {
	display: flex;
	align-items: flex-start;
	gap: 0.4em;
}
.withbullets li::before {
	content: "•";
	flex: 0 0 1em;
	line-height: 1;
	transform: translate(20px, 9px);
}
.withbullets a {
	display: inline;
}