.p-popup a {
  color: #000000;
}

.p-popup__overlay {
  position: fixed;
  z-index: 999999999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  transition: all 0.3s ease;
  visibility: hidden;
  opacity: 0;
}

.p-popup__overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.p-popup__window {
  width: 90%;
  max-width: 900px;
  background-color: #fff;
  color: #000;
  padding: 10px;
  box-shadow: 13px 13px 10px 0px rgba(0,0,0,0.4);
  position: relative;
}

.p-popup__window .vc_single_image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.p-popup__window .wpb_text_column {
  padding: 20px 80px 20px 20px;
}

.p-popup__window .wpb_text_column > .wpb_wrapper > :last-child {
  margin-bottom: 0 !important;
}

.p-popup__window .wpb_text_column h2 {
  padding: 0;
  margin-bottom: 20px;
  color: #ff7a01;
}

.p-popup__button-close {
  position: absolute;
  z-index: 100;
  inset: auto 10px 10px auto;
  cursor: pointer;
  background-color: #ff7a01;
  overflow: hidden;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.p-popup__button-close:hover {
  border-radius: 10px;
}

.p-popup__button-close::before,
.p-popup__button-close::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  background-color: #fff;
  width: 100%;
  height: 3px;
  transform: rotate(45deg);
}

.p-popup__button-close::after {
  transform: rotate(-45deg);
}

@media screen and (max-width: 700px) {
  .p-popup__button-close {
    width: 30px;
    height: 30px;
  }

  .p-popup__window .wpb_text_column {
    padding-right: 50px;
  }
}
