.blue-bg .grid-item .title,
.blue-bg .grid-item .subtitle {
  color: #0090d2;
}

.orange-bg .grid-item .title,
.orange-bg .grid-item .subtitle {
  color: #f07d1c;
}

.acqua-bg .grid-item .title,
.acqua-bg .grid-item .subtitle {
  color: #12b5c7;
}

.pink-bg .grid-item .title,
.pink-bg .grid-item .subtitle {
  color: #e5007d;
}

.green-bg .grid-item .title,
.green-bg .grid-item .subtitle {
  color: #9ec41a;
}

.title.category {
  font-size: 7rem;
}

/* overview */

#topSection {
  padding-top: 0;
  padding-bottom: 0;
  flex-direction: column;
}

#topSection .intro {
  /*height: calc(100vh - 20.7rem);*/
  background: #f5f5f5;
  background: -moz-linear-gradient(top, #f5f5f5 0%, #ffffff 100%);
  background: -webkit-linear-gradient(top, #f5f5f5 0%, #ffffff 100%);
  background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#ffffff', GradientType=0);
  height: auto;
  min-height: calc(100vh - 14rem);
}

#topSection .intro .slideshow .slick-list,
#topSection .intro .slideshow .slick-track {
  height: 100%;
}

#topSection .intro .slideshow .img-container-absolute.img-liquid-cover {
  width: calc(100% - 10vw);
}

/* #topSection .intro .slideshow .img-container:before,
#topSection .intro .slideshow .img-container-absolute:before {
  background: #f5f5f5;
  background: -moz-linear-gradient(top, #f5f5f5 0%, #ffffff 100%);
  background: -webkit-linear-gradient(top, #f5f5f5 0%, #ffffff 100%);
  background: linear-gradient(to bottom, #f5f5f5 0%, #ffffff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#ffffff', GradientType=0);
  mix-blend-mode: multiply;
} */

.singlePageSection {
  padding-right: 0;
}

.singlePageSection-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#topSection .intro .slideshow .slick-dots {
  bottom: 4rem;
  left: 0;
  text-align: left;
  padding-left: 4rem;
}

#topSection .intro .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
  position: relative;
}

#topSection .intro .text .description {
  margin-top: 3rem;
}

#topSection .slick-dots {
  display: none;
}

.resultNum {
  margin-top: 4rem;
  z-index: 1;
}

.resultNum b {
  padding-left: 0.8rem;
}

/* elenco */

#listSection {
  display: block;
  padding-top: 0;
}

/* .grid {
  margin-left: -2.5vw;
  margin-right: -2.5vw;
} */

.grid-item {
  width: 50%;
  padding: 0 2.5vw 2.5vw;
  margin-bottom: 4rem;
}

.grid-item .img-container {
  position: relative;
  z-index: 2;
  -webkit-box-shadow: 0 0 0 rgba(28, 38, 104, 0);
  -moz-box-shadow: 0 0 0 rgba(28, 38, 104, 0);
  box-shadow: 0 0 0 rgba(28, 38, 104, 0);
  transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
}

.grid-item .info,
.grid-item .info > div {
  padding-top: 1.5rem;
  position: relative;
  z-index: 2;
}
.grid-item .info > div {
  min-height: 7rem;
}

.grid-item .info,
.grid-item .info .title,
.grid-item .info .subtitle {
  transition: color 0.1s ease;
  -moz-transition: color 0.1s ease;
  -webkit-transition: color 0.1s ease;
  -o-transition: color 0.1s ease;
  -ms-transition: color 0.1s ease;
}

.grid-item .info .title {
  margin-bottom: 0.5rem;
}

.grid-item > div:after {
  position: absolute;
  bottom: 50%;
  top: auto;
  left: 0;
  width: 100%;
  height: 0;
  content: "";
  transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
}

.grid-item:hover > div:after {
  height: 75%;
  bottom: 0;
}

.grid-item:hover .img-container {
  -webkit-box-shadow: 0 2rem 4rem rgba(28, 38, 104, 0.3);
  -moz-box-shadow: 0 2rem 4rem rgba(28, 38, 104, 0.3);
  box-shadow: 0 2rem 4rem rgba(28, 38, 104, 0.3);
}

.singlePageSection .grid-item:hover .info,
.singlePageSection .grid-item:hover .info .title,
.singlePageSection .grid-item:hover .info .subtitle {
  color: white;
}

.grid-item:hover .underlineHover {
  background-size: 100% 100%;
}

.grid-item .info {
  min-height: 20rem;
}

[data-floating-image] {
  position: absolute;
  z-index: 0;
  left: 50%;
  width: 50%;
  height: auto;
  top: 0;
  transform: translateY(-20%);
}

[data-transparent-image] {
  position: relative;
  z-index: 1;
  transform: translateY(30%);
}

.detail-row {
  position: relative;
}

@media only screen and (max-width: 1600px) {
  .grid-item {
    width: 50%;
  }
}

@media only screen and (max-width: 1250px) {
  .grid {
    margin-left: 0;
    margin-right: 0;
  }

  .grid-item {
    width: 100%;
    padding: 4rem 0;
    margin-bottom: 4rem;
  }

  .grid-item > div {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -o-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
  }

  .grid-item > div .img-container {
    -webkit-flex-basis: calc(33.333333333333336% - 2.5vw);
    flex-basis: calc(33.333333333333336% - 2.5vw);
    max-width: calc(33.333333333333336% - 2.5vw);
  }

  .grid-item > div .info {
    -webkit-flex-basis: 66.66666666666667%;
    flex-basis: 66.66666666666667%;
    max-width: 66.66666666666667%;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 0;
    height: auto !important;
    min-height: auto;
  }

  .grid-item > div:after {
    position: absolute;
    bottom: auto;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    content: "";
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
  }

  .grid-item:hover > div:after {
    height: 100%;
    width: calc(100% - 10vw);
    left: 10vw;
  }
}

@media only screen and (max-width: 1024px) {
  #topSection .intro {
    height: auto;
    min-height: auto;
    background: white;
  }

  #topSection .intro .slideshow .slick-list,
  #topSection .intro .slideshow .slick-track {
    height: 33vh;
  }

  #topSection .intro .text {
    padding: 4rem 4rem 0 4rem;
  }
}

@media only screen and (max-width: 992px) {
  #topSection .intro .slideshow .img-container-absolute.img-liquid-cover {
    width: 100%;
  }

  .grid-item > div .img-container {
    -webkit-flex-basis: calc(33.333333333333336% - 4rem);
    flex-basis: calc(33.333333333333336% - 4rem);
    max-width: calc(33.333333333333336% - 4rem);
  }

  .grid-item:hover > div:after {
    width: calc(100% - 4rem);
    left: 4rem;
  }

  .grid-item > div .info {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .resultNum {
    left: 0;
    position: relative;
    bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  #topSection .intro .text {
    padding: 7rem 2rem 0 2rem;
  }

  #topSection .intro .slideshow .slick-dots {
    bottom: -5.6rem;
    padding-left: 0;
    padding-right: 2rem;
    text-align: right;
    z-index: 2;
  }

  .grid-item {
    padding: 0 0 2rem 0;
    margin-bottom: 4rem;
  }

  .grid-item > div .img-container {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    max-width: 100%;
  }

  .grid-item > div .img-container .img-responsive {
    height: 33vh;
    width: auto;
  }

  .grid-item > div .info {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1.5rem;
  }

  .grid-item > div:after {
    position: absolute;
    bottom: 50%;
    top: auto;
    left: 0;
    width: 100%;
    height: 0;
    content: "";
    transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
  }

  .grid-item:hover > div:after {
    height: 75%;
    width: 100%;
    bottom: 0;
    left: 0;
  }

  .grid-item > div:after {
    display: none;
  }

  .singlePageSection .grid-item:hover .info,
  .singlePageSection .grid-item:hover .info .title,
  .singlePageSection .grid-item:hover .info .subtitle {
    color: inherit;
  }
}

[data-item]:hover [data-hover] {
  height: 100%;
}

[data-hover] {
  width: calc(100% + 5rem);
}
