#w0-error,#w0-success{
    position: fixed;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    box-sizing: border-box;
}
@media screen and (min-width: 768px) {
    #w0-error .message,#w0-success .message{
        width: 450px;
        text-align: center;
        transform: translate(-50%, -50%);
        position: absolute;
        left: 50%;
        top: 50%;
        color: #808080;
        font-size: 20px;
        padding: 50px 30px;
        background: #fff;
        border-radius: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }
    #w0-error .close,#w0-success .close{
        position: absolute;
        left: calc(50% + 180px);
        top: 50%;
        transform: translate(0,calc(-50% - 35px));
        color: #808080;
        font-size: 3.18rem;
        padding: 10px 10px;
        background: #fff;
        border-radius: 8px;
        z-index: 99;
    }
}
@media screen and (max-width: 767px) {
    #w0-error .message,#w0-success .message{
        width: 300px;
        text-align: center;
        transform: translate(-50%, -50%);
        position: absolute;
        left: 50%;
        top: 50%;
        color: #808080;
        font-size: 20px;
        padding: 50px 30px;
        background: #fff;
        border-radius: 8px;
        max-width: 100%;
        box-sizing: border-box;
    }
    #w0-error .close,#w0-success .close{
        position: absolute;
        left: calc(50% + 100px);
        top: 50%;
        transform: translate(0,calc(-50% - 50px));
        color: #808080;
        font-size: 3.18rem;
        padding: 10px 10px;
        background: #fff;
        border-radius: 8px;
        z-index: 99;
    }
}
.fade.in {
    opacity: 1;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}