﻿.overlay {
    width: 100%;
    height: 100%;
    position:absolute;
    background-color:#222;
    z-index:99999;
    opacity: .5;
}
.popup_wr {
    width: 600px;
    height: 400px;
    position: absolute;
    top: 25%;
    left: 50%;
    margin-left: -300px;
    z-index: 999999;
}
    .popup_wr .adv img {
       max-width: 600px !important;
    max-height: 400px !important;
    }
    .popup_wr .close_pop {
        float: right;
        width: 30px;
        cursor: pointer;
        position: absolute;
        right: -30px;
        top: -30px;
        height: 30px;
        background: url(img/remove.png) no-repeat left center;
    }
    .popup_wr .close_pop:hover {
        opacity: .8;
    }
.overlay, .popup_wr {
    display: none;
}