.lock {
/* when modal is opened we're removing scrollbars from the main content */
overflow: hidden;
}
.shim {
/* shim will stay fixed and will take all the space available */
position: fixed;
bottom: 0; left: 0; top: 0; right: 0;
/* if modal content doesn't fit inside the shim, display scrollbars */
overflow: auto;
/* allow one-finger iPad scrolling */
-webkit-overflow-scrolling: touch;
}
/* fix for iPad glitches */
.shim > * {
-webkit-transform: translateZ(0px);
}
.shim {
background: rgba(0,0,0,0.5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000); /* IE6�IE8 */
zoom: 1;
}

.modal {
   background: none repeat scroll 0 0 #f7f6f2;
    border: 2px solid #1778c5;
    color: #222220;
    font-family: arial;
    font-size: 14px;
    font-style: italic;
    line-height: 19px;
    margin: 20% auto;
    opacity: 0.9;
    padding: 28px 25px;
    position: relative;
    width: 600px;
}
.modal .close {
background-image: url("img/modal-close-btn.png");
    background-repeat: no-repeat;
    color: transparent;
    float: right;
    font-size: 40px;
    height: 29px;
    position: absolute;
    right: 16px;
    text-decoration: none;
    top: -14px;
    width: 29px;
} 