#fade { 
    display: none;
    background: rgba(20, 20, 20, 0.8);
    position: fixed; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%;
    opacity: .57; 
    z-index: 9999;
}

.popup_block{
    display: none;
    background: #fff;
    padding: 0;
    border: 1px solid rgb(134, 134, 134);
    float: left;
    position: fixed;
    top: 55%; 
    left: 50%;
    color: #000;
    max-width: 550px;
    height: auto;
    z-index: 99999;
   -webkit-box-shadow: 0px 0px 20px #000;
   -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
}

.popup_block p  {	
    font-weight: 400;
    padding: 0;
    margin: 10px;
    color: #000;
    line-height: 1.6;
}

.close_window {
    color: #fff;
    font-size: 14px;
    width: 15px
    height: 15px;
    float: right;
    cursor: pointer;
    position: relative;
    right: 5px;
    top: 0px;
}

.close_window:before {
    color: #fff;
    font-size: 14px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
} 
.close_window:hover {
    color: red;
}

.close_dev {
    color: #fff;
    font-size: 16px;
    width: 15px
    height: 15px;
    float: right;
    cursor: pointer;
    position: relative;
    right: 5px;
    top: 0px;
}

.close_dev:before {
    color: #fff;
    font-size: 16px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
} 
.close_dev:hover {
    color: red;
}

.shadow {
    box-shadow:4px 4px 10px #857373;
   -webkit-box-shadow:4px 4px 10px #857373;
   -moz-box-shadow:4px 4px 10px #857373;
    padding:0;
}

*html #fade {
    position: absolute;
}
*html .popup_block {
    position: absolute;
}
.modale-con-dlg {
    padding: 0 0 10px 0;
}

#pgift p {
    float: center; 
    text-align: center; 
    padding: 10px 10px 10px 10px; 
}

.gift {
    display: inline-block;
    background: #FAFAFA;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #ccc;
    margin-bottom: 3px;
}
.gift:hover {
    background: #fff;
    border: 1px solid #ccc444;
}

.rmoney-notis {
    padding: 5px 0 5px 0; 
    display: block; 
    background-color: red; 
    text-shadow: 1px 1px 2px #f5f5f5; 
    font-size: 14px; color: #fff; 
    cursor: pointer;	
}

#open_gift {
    display: none;
}


#gift_popup {
    background-color: rgba(7, 87, 207, 0.8);
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#popup_con { 
    font-family: Arial;
    background: #fff;
    width: 480px;
    margin: 10% auto;
    padding: 0;
    border: 1px solid gray;
    position: relative;
   -webkit-box-shadow: 0px 0px 20px #000;
   -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
}

.x_close {
    height: 24px;
    line-height: 24px;
    position: absolute;
    right: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    top: 7px;
    width: 24px;
    outline: none;
    border: 0;
}
.x_close:hover {
    color: red;
    border: 0;
    outline: 0;
}