.uc-pageloader {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.uc-pageloader {
    background-color: white;
}

.uc-pageloader:where(.uc-dark),
:where(.uc-dark) .uc-pageloader {
    background-color: #131313;
}

.uc-pageloader>.loading {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}

.uc-pageloader>.loading>div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 0;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: uc-loading 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--color-primary) transparent transparent transparent;
}

.uc-pageloader>.loading>div:nth-child(1) {
    animation-delay: -0.1s;
}

.uc-pageloader>.loading>div:nth-child(2) {
    animation-delay: -0.2s;
}

.uc-pageloader>.loading>div:nth-child(3) {
    animation-delay: -0.3s;
}

@keyframes uc-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
html.show-preloader body {
    display: none;
}

/**
 * Modal v1.0
 */
.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}


.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}


.modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 0 14px;
    align-self: flex-end;
}

.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
