﻿
.loader {
    display: flex;
    align-items: center;
}

.data-loader {
    --color-1: #fff;
    --color-2: #26374a;
    --size: 2px;
    width: calc(48 * var(--size));
    height: calc(48 * var(--size));
    border: calc(3 * var(--size)) solid var(--color-1);
    border-bottom-color: var(--color-2);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin: 0 auto;
    text-align: center;
}

/** WAVE Toolbar gives a "broken skip link" error because the Details datable hides the pagination
    buttons when the menu is closed. This will override the hiding of the buttons to fix the error.
    The buttons will still not be displayed or focusable until the menu is opened.
*/
details:not([open]) {
    .paginate_button {
        display: inline !important;
        visibility: visible !important;
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
