 

.wtbx_fixed_navigation {
	display: none !important;
}

.ultimo-evento-footer {
	position: fixed;
	right: 25px;
	bottom: calc( -48px - 10px + 25px);
	width: 375px;
	height: 170px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	transition: width 1s, height 1s;
}

.evento-allnews {
	background: #FFFFFF;
	border: 2px solid #F3F6FB;
	border-radius: 16px;
	box-shadow: 0px 3px 9px #091F431A;
	height: 48px;
	display: flex;
	opacity: 0;
	z-index: 9;
	position: relative;
	font-size: 12px;
	font-weight: 700;
	align-items: center;
	justify-content: center;
	color: #333;
	margin-top: 10px;
}

.novita-chiudi {
	display: flex;
	align-items: flex-start;
	align-content: center;
	margin-bottom: 6px;
	justify-content: space-between;
}

span.chiudi {
	background-image: url(https://www.datexel.it/wp-content/uploads/2024/10/event-icon-close.svg);
	background-size: contain;
	width: 9px;
	height: 9px;
	margin-top: 5px;
	margin-right: 10px;
	cursor: pointer;
	opacity: 0;
}

.novita {
	background: #016DB8;
	display: inline-block;
	border-radius: 7px;
	text-transform: uppercase;
	color: white;
	font-size: 10px;
	font-weight: 800;
	padding: 0px 6px;
	margin-bottom: 6px;
}

.evento-container {
	padding: 8px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	height: 100%;
	background: white;
	border-radius: 10px;
	box-shadow: 0px 3px 9px #091F431A;
	border: 1px solid #091F431A;
	background-image: url(https://www.datexel.it/wp-content/uploads/2024/10/event-bg.svg);
	background-size: 50%;
	background-repeat: no-repeat;
	background-position: -23px -41px;
	overflow: hidden;
	position: relative;
}

.evento-item {
	background: #F3F6FB;
	border-radius: 7px;
	/* overflow: hidden; */
	/* padding: 12px; */
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: wrap;
	transition: transform 1s, opacity 1s;
	position: relative;
}

.evento-item-hovered {
	 /* overflow: hidden; */
	 display: flex;
	 align-items: center;
	 flex-direction: row;
	 flex-wrap: wrap;
	 transition: transform 1s, opacity 1s, height 1s;
}

.evento-item-hovered .title-desc {
	 background: #F3F6FB;
	 border-radius: 7px;
	 overflow: hidden;
	 padding: 12px;
	 margin-right: 8px;
	 width: 350px;
	 height: 170px;
}

.title-desc {
	flex: 4;
	padding: 12px;
}
.evento-item h3, .evento-item-hovered h3 {
    font-size: 12px;
    margin: 0;
    /* flex: 4; */
    padding-right: 20px;
    color: #333333;
    font-weight: 600;
    width: 222px;
    height: 54px;
    display: flex;
    align-items: center;
}

.evento-item-hovered h3 {
	 
	width: 330px;
	height: 36px;
}
.immagine-personalizzata {
	flex: 2;
	display: block;
}

.immagine-copertina  img {
	object-fit: cover;
	height: 100%;
	/* border: 1px solid #707070; */
	border-radius: 10px;
	max-height: 170px;
	max-width: 180px;
}

 



.descrizione {font-size: 12px;line-height: 15px;padding-right: 15px;position: absolute;width: 342px;height: 110px;top: 50px;}

.immagine-copertina {flex: 2;display: block;width: 180px;}

.evento-item-hovered {
	opacity:0;
	height: 0;
	transform: translateY(110%);
	transition: transform 1s, opacity 1s, height 1s;
	/* width: 542px; */
}


.descrizione a {
	color: inherit !important;
}



.ultimo-evento-footer.gotoleft {
	transform: translateX(110%);
	transition: transform 1s !important;
}








/*GESTIONE LISTING EVENTI */

.listing-eventi::before {
	display: none !important;
}


.listing-eventi .vc_row {
	position: relative !important;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: stretch;
}

.listing-eventi .vc_col-sm-8   a.vc_gitem-link {
	text-align: left;
	font: normal normal 600 29px/35px Montserrat;
	letter-spacing: 0px;
	color: #333333 !important;
	position: relative;
	display: block;
	margin-bottom: 30px;
}

.listing-eventi .vc_col-sm-8  a.vc_gitem-link:after {
	 content:'';
	 position: absolute;
	 bottom: -15px;
	 left: 0;
	 width: 20%;
	 height: 2px;
	 background: #0258a5;
}

.listing-eventi .vc_row {
	background: #FFFFFF 0% 0% no-repeat padding-box;
	box-shadow: 0px 3px 30px #091F431A;
	border-radius: 6px;
	padding: 15px;
}

.listing-eventi .wpb_single_image img {
	border-radius: 4px;
}

.listing-eventi {
	margin-top: 90px;
	overflow: visible !important;
}

.listing-eventi .vc_gitem-post-data-source-post_excerpt {
	font: normal normal normal 17px/25px Muli;
	letter-spacing: 0px;
	color: #333333;
	margin: 0;
	padding: 0;
}
.listing-eventi .vc_gitem-post-data-source-post_excerpt * {
	padding: 0;
	margin: 0;
}
.listing-eventi .vc_col-sm-8 {
	padding-right: 80px !important;
	display: flex;
	align-items: stretch;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
}


.cat-event-title p {
	font-weight: 500;
	color: #333;
	margin-bottom: 10px !important;
	font: normal normal normal 15px/25px Muli;
}


.immagine-personalizzata a {
    height: 75px;
    display: block;
}

.immagine-personalizzata img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


/* GESTIONE HOVER */



 
@media screen and (min-width: 1024px) {


	.ultimo-evento-footer:hover {
		/* overflow: hidden; */
		width: 560px;
		height: calc(225px + 10px + 48px + 25px );
		bottom: 25px; 
		transition: width 1s, height 1500ms;
	}


	.ultimo-evento-footer:hover .evento-container {
		max-height: 215px;
	}


	.ultimo-evento-footer:hover .evento-item {
		transform: translateY(calc(-130px));
		opacity:0;
		/* height: 0; */
		/* padding: 0; */
		transition: transform 1s, opacity 1s;
	}
	.ultimo-evento-footer:hover .evento-item-hovered {
		opacity: 1;
		height: 100%;
		transform: translateY( calc(0% - 80px));
		transition: transform 1s, opacity 1s, height 1s;
	}
	.ultimo-evento-footer:hover .evento-allnews,
	.ultimo-evento-footer:hover span.chiudi {
		opacity: 1;
		
	}

	 


}



.page-id-4496 .ultimo-evento-footer,
.page-id-4555 .ultimo-evento-footer  {
	display: none !important;
}

@media screen and (max-width: 767px) {


	.ultimo-evento-footer {
		width: calc(100% - 50px) !important;
	}


	span.chiudi {
		opacity: 1 !important;
	}
	
	




}