﻿.popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999999999999999999999999999999999;
    width: 100%;
    height: 100%;
    background-color: #33333396;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
}

    .popup .grid.wide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .popup.show {
        opacity: 1;
        pointer-events: all;
    }

.popup-container {
    position: relative;
    display: block;
}

    .popup-container img {
        max-height: 88vh;
		width: unset !important;
    }

.popup-btn {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--color-1);
    background-color: #fff;
    width: 35px;
    height: 35px;
    font-size: 14px;
    border-radius: 50%;
    transition: all .3s;
}

.popup-btn:hover {
    color: #fff;
    background-color: var(--color-1);
}

/* RS */
@media(max-width:1023px) {
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {

    .popup-container img {
        max-height: 58vh;
    }
}
