/*下面是图片滑块验证相关样式*/
.slide-verify {
    position: relative;
}

/*图片加载样式*/
.img-loading {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    animation: loading 1.5s infinite;
    background-image: url(/images/loading.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50px;
    background-color: #737c8e;
    border-radius: 5px;
}

@keyframes loading {
    0% {
        opacity: .7;
    }
    100% {
        opacity: 9;
    }
}

/*认证成功后的文字提示*/
.success-hint {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    color: #2CD000;
    font-size: large;
}

/*验证图片*/
.slide-canvas {
    border-radius: 5px;
}

/*阻塞块*/
.slide-block {
    position: absolute;
    left: 0;
    top: 0;
}

/*校验失败时的阻塞块样式*/
.slide-block.verify-fail {
    transition: left 0.5s linear;
}

/*滑动条*/
.slider {
    position: relative;
    text-align: center;
    width: 100%;
    height: 12px;
    line-height: 12px;
    margin-top: 30px;
    background: #f7f9fa;
    color: #45494c;
    border: 1px solid #e4e7eb;
    border-radius: 5px;
}

/*滑动盒子*/
.slider-box {
    position: absolute;
    left: 0;
    top: 0;
    height: 12px;
    border: 0 solid #1991FA;
    background: #D1E9FE;
    border-radius: 5px 0 0 5px;
}

/*滑动按钮*/
.slider-button {
    position: absolute;
    top: -7px;
    left: 0;
    width: 48px;
    height: 26px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background .2s linear;
    border-radius: 10px;
}

/*滑动按钮图标*/
.slider-button .slider-button-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 26px;
    background: url("/images/btn_slider_hover.png") 0 0;
    background-size: 100% 100%;
    border-radius: 10px;
}

/*校验时的滑动箱样式*/
.verify-active .slider-box {
    /* height: 38px; */
    border-width: 1px;
}

/*校验成功时的滑动箱样式*/
.verify-success .slider-box {
    /*height: 38px;*/
    border: 1px solid #52CCBA;
    background-color: #D2F4EF;
}

/*校验失败时的滑动箱样式*/
.verify-fail .slider-box {
    /*height: 38px;*/
    border: 1px solid #f57a7a;
    /*background-color: #fce1e1;*/
    transition: width 0.5s linear;
}

