/* x0popup - v0.3.1 | http://gao-sun.github.io/x0popup */
.x0l, .x0l .ball {
    position: absolute;
}

.xi-error span::before, .xi-info span::before, .xi-ok span::before, .xi-warning span::before,.xi-expired span::before {
    content: '';
    box-sizing: border-box;
}

.x0l {
    width: 120px;
    height: 10px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

    .x0l .ball {
        width: 0;
        height: 0;
        border: 5px solid #000;
        border-radius: 30%;
        -webkit-animation-duration: 2s;
        animation-duration: 2s;
        -webkit-animation-timing-function: ease;
        animation-timing-function: ease;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
    }

    .x0l .ball-1 {
        border-color: #555;
        -webkit-animation-name: BallFly-1;
        animation-name: BallFly-1;
    }

    .x0l .ball-2 {
        border-color: #777;
        -webkit-animation-name: BallFly-2;
        animation-name: BallFly-2;
    }

    .x0l .ball-3 {
        border-color: #999;
        -webkit-animation-name: BallFly-3;
        animation-name: BallFly-3;
    }

    .x0l .ball-4 {
        border-color: #bbb;
        -webkit-animation-name: BallFly-4;
        animation-name: BallFly-4;
    }

@-webkit-keyframes BallFly-1 {
    88%,from,to {
        margin-left: 0;
    }

    38%,50% {
        margin-left: 110px;
    }
}

@keyframes BallFly-1 {
    88%,from,to {
        margin-left: 0;
    }

    38%,50% {
        margin-left: 110px;
    }
}

@-webkit-keyframes BallFly-2 {
    4%,92%,from,to {
        margin-left: 0;
    }

    42%,54% {
        margin-left: 110px;
    }
}

@keyframes BallFly-2 {
    4%,92%,from,to {
        margin-left: 0;
    }

    42%,54% {
        margin-left: 110px;
    }
}

@-webkit-keyframes BallFly-3 {
    8%,96%,from,to {
        margin-left: 0;
    }

    46%,58% {
        margin-left: 110px;
    }
}

@keyframes BallFly-3 {
    8%,96%,from,to {
        margin-left: 0;
    }

    46%,58% {
        margin-left: 110px;
    }
}

@-webkit-keyframes BallFly-4 {
    12%,from,to {
        margin-left: 0;
    }

    50%,62% {
        margin-left: 110px;
    }
}

@keyframes BallFly-4 {
    12%,from,to {
        margin-left: 0;
    }

    50%,62% {
        margin-left: 110px;
    }
}

.x0p-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180,180,180,.8);
    z-index: 99999999999; /*changed from 99998 to 99999999999 */
    -webkit-animation: x0pfadeIn .5s ease;
    animation: x0pfadeIn .5s ease;
}

.x0p, .xi {
    left: 50%;
}

.x0p {
    position: fixed;
    top: 50%;
    font-size: 16px;
    background-color: #fff;
    -webkit-transform: translate(-50%,-60%);
    transform: translate(-50%,-60%);
    font-family: STHeiti,Helvetica;
    -webkit-animation: x0ppop .45s ease;
    animation: x0ppop .45s ease;
    z-index: 99999999999;
}

    .x0p-overlay.no-animation, .x0p.no-animation, .x0p.no-animation .xi > span::before {
        -webkit-animation: none;
        animation: none;
    }

@-webkit-keyframes x0pfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes x0pfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes x0ppop {
    from {
        -webkit-transform: scale(.9) translate(-55%,-60%);
        transform: scale(.9) translate(-55%,-60%);
        opacity: .3;
    }

    50% {
        -webkit-transform: scale(1.1) translate(-45%,-60%);
        transform: scale(1.1) translate(-45%,-60%);
        opacity: .7;
    }

    to {
        -webkit-transform: scale(1) translate(-50%,-60%);
        transform: scale(1) translate(-50%,-60%);
        opacity: 1;
    }
}

@keyframes x0ppop {
    from {
        -webkit-transform: scale(.9) translate(-55%,-60%);
        transform: scale(.9) translate(-55%,-60%);
        opacity: .3;
    }

    50% {
        -webkit-transform: scale(1.1) translate(-45%,-60%);
        transform: scale(1.1) translate(-45%,-60%);
        opacity: .7;
    }

    to {
        -webkit-transform: scale(1) translate(-50%,-60%);
        transform: scale(1) translate(-50%,-60%);
        opacity: 1;
    }
}

@-webkit-keyframes x0pslideUp {
    from {
        -webkit-transform: translate(-50%,200%);
        transform: translate(-50%,200%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%,-60%);
        transform: translate(-50%,-60%);
        opacity: 1;
    }
}

@keyframes x0pslideUp {
    from {
        -webkit-transform: translate(-50%,200%);
        transform: translate(-50%,200%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%,-60%);
        transform: translate(-50%,-60%);
        opacity: 1;
    }
}

@-webkit-keyframes x0pslideDown {
    from {
        -webkit-transform: translate(-50%,-260%);
        transform: translate(-50%,-260%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%,-60%);
        transform: translate(-50%,-60%);
        opacity: 1;
    }
}

@keyframes x0pslideDown {
    from {
        -webkit-transform: translate(-50%,-260%);
        transform: translate(-50%,-260%);
        opacity: 0;
    }

    to {
        -webkit-transform: translate(-50%,-60%);
        transform: translate(-50%,-60%);
        opacity: 1;
    }
}

.xi {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.xi-ok span::before {
    position: absolute;
    height: 8%;
    border-radius: 10px;
    /*background-color: #60BF80;*/

       background-color: #00a759 !important;
    background: #00a759 !important;
    background: -moz-linear-gradient(top,#00a759,#0c835b ) !important;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#00a759),color-stop(100%,#0c835b )) !important;
    background: -webkit-linear-gradient(top,#00a759,#0c835b ) !important;
    background: -o-linear-gradient(top,#00a759,#0c835b ) !important;
    background: -ms-linear-gradient(top,#00a759,#0c835b ) !important;
    background: linear-gradient(to bottom,#00a759 ,#0c835b ) !important;
}

.xi-ok-left::before {
    width: 40%;
    left: 15%;
    top: 50%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: showOKLeft .6s ease;
    animation: showOKLeft .6s ease;
}

.xi-ok-right::before {
    width: 60%;
    left: 35%;
    top: 42%;
    -webkit-transform: rotate(-50deg);
    transform: rotate(-50deg);
    -webkit-animation: showOKRight .75s ease;
    animation: showOKRight .75s ease;
}

@-webkit-keyframes showOKLeft {
    75%,from {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 0;
        left: 21%;
        top: 37%;
    }

    to {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 40%;
        left: 15%;
        top: 50%;
    }
}

@keyframes showOKLeft {
    75%,from {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 0;
        left: 21%;
        top: 37%;
    }

    to {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        width: 40%;
        left: 15%;
        top: 50%;
    }
}

@-webkit-keyframes showOKRight {
    80%,from {
        -webkit-transform: rotate(-50deg);
        transform: rotate(-50deg);
        width: 0;
        left: 46%;
        top: 65%;
    }

    to {
        -webkit-transform: rotate(-50deg);
        transform: rotate(-50deg);
        width: 60%;
        left: 35%;
        top: 42%;
    }
}

@keyframes showOKRight {
    80%,from {
        -webkit-transform: rotate(-50deg);
        transform: rotate(-50deg);
        width: 0;
        left: 46%;
        top: 65%;
    }

    to {
        -webkit-transform: rotate(-50deg);
        transform: rotate(-50deg);
        width: 60%;
        left: 35%;
        top: 42%;
    }
}

.xi-info span::before {
    position: absolute;
    /*background-color: #5080DF;*/
    background: #3277b2;
    background: -moz-linear-gradient(top,#3277b2,#296293);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#3277b2),color-stop(100%,#296293));
    background: -webkit-linear-gradient(top,#3277b2,#296293);
    background: -o-linear-gradient(top,#3277b2,#296293);
    background: -ms-linear-gradient(top,#3277b2,#296293);
    background: linear-gradient(to bottom,#3277b2,#296293);
}

.xi-info-circle::before {
    width: 11%;
    height: 11%;
    border-radius: 50%;
    left: 50%;
    top: 15%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.xi-info-line::before {
    width: 8%;
    height: 45%;
    border-radius: 10px;
    left: 50%;
    top: 35%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.xi-warning span::before {
    position: absolute;
    /*background-color: #F29F3F;*/

    background: #f48533 !important;
    background-color: #f48533 !important;
    background: #f48533 !important;
    background: -moz-linear-gradient(top,#f48533,#cb6112) !important;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#f48533),color-stop(100%,#cb6112)) !important;
    background: -webkit-linear-gradient(top,#f48533,#cb6112) !important;
    background: -o-linear-gradient(top,#f48533,#cb6112) !important;
    background: -ms-linear-gradient(top,#f48533,#cb6112) !important;
    background: linear-gradient(to bottom,#f48533,#cb6112) !important;
}

.xi-warning-circle::before {
    width: 11%;
    height: 11%;
    border-radius: 50%;
    left: 50%;
    top: 71%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.xi-expired span::before {
    position: absolute;
    background-color: #EF6080;
    width: 8%;
    border-radius: 10px;
}

.xi-warning-line::before {
    width: 8%;
    height: 45%;
    border-radius: 10px;
    left: 50%;
    top: 15%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.xi-error span::before {
    position: absolute;
    /*background-color: #EF6080;*/
    width: 8%;
    border-radius: 10px;
      background: #F33 !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #F33), color-stop(1, #d53b3b)) !important;
    background: -ms-linear-gradient(bottom, #F33, #d53b3b) !important;
    background: -moz-linear-gradient(center bottom, #F33 0, #d53b3b 100%) !important;
    background: -o-linear-gradient(#F33, #d53b3b) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F33', endColorstr='#d53b3b', GradientType=0) !important;
    color: #fff;


}
.xi-expired-right::before {
    height: 80%;
    top: 10%;
    left: 50%;
    -webkit-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    -webkit-animation: errorDrawRight .6s ease;
    animation: errorDrawRight .6s ease;
}
.xi-expired-left::before {
    height: 80%;
    top: 10%;
    left: 50%;
    -webkit-transform: translateX(-50%) rotate(-45deg);
    transform: translateX(-50%) rotate(-45deg);
    -webkit-animation: errorDrawLeft .75s ease;
    animation: errorDrawLeft .75s ease;
}
.xi-error-right::before {
    height: 80%;
    top: 10%;
    left: 50%;
    -webkit-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
    -webkit-animation: errorDrawRight .6s ease;
    animation: errorDrawRight .6s ease;
}

.xi-error-left::before {
    height: 80%;
    top: 10%;
    left: 50%;
    -webkit-transform: translateX(-50%) rotate(-45deg);
    transform: translateX(-50%) rotate(-45deg);
    -webkit-animation: errorDrawLeft .75s ease;
    animation: errorDrawLeft .75s ease;
}

@-webkit-keyframes errorDrawLeft {
    75%,from {
        height: 0;
        top: 22%;
        left: 23%;
    }

    to {
        height: 80%;
        top: 10%;
        left: 50%;
    }
}

@keyframes errorDrawLeft {
    75%,from {
        height: 0;
        top: 22%;
        left: 23%;
    }

    to {
        height: 80%;
        top: 10%;
        left: 50%;
    }
}

@-webkit-keyframes errorDrawRight {
    80%,from {
        height: 0;
        top: 22%;
        left: 76%;
    }

    to {
        height: 80%;
        top: 10%;
        left: 50%;
    }
}

@keyframes errorDrawRight {
    80%,from {
        height: 0;
        top: 22%;
        left: 76%;
    }

    to {
        height: 80%;
        top: 10%;
        left: 50%;
    }
}

.noscroll {
    overflow: hidden;
}

.x0p.default .button, .x0p.default .icon-wrapper, .x0p.default .text-pure-wrapper, .x0p.default .text-wrapper {
    display: inline-block;
    vertical-align: top;
}

.x0p.default .icon-wrapper {
    position: relative;
    width: 23%;
    height:  76%;/*changed from 100 to  76%;*/
}

.x0p.default .text-wrapper {
    position: relative;
    /*width: 69%;
    height: 60%;/*changed from 100 to 60%*/

    width: 76%;
    height: 66%;
    /*overflow: auto;*/
    margin: 0 auto;
}

.x0p.default .text-pure-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.x0p.default .text-anchor {
    position: absolute;
    /*top: 50%;*/
    top :56%;
    width: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.x0p.default .content {
    width: 100%;
    height: 80%;
    height: calc(100% - 40px);
}

.x0p.default.no-button .content {
    height: 100%;
}

.x0p.default .buttons {
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    background-color: #eee;
}
.x0p.default .expired {
    margin-top: 1px;
    padding: 5px 10px;
    font-size: 13px;
    background-color: #fe9999;
    color: #fcfcfc;
}
.x0p.default .text-wrapper .input, .x0p.default .text-wrapper .text, .x0p.default .text-wrapper .title {
    padding-left: 0;
}

.x0p.default .title {
    padding: 0 25px;
    box-sizing: border-box;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.x0p.default .text {
    /*margin-top: 5%;*/
    margin-top :3%;
    padding: 0 25px;
    font-size: 14px; /* changed from 18px to 14px*/
    color: #777;
    /*Added to put bottom padding in message */
    padding-bottom: 14px;
    max-height: 115px;
    overflow:auto;
}

.x0p.default .error {
    margin-top: 1px;
    padding: 5px 10px;
    font-size: 13px;
    background-color: #fe9999;
    color: #fcfcfc;
}

.x0p.default .input {
    padding: 0 30px;
}

.x0p.default input[type=text], .x0p.default input[type=password] {
    margin-top: 7%;
    padding: 8px 10px;
    outline: 0;
    background-color: #f9f9f9;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: #aaa;
    font-size: 18px;
    box-sizing: border-box;
    width: 100%;
    color: #aaa;
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

    .x0p.default input[type=text]:focus, .x0p.default input[type=password]:focus {
        border-color: #5080DF;
        color: #5080DF;
    }

.x0p.default .button {
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    margin-bottom: 0;
    box-sizing: border-box;
    border: 0;
    outline-width: 0;
    outline-style: solid;
    outline-offset: -1px;
}

.x0p.default .button-outline:focus {
    outline-width: 1px;
    -webkit-animation: x0pButtonOutline .3s ease;
    animation: x0pButtonOutline .3s ease;
}

.x0p.default .button:hover {
    cursor: pointer;
}

@-webkit-keyframes x0pButtonOutline {
    from {
        outline-offset: 7px;
    }

    to {
        outline-offset: -1px;
    }
}

@keyframes x0pButtonOutline {
    from {
        outline-offset: 7px;
    }

    to {
        outline-offset: -1px;
    }
}

.x0p.default .button-ok {
    /*background-color: #60BF80;*/
    outline-color: #207F40;
    color: #fefefe;
       background-color: #00a759 !important;
    background: #00a759 !important;
    background: -moz-linear-gradient(top,#00a759,#0c835b ) !important;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#00a759),color-stop(100%,#0c835b )) !important;
    background: -webkit-linear-gradient(top,#00a759,#0c835b ) !important;
    background: -o-linear-gradient(top,#00a759,#0c835b ) !important;
    background: -ms-linear-gradient(top,#00a759,#0c835b ) !important;
    background: linear-gradient(to bottom,#00a759 ,#0c835b ) !important;
}

    .x0p.default .button-ok:hover {
        background-color: #50AF70;
    }

.x0p.default .button-cancel {
    /*background-color: #eee;
    outline-color: #aaa;
    color: #666;*/

     color: #FFF !important;
    /*background: #00a759 !important;*/

        background-color: #3c8dbc;
    background: #3277b2;
    background: -moz-linear-gradient(top,#3277b2,#296293);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#3277b2),color-stop(100%,#296293));
    background: -webkit-linear-gradient(top,#3277b2,#296293);
    background: -o-linear-gradient(top,#3277b2,#296293);
    background: -ms-linear-gradient(top,#3277b2,#296293);
    background: linear-gradient(to bottom,#3277b2,#296293);
}

    .x0p.default .button-cancel:hover:hover {
        /*background-color: #e3e3e3;*/
         box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border: none;
    }

.x0p.default .button-warning {
    /*background-color: #F29F3F;
    outline-color: #B25F00;
    color: #fefefe;*/

    color: #FFF !important;
    /*background: #f48533 !important;*/
     background: #f48533 !important;
    background-color: #f48533 !important;
    background: #f48533 !important;
    background: -moz-linear-gradient(top,#f48533,#cb6112) !important;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#f48533),color-stop(100%,#cb6112)) !important;
    background: -webkit-linear-gradient(top,#f48533,#cb6112) !important;
    background: -o-linear-gradient(top,#f48533,#cb6112) !important;
    background: -ms-linear-gradient(top,#f48533,#cb6112) !important;
    background: linear-gradient(to bottom,#f48533,#cb6112) !important;

}

    .x0p.default .button-warning:hover {
        /*background-color: #E28F2F;*/
         box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    border: none;
    }

.x0p.default .button-info {
    /*background-color: #6090EF;*/
    background: #3277b2;
    background: -moz-linear-gradient(top,#3277b2,#296293);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#3277b2),color-stop(100%,#296293));
    background: -webkit-linear-gradient(top,#3277b2,#296293);
    background: -o-linear-gradient(top,#3277b2,#296293);
    background: -ms-linear-gradient(top,#3277b2,#296293);
    background: linear-gradient(to bottom,#3277b2,#296293);
    outline-color: #2050AF;
    color: #fefefe;
}

    .x0p.default .button-info:hover {
        background-color: #5080DF;
    }

.x0p.default .button-error {
    /*background-color: #EF6080;*/
    outline-color: #AF2040;
    color: #fefefe;
      background: #F33 !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #F33), color-stop(1, #d53b3b)) !important;
    background: -ms-linear-gradient(bottom, #F33, #d53b3b) !important;
    background: -moz-linear-gradient(center bottom, #F33 0, #d53b3b 100%) !important;
    background: -o-linear-gradient(#F33, #d53b3b) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F33', endColorstr='#d53b3b', GradientType=0) !important;
 

}

    .x0p.default .button-error:hover {
        background-color: #DF5070;
    }
    .x0p.default .button-expired {
    background-color: #EF6080;
    outline-color: #AF2040;
    color: #fefefe;
}
    .x0p.default .button-expired:hover {
        background-color: #DF5070;
    }

