@keyframes animate-loading {
    0% {
        right: 4px;
        top: 7px;
    }
    5% {
        top: 2px;
        right: 13px;
    }
    10% {
        top: 1px;
        right: 23px;
    }
    15% {
        top: 6px;
        right: 34px;
    }
    20% {
        top: 14px;
        right: 40px;
    }
    25% {
        right: 42px;
        top: 22px;
    }
    30% {
        top: 33px;
        right: 40px;
    }
    35% {
        top: 40px;
        right: 34px;
    }
    40% {
        top: 45px;
        right: 23px;
    }
    45% {
        top: 44px;
        right: 13px;
    }
    50% {
        right: 4px;
        top: 40px;
    }
    55% {
        top: 44px;
        right: 13px;
    }
    60% {
        top: 45px;
        right: 23px;
    }
    65% {
        top: 40px;
        right: 34px;
    }
    70% {
        top: 33px;
        right: 40px;
    }
    75% {
        right: 42px;
        top: 22px;
    }
    80% {
        top: 14px;
        right: 40px;
    }
    85% {
        top: 6px;
        right: 34px;
    }
    90% {
        top: 1px;
        right: 23px;
    }
    95% {
        top: 2px;
        right: 13px;
    }
    100% {
        right: 4px;
        top: 7px;
    }
}

@-webkit-keyframes animate-loading {
    0% {
        right: 4px;
        top: 7px;
    }
    5% {
        top: 2px;
        right: 13px;
    }
    10% {
        top: 1px;
        right: 23px;
    }
    15% {
        top: 6px;
        right: 34px;
    }
    20% {
        top: 14px;
        right: 40px;
    }
    25% {
        right: 42px;
        top: 22px;
    }
    30% {
        top: 33px;
        right: 40px;
    }
    35% {
        top: 40px;
        right: 34px;
    }
    40% {
        top: 45px;
        right: 23px;
    }
    45% {
        top: 44px;
        right: 13px;
    }
    50% {
        right: 4px;
        top: 40px;
    }
    55% {
        top: 44px;
        right: 13px;
    }
    60% {
        top: 45px;
        right: 23px;
    }
    65% {
        top: 40px;
        right: 34px;
    }
    70% {
        top: 33px;
        right: 40px;
    }
    75% {
        right: 42px;
        top: 22px;
    }
    80% {
        top: 14px;
        right: 40px;
    }
    85% {
        top: 6px;
        right: 34px;
    }
    90% {
        top: 1px;
        right: 23px;
    }
    95% {
        top: 2px;
        right: 13px;
    }
    100% {
        right: 4px;
        top: 7px;
    }
}
.c-loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 15px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    visibility: hidden;
    z-index: -1;
    opacity: 0;
}

.c-loading.is-show {
    visibility: visible;
    opacity: 1;
    z-index: 1040;
}

.c-loading__logo {
    width: 60px;
    height: 60px;
    background-image: url("../img/loading.gif");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    z-index: 1;
}

.c-loading__logo:before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    background: #FFF;
    border-radius: 100%;
    right: 4px;
    top: 7px;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    -webkit-animation-name: animate-loading;
    animation-name: animate-loading;
}

.c-loading__text {
    padding-top: 10px;
    font-size: 16px;
    color: #FFF;
    /*font-family: Arial;*/
}

.c-loading.is-page {
    background: transparent;
}

.c-loading.is-page .c-loading__text {
    color: #000;
}