#overlay {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0; left: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);

    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    overflow: auto;

}

.popup-banner {
    top: 50%; left: 0; right: 0;
    margin: auto;
    min-width: 320px;
    max-width: 580px;
    position: absolute;

    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
    transform: translateY(-50%);

}

.popup-banner img {
    width: 100%;
}
.close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 33px;
    height: 33px;
    opacity: 0.3;
    background: none;
    border: none;
    padding: 0px;
    cursor: pointer;
}
.close:hover {
    opacity: 1;
}
.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
    cursor: pointer;
    top: 0px;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}
