body.modal-open {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}

/*悬浮消息提示*/
.toast {
    width: 100%;
    position: fixed;
    left: 50%;
    top: 50%;
    /*overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;*/
    text-align: center;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); /* IE 9 */
    -webkit-transform: translate(-50%, -50%); /* Safari and Chrome */
    -o-transform: translate(-50%, -50%); /* Opera */
    z-index: 20000000;
}

.toast span{
    display: inline-block;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    border-radius: 8px;
    line-height: 20px;
    white-space: normal;
    word-break: break-all;
    font-size: 14px;
    padding: 12px 25px;
    max-width: 300px;
    max-height: 90%;
}

.toast.top{
    top: 10%;
}

.toast.bottom{
    bottom: 10%;
}

/*悬浮提示的动画 0.5秒*/
.toast.animated{
    /*animation-duration: .3s;*/
    animation-duration: 0.5s;
    -webkit-animation-duration:0.5s;
    -moz-animation-duration:0.5s;
    -o-animation-duration:0.5s;
}
/*动画名字 from=>to 就是说 从隐藏到显示的过程为0.5s*/
.fadeIn {
    animation-name: fadeIn
}
@keyframes fadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}
/*从显示到隐藏*/
.fadeOut {
    animation-name: fadeOut
}
@keyframes fadeOut {
    from {
        opacity: 1
    }
    to {
        opacity: 0
    }
}

.popup_box_mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    display: none;
    z-index: 50;
}

.popup_box{
    width: 100%;
    min-width: 300px;
    max-width: 750px;
    margin: 0 auto;
    background: #fff;
    position: fixed;
    right: 0;
    left: 0;
    bottom: -800px;
    z-index: 51;
    display: none;
    color: #191919;
    box-sizing: border-box;
    border-radius: 0.32rem 0.32rem 0 0;
    overflow: hidden;
}

.popup_box_pc{
    top: 50%;
    left: 50%;
    bottom: auto;
    margin: unset;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%,-50%); /* IE 9 */
    -webkit-transform: translate(-50%,-50%); /* Safari and Chrome */
    -o-transform: translate(-50%,-50%); /* Opera */
    max-width: 430px;
    border-radius:16px;
}

.popup_box ._title {
    position: relative;
    text-align: center;
    height: 1rem;
    line-height: 1rem;
    font-size: 0.34rem;
    font-weight: bold;
    /*border-bottom: 1px solid #EBEBEB;*/
    box-shadow: 0px 1px 5px 0px rgb(0 0 0 / 5%);
    color: #000;
    letter-spacing: 1px;
    z-index: 1;
}

.popup_box_pc ._title {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
}

.popup_box ._close {
    font-size: 0.5rem;
    color: #888888;
    right: 0.3rem;
    top: 0.05rem;
    cursor: pointer;
    position: absolute;
    font-weight: 100;
}

.popup_box_pc ._close {
    font-size: 22px;
    right: 20px;
    /*top: 14px;*/
}

.popup_box ._con {
    max-height: 5rem;
    /*padding: 0.4rem 0.3rem;*/
    overflow: auto;
    box-sizing: border-box;
    color: #191919;
    word-break: break-word;
    white-space: normal;
}

.popup_box_pc ._con{
    max-height: 400px;
    background: white;
    padding: 20px 0 0;
}

.popup_box ._btn{
    background: white;
    padding: 0.3rem 0.5rem;
    box-sizing: border-box;
    overflow: auto;
    letter-spacing: 1px;
}

.popup_box_pc ._btn{
    text-align: center;
    padding: 20px 0;
}

.popup_box ._btn span{
    display: inline-block;
    width: 46%;
    height: 0.85rem;
    line-height: 0.85rem;
    border-radius: 0.6rem;
    font-size: 0.32rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
}

.popup_box_pc ._btn span {
    display: inline-block;
    width: 100px;
    height: 34px;
    line-height: 34px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    letter-spacing: 2px;
    cursor: pointer;
    margin: 0 12px;
    float: none!important;
}

.popup_box ._btn span:first-child{
    background: white;
    color: #169FED;
    border: 1px solid #169FED;
    float: left;
}

.popup_box ._btn span:last-child{
    background-image: linear-gradient(to left, #0C64F8, #169FED);
    color: white;
    float: right;
}

/*提示弹窗*/
.error_pop {
    position: fixed;
    z-index: 500;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    font-size: 15px;
}

.error_pop-box{
    position: fixed;
    min-width: 280px;
    max-width: 310px;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%); /* IE 9 */
    -webkit-transform: translate(-50%,-50%); /* Safari and Chrome */
    -o-transform: translate(-50%,-50%); /* Opera */
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    /*overflow: hidden;*/
}

.error_pop-box ._title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    /*overflow: hidden;*/
}

.error_pop-box ._con {
    font-size: 15px;
    color: #878787;
    margin-bottom: 20px;
    line-height: 20px;
    word-break: break-all;
    max-height: 8rem;
    overflow: auto;
}

.error_pop-box ._con.center{
    text-align: center;
}

.error_pop-box ._btn {
    height: 36px;
    line-height: 36px;
    font-size: 15px;
    text-align: center;
    background-color: #169FED;
    background-image: linear-gradient(to left, #0C64F8, #169FED);
    color: #FFFFFF;
    border-radius: 25px;
    width: 110px;
    letter-spacing: 3px;
    margin: 0 auto;
    cursor: pointer;
}

.loading {
    text-align: center;
    padding: 0.3rem 0;
}

.loading span {
    display: inline-block;
    vertical-align: middle;
}

.loading .icon {
    width: 0.36rem;
    height: 0.35rem;
    -webkit-animation:loading 1s steps(12, end) infinite;
    animation:loading 1s steps(12, end) infinite;
    background:transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;
    background-size:100%;
    margin-right: 0.1rem;
}

.loading .text {
    font-size: 0.28rem;
    color: #888;
    letter-spacing: 1px;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
        transform: rotate3d(0, 0, 1, 360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate3d(0, 0, 1, 0deg);
        transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
        -webkit-transform: rotate3d(0, 0, 1, 360deg);
        transform: rotate3d(0, 0, 1, 360deg);
    }
}

.loading-box{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
}

.loading-wrap{
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%); /* IE 9 */
    -webkit-transform: translate(-50%,-50%); /* Safari and Chrome */
    -o-transform: translate(-50%,-50%); /* Opera */
    transform: translate(-50%, -50%);
    border-radius: 10px;
    z-index: 1;
    padding: 11px 15px 12px 21px;
    background: rgba(0,0,0,0.7);
}

.loading-circle {
    width:16px;
    height:16px;
    position:relative;
    display: inline-block;
    vertical-align: middle;
}

.loading-text{
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    letter-spacing: 1px;
    color: white;
    padding-left: 10px;
}
.circle{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
.circle span{
    width:5px;
    height:5px;
    display:inline-block;
    background:white;
    border-radius: 100%;
    position:absolute;
    -webkit-animation: myCircle 1.2s infinite ease-in-out;
    animation: myCircle 1.2s infinite ease-in-out;
    -webkit-animation-fill-mode:both;
    animation-fill-mode:both;
}
.circle2{
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}
.circle3{
    -webkit-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
}
.circle>span:nth-child(1){
    top:0;
    left:0;
}
.circle>span:nth-child(2){
    top:0;
    right:0;
}
.circle>span:nth-child(3){
    right:0;
    bottom:0;
}
.circle>span:nth-child(4){
    left:0;
    bottom:0;
}
.circle2 >span:nth-child(1){
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.circle3 >span:nth-child(1){
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}
.circle1 >span:nth-child(2){
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
.circle2 >span:nth-child(2){
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
.circle3 >span:nth-child(2){
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}
.circle1 >span:nth-child(3){
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}
.circle2 >span:nth-child(3){
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.circle3 >span:nth-child(3){
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.circle1 >span:nth-child(4){
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.circle2 >span:nth-child(4){
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.circle3 >span:nth-child(4){
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes myCircle {
    0%, 80%, 100% {
        -webkit-transform: scale(0.0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes myCircle {
    0%, 80%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    40% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.layui-laydate .layui-laydate-header{
    /*background: #169FED;*/
    background-image: linear-gradient(to left, #0C64F8, #17BFFD);
}

.layui-laydate .layui-this{
    background-image: linear-gradient(to left, #0C64F8, #17BFFD);
}

.layui-laydate .layui-laydate-header{
    line-height: 28px;
    padding: 5px 70px;
}

.layui-laydate .layui-laydate-header i{
    top: 5px;
    font-size: 14px;
    font-weight: bold;
}

.layui-laydate .layui-laydate-content td,
.layui-laydate .layui-laydate-content th{
    height: 30px;
    line-height: 30px;
    padding: 0;
}

.layui-laydate .layui-laydate-footer span:hover {
    color: #169FED;
}

/*修改移动端时间控件*/
@media screen and (max-width:640px){
    .layui-laydate{
        font-size: 15px!important;
    }

    .layui-laydate.laydate-theme-molv .layui-laydate-main{
        /*width: 285px;*/
        width: 316px
    }

    .layui-laydate .layui-laydate-list>li{
        height: 42px;
        line-height: 42px;
        /*letter-spacing: 1px;*/
    }

    .layui-laydate .layui-laydate-content td,
    .layui-laydate .layui-laydate-content th{
        /*padding: 10px;*/
        display: inline-block;
        width: 38px;
        height: 34px;
        line-height: 34px;
        padding: 0;
        text-align: center;
        margin: 0 2px;
    }

    .layui-laydate .layui-laydate-footer span{
        font-size: 13px;
    }

    /*.loading {
        padding: 20px 0;
    }*/
}
