@charset "UTF-8";
#fade { 
    display: none;/*--по умолчанию скрыто--*/ 
    background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.3);
    position: fixed; left: 0; top: 0;
    width: 100%; height: 100%;
    opacity: .60; 
    z-index: 9999;
}
.popup_block{
    display: none; /*--по умолчанию скрыто--*/
    background: #fff;
    padding: 20px;
    float: left;
    font-size: 100%;
    position: fixed;
    top: 50%; left: 50%;color: #336699;
    max-width: 1000px;
    min-width: 320px;
    height: auto;
    z-index: 99999;
    /*--CSS3 тень блока--*/
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    /*--CSS3 скругление углов--*/
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.popup_block p  {
    padding: 0;
    margin: 0;
    color: #444;
    line-height: 1.5;
}
.popup_block h2{
    margin: 0px 0 10px;
    color: rgb(43, 43, 43);
    font-weight: 400;
    text-align: center;
    text-shadow: 1px 1px 2px #999;
}	
/* формируем кнопку закрытия */
.close {
    background-color: rgba(61, 61, 61, 0.8);
    border: 2px solid #ccc;
    height: 22px;
    line-height: 14px;
    position: absolute;
    right: -10px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 0;
    top: -10px;
    width: 22px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "x";
    font-size: 14px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
}
.shadow {
    box-shadow:4px 4px 10px #857373;
    -webkit-box-shadow:4px 4px 10px #857373;
    -moz-box-shadow:4px 4px 10px #857373;
    padding:0;
}
/*--фиксированное позиционирование для IE6--*/
*html #fade {
    position: absolute;
}
*html .popup_block {
    position: absolute;
}