﻿#blk {
    width: 100%;
    height: 250%;
    background: black;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .6;
    display: none;
    z-index: 9998;
}

#wht {
   width: 51.1%;
   height:490px;  
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 9999;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f7f7f7;
    text-align: center;
}

#wht img {
    max-height: 490px;   
}


#wht div {
    font-size: 40px;
}

#clsbtn {
    font: normal bold 15px arial, serif;
    border: 2px solid #000;
    padding: 2px 5px;
    cursor: pointer;
    float: right;
    margin: 1%;
}

@media handheld,
only screen and (max-width: 1024px) {
    #wht {
        width: auto;
        max-height: 250px;
    }
}