.modal {
    display: none;
    z-index: 99900;
    position: fixed;
    top: 0;
    left: 0
}
.modal,.modal:before {
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available
}
.modal:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6)
}

.modal .wrap {
    width: auto;
    z-index: 1;
    position: absolute;
    left: 0.1rem;
    right: 0.1rem;
    top: 50%;
    background-color: #fff;
    text-align: left;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-transition: all .35s linear;
    transition: all .35s linear;
    border-radius: 2rem
}



#modal-loading:before {
    display: block
}

#modal-loading .wrap {
    background-color: rgba(0,0,0,0) !important
}

#modal-loading .wrap .content {
    display: block !important;
    min-height: 100vh !important;
    padding: 0
}

#modal-loading .wrap .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

#modal-loading .wrap .loading .icon {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%
}

#modal-loading .wrap .loading .icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    background-image: url(../image/img_loading2.png);
    background-repeat: no-repeat;
    background-size: 1440px 180px;
    -webkit-transform: translate(-50%, -50%) scale(0.5);
    transform: translate(-50%, -50%) scale(0.5);
    -webkit-animation: iconLoading 2s step-end infinite;
    animation: iconLoading 2s step-end infinite
}

@-webkit-keyframes iconLoading {
    0% {
        background-position: 0 0
    }

    12.5% {
        background-position: -180px 0
    }

    25% {
        background-position: -360px 0
    }

    37.5% {
        background-position: -540px 0
    }

    50% {
        background-position: -720px 0
    }

    62.5% {
        background-position: -900px 0
    }

    75% {
        background-position: -1080px 0
    }

    90% {
        background-position: -1260px 0
    }

    100% {
        background-position: -1440px 0
    }
}

@keyframes iconLoading {
    0% {
        background-position: 0 0
    }

    12.5% {
        background-position: -180px 0
    }

    25% {
        background-position: -360px 0
    }

    37.5% {
        background-position: -540px 0
    }

    50% {
        background-position: -720px 0
    }

    62.5% {
        background-position: -900px 0
    }

    75% {
        background-position: -1080px 0
    }

    90% {
        background-position: -1260px 0
    }

    100% {
        background-position: -1440px 0
    }
}