﻿@keyframes rotatepanel {
    0% {
        transform: perspective(var(--perspective-value)) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: perspective(var(--perspective-value)) rotateX(-180.1deg) rotateY(0deg);
    }
    100% {
        transform: perspective(var(--perspective-value)) rotateX(-180deg) rotateY(-179.9deg);
    }
}

.loader.rotating-panel {
    top: calc((100vh - var(--loader-height, 100px))/2);
    left: calc((100vw - var(--loader-width, 100px))/2);
    position: fixed;
    --perspective-value: calc(3 * var(--loader-width, 100px));
    width: var(--loader-width, 100px);
    height: var(--loader-height, 100px);
    background: var(--loader-color-primary, #00f);
    animation: rotatepanel var(--animation-duration, 1s) infinite ease-in-out;
    z-index: 999993;
}

:root{
    --loader-width: 70px;
    --loader-height: 70px;
    --loader-color-primary: #0046AD;
    --loader-color-secondary: #eee;
    --line-width: 3px;
    --animation-duration: 2s;
    --loader-initial-scale: 0.1;
}
.loader,.loader:before,.loader:after{
    box-sizing: border-box;
    flex-grow: 0;
    flex-shrink: 0;
}

.loadingbg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #FFF;
    z-index: 999990;
    top: 0;
    left: 0;
    opacity: 1;
}

.loadingContent {
    color: #0046AD;
    width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    z-index: 999991;
    text-align: center;
    vertical-align: middle;
    transform: translate(-50%,-50%);
}

.fixFoot {
    position: fixed;
    bottom: 0px;
    width: 100%;
    text-align: center;
    z-index: 99;
    padding: 5px;
}