.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: 99999999;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s linear;
}
.popup-inc .popup-img-wrap img {
    width: 100%;
}
.popup-inc .popup-img-wrap:not(.top_bar .popup-img-wrap) {
    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: 20px;
    top: 15px;
    color: rgb(171 0 0);
    position: absolute;
    cursor: pointer;
    font-size: 1.5rem;
}
/*.popup-wrap.down .icon-close {*/
/*    right: 0;*/
/*    top: -30px;*/
/*}*/
/*.popup-wrap.down .popup-inc .popup-img-wrap img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/
.popup-wrap.down .popup-inc .popup-img-wrap {
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: flex;
}
.popup-wrap.down {
    width: 25%;
    height: 40%;
    bottom: 32px;
    top: auto;
    right: 32px;
    background: transparent;
}
/* top_bar */
body.top_bar_popup {
    padding-top: 155px;
    transition: 0.3s;
}
.popup-wrap.top_bar {
    background: transparent;
    max-height: 100px;
    top: 0;
}
.popup-wrap.top_bar .closer.icon-close {
    z-index: 1;
    position: absolute;
}
.popup-wrap.top_bar .popup-inc {
    height: 100%;
}
.popup-wrap.top_bar .popup-inc img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    object-fit: cover;
    position: relative;
    border-radius: 0;
}
.popup-wrap.top_bar .closer.icon-close,
.popup-wrap.down .icon-close,
.popup-wrap.full .icon-close {
    color: white;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--color1);
    color: black;
    border-radius: 50%;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}
.popup-wrap.top_bar .closer.icon-close:hover,
.popup-wrap.down .icon-close:hover,
.popup-wrap.full .icon-close:hover {
    background: var(--color2);
    color: white;
}
.top_bar_popup .popup-inc .popup-img-wrap img {
    margin: auto;
}
.top_bar_popup #header {
    position: fixed;
    top: 4.5rem;
}
@media only screen and (max-width: 768px) {
    .popup-wrap.down {
        width: 50%;
        height: 22%;
    }
    /*body.top_bar_popup {*/
    /*    padding-top: 32px;*/
    /*}*/
    .popup-wrap.top_bar {
        max-height: 32px;
    }
    .popup-wrap.top_bar .closer.icon-close {
        top: 8px;
        font-size: 1rem;
    }
}