﻿/*PlusOneX Custom Style*/
@import url(../PlusoneXStyle/theme.css);

.ui-widget-overlay {
    background: rgba(0,0,0, 0.5) !important;
    opacity: 1 !important;
    filter: Alpha(Opacity=100) !important;
}

.loader {
    width: 10em;
    height: 10em;
    font-size: 25px;
    box-sizing: border-box;
    border-top: 0.3em solid var(--bs-primary);
    border-radius: 50%;
    position: relative;
    animation: rotating 2s ease-in-out infinite;
    --direction: 1;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    box-sizing: border-box;
    top: -0.2em;
    z-index: 4000;
}

.loader::before {
    border-top: 0.3em solid var(--bs-secondary);
    transform: rotate(120deg);
}

.loader::after {
    border-top: 0.3em solid var(--bs-light);
    transform: rotate(240deg);
}

.loader span {
    position: absolute;
    color: white;
    width: inherit;
    height: inherit;
    text-align: center;
    line-height: 10em;
    font-family: sans-serif;
    animation: rotating 2s linear infinite;
    --direction: -1;
}

@keyframes rotating {
    50% {
        transform: rotate(calc(180deg * var(--direction)));
    }

    100% {
        transform: rotate(calc(360deg * var(--direction)));
    }
}

#timer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 4500;
}
