﻿/* Loader overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* HTML: <div class="loader"></div> */
.loader {
    width: 25px;
    height: 50px;
    display: grid;
    color: #000;
    background: linear-gradient(currentColor 0 0) top/100% 2px, radial-gradient(farthest-side at top, #0000 calc(100% - 2px), currentColor calc(100% - 1px), #0000) top, linear-gradient(currentColor 0 0) bottom/100% 2px, radial-gradient(farthest-side at bottom, #0000 calc(100% - 2px), currentColor calc(100% - 1px), #0000) bottom;
    background-size: 100% 1px, 100% 50%;
    background-repeat: no-repeat;
    animation: l18 4s infinite linear;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    background: inherit;
    border: inherit;
    animation: inherit;
}

.loader::after {
    animation-duration: 2s;
}

@keyframes l18 {
    100% {
        transform: rotate(1turn);
    }
}


/* HTML: <div class="loader"></div> */
.loader22 {
    width: 60px;
    height: 25px;
    border: 2px solid;
    box-sizing: border-box;
    border-radius: 50%;
    display: grid;
    animation: l2 2s infinite linear;
}

    .loader22:before,
    .loader22:after {
        content: "";
        grid-area: 1/1;
        border: inherit;
        border-radius: 50%;
        animation: inherit;
        animation-duration: 3s;
    }

    .loader22:after {
        --s: -1;
    }

@keyframes l2 {
    100% {
        transform: rotate(calc(var(--s,1)*1turn))
    }
}