/* Popup form styles */
.contact-popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.contact-popup-content {
  position: relative;
  margin: 10% auto;
  padding: 30px;
  width: 500px;
  max-width: 90%;
  background: #fff;
  border-radius: 5px;
}

.contact-popup-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-popup-content .close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
}

.contact-popup-content input,
.contact-popup-content button {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
}

.single-product div.product .contact_button,
.contact-popup-content button {
  margin: 10px 0 0;
  white-space: nowrap;
  border: none;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  text-transform: capitalize;
  padding: 18px 50px;
  background-color: #4E665F!important;
}

.contact-popup-content form {
  margin: 0;
}

.single-custom-stone-page .image, .custom-stones-list .image {
  width: 100%;
  height: 200px!important;
  background-size: cover;
  background-position: center center;
}

.single-custom-stone-page .image, .custom-stones-list li {
  position: relative;
}

.custom-stones-list .secondary-image {
  position: absolute;
  width: 100%;
  height: 200px;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.custom-stones-list li:hover .secondary-image {
  opacity: 1;
  visibility: visible;
}

#wpc-term-post_meta-type-57 {
  display: none;
}