.rank-math-breadcrumb,
.rank-math-breadcrumb a {
	color: var(--w) !important;
}

.elementor-widget-heading.link-white a {
	color: var(--w) !important;
}

.rank-math-breadcrumb .separator {
	background: url(https://www.arezzocittadelnatale.it/wp-content/uploads/2024/10/arrow-right-white.svg);
}

/* Controlli Google maps */
.gm-style-iw-a,
.gmnoprint[role="menubar"],
.gmnoprint.gm-bundled-control .gm-svpc{
	display: none !important;
}

#facetwp-map div > div > div {
	border: none !important;
}

/* Modal */
.modal-content {
	position: absolute;
	right: 0;
	top: 0px;
	padding: 16px 24px 0 24px;
	transform: translateX(0%);
	opacity: 0;
	transition: 0.4s;
	z-index: -1;
	width: 480px;
}

.modal-content.active {
	opacity: 1;
	transform: translateX(100%);
	z-index: 1;
}

.modal-content > .content {
	padding: 32px;
	background-color: #fff;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16);
}

/* Modal head */
.modal-content .content .head {
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.modal-content .content .head .back {
	width: 13px;
	height: 21px;
	background-image: url(https://www.arezzocittadelnatale.it/wp-content/themes/acn/icons/back-red.svg);
	background-size: 13px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}

.modal-content .content .head .share {
	width: 16px;
	height: 16px;
	background-image: url(https://www.arezzocittadelnatale.it/wp-content/themes/acn/icons/share-red.svg);
	background-size: 16px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}

/* Modal content */
.modal-content .content {
	height: 438px;
	max-height: 438px;
	overflow-y: scroll; 
}

.modal-content .content .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}

.modal-content .content .wrap .title {	
	font-family: var(--ff1);
	font-size: 24px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.25;
	text-align: left;
	color: var(--c4);
	width: 100%;
	margin-bottom: 16px;
}

.modal-content .content .wrap .city {
	font-family: var(--ff2);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	color: var(--c4);
	width: 100%;
	margin-bottom: 32px;
	text-transform: uppercase;
}

.modal-content .content .wrap a {
	font-family: var(--ff2);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 2.4px;
	color: var(--c2);
	width: 100%;
	margin-bottom: 32px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
}

.modal-content .content .wrap a img {
	margin-left: 8px;
}

.modal-content .content .wrap .content {
	font-family: var(--ff2);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	color: var(--b);
	width: 100%;
}

.modal-content .modal-thumb {
	background-color: var(--w);
}

.modal-content .location-thumb {
	border-radius: 24px 24px 0 0;
	box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.32);
	display: flex;
	min-height: 280px;
	max-height: 280px;
	object-fit: cover;
}

.share-buttons {
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 20px;
	opacity: 0;
	visibility: hidden;
	transition: 0.5s;
}

.share.active ~ .share-buttons {
	opacity: 1;
	visibility: visible
}

.share-buttons a {
	width: 40px;
	height: 40px;
	background-color: var(--c1);
	border-radius: 50px;
	margin-bottom: 10px;
	color: #fff !important;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
	transition: .8s;
}

.share-buttons a:hover {
	background-color: var(--c2);
	color: #fff;
	font-size: 20px;
}

.share-buttons a:nth-child(2) {
	transform: translateY(-100%);
}

.share-buttons a:nth-child(3) {
	transform: translateY(-200%);
}

.share-buttons a:nth-child(4) {
	transform: translateY(-300%);
}

.share-buttons a:nth-child(5) {
	transform: translateY(-400%);
}

.share.active ~ .share-buttons a {
	transform: translate(0);
}

/* Scrollbar */
.section-location .block-list .elementor-widget-wrap .main-container::-webkit-scrollbar {
	width: 12px;
}

.section-location .block-list .elementor-widget-wrap .main-container::-webkit-scrollbar-track {
	background-color: var(--background);
	border-radius: 6px;
}

.section-location .block-list .elementor-widget-wrap .main-container::-webkit-scrollbar-thumb {
	background-color: #b1a39a;
	border-radius: 6px;
	border-style: solid;
	border-width: 3px 2px;
	border-color: var(--background);
}

/* Facet filtering */
.facetwp-map-filtering {
	display: none;
}

/**/
.section-location,
.section-location .elementor-container {
	max-height: 734px;
}

.facetwp-template {
	padding-right: 16px;
	background-color: var(--background);
}

.section-location .block-list .elementor-widget-wrap .main-container {
	max-height: 734px;
	overflow-y: scroll;
	padding: 16px 32px;
	background-image: url(https://www.arezzocittadelnatale.it/wp-content/themes/acn/icons/natale-pattern-background.svg);
}

.slide-event {
	max-width: 320px;
	width: 100%;
	height: 100%;
	border-radius: 24px;
	box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.32);
	cursor: pointer;
	margin: 0 0 8px auto !important;
	background-color: var(--w);
}

.slide-event.active {
	background-color: var(--background);
}

.slide-event .event-thumb {
	border-radius: 24px 24px 0 0;
	max-height: 140px;
	min-height: 140px;
	width: 100%;
	display: flex;
	object-fit: cover;
}

.slide-event .event-thumb img {
	max-height: 140px;
	min-height: 140px;
	width: 100%;
	object-fit: cover;
}

.slide-event .title-container {
	padding: 16px;
	min-height: 80px;
}

.slide-event .title-container h3.event-title {
	font-family: var(--ff1);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.1;
	font-style: italic;
	color: var(--c4);
	margin: 0;
}

@media(max-width:1480px) {
	.section-location .block-list .elementor-widget-wrap .main-container {
		padding: 16px;
	}
}

@media(max-width:1024px) {	
	/**/
	.section-location .block-list {
		width: 30%;
		max-height: 734px;
	}
	
	.section-location .block-map {
		width: 70%;
	}
}

@media(max-width:767px) {
	.modal-content.active {
		overflow-y: scroll;	
	}
	
	.modal-content .content {
		min-height: unset;
		max-height: unset;
	}
	
	body.modalopen {
		overflow: hidden;
	}

	.section-location .block-list {
		width: 100%;
	}
	
	.section-location .block-map {
		width: 100%;
	}
	
	.section-location .block-list .elementor-widget-wrap .main-container {
		max-height: 100%;
		overflow-y: auto;
		overflow-x: scroll;
		display: flex;
		padding-top: 32px;
	}
	
	.section-location, .section-location .elementor-container {
		height: auto;
		max-height: 100%;
	}
	
	.section-location .block-list .elementor-widget-wrap .main-container .slide-event {
		flex: 0 0 calc(100% - 90px);
		margin-right: 8px !important;
	}
	
	.sticky + .elementor .modal-content {
		height: calc(100vh - 39px);
		top: 39px;
	}
	
	.modal-content {
		width: 100%;
		padding: 0;
		height: calc(100vh - 60px);
		top: 60px;
		left: 0;
		position: fixed;
		display: flex;
		flex-wrap: wrap;
		background-color: #fff;
		transform: translateY(100%);
	}
	
	.modal-content > .content {
		box-shadow: none;
	}
	
	.modal-content.active {
		transform: translate(0);
		z-index: 999999999;
	}
	
	.modal-content .location-thumb {
		max-height: 100%;
		min-height: 0;
		bottom: 0;
		left: 0;
		width: 100%;
	}
	
	.modal-content .modal-thumb {
		display: flex;
		align-items: flex-end;
		width: 100%;
	}
	
	.modal-content .content .head .back {
		transform: rotate(-90deg);
	}
	
	.facetwp-template {
		padding-right: 0;
		position: absolute;
		bottom: 32px;
		max-width: 100%;
		box-shadow: none;
		background: none;
	}
	
	.section-location .block-list .elementor-widget-wrap .main-container::-webkit-scrollbar {
		display: none;
	}
	
	.slide-event.active {
		background-color: #fff;
	}
}

@media screen and (min-width: 991px) {
	.modal-content .content .wrap .content {
		max-height: 192px;
		overflow-y: scroll;
		padding-bottom: 20px;
	}
}


/* 14 novembre */

@media screen and (min-width: 768px) {
	.elementor-container .main-container::-webkit-scrollbar {
		width: 12px;
	}

	.elementor-container .main-container::-webkit-scrollbar-track {
		background-color: var(--background);
		border-radius: 6px;
	}

	.elementor-container .main-container::-webkit-scrollbar-thumb {
		background-color: #b1a39a;
		border-radius: 6px;
		border-style: solid;
		border-width: 3px 2px;
		border-color: var(--background);
	}
}

.elementor-container .main-container {
	max-height: 734px;
	overflow-y: scroll;
	padding: 16px 32px;
	background-image: url(https://www.arezzocittadelnatale.it/wp-content/themes/acn/icons/natale-pattern-background.svg);
}

.loc-title-link a,
.loc-title-link a:hover {
	font-family: var(--ff1) !important;
	font-weight: 800 !important;
}

.jet-map-box .jet-map-close {
	opacity: 0;
	top: 20px;
	right: 20px;
}

.jet-map-box:before {
	content: '';
	width: 16px;
	height: 20px;
	background: url(https://www.arezzocittadelnatale.it/wp-content/themes/acn/icons/close-red.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2
}


.image-link a {
	width: 100%;
}

@media screen and (max-width: 767px) {
	.elementor-container .main-container { 
		max-height: 100%;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.jet-map-box > div {
		max-width: calc(100vw - 30px);
		margin-left: auto;
		margin-right: auto;
	}
	
	.jet-map-box:before {
		left: 100vw;
	}
	
	.jet-map-box .jet-map-close {
		left: 100vw;
	}
	
	.excerpt-location {
		max-height: 200px;
		overflow-y: scroll;
		margin-right: 10px;
		margin-bottom: 20px !important;
	}
	
	.excerpt-location::-webkit-scrollbar {
	  width: 5px;
	}
	
	
	.excerpt-location::-webkit-scrollbar-track {
	  background: #ddd;
	}
	
	.excerpt-location::-webkit-scrollbar-thumb {
	  background: var(--c1);
	}
}