.div-loader{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 9999;
}
.loader {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 10px;
    background: #ffc107;
    border-radius: 5px;
    animation: load 1.8s ease-in-out infinite;
    z-index: 10000;
}
.loader:before, .loader:after {
    position: absolute;
    display: block;
    content: "";
    animation: load 1.8s ease-in-out infinite;
    height: 10px;
    border-radius: 5px;
}
.loader:before {
    top: -20px;
    left: 10px;
    width: 40px;
    background: #124e88;
}
.loader:after {
    bottom: -20px;
    width: 35px;
    background: #124e88;
}

@keyframes load {
    0% {
        transform: translateX(40px);
    }
    50% {
        transform: translateX(-30px);
    }
    100% {
        transform: translateX(40px);
    }
}

header [role=progressbar][aria-busy=true] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #09233A;
    animation: preloader-background linear 1s infinite;
    z-index: 10000;
}
header [role=progressbar][aria-busy=true]::before, header [role=progressbar][aria-busy=true]::after {
    display: block;
    position: absolute;
    top: 0;
    z-index: 10000;
    width: 0;
    height: 4px;
    background: #09233A;
    animation: preloader-front linear 1s infinite;
    content: "";
}
header [role=progressbar][aria-busy=true]::before {
    right: 50%;
}
header [role=progressbar][aria-busy=true]::after {
    left: 50%;
}

@keyframes preloader-background {
    0%, 100% {
        background-color: #3b78e7;
    }
}

@keyframes preloader-front {
    0% {
        width: 0;
        background-color: #3b78e7;
    }
    100% {
        width: 50%;
        background-color: #27529b;
    }
}