.dce-dynamic-posts-collection:after {
  display: none;
}

.dce-item_image {
  display: flex;
  overflow: hidden;
}

.dce-align-left .dce-item_image {
  justify-content: flex-start;
}

.dce-align-right .dce-item_image {
  justify-content: flex-end;
}

.dce-align-center .dce-item_image {
  justify-content: center;
}

[data-elementor-device-mode="desktop"] .dce-align-desktop-left .dce-item_image {
  justify-content: flex-start;
}

[data-elementor-device-mode="desktop"] .dce-align-desktop-right .dce-item_image {
  justify-content: flex-end;
}

[data-elementor-device-mode="desktop"] .dce-align-desktop-center .dce-item_image {
  justify-content: center;
}

[data-elementor-device-mode="tablet"] .dce-align-tablet-left .dce-item_image {
  justify-content: flex-start;
}

[data-elementor-device-mode="tablet"] .dce-align-tablet-right .dce-item_image {
  justify-content: flex-end;
}

[data-elementor-device-mode="tablet"] .dce-align-tablet-center .dce-item_image {
  justify-content: center;
}

[data-elementor-device-mode="mobile"] .dce-align-mobile-left .dce-item_image {
  justify-content: flex-start;
}

[data-elementor-device-mode="mobile"] .dce-align-mobile-right .dce-item_image {
  justify-content: flex-end;
}

[data-elementor-device-mode="mobile"] .dce-align-mobile-center .dce-item_image {
  justify-content: center;
}

.dce-dynamicposts-mask {
  position: absolute;
  width: 0;
  height: 0;
}

/* SVG */
.dce-dynamicposts-mask {
  overflow: visible;
}

.dce-posts-container .dce-item>* {
  transition: background-color 0.4s;
}

.dce-posts-container .dce-item>* a {
  transition: color 0.4s;
}

/* image */
.dce-posts-container .dce-post-image {
  width: 100%;
}

.dce-posts-container a.dce-post-image {
  transition: filter 0.3s, opacity 0.3s;
}

.dce-posts-container .dce-post-image.dce-post-bgimage {
  height: 100px;
}

.dce-posts-container .dce-post-image .dce-img {
  overflow: hidden;
}

.dce-post-item .dce-post-image .dce-img {
  position: relative;
}

.dce-posts-container.dce-is-ratio .dce-post-image .dce-img {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.dce-posts-container .dce-post-image .dce-img img {
  display: block;
  width: 100%;
  max-height: none;
  max-width: none;
  transition: filter 0.3s;
}

.dce-posts-container.dce-is-ratio .dce-post-image .dce-img img {
  width: 100%;
  height: auto;
  position: absolute;
  top: calc(50% + 1px);
  left: calc(50% + 1px);
  transform: scale(1.01) translate(-50%, -50%);
}

.dce-posts-container.dce-is-ratio .dce-post-image .dce-img.dce-fit-img img {
  width: auto;
  height: 100%;
}

/* Background image */
.dce-posts-container .dce-post-image.dce-post-bgimage .dce-img.dce-bgimage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
}

/* Overlay image */
.dce-posts-container .dce-post-image.dce-post-overlayimage {
  position: relative;
}

.dce-posts-container .dce-post-image.dce-post-overlayimage:after,
.dce-posts-container a.dce-post-image.dce-post-overlayhover:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dce-posts-container a.dce-post-image.dce-post-overlayhover:before {
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0;
}

.dce-posts-container a.dce-post-image.dce-post-overlayhover:hover:before {
  opacity: 1;
}

/* Author */
.dce-post-author {
  display: inline-flex;
  align-items: center;
}

.dce-author-image img {
  border-radius: 500px;
  margin-right: 10px;
}

.dce-author-description {
  font-size: 13px;
  font-style: italic;
}

.dce-author-name {
  line-height: 1.2;
}

ul.dce-terms-list {
  padding: 0;
  margin: 0;
}

li.dce-term-item {
  display: inline;
}

.dce-terms-list .dce-separator {
  padding: 0 4px;
}

.dce-posts-container.dce-skin-next-post .dce-post-item {
  display: flex;
  word-break: break-word;
}

.dce-posts-container .dce-post-item .dce-post-block {
  display: flex;
  width: 100%;
  flex-direction: column;
}

/* Distribution */
.dce-posts-layout-left .dce-image-area, .dce-posts-layout-left .dce-content-area,
.dce-posts-layout-right .dce-image-area, .dce-posts-layout-right .dce-content-area,
.dce-posts-layout-alternate .dce-image-area, .dce-posts-layout-alternate .dce-content-area {
  width: 50%
}

/* Top */
.dce-posts-layout-default .dce-post-item .dce-post-block {
  flex-direction: column;
}

/* Left */
.dce-posts-layout-left .dce-post-item .dce-post-block {
  flex-direction: row;
}

.dce-posts-layout-left .dce-content-area {
  padding: 1rem;
}

/* Right */
.dce-posts-layout-right .dce-post-item .dce-post-block {
  flex-direction: row-reverse;
}

.dce-posts-layout-right .dce-content-area {
  padding: 1rem;
}

/* Alternate */
.dce-posts-layout-alternate .dce-post-item:nth-child(odd) .dce-post-block {
  flex-direction: row;
}

.dce-posts-layout-alternate .dce-post-item:nth-child(even) .dce-post-block {
  flex-direction: row-reverse;
}

.dce-posts-layout-alternate .dce-content-area {
  padding: 1rem;
}

[data-elementor-device-mode="mobile"] .force-default-mobile-yes .dce-post-item .dce-post-block {
  flex-direction: column;
}

[data-elementor-device-mode="mobile"] .force-default-mobile-yes .dce-image-area,
[data-elementor-device-mode="mobile"] .force-default-mobile-yes .dce-content-area {
  width: 100%;
}

/* Overlay */
.dce-posts-layout-overlay .dce-post-item .dce-post-block {
  flex-direction: column;
}

.dce-posts-layout-overlay .dce-content-area {
  position: relative;
  width: 80%;
  margin-top: -20%;
  margin-left: 10%;
  background-color: #ffffff;
  padding: 1rem;
}

/* Textzone */
.dce-posts-layout-textzone .dce-post-item .dce-post-block {
  flex-direction: column;
}

.dce-posts-layout-textzone .dce-image-area {
  width: 80%;
}

.dce-posts-layout-textzone .dce-content-area {
  position: relative;
  width: 60%;
  margin-top: -20%;
  margin-left: 40%;
  background-color: #ffffff;
  padding: 1rem;
}

/* Float */
.dce-posts-layout-float .dce-post-item .dce-post-block {
  flex-direction: column;
  position: relative;
}

.dce-posts-layout-float .dce-content-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 1rem;
  margin: 0;
}

/* TextZone Effect */
.dce-post-block .dce-hover-effect-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
}

.dce-posts-layout-float .dce-hover-effect-content .dce-content-area {
  position: relative;
}

.dce-post-block.dce-hover-effects {
  overflow: hidden;
}

.dce-post-block.dce-hover-effects .dce-hover-effect-content:not(.dce-hover-effect-cssanimations) {
  transition: all 0.5s ease-in-out;
}

/* Fade */
.dce-hovertexteffect-fade .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  opacity: 0;
}

.dce-hovertexteffect-fade .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  opacity: 1
}

/* Slide Bottom */
.dce-hovertexteffect-slidebottom .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  transform: translateY(100%);
}

.dce-hovertexteffect-slidebottom .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  transform: translateY(0);
}

/* Slide top */
.dce-hovertexteffect-slidetop .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  transform: translateY(-100%);
}

.dce-hovertexteffect-slidetop .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  transform: translateY(0);
}

/* Slide left */
.dce-hovertexteffect-slideleft .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  transform: translateX(-100%);
}

.dce-hovertexteffect-slideleft .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  transform: translateX(0);
}

/* Slide right */
.dce-hovertexteffect-slideright .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  transform: translateX(100%);
}

.dce-hovertexteffect-slideright .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  transform: translateX(0);
}

/* Slide horizontal */
.dce-hovertexteffect-slidehorizontal .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  transform: translateX(100%);
}

.dce-hovertexteffect-slidehorizontal .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  transform: translateX(0);
}

/* Zooom in */
.dce-hovertexteffect-zoomin .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  opacity: 0;
  transform: scale(0.5);
}

.dce-hovertexteffect-zoomin .dce-post-block.dce-hover-effects:hover .dce-hover-effect-content {
  opacity: 1;
  transform: scale(1);
}

.dce-hovertexteffect-cssanimations .dce-post-block.dce-hover-effects .dce-hover-effect-content {
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-direction: revert;
  animation-iteration-count: 1;
}

.dce-nota-nextpost{
  padding: 10px;
  background-color: #ccc;
  border-radius: 10px;
  margin: 10px auto;
  width: 170px;
  text-align: center;
}

.dce-nextpost-wrapper .dce-page .dce-content {
  max-width: 600px;
  margin: 0 auto;
}

.dce-nextpost-wrapper .dce-page .dce-big-image {
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  overflow: hidden;
}

.dce-nextpost-wrapper .dce-page .dce-big-image {
  height: 300px;
  -webkit-transition: height 450ms;
  -moz-transition: height 450ms;
  -o-transition: height 450ms;
  transition: height 450ms;
  will-change: height;
}
@media only screen and (min-width: 500px) {
  .dce-nextpost-wrapper .dce-page .dce-big-image {
    height: 480px;
    background-color: #eee;
  }
  .dce-nextpost-wrapper .dce-page.dce-next.dce-content-hidden .dce-big-image {
    height: 220px;
    background-color: #eee;
  }
}

.dce-nextpost-wrapper .dce-hidden {
  display: none;
}
.dce-nextpost-wrapper .dce-page.dce-next .dce-big-image{
  cursor: pointer;
}
.dce-nextpost-wrapper .dce-page.dce-next .dce-big-image .dce-inner{
  opacity: 1;
}

.dce-nextpost-wrapper .dce-page.dce-content-hidden .dce-content {
  display: none;
}
/* la trasformazione al click: scala e va in fade */
.dce-nextpost-wrapper .dce-page.fade-up-out {
  opacity: 0;
  -webkit-transform: scale(0.5) translate3d(0, -10%, 0);
  -moz-transform: scale(0.5) translate3d(0, -10%, 0);
  -ms-transform: scale(0.5) translate3d(0, -10%, 0);
  -o-transform: scale(0.5) translate3d(0, -10%, 0);
  transform: scale(0.5) translate3d(0, -10%, 0);
  -webkit-transition: transform 450ms;
  -moz-transition: transform 450ms;
  -o-transition: transform 450ms;
  transition: transform 450ms;
  will-change: transform;
}

/* Le transizioni allo scambio */
.dce-nextpost-wrapper .dce-page.easing-upward,
.dce-nextpost-wrapper .dce-page .goto-next{
  -webkit-transition: all 450ms;
  -moz-transition: all 450ms;
  -o-transition: all 450ms;
  transition: all 450ms;
}

/* l'equazione di andamento */
.dce-nextpost-wrapper .dce-page .dce-big-image,
.dce-nextpost-wrapper .dce-page.fade-up-out,
.dce-nextpost-wrapper .dce-page.easing-upward,
.dce-nextpost-wrapper .dce-page .goto-next,
.dce-nextpost-wrapper .dce-page .dce-byline,
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-title,
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader{
  -webkit-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dce-nextpost-wrapper .dce-page .dce-big-image{
  font-size: 80%;
}

@media only screen and (min-width: 500px) {
  .dce-nextpost-wrapper .dce-page .dce-big-image{
    font-size: 100%;
  }
}

.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner{
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
/* Sparisce la scrittina next */
.dce-nextpost-wrapper .dce-page.easing-upward .dce-big-image .dce-inner .dce-text .goto-next,
.dce-nextpost-wrapper .dce-page.dce-current .dce-big-image .dce-inner .dce-text .goto-next,
.dce-nextpost-wrapper .dce-page.dce-next .dce-big-image .dce-inner .dce-text .dce-bylines{
  opacity: 0;
  -webkit-transform: scale(0.5) translate3d(0, -10%, 0);
  -moz-transform: scale(0.5) translate3d(0, -10%, 0);
  -ms-transform: scale(0.5) translate3d(0, -10%, 0);
  -o-transform: scale(0.5) translate3d(0, -10%, 0);
  transform: scale(0.5) translate3d(0, -10%, 0);
  will-change: transform opacity font-size margin;
}

/* fader */
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader{
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader{
  -webkit-transition: background-color 1s ease-in-out;
  -moz-transition: background-color 1s ease-in-out;
  -ms-transition: background-color 1s ease-in-out;
  -o-transition: background-color 1s ease-in-out;
  transition: background-color 1s ease-in-out;
}
/* i testi in bg-image */
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-item_readmore,
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-title,
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-description,
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-byline{
  color: white;
}

/* il titolo sopra all'immagine nello stato normale */
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-title {
  margin: 0;
  margin-top: 0.1em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 0em;
  font-size: 3em;
  transform: scale(1);
  line-height: 1.1em;
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline{
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline .dce-item_date{
  margin-right: 10px;
}

.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-title{
  -webkit-transition: transform 450ms;
  -moz-transition: transform 450ms;
  -o-transition: transform 450ms;
  transition: transform 450ms;
  will-change: transform;
}
.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline,
.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline .dce-author-text{
  -webkit-transition: font-size 450ms, margin 450ms;
  -moz-transition: font-size 450ms, margin 450ms;
  -o-transition: font-size 450ms, margin 450ms;
  transition: font-size 450ms, margin 450ms;
  will-change: font-size margin;
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline .dce-author-avatar img{
  -webkit-transition: width 450ms, height 450ms;
  -moz-transition: width 450ms, height 450ms;
  -o-transition: width 450ms, height 450ms;
  transition: width 450ms, height 450ms;
}

/* i delay del byline sotto al titolo */
.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline.dce-byline-before{
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-title{
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}
.elementor-element:not(.elementor-element-edit-mode) .dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline.dce-byline-after{
  -webkit-transition-delay: 0.7s;
  -moz-transition-delay: 0.7s;
  -o-transition-delay: 0.7s;
  transition-delay: 0.7s;
}

.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline .dce-author-avatar img{
  -webkit-transition-delay: 1s;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  transition-delay: 1s;
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline .dce-author-text{
  -webkit-transition-delay: 1.3s;
  -moz-transition-delay: 1.3s;
  -o-transition-delay: 1.3s;
  transition-delay: 1.3s;
}

.dce-nextpost-wrapper .dce-page.dce-next .dce-big-image .dce-inner .dce-fader .dce-text .dce-title{
  transform: scale(0.4);
}
.dce-nextpost-wrapper .dce-page.dce-next .dce-big-image .dce-inner .dce-fader .dce-text .dce-byline{
  font-size: 0em;
  margin: 0;
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-text .dce-byline .dce-author-avatar img{
  width: 40px;
  height: 40px;
  border-radius: 100px;
  display: block;
  margin-right: 8px;
}
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-byline .dce-termstaxonomy span{
  padding: 0 5px;
}
.dce-nextpost-wrapper .dce-page.dce-next .dce-big-image .dce-inner .dce-fader .dce-text .dce-byline .dce-author-avatar img{
  width: 0px;
  height: 0px;
}
.dce-nextpost-wrapper .dce-page .goto-next{
  border-bottom: 1px solid #fff;
  display: inline-block;
  color: #FFF;
}
/*la description con cè più*/
.dce-nextpost-wrapper .dce-page .dce-big-image .dce-inner .dce-fader .dce-text .dce-description {
  margin: 0;
  font-style: italic;
  font-weight: normal;
  margin-top: 0.2em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 0em;
  font-size: 1.5em;
  line-height: 1.2em;
}

.dce-nextpost-wrapper .dce-page .dce-content {
  padding: 1.5em 3em;
}
.dce-nextpost-wrapper .dce-page .dce-content h3 {
  color: #999;
  font-weight: 400;
  margin-top: 3em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 0.375em;
  font-size: 0.8em;
  line-height: 1.5em;
}
.dce-nextpost-wrapper .dce-page .dce-content .dce-title {
  margin-top: 0em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 0.24em;
  font-size: 2.5em;
  line-height: 1.08em;
}
.dce-nextpost-wrapper .dce-page .dce-content .dce-description {
  font-weight: normal;
  font-style: italic;
}
.dce-nextpost-wrapper .dce-page .dce-content p:last-child {
  margin-bottom: 3em;
}
