﻿.modal-mask, #popup_overlay
{
    position: absolute;
    background-color: #000 !important;
    top: 0;
    left: 0;
    opacity: 0.3 !important;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=30) !important;
    display: none;
}

#popup_overlay {
    position: fixed !important;
}

.modal, #popup_container
{
    background-color: White;
    box-shadow: 0 0 4px #626262;
    display: none;
    position: fixed;
}

.modal > .header, #popup_title
{
    background: none repeat scroll 0 0 #FAFAFA;
    border-color: #FFFFFF #FFFFFF #EEEEEE;
    border-image: none;
    border-style: solid;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-width: 1px;
    color: #727272;
    font-weight: bold;
    padding: 10px;
}

.modal > .header .close-button
{
    background: url("../images/modal/close.png") repeat scroll 0 0 transparent;
    cursor: pointer;
    float: right;
    height: 18px;
    margin-top: -2px;
    width: 18px;
}

.modal > .content, #popup_content
{
    padding: 15px !important;
}

.modal .modal-error-wrapper
{
    text-align: center;
    font-size: 14px;
}
.modal .modal-error-wrapper > .modal-error-title
{
    color: rgb(51, 102, 153);
    font-weight: bold;
    text-align: center;
    font-size: 1.6em;
    margin-top: 20px;
}
.modal .modal-error-wrapper > .modal-error-message
{
    color: #555;
    margin: 20px 0;
}
.modal .modal-error-wrapper > .modal-error-button
{
    background-color: #F1F1F1;
    border-radius: 10px;
    color: #666;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin: 20px 5px;
    padding: 10px;
}
