.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100000;
    opacity: 1;
    transition: opacity .5s
}

.pace:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    height: 4px
}

.pace-running {
    overflow: hidden
}

.pace-inactive {
    opacity: 0
}

.pace-hidden {
    display: none
}

.pace .pace-progress {
    background: #f06428;
    position: fixed;
    z-index: 1000001;
    top: 0;
    right: 100%;
    width: 100%;
    height: 4px
}

.pace .pace-activity {
    width: 64px;
    height: 64px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    opacity: 1
}

@media only screen and (min-width:48rem) {
    .pace .pace-activity {
        width: 104px;
        height: 104px
    }
}

.pace .pace-activity:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #19375f;
    transform: translate3d(-8px, -8px, 0)
}

.pace .pace-activity:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #19375f;
    opacity: .4;
    transform: translate3d(8px, 8px, 0)
}

.pace .pace-activity:before {
    animation: loader-left-top 7000ms linear 300ms infinite
}

.pace .pace-activity:after {
    animation: loader-right-bottom 7000ms linear 300ms infinite
}

@keyframes loader-left-top {
    0% {
        background-color: #19375f;
        transform: translate3d(-8px, -8px, 0)
    }
    10% {
        transform: translate3d(0, 0, 0);
        background-color: #19375f
    }
    15% {
        background-color: #90b0c8;
        transform: translate3d(0, 0, 0) rotate(90deg)
    }
    25% {
        transform: translate3d(-8px, -8px, 0) rotate(90deg)
    }
    35% {
        transform: translate3d(0, 0, 0) rotate(90deg);
        background-color: #90b0c8
    }
    40% {
        background-color: #ffb914;
        transform: translate3d(0, 0, 0) rotate(180deg)
    }
    50% {
        transform: translate3d(-8px, -8px, 0) rotate(180deg)
    }
    60% {
        transform: translate3d(0, 0, 0) rotate(180deg);
        background-color: #ffb914
    }
    65% {
        background-color: #f06428;
        transform: translate3d(0, 0, 0) rotate(270deg)
    }
    75% {
        transform: translate3d(-8px, -8px, 0) rotate(270deg)
    }
    85% {
        transform: translate3d(0, 0, 0) rotate(270deg);
        background-color: #f06428
    }
    90% {
        transform: translate3d(0, 0, 0) rotate(360deg);
        background-color: #19375f
    }
    100% {
        transform: translate3d(-8px, -8px, 0) rotate(360deg)
    }
}

@keyframes loader-right-bottom {
    0% {
        background-color: #19375f;
        transform: translate3d(8px, 8px, 0)
    }
    10% {
        background-color: #19375f;
        transform: translate3d(0, 0, 0)
    }
    15% {
        background-color: #90b0c8;
        transform: translate3d(0, 0, 0) rotate(90deg)
    }
    25% {
        transform: translate3d(8px, 8px, 0) rotate(90deg)
    }
    35% {
        background-color: #90b0c8;
        transform: translate3d(0, 0, 0) rotate(90deg)
    }
    40% {
        background-color: #ffb914;
        transform: translate3d(0, 0, 0) rotate(180deg)
    }
    50% {
        transform: translate3d(8px, 8px, 0) rotate(180deg)
    }
    60% {
        background-color: #ffb914;
        transform: translate3d(0, 0, 0) rotate(180deg)
    }
    65% {
        background-color: #f06428;
        transform: translate3d(0, 0, 0) rotate(270deg)
    }
    75% {
        transform: translate3d(8px, 8px, 0) rotate(270deg)
    }
    85% {
        background-color: #f06428;
        transform: translate3d(0, 0, 0) rotate(270deg)
    }
    90% {
        transform: translate3d(0, 0, 0) rotate(360deg);
        background-color: #19375f
    }
    100% {
        transform: translate3d(8px, 8px, 0) rotate(360deg)
    }
}