.modalDialog {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0,0.8);
        z-index: 99999;
        opacity:0;
        -webkit-transition: opacity 400ms ease-in;
        transition: opacity 400ms ease-in;
        pointer-events: none;
        overflow-y: initial !important
    }

    .modalDialog h2 {
        font-size: 18px !important;
    }

    .modalDialog p {
        font-size: 12px;
    }

    .modalDialog:target {
        opacity:1;
        pointer-events: auto;
    }

    .modalDialog > div {
        width: 60%;
        position: relative;
        margin: 10% auto;
        padding: 15px 20px 13px 20px;
        border-radius: 10px;
        background: #fff;
        background: -o-linear-gradient(#fff, #999);
    }

    .close {
        background: #ffc200;
        color: #FFFFFF;
        line-height: 25px;
        position: absolute;
        right: -12px;
        text-align: center;
        top: -10px;
        width: 24px;
        text-decoration: none;
        font-weight: bold;
        border-radius: 12px;
        -webkit-box-shadow: 1px 1px 3px #000;
        box-shadow: 1px 1px 3px #000;
    }

    .close:hover { background: #00d9ff; }

@media screen and (max-width: 736px) {
    
        .modalDialog > div {
            width: 92%;
            max-height: 400px;
            overflow-y: auto;            
        }
    
        .close {
        background: #ffc200;
        color: #FFFFFF;
        line-height: 25px;
        position: absolute;
        right: 5px;
        text-align: center;
        top: 5px;
        width: 24px;
        text-decoration: none;
        font-weight: bold;
        border-radius: 12px;
        -webkit-box-shadow: 1px 1px 3px #000;
        box-shadow: 1px 1px 3px #000;
        }
}