﻿.pageload-overlay {
    -webkit-backdrop-filter: blur(5px); /* Use for Safari 9+, Edge 17+ (not a mistake) and iOS Safari 9.2+ */
    backdrop-filter: blur(5px); /* Supported in Chrome 76 */
    content: "";
    display: block;
    height: 100%;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    visibility: hidden;
    width: 100%;
}

.pageload-overlay.show {
    visibility: visible;
    z-index: 9999;
}

.pageload-overlay svg {
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
}

.pageload-overlay svg path { fill: #fff; }

.pageload-overlay::after,
.pageload-overlay::before {
    -webkit-transition: opacity 0.15s, visibility 0s 0.15s;
    border-radius: 50%;
    content: '';
    height: 20px;
    left: 50%;
    margin: -10px 0 0 -10px;
    opacity: 0;
    position: fixed;
    top: 50%;
    transition: opacity 0.15s, visibility 0s 0.15s;
    visibility: hidden;
    width: 20px;
    z-index: 1000;
}

.pageload-overlay::after {
    -webkit-animation: moveRight 0.6s linear infinite alternate;
    -webkit-transform: translateX(-20px);
    animation: moveRight 0.6s linear infinite alternate;
    background: #6cc88a;
    transform: translateX(-20px);
}

.pageload-overlay::before {
    -webkit-animation: moveLeft 0.6s linear infinite alternate;
    -webkit-transform: translateX(20px);
    animation: moveLeft 0.6s linear infinite alternate;
    background: #4fc3f7;
    transform: translateX(20px);
}

@-webkit-keyframes moveRight {
    to { -webkit-transform: translateX(20px); }
}

@keyframes moveRight {
    to { transform: translateX(20px); }
}

@-webkit-keyframes moveLeft {
    to { -webkit-transform: translateX(-20px); }
}

@keyframes moveLeft {
    to { transform: translateX(-20px); }
}

.pageload-loading.pageload-overlay::after,
.pageload-loading.pageload-overlay::before {
    -webkit-transition: opacity 0.3s;
    opacity: 1;
    transition: opacity 0.3s;
    visibility: visible;
}