#ddexitpopwrapper {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
    align-items: center;
    justify-content: center;
}
#ddexitpopwrapper .veil {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    content: '';
    z-index: 1;
    display: none;
    cursor: default;
}
#popup_close {
    position: absolute;
    left: 100%;
    margin: 7px 0 0 -30px;
    width: 20px;
    height: 20px;
    color: #fdfdfd;
    opacity: 0.3;
    cursor: pointer;
}
#popup_close:before {
    content: '×';
    color: #000;
    font: 400 26px/1em Roboto, serif;
}
#popup_close:hover {
    opacity: 0.8;
}
.ddexitpop {
    width: 90%;
    max-width: 700px;
    border: 2px solid #000;
    padding: 10px;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    border: 2px solid #000;
    background: #fff;
    left: 0;
    top: -100px;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    visibility: hidden;
    opacity: 0;
    height: 0;
}
.ddexitpop .calltoaction {
    display: inline-block;
    text-decoration: none;
    border-radius: 3px;
    padding: 15px;
    background: #15c5ff;
    display: block;
    width: 80%;
    font: bold 24px Arial;
    box-shadow: 0 0 15px gray, 0 0 10px gray inset;
    margin: 10px auto;
    text-align: center;
    color: #fff !important;
}
div.closeexitpop {
    width: 70px;
    height: 70px;
    overflow: hidden;
    display: none;
    position: fixed;
    cursor: pointer;
    text-indent: -1000px;
    z-index: 3;
    top: 10px;
    right: 10px;
}
#ddexitpopwrapper.open {
    pointer-events: auto;
}
#ddexitpopwrapper.open .veil {
    display: block;
}
#ddexitpopwrapper.open div.closeexitpop {
    display: block;
}
#ddexitpopwrapper.open .ddexitpop {
    visibility: visible;
    opacity: 1;
    height: auto;
}
@media screen and (max-height: 765px) {
    .ddexitpop {
        top: 0;
    }
}
