/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/

/* DEMO GENERAL ============================== */
.hover {
  overflow: hidden;
  position: relative;
  padding-bottom: 5%;
}

.hover-overlay {
  width: 100%;
  height: 100%;
  /* position: absolute;
  top: 0;
  left: 0; */
  position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
  z-index: 90;
  transition: all 0.4s;
}

.hover img {
  width: 100%;
  /* position: absolute;
  top: 0;
  left: 0; */
  position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
  transition: all 0.3s;
}

.hover-content {
  position: relative;
  z-index: 99;
}



/* DEMO 5 ============================== */
.hover-5::after {
  content: '';
  width: 100%;
  height: 10px;
  background: #db1717; /*ARtux #47c650; */
  position: absolute;
  bottom: -10px;
  left: 0;
  /* position: absolute;
    top: 0; left: 0; bottom: 0; right: 0; */
  display: block;
  transition: all 0.3s;
  z-index: 999;
}

.hover-5 .hover-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.hover-5-title {
/*   position: absolute;
  bottom: 1rem; */
  position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
  transition: all 0.3s;
  padding: 2rem 3rem;
  z-index: 99;
}

.hover-5-title span {
  transition: all 0.4s;
  opacity: 0;
  color: #db1717; /*ARtux #47c650; */
}

.hover-5:hover .hover-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.hover-5:hover .hover-5-title {
  bottom: 0;
}

.hover-5:hover .hover-5-title span {
  opacity: 1;
}

.hover-5:hover::after {
  bottom: 0;
}

/*
*
* ==========================================
* FOR DEMO PURPOSES
* ==========================================
*
*/
body {
  min-height: 100vh;
  background-color: black; /* #fafafa; */
}


/* ARTux aggiunta *** */
@media (max-width: 376px) {
  .hover-5-title {
    font-size: 2.0rem;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    transition: all 0.3s;
    padding: 2rem 3rem;
    z-index: 99;
  }
}