@-webkit-keyframes shake {
    0% {
        -webkit-transform: rotate(2deg) translate3d(0, 0, 0)
    }

    50% {
        -webkit-transform: rotate(-2deg) translate3d(0, 0, 0)
    }

    100% {
        -webkit-transform: rotate(2deg) translate3d(0, 0, 0)
    }
}

@-moz-keyframes shake {
    0% {
        transform: rotate(2deg) translate3d(0, 0, 0)
    }

    50% {
        transform: rotate(-2deg) translate3d(0, 0, 0)
    }

    100% {
        transform: rotate(2deg) translate3d(0, 0, 0)
    }
}

@-ms-keyframes shake {
    0% {
        transform: rotate(2deg) translate3d(0, 0, 0)
    }

    50% {
        transform: rotate(-2deg) translate3d(0, 0, 0)
    }

    100% {
        transform: rotate(2deg) translate3d(0, 0, 0)
    }
}

.red {
    width: 300px;
    height: 345px;
    /*border-radius: 15px;*/
    /*box-shadow: 1px 1px 20px #666;*/
    position: fixed;
    top: 50%;
    left: 50%;
    overflow: hidden;
    margin-left: -150px;
    margin-top: -172px;
    transform-origin: 50% 100%;
    -webkit-transform-origin: 50% 100%;
    z-index: 9999;
}

.red img {
    width: 100%;
    height: auto;
}

.shake {
    animation: shake .2s infinite linear;
    -webkit-animation: shake .2s infinite linear;
}

.red {
    color: #F00;
}

.windows {
    width: 300px;
    height: 345px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -172px;
    border-radius: 15px;
    background-image: url("/Public/Home/images/red_custom.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    padding-top: 115px;
    padding-left: 10px;
    padding-right: 10px;
    display: none;
    z-index: 9999;
}

.text {
    text-align: center;
    vertical-align: middle;
    color: #f00;
    font-size: 40px;
    font-weight: bold;
    margin-top: 90px;
    letter-spacing: 0;
    /*margin-left: -30px;*/
}

.red_title {
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    margin-top: -100px;
    letter-spacing: 0;
}

.red_content {
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 160px;
    letter-spacing: 0;
    /*margin-left: -30px;*/
}

.text a {
    color: #fff;
}

#money_value {
    font-size: 25px;
    color: #ffe715;
}

/*.close {*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    position: absolute;*/
/*    right: -10px;*/
/*    top: -10px;*/
/*    background: #c7c7c7;*/
/*    border-radius: 50%;*/
/*    cursor: pointer;*/
/*    text-align: center;*/
/*    transition: all 0.5s linear;*/
/*    -webkit-transition: all 0.5s linear;*/
/*    -moz-transition: all 0.5s linear;*/
/*    -ms-transition: all 0.5s linear;*/
/*    -o-transition: all 0.5s linear;*/
/*}*/

.close img {
    padding-top: 5px;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -10px;
    top: -10px;
    background: #c7c7c7;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
}

.opacity {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
    z-index: 10;
    width: 100%;
    height: 100%;
    display: none;
}