#block-mapo-popup {
  display: none;
}
#spb-block-mapo-popup .spb-popup-main-wrapper {
  top: 10vh;
  position: fixed;
  margin: auto;
  width: 90vw !important;
  padding: 0 24px;
  overflow: auto;
  bottom: 10vh;
  left: 5vw;
}


.menu-bar .nav-link::after {
  border-image: linear-gradient(to right, rgba(0, 0, 0, 0), black) 1 !important;
}


#block-mapo-content {
	overflow: hidden;
}


.block-views-blockslide-home-block-1 {
	overflow: hidden;
}
#swiper-slide-home-block-1 {
	margin: 0 3rem;
	/*padding-right: 30%;*/
	/*width: 150%;*/
	position: relative;
}
#swiper-slide-home-block-1 .swiper-wrapper {
	/*padding-right: 46%;*/
}
#swiper-slide-home-block-1 .swiper-slide {
  margin-right: 16px;
}

@media (max-width: 767.98px) {
	#swiper-slide-home-block-1 {
		margin-left: 1rem;
		/*width: 190%;
		padding-right: 3rem;*/
	}
	/*#swiper-slide-home-block-1 .swiper-wrapper {
		width: 110%;
	}*/
	#swiper-slide-home-block-1 .swiper-slide article {
	  padding-top: 100px;
	}
}
/*#swiper-slide-home-block-1 .swiper-pagination {
	display: none;
}*/

#swiper-slide-home-block-1 .swiper-pagination {
	bottom: 40px;
}
#swiper-slide-home-block-1 .swiper-pagination-bullet-active {
	background-color: white;
}

#swiper-slide-home-block-1 .block-field-blocknodeslidefield-image {
	position: absolute !important;
	left: 0;
	top: 0;
	z-index:1;
	height: 100%;
	width: 100%;
	overflow: hidden;
}
#swiper-slide-home-block-1 .field--name-field-image {
	display: block;
	height: 100%;
}
#swiper-slide-home-block-1 .field--name-field-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 30px;
}
#swiper-slide-home-block-1 article {
	padding: 80px;
	padding-right: 33%;
	padding-top: 120px;
	min-height: 550px;
}
@media (max-width: 767.98px) {
	#swiper-slide-home-block-1 article {
		padding: 24px;
		padding-bottom: 40px;
		min-height: 460px;
	}
}
@media (max-width: 921.98px) {
	#swiper-slide-home-block-1 .block-field-blocknodeslidebody {
		min-height: 240px;
	}
}
#swiper-slide-home-block-1 h2 {
	margin-bottom: 32px;
}
#swiper-slide-home-block-1 .block-field-blocknodeslidebody p {
		text-shadow: 0 0 8px black;
	}
#swiper-slide-home-block-1 .layout__region--content > div {
	z-index: 2;
	position: relative;
}

#swiper-slide-home-block-1 .text-white strong { color: var(--secondary-light); }

#swiper-slide-home-block-1 .swiper-button-next:after,
#swiper-slide-home-block-1 .swiper-button-prev:after {
  display: none;
}
#swiper-slide-home-block-1 .swiper-button-next,
#swiper-slide-home-block-1 .swiper-button-prev {
  width: 54px;
  height: 32px;
  top: 64px;
  margin-left: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  display: block !important;
}


.swiper-button-prev-pagamento,
.swiper-button-next-pagamento {
	width: 52px;
	height: 32px;
	background-image: url('/sites/default/files/theme/prev-slide.svg');
	background-size: contain;
	background-repeat: no-repeat;
}
.swiper-button-next-pagamento {
  background-image: url('/sites/default/files/theme/next-slide.svg');
}
.swiper-button-prev-pagamento:hover {
	background-image: url('/sites/default/files/theme/prev-slide-h.svg');
}
.swiper-button-next-pagamento:hover {
  background-image: url('/sites/default/files/theme/next-slide-h.svg');
}
@media (max-width: 767.98px) {
	.swiper-button-prev-pagamento,
.swiper-button-next-pagamento {
	margin-bottom: 1rem;	
}
}

#swiper-slide-home-block-1 .swiper-button-prev {
  right: calc(4% + 64px); /*calc(3rem + 64px);*/
  left: auto;
  background-image: url('/sites/default/files/theme/prev-slide.svg');
}
#swiper-slide-home-block-1 .swiper-button-next {
  left: auto;
  right: 4%; /*3rem;*/
  background-image: url('/sites/default/files/theme/next-slide.svg');
}
/*
@media (max-width: 767.98px) {
	#swiper-slide-home-block-1 .swiper-button-prev {
  	right: 40%;
	}
	#swiper-slide-home-block-1 .swiper-button-next {
	  left: auto;
	  right: 22%;
	}
}
*/

#swiper-slide-home-block-1 .swiper-button-prev:hover {
  background-image: url('/sites/default/files/theme/prev-slide-h.svg');
}
#swiper-slide-home-block-1 .swiper-button-next:hover {
  background-image: url('/sites/default/files/theme/next-slide-h.svg');
}

.field--name-body .col {
	width: 33.333%;
}

.block-views-blockservizi-agli-utenti-block-2 {
	margin-left: 3rem;
	overflow: hidden;
  width: calc(100% - 3rem);
  padding-right: 3rem;
  margin-top: 20px;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
	.block-views-blockservizi-agli-utenti-block-2 {
	  padding-right: 2rem;
		margin-left: 1rem;
		width: calc(100% - 1rem);
	}
	
	.block-views-blockservizi-agli-utenti-block-2.swiper-slide {
		width: 100% !important;	
	}
}
.block-views-blockservizi-agli-utenti-block-2 .swiper-wrapper {
	/*overflow: visible;*/
	padding-right: 8rem;
}
@media (max-width: 767.98px) {
	.block-field-blocknodepagebody + .block-views-blockservizi-agli-utenti-block-2 .swiper-wrapper {
	  padding-right: 2rem;
	}
}

#block-chi-siamo {
  background-image: url('/sites/default/files/theme/bg-chi-siamo.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}
#block-ambiente {
  background-image: url('/sites/default/files/theme/bg-ambiente.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}

#pagamento ul {
	padding-left: 0;	
}
#pagamento li {
	border-bottom: 2px solid;
	border-image: linear-gradient(to right, rgba(0, 0, 0, 0), #afceb5) 1;
	list-style: none;
	padding: 0;
}
#pagamento li a:after {
	top: 0;
}
#pagamento li a {
	transition: 0.5s all;
	padding: 16px 0 !important;
	text-transform: uppercase;
}	
#pagamento li a:hover {
	/*color: var(--bs-heading-color);
	background-color: #F0F0F0;*/
  padding-left: 8px !important;
  padding-right: 8px !important;
}
#pagamento li a:hover:after {
	right: 8px;
}

#home-ordinanze .bg-white {
	background-color: transparent !important;	
}
#home-ordinanze .rounded-30 {
  border-radius: 0;
  border-width: 0 !important;
}
#home-ordinanze .views-row:first-child {
  border-bottom: 2px solid var(--bs-heading-color) !important;
  border-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--secondary)) 1 !important;
}
#home-ordinanze .py-5 {
  padding: 1rem 0 !important;
  padding-bottom: 1rem !important;
  margin-bottom: 0rem !important;
}
#home-ordinanze .views-row {
	position: relative;
}
#home-ordinanze .float-end {
	float: none !important;
}
#home-ordinanze h3 {
  font-size: 1rem;
  /*margin: 0;
  padding: 0 !important;*/
  padding-top: 8px !important;
  font-family: 'nunito-sans';
  color: var(--bs-heading-color) !important;
  transition: 0.5s all;
  padding-right: 20px;
  }

#home-ordinanze .block-field-blocknodeordinanzefield-file {
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
}
#home-ordinanze .block-field-blocknodeordinanzefield-file a {
  color: transparent;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/*#home-ordinanze .block-field-blocknodeordinanzefield-file a:hover {
	background-color: var(--green-ultra-light);
  opacity: 0.3;
}*/
/*
#home-ordinanze .views-row:hover h3 {
	padding-left: 8px !important;
	padding-right: 8px !important;
}
*/
#home-ordinanze .block-field-blocknodeordinanzetitle h3:before {
	content: '';
	float: right;
	height: 20px;
	width: 20px;
	display: inline-block;
	background-image: url('/sites/default/files/theme/download-green-light.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: -20px;
}


.block-views-blockinformazioni-agli-utenti-block-1 {
	margin: 2rem;
	margin-bottom: 5rem;
	display: flex;
	align-items: center;
	position: relative;
}
.block-views-blockinformazioni-agli-utenti-block-1 > h2 {
  width: 25%;
  padding-right: 120px;
  font-size: 2.5rem;
}
@media (max-width: 767.98px) {
	.block-views-blockinformazioni-agli-utenti-block-1 {
	  flex-wrap: wrap;
	  margin: 3rem 1rem;
	}
	.block-views-blockinformazioni-agli-utenti-block-1 > h2 {
	  width: 100%;
	  padding-right: 0;
	}	
}
.block-views-blockinformazioni-agli-utenti-block-1 > div:not(.contextual),
.block-views-blockinformazioni-agli-utenti-block-1 > div[data-block="footer"] {
	width: 75%;
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-slide article {
	border-radius: 30px;
	position: relative;	
	min-height: 400px;
	overflow: hidden;
}
/*
.block-views-blockinformazioni-agli-utenti-block-1 .layout__region--content > div {
	z-index: 2;
	position: relative;
}
*/
.block-views-blockinformazioni-agli-utenti-block-1 .layout__region--content > div {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.block-views-blockinformazioni-agli-utenti-block-1 .block-field-blocknodeinformazionifield-image:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(0,95,58,0) 0%, rgba(0,0,0,0.6) 100%);
  background-blend-mode: normal;
}
.block-views-blockinformazioni-agli-utenti-block-1 .block-field-blocknodeinformazionifield-image img {
	width: 100%;
	height: 100%;
	object-fit: container;
}
.block-views-blockinformazioni-agli-utenti-block-1 .block-field-blocknodeinformazionibody {
    padding: 2.5rem;
    padding-bottom: 80px;
    display: flex;
    align-items: end;
}
.block-views-blockinformazioni-agli-utenti-block-1 .block-field-blocknodeinformazionifield-url {
    padding: 2.5rem;
    display: flex;
    align-items: end;
    text-transform: uppercase;
}
.block-views-blockinformazioni-agli-utenti-block-1 .block-field-blocknodeinformazionifield-url a:after {
	content: '';
  width: 20px;
  height: 16px;
  background-image: url('/sites/default/files/theme/terna-link-arrow.svg');
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  margin-left: 16px;
  top: 2px;
  position: relative;
}
.block-views-blockinformazioni-agli-utenti-block-1 .block-field-blocknodeinformazionifield-url a:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.block-views-blockinformazioni-agli-utenti-block-1 .contextual-region,
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-container {
	overflow: visible;
	position: static;
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-next:after,
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-prev:after {
	display: none;
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-next,
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-prev {
  width: 52px;
  height: 32px;
  top: 50%;
  margin-top: 40px;
  left: 0;
  right: auto;
  background-size: contain;
  background-repeat: no-repeat;
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-prev {
  background-image: url('/sites/default/files/theme/prev-home.png');
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-next {
	left: 100px;
  background-image: url('/sites/default/files/theme/next-home.png');
}
@media (max-width: 767.98px) {
	.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-next, 
	.block-views-blockinformazioni-agli-utenti-block-1 .swiper-button-prev {
	    width: 40px;
	    top: 0px;
	}
	.block-views-blockinformazioni-agli-utenti-block-1 > div:not(.contextual), 
	.block-views-blockinformazioni-agli-utenti-block-1 > div[data-block="footer"] {
	  width: 100%;
	}
}


.block-views-blockarea-media-home-block-1 {
	padding: 4rem 2rem 2rem;
	background-color: #f0f0f0;
	border-radius: 30px 30px 0 0;
}
.block-views-blockinformazioni-agli-utenti-block-1 h2,
.block-views-blockarea-media-home-block-1 h2 {
	margin-bottom: 40px;
	font-size: 2.5rem;
}
.block-views-blockarea-media-home-block-1 h2 {
	text-align: center;
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-container,
.block-views-blockarea-media-home-block-1 .swiper-container {
	margin: 0 -12px;
}
.block-views-blockinformazioni-agli-utenti-block-1 .swiper-slide article /*,
.block-views-blockarea-media-home-block-1 .swiper-slide article*/ {
	margin: 12px;
}

.view-area-media-home {
	position: relative;
}

@media (min-width: 768px) {
#swiper-area-media-home-block-1 h4 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
}

#swiper-area-media-home-block-1 .swiper-slide {
  padding: 8px;
}
@media (max-width: 991.98px) {
#swiper-area-media-home-block-1 .swiper-slide {
  width: 50% !important;
}
}
@media (max-width: 767.98px) {
#swiper-area-media-home-block-1 .swiper-slide {
  width: 100% !important;
}
}

#swiper-area-media-home-block-1.swiper-container {
	overflow: visible;
}
#swiper-area-media-home-block-1.swiper-horizontal.swiper-css-mode>.swiper-wrapper {
    overflow: hidden;
    max-height: 400px;
}

#swiper-area-media-home-block-1 .swiper-button-next:after,
#swiper-area-media-home-block-1 .swiper-button-prev:after {
	display: none;
}
#swiper-area-media-home-block-1 .swiper-button-next,
#swiper-area-media-home-block-1 .swiper-button-prev {
	display: block !important;
  width: 52px;
  height: 32px;
  top: auto;
  bottom: calc(100% + 40px);
  left: auto;
  right: 16px;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (max-width: 921.98px) {
	#swiper-area-media-home-block-1 .swiper-button-next,
	#swiper-area-media-home-block-1 .swiper-button-prev {
		display: none !important;
	}
}
@media (max-width: 767.98px) {
	#swiper-area-media-home-block-1 .swiper-button-next,
	#swiper-area-media-home-block-1 .swiper-button-prev {
		top: -8px;	
	}
}

#swiper-area-media-home-block-1 .swiper-button-prev {
  right: 72px;
  background-image: url('/sites/default/files/theme/bordered-prev.svg');
}
#swiper-area-media-home-block-1 .swiper-button-next {
  background-image: url('/sites/default/files/theme/bordered-next.svg');
}
#swiper-area-media-home-block-1 .swiper-button-prev:hover {
  background-image: url('/sites/default/files/theme/pulsante-icona-prev.svg');
}
#swiper-area-media-home-block-1 .swiper-button-next:hover {
  background-image: url('/sites/default/files/theme/pulsante-icona-next.svg');
}

.block-views-blockinformazioni-agli-utenti-block-1 {
	display: none;
}

