#popup_overlay {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow: hidden;
}
#popup_overlay .popup_overlay_wrap {
  position: relative;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: auto;
}

#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 950px;
  max-width: 90%;
  max-height: 600px;
  background: var(--color-background);
  color: var(--color-text-body);
  border-radius: 20px;
  padding: 0;
  display: block;
}
@media (min-width: 1400px) {
  #popup {
    width: 1200px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #popup {
    width: 80%;
  }
}
@media (max-width: 767px) {
  #popup {
    width: 95%;
    margin-top: 10px;
  }
}
#popup .content {
  display: flex;
  justify-content: center;
  max-height: 600px;
  height: 100%;
  transition: all 0.3s ease;
}
@media (max-width: 991px) {
  #popup .content {
    flex-direction: column;
  }
}
#popup .content .thumb_wrap {
  width: 45%;
  position: relative;
  padding: 30px;
  overflow: hidden;
}
#popup .content .thumb_wrap img {
  height: 100%;
  border-radius: 20px;
}
@media (max-width: 991px) {
  #popup .content .thumb_wrap {
    height: 260px;
    width: 100%;
    padding: 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #popup .content .thumb_wrap {
    height: 380px;
  }
}
#popup .content .thumb_wrap .thumb {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media (max-width: 991px) {
  #popup .content .thumb_wrap .thumb {
    border-bottom-left-radius: 0%;
    border-bottom-right-radius: 0%;
  }
}
#popup .content .content_wrap {
  width: 55%;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
.mantanani #popup .content .content_wrap::before {
  content: "";
  position: absolute;
  width: 45px;
  height: 50px;
  background-image: url("../../../../scss/svg/starfish.svg");
  background-size: contain;
  background-repeat: no-repeat;
  top: 60px;
}
@media (max-width: 991px) {
  .mantanani #popup .content .content_wrap::before {
    top: 0;
    transform: translateX(-50%);
  }
}
@media (max-width: 991px) {
  #popup .content .content_wrap {
    height: auto;
    width: auto;
    display: block;
    padding: 40px 30px;
  }
}
#popup .content .content_wrap .subtitle,
#popup .content .content_wrap .title,
#popup .content .content_wrap .description {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}
#popup .content .content_wrap .description {
  line-height: 160%;
}
#popup .content .content_wrap .content {
  position: relative;
}
#popup .content .content_wrap .title {
  position: relative;
  margin-bottom: 30px;
  font-size: var(--font-size-title);
  font-weight: 700;
  font-family: var(--highlight-font-group);
  color: var(--group-color-title);
  text-transform: capitalize;
}
.magellan #popup .content .content_wrap .title {
  font-family: var(--highlight-font-magellan-hotel);
  color: var(--magellan-color-title);
}
.pacific #popup .content .content_wrap .title {
  font-family: var(--highlight-font-pacific-hotel);
  color: var(--pacific-color-title);
}
.mantanani #popup .content .content_wrap .title {
  font-family: var(--highlight-font-mantanani-hotel);
  color: var(--mantanani-color-title);
}
.marina #popup .content .content_wrap .title {
  font-family: var(--highlight-font-marina-hotel);
  color: var(--marina-color-title);
}
.klcc #popup .content .content_wrap .title {
  font-family: var(--highlight-font-klcc-hotel);
  color: var(--klcc-color-title);
}
#popup .content .content_wrap .btn {
  cursor: pointer;
  margin-top: 30px;
}

.fancybox-close-small,
.close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: url("../../../../scss/svg/cross.svg") no-repeat center center;
  z-index: 500;
  overflow: hidden;
  display: block;
  border: 1px solid #DDD;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.fancybox-close-small:hover,
.close:hover {
  border-color: var(--highlight-color);
}
@media (max-width: 991px) {
  .fancybox-close-small,
  .close {
    background-color: #FFF;
  }
}