﻿.ajax-pos-rel {
    position: relative;
}

.ajax-busy {
    color: transparent;
}

.ajax-busy > *:not(.ajax-placeholder) {
    opacity: 0;
}

.ajax-placeholder {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ajax-skeleton {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,.06) 25%, rgba(0,0,0,.12) 37%, rgba(0,0,0,.06) 63%);
    background-size: 400% 100%;
    animation: ajax-shimmer 1.1s linear infinite;
    border-radius: 8px;
}

@keyframes ajax-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}
