#home {
  margin-top: 0;
}
#home .swiper {
  position: relative;
  margin-bottom: 5px;
}
#home .swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  height: 60vh;
  max-height: 600px;
  background-color: silver;
  width: auto;
}
@media screen and (max-width: 790px) {
  #home .swiper .swiper-slide {
    max-height: 260px;
  }
}
#home .swiper .swiper-slide > img {
  display: block;
  width: auto;
  height: 100%;
  z-index: 1;
}
#home .swiper .swiper-slide > video,
#home .swiper .swiper-slide > a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
#home .swiper .swiper-slide > a {
  z-index: 3;
  cursor: default;
}
#home .swiper .swiper-slide > a[href] {
  cursor: pointer;
}
#home .swiper .swiper-button-prev,
#home .swiper .swiper-button-next {
  position: absolute;
  top: 50%;
  height: 40px;
  width: 40px;
  margin-top: -20px;
  font-size: 0;
  background-color: black;
  border-radius: 20px;
  opacity: 0.3;
  z-index: 5;
  cursor: pointer;
}
#home .swiper .swiper-button-prev:hover,
#home .swiper .swiper-button-next:hover {
  opacity: 0.5;
}
#home .swiper .swiper-button-prev:after,
#home .swiper .swiper-button-next:after {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  margin-top: -8px;
  width: 0;
  height: 0;
}
#home .swiper .swiper-button-prev.swiper-button-prev,
#home .swiper .swiper-button-next.swiper-button-prev {
  left: 10px;
}
#home .swiper .swiper-button-prev.swiper-button-prev:after,
#home .swiper .swiper-button-next.swiper-button-prev:after {
  margin-left: -6px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid white;
}
#home .swiper .swiper-button-prev.swiper-button-next,
#home .swiper .swiper-button-next.swiper-button-next {
  right: 10px;
}
#home .swiper .swiper-button-prev.swiper-button-next:after,
#home .swiper .swiper-button-next.swiper-button-next:after {
  margin-left: -3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid white;
}
#home .swiper .swiper-button-prev.swiper-button-disabled,
#home .swiper .swiper-button-next.swiper-button-disabled {
  display: none !important;
}
#home #nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#home #nodes > .item {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  max-width: 560px;
  padding: 15px;
}
@media screen and (max-width: 1200px) {
  #home #nodes > .item {
    max-width: 480px;
  }
}
#home #nodes > .item > .item-content {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 5px;
  border-top: 1px solid #3374b4;
}
#home #nodes > .item > .item-content .item-sopratitolo,
#home #nodes > .item > .item-content .item-descrizione {
  overflow: hidden;
  margin: 0 10px 5px;
  line-height: 1.35;
}
#home #nodes > .item > .item-content .item-sopratitolo a,
#home #nodes > .item > .item-content .item-descrizione a {
  color: inherit;
  text-decoration: none;
}
#home #nodes > .item > .item-content .item-sopratitolo a:hover,
#home #nodes > .item > .item-content .item-descrizione a:hover {
  text-decoration: underline;
}
#home #nodes > .item > .item-content .item-sopratitolo {
  height: 1.35em;
  margin-bottom: 2px;
  color: #3374b4;
  font-size: 20.25px;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media screen and (max-width: 1200px) {
  #home #nodes > .item > .item-content .item-sopratitolo {
    font-size: 16.5px;
  }
}
#home #nodes > .item > .item-content .item-descrizione {
  height: 2.7em;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16.5px;
}
@media screen and (max-width: 1200px) {
  #home #nodes > .item > .item-content .item-descrizione {
    font-size: 14.25px;
  }
}
#home #nodes > .item > .item-content .badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0;
}
#home #nodes > .item > .item-content .badges > .badge {
  display: inline-block;
  width: auto;
  margin: 1px 0;
  padding: 2px 12px;
  color: black;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  background-color: white;
  border-radius: 30px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
#home #nodes > .item > .item-content .item-image-wrapper {
  position: relative;
}
#home #nodes > .item > .item-content .item-image-wrapper > .badges {
  position: absolute;
  top: 10px;
  left: 10px;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-image {
  position: relative;
  display: block;
  aspect-ratio: 1.56;
  background-size: cover;
  background-position: center;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-image:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-image a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.3s;
  z-index: 2;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-image a:hover {
  opacity: 0.2;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-bar {
  position: absolute;
  display: flex;
  align-items: center;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  padding: 0 10px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 3;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-bar .item-icona {
  display: block;
  width: auto;
  flex: 0 0 auto;
  height: 40px;
  padding: 5px;
  margin-right: 10px;
  background-color: #3374b4;
  border-radius: 6px;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-bar .item-nome {
  width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: white !important;
  font-size: 18.75px;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media screen and (max-width: 1200px) {
  #home #nodes > .item > .item-content .item-image-wrapper .item-bar .item-nome {
    font-size: 16.5px;
  }
}
#home #nodes > .item > .item-content .item-image-wrapper .item-bar:hover .item-nome {
  text-decoration: underline;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-bar .badges {
  position: relative;
  width: auto;
  flex: 0 0 auto;
}
#home #nodes > .item > .item-content .item-image-wrapper .item-bar .badges > .badge {
  color: white;
  background-color: #3374b4;
}
