.popup-window {
    width: 61%;
    height: 70%;
    background: white;
    position: fixed;
    margin: 0 auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 1;
    -webkit-box-shadow: 0 11px 8px 0 rgba(0,0,0,0.2);
    box-shadow: 0 11px 8px 0 rgba(0,0,0,0.2);
    border: 2px solid #dadce0;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    @media (max-width: $desktop-breakpoint) {
        width: 100%;
        height: 100%;
        z-index: 2;
    }
    
}

.popup-window--gone {

    display: none;
}

.popup-window__title {
    color: black;
    font-weight: 300;
    margin-top: 10px;
    /* width: 100px; */
    max-width: 72%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.popup-window__subtitle {
    color: black;
    font-weight: 300;
    font-size: 11px;
    margin-top: -11px;
}

.popup-window__image__wrapper__subwrapper {
    background: red;
}

.popup-window__image {
    width: 120px;
    opacity: 0.8;
}

.popup-window__image--loaded {

    width: 94vw;
    max-height: 70vh;
    object-fit: cover;
    opacity: 1;
    max-width: 94vw;
    border-radius: 6px;
    height: 70vh;
    cursor: pointer;

}

.popup-window__button {
    width: unset;
    margin-bottom: 12px;
}

.popup-window__image__wrapper {
    // width: inherit;
    flex-direction: column-reverse;
    align-items: center;
    display: flex;
    margin-bottom: 50px;
    height: 50%;
    width: 80%;
    max-width: 80%;
    overflow: hidden;
    position: relative;
    justify-content: center;
    max-height: 50%;

    @media (max-width: $desktop-breakpoint) {
        flex-direction: column-reverse;
        align-items: center;
        display: flex;
        margin-bottom: 50px;
        overflow: visible;
        // height: 65%;
        // width: 99%;
        max-width: 100%;
        overflow: hidden;
        position: relative;
        justify-content: center;
        // max-height: 50%;
        height: 70%;
        width: 100%;
        max-height: 70%;
    }

}

.popup-window__spinner__wrapper {
    margin-left: -25px;
}

.popup-window__close-button {
    width: 29px;
    position: absolute;
    left: 8px;
    top: 10px;
    opacity: 0.7;
    cursor: pointer;
}

.popup-window__video {
    max-height: 70%;
    max-width: 95%;
    border-radius: 3px;

    
}