.dce-post-title{
  margin: 0;
}
.dce-wrapper{
  position: relative;
}
.dce-wrapper:after{
  content:'';
  display: block;
  clear: both;
}
.flexgrid-style .dce-post-item, .grid-style .dce-post-item{
  float: left;
}
.dce-acfposts_content{
	position: relative;
	z-index: 1;
}
.text-acfposts-position-inside .dce-acfposts_content{
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	z-index: 1;
	margin: 0;
}

.dce-acfposts_image .acfposts-image{
	-webkit-transition: filter 0.6s linear;;
	-ms-transition: filter 0.6s linear;;
	transition: filter 0.6s linear;
}

.image-acfposts-position-left .dce-post-item:before,
.image-acfposts-position-left .dce-post-item:after,
.image-acfposts-position-right .dce-post-item:before,
.image-acfposts-position-right .dce-post-item:after,
.image-acfposts-position-alternate .dce-post-item:before,
.image-acfposts-position-alternate .dce-post-item:after{
	content: '';
	display: block;
	clear: both;
}

/* PREDEFINITO */
.image-acfposts-position-top .dce-post-item .dce-acfposts_image,
.image-acfposts-position-top .dce-post-item .dce-acfposts_content
{
  width: 100%;
}
/* TOP */
.elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-wrapper,
#elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-wrapper{
	flex-direction: column;
}
.image-acfposts-position-left .dce-post-item .dce-acfposts_image,
.image-acfposts-position-left .dce-post-item .dce-acfposts_content,
.image-acfposts-position-right .dce-post-item .dce-acfposts_image,
.image-acfposts-position-right .dce-post-item .dce-acfposts_content,
.image-acfposts-position-alternate .dce-post-item .dce-acfposts_image,
.image-acfposts-position-alternate .dce-post-item .dce-acfposts_content
{
  width: 50%;
}

.image-acfposts-position-top .dce-post-item .dce-acfposts_image{
	float: none;
}
.image-acfposts-position-top .dce-post-item .dce-acfposts_content{
	float: none;
}
/* LEFT */
.image-acfposts-position-left .dce-post-item .dce-wrapper{
	flex-direction: row;
}
.image-acfposts-position-left .dce-post-item .dce-acfposts_image{
   float: left;
}
.image-acfposts-position-left .dce-post-item .dce-acfposts_content{
	float: left;
}
/* RIGHT */
.image-acfposts-position-right .dce-post-item .dce-wrapper{
	flex-direction: row-reverse;
}
.image-acfposts-position-right .dce-post-item .dce-acfposts_image{
	float: right;
}
.image-acfposts-position-right .dce-post-item .dce-acfposts_content{
	float: right;
}
/* ALTERNATE */
.image-acfposts-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_image{
	float: left;
}
.image-acfposts-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_content{
	float: left;
}
.image-acfposts-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_image{
	float: right;
}
.image-acfposts-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_content{
	float: right;
}

/* TOP */
[data-elementor-device-mode="desktop"] .elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="desktop"] #elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="desktop"] .elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="desktop"] #elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-acfposts_content{
  width: 100%;
}
[data-elementor-device-mode="desktop"] .elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-wrapper,
[data-elementor-device-mode="desktop"] #elementor .elementor-element .image-acfposts-position-top .dce-post-item .dce-wrapper{
	flex-direction: column;
}
/* LEFT RIGHT ALTERNATE */
[data-elementor-device-mode="desktop"] .image-acfposts-position-left .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="desktop"] .image-acfposts-position-left .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="desktop"] .image-acfposts-position-right .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="desktop"] .image-acfposts-position-right .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="desktop"] .image-acfposts-position-alternate .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="desktop"] .image-acfposts-position-alternate .dce-post-item .dce-acfposts_content
{
  width: 50%;
}

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

[data-elementor-device-mode="desktop"] .image-acfposts-position-top .dce-post-item .dce-acfposts_image{
		float: none;
	}
[data-elementor-device-mode="desktop"] .image-acfposts-position-top .dce-post-item .dce-acfposts_content{
		float: none;
	}
/* LEFT */
[data-elementor-device-mode="desktop"] .image-acfposts-position-left .dce-post-item .dce-wrapper{
		flex-direction: row;
	}
[data-elementor-device-mode="desktop"] .image-acfposts-position-left .dce-post-item .dce-acfposts_image{
	   float: left;
	}
[data-elementor-device-mode="desktop"] .image-acfposts-position-left .dce-post-item .dce-acfposts_content{
		float: left;
	}
/* RIGHT */
[data-elementor-device-mode="desktop"] .image-acfposts-position-right .dce-post-item .dce-wrapper{
		flex-direction: row-reverse;
	}
[data-elementor-device-mode="desktop"] .image-acfposts-position-right .dce-post-item .dce-acfposts_image{
		float: right;
	}
[data-elementor-device-mode="desktop"] .image-acfposts-position-right .dce-post-item .dce-acfposts_content{
		float: right;
	}
/* ALTERNATE */
[data-elementor-device-mode="desktop"] .image-acfposts-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_image{
	float: left;
}
[data-elementor-device-mode="desktop"] .image-acfposts-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_content{
	float: left;
}
[data-elementor-device-mode="desktop"] .image-acfposts-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_image{
	float: right;
}
[data-elementor-device-mode="desktop"] .image-acfposts-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_content{
	float: right;
}


/*TABLET*/

[data-elementor-device-mode="tablet"] .elementor .elementor-element .image-acfposts-tablet-position-top .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="tablet"] #elementor .elementor-element .image-acfposts-tablet-position-top .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="tablet"] .elementor .elementor-element .image-acfposts-tablet-position-top .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="tablet"] #elementor .elementor-element .image-acfposts-tablet-position-top .dce-post-item .dce-acfposts_content{
  width: 100%;
}
[data-elementor-device-mode="tablet"] .elementor .elementor-element .image-acfposts-tablet-position-top .dce-post-item .dce-wrapper,
[data-elementor-device-mode="tablet"] #elementor .elementor-element .image-acfposts-tablet-position-top .dce-post-item .dce-wrapper{
  flex-direction: column;
}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-left .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-left .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-right .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-right .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-alternate .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-alternate .dce-post-item .dce-acfposts_content
{
  width: 50%;
}

/*@media only screen and (max-width: 1024px) {
*/
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-top .dce-post-item .dce-acfposts_image{
		float: none;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-top .dce-post-item .dce-acfposts_content{
		float: none;
	}
	/* LEFT */
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-left .dce-post-item .dce-wrapper{
		flex-direction: row;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-left .dce-post-item .dce-acfposts_image{
	   float: left;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-left .dce-post-item .dce-acfposts_content{
		float: left;
	}
	/* RIGHT */
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-right .dce-post-item .dce-wrapper{
		flex-direction: row-reverse;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-right .dce-post-item .dce-acfposts_image{
		float: right;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-right .dce-post-item .dce-acfposts_content{
		float: right;
	}
	/* ALTERNATE */
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_image{
		float: left;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_content{
		float: left;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_image{
		float: right;
	}
[data-elementor-device-mode="tablet"] .image-acfposts-tablet-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_content{
		float: right;
	}

/*MOBILE*/
[data-elementor-device-mode="mobile"] .elementor .elementor-element .image-acfposts-mobile-position-top .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="mobile"] #elementor .elementor-element .image-acfposts-mobile-position-top .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="mobile"] .elementor .elementor-element .image-acfposts-mobile-position-top .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="mobile"] #elementor .elementor-element .image-acfposts-mobile-position-top .dce-post-item .dce-acfposts_content{
	width: 100%;
}
[data-elementor-device-mode="mobile"] .elementor .elementor-element .image-acfposts-mobile-position-top .dce-post-item .dce-wrapper,
[data-elementor-device-mode="mobile"] #elementor .elementor-element .image-acfposts-mobile-position-top .dce-post-item .dce-wrapper{
	flex-direction: column;
}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-left .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-left .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-right .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-right .dce-post-item .dce-acfposts_content,
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-alternate .dce-post-item .dce-acfposts_image,
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-alternate .dce-post-item .dce-acfposts_content
{
  width: 50%;
}

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

[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-top .dce-post-item .dce-acfposts_image{
		float: none;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-top .dce-post-item .dce-acfposts_content{
		float: none;
	}
	/* LEFT */
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-left .dce-post-item .dce-wrapper{
		  flex-direction: row;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-left .dce-post-item .dce-acfposts_image{
	   float: left;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-left .dce-post-item .dce-acfposts_content{
		float: left;
	}
	/* RIGHT */
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-right .dce-post-item .dce-wrapper{
		  flex-direction: row-reverse;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-right .dce-post-item .dce-acfposts_image{
		float: right;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-right .dce-post-item .dce-acfposts_content{
		float: right;
	}
	/* ALTERNATE */
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_image{
		float: left;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-alternate .dce-post-item:nth-child(odd) .dce-acfposts_content{
		float: left;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_image{
		float: right;
	}
[data-elementor-device-mode="mobile"] .image-acfposts-mobile-position-alternate .dce-post-item:nth-child(even) .dce-acfposts_content{
		float: right;
	}

.dce-acfposts_date-year{
	font-size: 14em;
	z-index: -2;
	transition: transform 0.5s ease, font-size 0.5s ease
}
@media only screen and (max-width: 1170px) {
  .dce-acfposts_date-year {
	  font-size: 10em;
  }
}

/* ----- Metadata ACF Posts ------ */
.dce_metadata-wrap{
  position: relative;
  z-index: 1;
}
.dce_metadata{
  display: inline-block;
  padding-right: 3px;
}
.dce_metadata:first-child{
  padding-left: 0 !important;
}

/* ----- Author ACF Posts ------ */
.dce_author-wrap{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.acfposts-align-left .dce_author-wrap{
  flex-direction: row;
}

.acfposts-align-right .dce_author-wrap{
  flex-direction: row-reverse;
}

.dce_author-wrap::after,
.dce_author-wrap::before{
  content: '';
  clear: both;
  display: block;
}
.dce_author-bio{
  font-size: 14px;
  line-height: 1.2em;
  padding-bottom: 8px;
}
.dce_author-name{
  font-size: 16px;
  font-weight: 700;
}
.dce_author-avatar{
  width: 40px;
  float: left;
  margin-right: 8px;
}
.acfposts-align-left .dce_author-avatar{
  margin-right: 11px;
}
.acfposts-align-right .dce_author-avatar{
  margin-left: 11px;
}
.acfposts-align-center .dce_author-avatar{
  display: inline-block;
}
.dce_author-avatar a:hover img{
  transform: scale(1.2);
}
.dce_author-avatar img{
  border-radius: 50%;
  transition: all 0.6s ease-in-out;
}

/* ----- Image ACF Posts ------ */
.dce-post-item:not(.wow) {
	-webkit-transition: opacity 0.6s ease, filter 0.6s ease;
	-ms-transition: opacity 0.6s ease, filter 0.6s ease;
	transition: opacity 0.6s ease, filter 0.6s ease;
}

/*this is deprecated and here only for backward compatibility*/
.dce-acfposts_image{
	position: relative;
	line-height: 0;
}
/*this is new and gives me more flexibility*/
.dce-acfposts_imagewrap {
  position: relative;
  line-height: 0;
  display: inline-block;
}

.dce-overlay_hover, .dce-overlay{
	-webkit-transition: opacity 0.6s ease;
	-ms-transition: opacity 0.6s ease;
	transition: opacity 0.6s ease;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	height: 100%;
	width: 100%;

}
.dce-overlay_hover{
  opacity: 0;
}

.acfposts-align-center .dce-overlay_hover, .acfposts-align-center .dce-overlay{
	top: 50%;
	left: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.dce-post-item:hover .dce-overlay_hover{
	opacity: 1;
}

.acfposts-align-left .dce-acfposts_image img{
	margin: 0 auto 0 0;
}
.acfposts-align-right .dce-acfposts_image img{
	margin: 0 0 0 auto;
}
.acfposts-align-center .dce-acfposts_image img{
	margin: 0 auto;
}
.dce-acfposts_image a, .swiper-slide .dce-acfposts_image a{
  display: inline-block;
  position: relative;
}
.swiper-slide .dce-acfposts_image a{

}
.bgimage-yes .dce-acfposts_image a, .bgimage-yes .swiper-slide .dce-acfposts_image a{
  display: inline-block;
  width: 100%;
}

/* ------------------ Content ---------------- */
.dce_textcontent {
  position: relative;
  padding-bottom: 8px;
}
.textcontent-position-bottom_out.nuvoletta-yes .dce_textcontent:after,
.textcontent-position-bottom_in.nuvoletta-yes .dce_textcontent:after {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(0, 0, 0, 0);
	border-top-color: rgba(0, 0, 0, 0) !important;
	border-width: 15px;
	margin-left: -15px;

}
.textcontent-position-top_out.nuvoletta-yes .dce_textcontent:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(0, 0, 0, 0);
	border-bottom-color: rgba(0, 0, 0, 0) !important;
	border-width: 15px;
	margin-left: -15px;
}

/* ------------------ ReadMore ---------------- */
.dce_readmore_btn{
  color: #000;
  background-color: #eee;
  padding: 10px 20px;
  display: inline-block;
}

/* ------------------ SameHeight ---------------- */
.equalHMRWrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: center;
}
body:not(.elementor-msie) .equalHMR{
  flex: 1 1 100%;
}
.equalHMR .dce-wrapper{
  height: 100%;

}

/* ------------------ Pagination ---------------- */
.dce-pagination {
   font-size:13px; /* Pagination text size */
   line-height:1;
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
}
.dce-pagination .fa{
  line-height: 0;
}
.dce-pagination a[rel="prev"] i, .dce-pagination .pagefirst i{
  margin-right: 7px;
}
.dce-pagination a[rel="next"] i, .dce-pagination .pagelast i{
  margin-left: 7px;
}
.dce-pagination span, .dce-pagination a {
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 1px 0 0;
   padding: 10px;
   text-decoration:none;
   width:auto;
   color:#fff;
   background: #999;
   -webkit-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   -moz-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   -ms-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   -o-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   transition: background-color .5s ease-in-out, color .5s ease-in-out;
}
.dce-pagination span:last-child, .dce-pagination a:last-child{
  margin: 0;
}
.dce-pagination a:hover{
   color:#fff;
   background: #CCCCCC;
}
.dce-pagination .current{
   background: #000000;
   color:#fff;
}

/* ------------------ InfiniteScroll ---------------- */
div.infiniteScroll{
  display: flex;
  align-items: center;
  justify-content: center;
}
.infiniteScroll .page-load-status {
  display: none; /* hidden by default */
  padding: 15px;
  text-align: center;
  color: #777;
}
.infiniteScroll button {
  font-size: 20px;
  padding: 10px 20px;
  border-radius: 5px;
  background: #CCC;
  border: none;
  -webkit-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   -moz-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   -ms-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   -o-transition: background-color .5s ease-in-out, color .5s ease-in-out;
   transition: background-color .5s ease-in-out, color .5s ease-in-out;
}

.scroller-status,
.infinite-scroll-last,
.infinite-scroll-error {
 display:none
}
.scroller-status {
 margin-top:20px;
 text-align:center;
 clear:both
}
.scroller-status p {
 margin:0
}
.loader-ellips {
 font-size:12px;
 position:relative;
 width:3.5em;
 height:1em;
 margin:0 auto
}
.loader-ellips__dot {
 display:block;
 width:1em;
 height:1em;
 border-radius:0.5em;
 background-color:#333;
 position:absolute;
 animation-duration:0.5s;
 animation-timing-function:ease;
 animation-iteration-count:infinite
}
.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
 left:0
}
.loader-ellips__dot:nth-child(3) {
 left:1.3em
}
.loader-ellips__dot:nth-child(4) {
 left:2.6em
}
.loader-ellips__dot:nth-child(1) {
 animation-name:reveal
}
.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
 animation-name:dce-slide
}
.loader-ellips__dot:nth-child(4) {
 animation-name:reveal;
 animation-direction:reverse
}
@keyframes reveal {
 from {
  transform:scale(0.001)
 }
 to {
  transform:scale(1)
 }
}
@keyframes dce-slide {
 to {
  transform:translateX(1.3em)
 }
}
.infinite-scroll-nav {
 display:none
}
.dce-post[data-post-link] {
  cursor: pointer;
}
