.douzo-modal {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #333;
    opacity: 0.5;
}

.douzo {
    position: fixed;
    z-index: 1000;
    margin: 0;
    padding: 0;
    font-size: 16px;
    text-shadow: none;
}

.douzo-box {
    position: relative;
    width: 500px;
    height: auto;
    padding: 0;
    background-color: rgba(204,204,204,.2);
    border-radius: 0;
    opacity: 1;
    border-bottom: 1px solid #F7F1E3;
    box-shadow: 0px 0px 5px -4px #333;
}

.douzo-wrapper {
    position: relative;
    background-color: #F3EDDD;
    border-radius: 0;
    padding-bottom: 5px;
}

.douzo-titlebox {
    overflow: hidden;
    font-size: 1.0em;
    color: #fff;
    background: #333;
}

.douzo-has-title, .douzo-empty-title {
    display: block;
}

.douzo-has-title {
    border-bottom: 4px solid #FC5555;
    padding: 10px;
}

.douzo-empty-title {
    padding: 2px;
}

.modal-description {
    display: block;
    font-size: 13px;
}

.douzo-resize-img {
    width: 100%;
}

.douzo-icon-warning {
    position: absolute;
    top: 7px;
    left: 12px;
    font-size: 40px !important;
}

.douzo-icon-confirm {
    position: absolute;
    top: 9px;
    left: 10px;
    font-size: 40px !important;
}

.douzo-text {
    margin-left: 46px;
    min-height: 30px;
}

.douzo-content {
    position: relative;
    padding: 10px;
    font: .9em normal helvetica,arial;
}

.douzo-content p {
    margin: 0 0 1.3em;
    line-height: 1.3em;
}

.douzo-close-button {
    position: absolute;
    top: 0;
    right: -8px;
    padding: 3px;
    border-radius: 0 1px 1px 0;
    background: #F3EDDD;
}

.douzo-close-button:hover {
    cursor: pointer;
    color: #222;
}

.douzo-footbox {
    width: 100%;
    height: 46px;
    overflow: hidden;
}

.douzo-actions {
    padding-top: 8px;
    margin: 0 10px;
}

.douzo-btnbox {
    display: inline-block;
    text-align: center;
    float: left;
    margin-right: 2px;
}

.douzo-actions .btnbox .btn {
    min-width: 75px;
}

.douzo .btn {
    display: inline-block;
    margin: 0;
    padding: 4px 6px;
    border-radius: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    color: #fff;
    font-size: 15px;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: #ccc;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    box-shadow: 0 -1px 0 rgba(255,255,255,.15) inset;
}

.douzo .douzo-success {
    background: #1DBE3D;
}

.douzo .douzo-danger {
    background: #BB333A;
}

.douzo .douzo-default {
    background: #9D9EA0;
}

.douzo .douzo-success:hover,
.douzo .douzo-success:active {
    background: #21D846;
}

.douzo .douzo-danger:hover,
.douzo .douzo-danger:active {
    background: #DE6757;
}

.douzo .douzo-default:hover,
.douzo .douzo-default:active {
    background: #ABACAD;
}

#douzo-prompt-input {
    display: block;
    margin-top: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #CCC #CCC #BCBCBC;
    background: #fff;
    padding: 4px 2px;
    color: #222;
}

.douzo-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 50px;
    margin-left: -40px;
    margin-top: -25px;
}

.douzo-loading p {
    display: block;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 0 10px #9effb5;
    margin-bottom: 4px;
}

.douzo-dot {
    display: inline-block;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 10px #9effb5;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    -webkit-animation: loading 3s ease 0s infinite;
    -moz-animation: loading 3s ease 0s infinite;
    animation: loading 3s ease 0s infinite;
}

.douzo-dot:nth-child(2) {
    animation-delay: 0.1s;
}

.douzo-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.douzo-dot:nth-child(4) {
    animation-delay: 0.8s;
}

.douzo-dot:nth-child(5) {
    animation-delay: 1.0s;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: translate3d(-60px,0,0);
        -moz-transform: translate3d(-60px,0,0);
        -ms-transform: translate3d(-60px,0,0);
        -o-transform: translate3d(-60px,0,0);
        transform: translate3d(-60px,0,0);
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    70% {
        opacity: .75;
    }

    80% {
        opacity: .35;
    }

    100% {
        -webkit-transform: translate3d(40px,0,0);
        -moz-transform: translate3d(40px,0,0);
        -ms-transform: translate3d(40px,0,0);
        -o-transform: translate3d(40px,0,0);
        transform: translate3d(40px,0,0);
        opacity: 0;
    }
}

@keyframes loading {
    0% {
        -webkit-transform: translate3d(-60px,0,0);
        -moz-transform: translate3d(-60px,0,0);
        -ms-transform: translate3d(-60px,0,0);
        -o-transform: translate3d(-60px,0,0);
        transform: translate3d(-60px,0,0);
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    70% {
        opacity: .75;
    }

    80% {
        opacity: .35;
    }

    100% {
        -webkit-transform: translate3d(40px,0,0);
        -moz-transform: translate3d(40px,0,0);
        -ms-transform: translate3d(40px,0,0);
        -o-transform: translate3d(40px,0,0);
        transform: translate3d(40px,0,0);
        opacity: 0;
    }
}
