.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: 999;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s linear;
}
.popup img {
    width: auto;
    margin: auto;
    position: absolute;
    right: 0;
    left: 0;
    max-height: 70%;
    display: block;
    max-width: 90%;
    height: auto;
    top: 0;
    bottom: 0;
    cursor: pointer;
}
.popup-wrap .icon-close {
    right: 1rem;
    top: 7px;
    color: var(--danger);
    position: absolute;
    cursor: pointer;
    background: white;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.popup-wrap.down {
    width: 30%;
    height: 50%;
    bottom: 15px;
    top: auto;
    right: 15px;
    background: transparent;
}
/* top_bar */
body.top_bar_popup {
    padding-top: 40px;
    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;
}
@media only screen and (max-width: 768px) {
    .popup-wrap .icon-close {
        right: 3px;
        width: 1rem;
        height: 1rem;
        font-size: 10px;
    }
}