
/*======================================================
  2. PRODUCT GENERAL 
======================================================*/
.hover {
  overflow: hidden;
  position: relative;
  padding-bottom: 60%;
}

.hover-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  transition: all 0.4s;
}

.hover img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.hover-content {
  position: relative;
  z-index: 99;
}

.stone-heading{
  text-align: justify;
}
.display-2{
  padding-bottom: 10px;
  border-bottom: 1px solid black;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
  }

  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 100%;
  }

  @media only screen and (max-width: 600px) {
  .modal-content {
    transform: rotate(90deg); /* Rotate the image 90 degrees */
   margin-top: 50%;
    width: auto;
    height: auto;
  }
}
  

  /* Close button */
  .close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
  }

  /* Close button hover */
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  body.modal-open {
  overflow: hidden;
}
/*======================================================
  2.1 PRODUCT DISPLAY
======================================================*/

.hover-5 img {
  width: 125%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.col-lg-3{
  margin-top: 20px;
}

.hover-4 .hover-overlay {
  /*background: rgba(0, 0, 0, 0.4);
  z-index: 90;*/
}

.hover-4-title {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  padding-left: 2rem;
  padding-bottom: 2rem;
  z-index: 99;
  color: white;
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
}

.hover-4-description {
  font-family: "Nunito Sans", sans-serif;
  color: white;
  position: absolute;
  top: 1rem;
  left: 2rem;
  text-align: left;
  border-left: 3px solid #fff;
  padding: 0 1rem;
  z-index: 99;
  transform: translateX(-1.5rem);
  opacity: 0;
  transition: all 0.3s;
}

.hover-4-list{
  position: absolute;
  top: 6rem;
}

@media (min-width: 992px) {
  .hover-4-description {
    width: 90%;
  }
@media only screen and (max-width: 600px){
  .col-lg-3 {
    margin-top: 20px;
  }
}

.hover-4:hover::after {
  opacity: 1;
  transform: none;
}

.hover-4:hover .hover-4-description {
  opacity: 1;
  transform: none;
}

.hover-4:hover .hover-overlay {
  background: rgba(0, 0, 0, 0.8);
/*  background: black;*/
}

.hover-4:hover .hover-4-title {
  display: none;
}


.hover-5:hover::after {
  opacity: 1;
  transform: none;
}

.hover-5:hover .hover-4-description {
  opacity: 1;
  transform: none;
}

.hover-5:hover .hover-overlay {
  background: rgba(0, 0, 0, 0.8);
/*  background: black;*/
}

.hover-5:hover .hover-4-title {
  display: none;
}


