body {
	background-color: #e5e5e5;
}

.article-details img {
	display: inline-block;
}

#sp-main-body {
	padding-top: 0;
}

.container-inner > .row {
	margin-left: 0;
	margin-right: 0;
}

body.itemid-169 #sp-main-body,
body.itemid-170 #sp-main-body,
body.itemid-171 #sp-main-body {
	padding-top: 50px;
}

body.itemid-101 #sp-component {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
}
body.itemid-101 #sp-right {
	display: none !important;
}

#sp-slide {
	padding: 20px 0;
	text-align: center;
}
#sp-slide:empty {
	display: none;
}
#sp-slide img {
	display: inline-block !important;
	max-width: 100%;
	height: auto;
}

body:not(.itemid-101) #sp-component {
	background-color: #ffffff;
	padding: 30px 40px;
}
body:not(.itemid-101) #sp-right {
	padding: 30px 40px;
}
#sp-right .sp-module {
	border: none;
}
#sp-right .sp-module ul > li {
	display: list-item;
	border-bottom: none;
}
#sp-right .sp-module ul {
	list-style: disc;
	padding-left: 20px;
}

body:not(.itemid-101) .article-header h1,
body:not(.itemid-101) .article-header h2 {
	color: #9b3a12;
}

#sp-header {
	background-color: transparent !important;
	padding: 0px 0;
	box-shadow: none;
}
#sp-header .container-inner {
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding-left: 15px;
	padding-right: 15px;
}
#sp-header.sticky-header-active .container-inner {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#sp-menu .sp-megamenu-parent > li.sp-menu-item > a {
	padding: 10px 18px;
	border-radius: 0;
	font-family: Helvetica, Arial, sans-serif;
	color: #999999;
	font-size: 16px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
#sp-menu .sp-megamenu-parent > li.sp-menu-item:hover > a,
#sp-menu .sp-megamenu-parent > li.sp-menu-item.active > a,
#sp-menu .sp-megamenu-parent > li.sp-menu-item.current-item > a,
#sp-menu .sp-megamenu-parent > li.sp-menu-item.scroll-active > a {
	background-color: #e6632d;
	color: #ffffff !important;
}

@media (min-width: 992px) and (max-width: 1399.98px) {
	#sp-logo img.logo-image {
		height: 40px !important;
	}
	#sp-menu .sp-megamenu-parent > li.sp-menu-item > a {
		padding: 10px 8px;
		font-size: 14px;
	}
}

@media (max-width: 991.98px) {
	#sp-logo img.logo-image {
		height: 28px !important;
	}
}

.sil-slideshow {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-top: -90px;
	height: 700px;
	min-height: 340px;
	max-height: 700px;
	overflow: hidden;
}
.sil-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
	background-repeat: no-repeat;
}
.sil-slide.sil-slide-active {
	opacity: 1;
}
.sil-slide-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 90px;
	z-index: 2;
	text-align: center;
	padding: 0 20px;
}
.sil-slide-caption h3 {
	color: #ffffff;
	font-weight: 700;
	font-size: 34px;
	line-height: 1.3;
	margin: 0 0 14px;
	text-shadow: 0 0 5px rgba(17, 17, 17, 0.8);
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
.sil-province-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.sil-province-badges span {
	background-color: #ff0000;
	color: #ffffff;
	font-weight: 300;
	font-size: 18px;
	padding: 6px 16px;
}
@media (max-width: 767px) {
	.sil-slide-caption {
		bottom: 50px;
	}
	.sil-slide-caption h3 {
		font-size: 20px;
	}
	.sil-province-badges span {
		font-size: 13px;
		padding: 5px 10px;
	}
}
.sil-slideshow-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 2;
}
.sil-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	padding: 0;
	cursor: pointer;
}
.sil-dot.sil-dot-active {
	background: #fff;
}

.sil-azienda-wrapper {
	position: relative;
	z-index: 2;
	margin-top: -60px;
}
.sil-azienda-card {
	background: #fff;
	padding: 40px 30px;
	border-bottom: 1px solid #E9E9E9;
}
.sil-azienda-wrapper .center,
.sil-servizi-wrapper .center {
	text-align: center;
}
.sil-azienda-wrapper h2,
.sil-servizi-wrapper h2 {
	text-align: center;
	font-size: 48px;
	color: #999999;
}
.sil-azienda-wrapper .center p.lead,
.sil-servizi-wrapper .center p.lead {
	font-size: 18px;
	color: #999999;
}

.sil-servizi-wrapper {
	background-color: #f3f3f3;
	padding: 60px 30px 60px;
}
.sil-servizi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 30px;
}
.sil-servizio-col {
	width: auto;
	min-width: 0;
}
.sil-servizio-card {
	display: block;
	text-align: left;
	text-decoration: none;
	color: inherit;
	background-color: #ffffff;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	transition: box-shadow 0.2s ease;
}
.sil-servizio-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	text-decoration: none;
	color: inherit;
}
.sil-servizio-img {
	position: relative;
	height: 180px;
	background-size: cover;
	background-position: center;
}
.sil-servizio-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0);
	color: #ffffff;
	font-size: 28px;
	opacity: 0;
	transition: background-color 0.25s ease, opacity 0.25s ease;
}
.sil-servizio-card:hover .sil-servizio-overlay {
	background-color: rgba(0, 0, 0, 0.6);
	opacity: 1;
}
.sil-servizio-card h4 {
	margin: 0;
	padding: 16px 18px;
	font-size: 16px;
	text-align: left;
	color: #333333;
	font-weight: 600;
}

.sil-mappa-wrapper {
	padding: 0px 0 0px;
}
.sil-mappa iframe {
	display: block;
	border-radius: 6px;
}

@media (max-width: 991px) {
	.sil-servizi-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.sil-servizi-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 767px) {
	.sil-azienda-card {
		padding: 30px 20px;
	}
}

#sp-footer {
	background-color: #e5e5e5 !important;
	padding: 18px 0;
}
#sp-footer,
#sp-footer p {
	color: #555555;
	font-size: 13px;
	margin: 0;
}
#sp-footer a {
	color: #555555;
}
#sp-footer #footer3-content,
#sp-footer #sp-footer3 {
	text-align: right;
}
#sp-footer #sp-footer3 .cc-custom-revoke {
	display: inline-block;
	margin-left: 16px;
	cursor: pointer;
	text-decoration: underline;
}

#sp-bottom1 .rsform-input-box,
#sp-bottom1 .rsform-text-box {
	width: 100%;
	max-width: 390px;
}
