.popup-wrap.seen {
  opacity: 1;
  visibility: visible;
}
.popup-wrap {
  display: block;
  position: fixed;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  top: 0;
  z-index: 400;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s linear;
}
.popup img {
  width: auto;
  max-width: 100%;
  display: block;
  height: auto;
  cursor: pointer;
  max-height: 100%;
}
.popup-wrap .icon-close {
  right: 10px;
  top: 10px;
  position: absolute;
  cursor: pointer;
  background: var(--danger);
  background-color: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  font-size: 1.4rem;
}
.popup-wrap.down {
  max-width: min(300px, 60vw);
  /* max-height: 50%; */
  bottom: 15px;
  top: auto;
  left: 15px;
  background: transparent;
  width: auto;
  height: auto;
}
@media (max-width: 575.99px) {
  .popup-wrap.down {
    bottom: 13rem;
  }
}
.popup-wrap.full {
  padding: 2rem 0rem 5rem;
  backdrop-filter: blur(7px);
}
.popup-wrap.full .icon-close {
  position: static;
  margin-left: auto;
  flex: none;
  transform: translate(-0.8rem, 4rem);
}
.popup-wrap.down.right {
  right: 15px;
}
.popup-wrap.down.right .icon-close {
  right: 10px;
  left: unset;
}
/* top_bar */
body.top_bar_popup #header {
  padding-top: 50px;
  transition: 0.3s;
}
.popup-wrap.top_bar {
  background: transparent;
  max-height: 50px;
  top: 0;
}
.popup-wrap.top_bar .closer.icon-close {
  z-index: 1;
}
.popup-wrap.top_bar .popup {
  height: 100%;
}
.popup-wrap.top_bar .popup img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  object-fit: cover;
  position: relative;
}
.popup-wrap.down .popup {
  height: 100%;
}
.popup-wrap.down .icon-close {
  left: 10px;
  right: unset;
}
.popup-wrap.down .popup img {
  max-width: 100%;
  position: static;
  max-height: 100%;
  margin-left: initial;
}
.popup-wrap.full .popup {
  height: 100%;
}
.popup-inner,
.popup-wrapper {
  height: 100%;
}
.popup-wrap.full .popup-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-wrap.full .popup-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* max-width: 90%;
  max-height: 90%; */
}
