html.popup-shown {
  overflow: hidden;
}

.popup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: fixed !important;
  height: 100%;
  z-index: 999999999;
  box-sizing: border-box;
  margin: auto;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  max-width: -moz-fit-content;
  max-width: fit-content;
  max-height: -moz-fit-content;
  max-height: fit-content;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 10px;
}
.popup .overlay {
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  left: 0;
}
.popup.popup-side {
  position: fixed !important;
  display: flex;
  justify-content: center;
  align-items: start;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 160px;
  height: 100%;
  max-height: -moz-fit-content;
  max-height: fit-content;
  bottom: 100px;
  padding: 0.85em 0 0.6em 1em;
  z-index: 999999999;
  box-sizing: border-box;
  left: 0;
  right: unset;
  top: 75%;
  overflow: visible;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  transition: 0.15s ease;
}
.popup.popup-side.shown {
  max-width: 300px;
  padding: 0.85em 0 0.85em 1em;
}
.popup.popup-side.shown .popup-side-text {
  line-height: 1;
}
.popup.popup-side.active .popup-side-text {
  opacity: 1;
}
.popup.popup-side p, .popup.popup-side .native {
  line-height: 1;
}
.popup.popup-side p {
  font-weight: 700;
}
.popup.popup-side .popup-side-text {
  display: block;
  line-height: 0;
  opacity: 0;
  transition: 0.2s ease;
}
.popup .popup-content {
  position: relative;
  width: auto;
  padding: 0;
  height: auto;
  min-height: 200px;
  max-height: 90dvh;
  overflow-x: hidden;
  overflow-y: auto;
}
.popup .popup-content .popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  border: unset;
  background: unset;
}
.popup .popup-content .popup-close::after {
  -webkit-mask-image: url(../images/close.svg);
          mask-image: url(../images/close.svg);
  background-color: #FFFFFF;
  width: 15px;
  height: 15px;
  left: 0.75em;
}
.popup .popup-content .popup-close .close-icon {
  display: flex;
  border: unset;
  transition: 0.3s ease;
}
.popup .popup-content .popup-close .close-icon::before {
  content: none;
}
.popup .popup-content .popup-close .close-icon::after {
  content: none;
}
.popup .popup-content .popup-close .close-icon svg {
  width: 15px;
  height: 15px;
  transition: 0.3s ease;
}
.popup .popup-content .popup-close .close-icon svg path {
  transition: fill 0.3s ease;
}
.popup .popup-content .generalImg {
  border-radius: unset;
  height: 100%;
}
.popup .popup-content .generalImg.banner img {
  border-radius: unset;
  border: 0;
  position: relative;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  left: auto;
  top: auto;
  transform: none;
}
.popup .popup-content .generalImg img {
  border-radius: unset;
  border: 0;
  position: absolute;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
  width: 100% !important;
  height: 100% !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.popup .popup-content .h2 {
  margin-bottom: unset;
}
.popup .popup-content .logo {
  max-width: 100px;
}
.popup .popup-content .btn {
  padding: 1em;
  width: -moz-fit-content;
  width: fit-content;
  border: unset;
}
.popup .popup-content .btn::before {
  content: none;
}
.popup .popup-content .btn::after {
  content: none;
}

.popup-show {
  padding: 10px;
  border: unset;
  background: unset;
  border-radius: unset;
  position: fixed;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 999;
  transition: 0.3s ease;
  max-width: 275px;
}
.popup-show:hover {
  cursor: pointer;
}
.popup-show a:hover {
  text-decoration: none;
}
.popup-show a .image {
  min-width: 75px;
  width: 75px;
}
.popup-show a .image img {
  max-width: 75px;
}

@media (max-width: 576px) {
  .popup:not(.popup-side) {
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: -moz-fit-content !important;
    height: fit-content !important;
  }
  .popup .popup-content {
    max-height: 95dvh;
    width: 90dvw;
  }
}