


div#popup-bg {
    position: fixed;
    top: 0;
    z-index: 99999;
    background-color: rgba(0,0,0,0.85);
    width: 100%;
    height: 100%;
    display: flex;
	flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.iwd-popup {
    position: absolute;
    background-color: #fff;
    z-index: 1;
	display: flex;
}

.popup-content {
    padding: 2.4em;
    display: flex;
    flex-direction: column;
    justify-content: center;
	width: 100%;
}

.nopadding .popup-content {
    padding: 0;
}

span.popup-close {
    position: absolute;
    right: 0.4em;
    top: 0.2em;
    font-size: 2.7em;
    line-height: 1;
    cursor: pointer;
    font-weight: 200;
}

.nopadding span.popup-close {
    color: #fff;
    mix-blend-mode: difference;
}

@media only screen and (max-width: 870px) {
.iwd-popup {
    flex-direction: column;
    width: 90%;
}
.popup-content {
    min-height: 40vh;
}
}

@media only screen and (min-width: 980px) {
.iwd-popup { width: 830px; }
.popup-250 { width: 250px; }
.popup-320 { width: 320px; }
.popup-450 { width: 450px; }
.popup-600 { width: 600px; }
.popup-720 { width: 720px; }
.popup-930 { width: 930px; }
}


p:empty {
    display: none;
}