/*Estilos Loader*/
:root {
    /*--loader-color0: rgba(32, 105, 29, 0.95);*/ /*rgba(29,152,208, .95)*/
    /*--loader-color25: rgba(27, 89, 25, 0.95);*/ /*rgba(24,123,169, .95)*/
    /*--loader-color50: rgba(19, 66, 18, 0.95);*/ /*rgba(18,95,131, .95)*/
    /*--loader-color100: rgba(12, 40, 11, 0.95);*/ /*rgba(12,65,90, .95)*/
    /*--loader-thing-color: rgba(11, 41, 7, 0.95);*/ /*rgba(12,65,90, .95)*/
    /*--loader-item-color: rgba(29, 85, 30, 0.75);*/ /*rgba(99, 210, 212, 0.75)*/
    /*--loader-item-color1: #163605;*/ /*#125f83*/
    /*--loader-border-color: #f3f3f3;
    --loader-spinner-color: rgba(31,91,78, .95);*/ /*#3498db*/

    --loader-color0: rgba(29, 152, 208, .95);
    --loader-color25: rgba(24,123,169, .95);
    --loader-color50: rgba(18,95,131, .95);
    --loader-color100: rgba(12,65,90, .95);
    --loader-thing-color: rgba(12,65,90, .95);
    --loader-item-color: rgba(99, 210, 212, 0.75);
    --loader-item-color1: #125f83;
    --loader-border-color: #f3f3f3;
    --loader-spinner-color: #3498db;
}
.overlay-loader {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 99999; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.loader-content {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    text-align: center;
    font-size: 15px;
}

/*Estilos  Spinner 1*/
.loader-spinner {
    border: 16px solid var(--loader-border-color); 
    border-top: 16px solid var(--loader-spinner-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin-right: auto;
    margin-left: auto;
}

/*========================================================*/

/* 3.1 Page Loader */

.loader {
    display: block;
    overflow: hidden;
    margin-bottom: 15%;
    font-size: 0;
}

.loader--3d {
    transform-style: preserve-3d;
    perspective: 800px;
}

.loader--slideBoth {
    overflow: visible;
}

.loader-item {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 2px;
    background-color: var(--loader-item-color);
    color: var(--loader-item-color1);
    animation-duration: 1500ms;
    animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    animation-iteration-count: infinite;
}

.loader-item:nth-child(1) {
    animation-delay: 100ms;
}

.loader-item:nth-child(2) {
    animation-delay: 200ms;
}

.loader-item:nth-child(3) {
    animation-delay: 300ms;
}

.loader-item:nth-child(4) {
    animation-delay: 400ms;
}

.loader-item:nth-child(5) {
    animation-delay: 500ms;
}

.loader-item:nth-child(6) {
    animation-delay: 600ms;
}

.loader--slowFlip .loader-item {
    animation-name: slowFlip;
}

.loader--flipHoz .loader-item {
    animation-name: flipHoz;
}

.loader--fade .loader-item {
    animation-name: fade;
    animation-duration: 1000ms;
}

.loader--slowFlip .loader-item:nth-child(1), .loader--flipHoz .loader-item:nth-child(1) {
    animation-delay: 150ms;
}

.loader--slowFlip .loader-item:nth-child(2), .loader--flipHoz .loader-item:nth-child(2) {
    animation-delay: 300ms;
}

.loader--slowFlip .loader-item:nth-child(3), .loader--flipHoz .loader-item:nth-child(3) {
    animation-delay: 450ms;
}

.loader--slowFlip .loader-item:nth-child(4), .loader--flipHoz .loader-item:nth-child(4) {
    animation-delay: 600ms;
}

.loader--slowFlip .loader-item:nth-child(5), .loader--flipHoz .loader-item:nth-child(5) {
    animation-delay: 750ms;
}

.loader--slowFlip .loader-item:nth-child(6), .loader--flipHoz .loader-item:nth-child(6) {
    animation-delay: 900ms;
}

.loader--flipDelay .loader-item {
    animation-name: flipDelay;
}

.loader--flipDelayDown .loader-item {
    animation-name: flipDelay;
    animation-direction: reverse;
}

.loader--slideDown .loader-item, .loader--slideUp .loader-item {
    animation-name: slideDown;
    animation-duration: 800ms;
    animation-timing-function: linear;
}

.loader--slideDown .loader-item {
    transform-origin: top left;
}

.loader--slideUp .loader-item {
    transform-origin: bottom left;
}

.loader--slideBoth .loader-item {
    animation-name: slideBoth;
    animation-duration: 1000ms;
    transform-origin: bottom left;
    animation-timing-function: linear;
}

/*==================================================================*/
/**********************************/
/* KEYFRAME ANIMATION DEFINITIONS */
/**********************************/
@keyframes slowFlip {
    0% {
        transform: rotateX(0deg);
    }

    40% {
        transform: rotateX(180deg);
    }

    100% {
        transform: rotateX(180deg);
    }
}

@keyframes flipHoz {
    0% {
        transform: rotateY(0deg);
    }

    40% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(180deg);
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes flipDelay {
    0% {
        transform: rotateX(0deg);
        transform-origin: 0 0 0;
        opacity: 1;
    }

    30% {
        transform: rotateX(90deg);
        transform-origin: 0 0 0;
        opacity: 0;
    }

    40% {
        transform-origin: 0 0 0;
    }

    60% {
        transform: rotateX(90deg);
        opacity: 0;
        transform-origin: 0 100% 0;
    }

    90% {
        transform: rotateX(0deg);
        opacity: 1;
        transform-origin: 0 100% 0;
    }
}

@keyframes slideDown {
    0% {
        transform: rotateX(0deg);
    }

    50% {
        transform: rotateX(90deg);
    }
}

@keyframes slideBoth {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(360deg);
    }
}

/*Estilos Spineer 1*/
/*logo-loader*/
/*-------------------------------------------------------------*/
.box {
    height: 60px;
    width: 60px;
    position: relative;
    perspective: 1000px;
}

.thing {
    height: 30px;
    width: 30px;
    background-color: var(--loader-thing-color);
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
}

.thing:nth-of-type(1) {
    animation: bounce 0.5s ease-in-out infinite alternate, move 4s -1s infinite;
}

.thing:nth-of-type(2) {
    animation: bounce 0.5s ease-in-out infinite alternate, move 4s -2s infinite;
}

.thing:nth-of-type(3) {
    animation: bounce 0.5s ease-in-out infinite alternate, move 4s -3s infinite;
}

.thing:nth-of-type(4) {
    animation: bounce 0.5s ease-in-out infinite alternate, move 4s -4s infinite;
}

@keyframes bounce {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(0.8);
    }
}

@keyframes move {
    0% {
        top: 0;
        left: 0;
        background-color: var(--loader-color0);
    }

    25% {
        top: 0;
        left: 50%;
        background-color: var(--loader-color25);
    }

    50% {
        top: 50%;
        left: 50%;
        background-color: var(--loader-color50);
    }

    75% {
        top: 50%;
        left: 0;
        background-color: var(--loader-color100);
    }
}
