
.prod_item{
    cursor: pointer;
    border-top: 1px solid var(--grey);
    border-bottom: 1px solid var(--grey);
    padding-bottom: 20px;
    padding-top: 20px;
}

.prod_item.no_border{
    border-top: 0px solid var(--grey) !important;
    border-bottom: 0px solid var(--grey) !important;
}

.prod_item_text{
    margin-top: 30px;
    border-top: 1px solid var(--grey);
    text-align: center;
}

.prod_item .container{
    padding: 0 !important;
    margin: 0 !important;
}


 /* Container needed to position the overlay. Adjust the width as needed */
.container {
  position: relative;
  width: 100%;
}

/* Make the image to responsive */
.image {
  width: 100%;
  height: auto;
}

/* The overlay effect (full height and width) - lays on top of the container and over the image */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.7);
  overflow: hidden;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: .3s ease;
}

/* When you mouse over the container, the overlay text will "zoom" in display */
.prod_item:hover .overlay,
.container:hover .overlay {
  transform: scale(1);
}



/* Some text inside the overlay, which is positioned in the middle vertically and horizontally */
.text {
  width: 95%;
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
} 

.text div{
    padding-bottom: 15px;
    padding-top: 15px;
}

.text div a{
    text-decoration: none;
    color: var(--lightgrey) !important;
}

.text div:hover a{    
    color: var(--white) !important;
    font-weight: bold;
}

.text div:not(:last-child){ 
    border-bottom: 1px solid var(--grey);
}
                                