﻿#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

/*#myDiv {
    display: none;
    text-align: center;
}*/
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
}*/

.load-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    flex-direction: column;
}

.box-wrapper {
    width: 10vw;
    height: 10vw;
    position: relative;
    transform: rotate(48deg) skew(-200deg, -24deg);
    transform-origin: center center;
}

    .box-wrapper div {
        position: absolute;
        left: 50%;
        top: 25%;
        width: 25%;
        height: 25%;
        background: transparent;
        display: block;
        transform-origin: left bottom;
    }

    .box-wrapper > div:nth-child(2) {
        transform: rotate(90deg);
    }

    .box-wrapper > div:nth-child(3) {
        transform: rotate(180deg);
    }

    .box-wrapper > div:nth-child(4) {
        transform: rotate(270deg);
    }

    .box-wrapper div > span {
        position: absolute;
        display: block;
        border: 2px solid transparent;
        animation: move 12s ease-in-out infinite;
        box-shadow: inset 10px 10px 10px 2px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
    }

    .box-wrapper div:nth-child(2) > span {
        box-shadow: inset 10px -10px 10px 2px rgba(0, 0, 0, 0.3);
    }

    .box-wrapper div:nth-child(3) > span {
        box-shadow: inset -10px -10px 10px 2px rgba(0, 0, 0, 0.3);
    }

    .box-wrapper div:nth-child(4) > span {
        box-shadow: inset -10px 10px 10px 2px rgba(0, 0, 0, 0.3);
    }

.load-wrapper p {
    font-size: 2rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.4);
    letter-spacing: 0.2rem;
    text-transform: capitalize;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-shadow: 0px 2px 2px rgba(255, 255, 255, 0.6);
    font-style: italic;
}

@keyframes move {
    0%, 100% {
        left: 0%;
        top: 0%;
        width: 100%;
        height: 100%;
    }

    4.16% {
        left: 0%;
        top: 0%;
        width: 200%;
        height: 100%;
    }

    8.33% {
        left: 100%;
        top: 0%;
        width: 100%;
        height: 100%;
    }

    12.5% {
        left: 100%;
        top: 0%;
        width: 100%;
        height: 200%;
    }

    16.66% {
        left: 100%;
        top: 100%;
        width: 100%;
        height: 100%;
    }

    20.83% {
        left: 0%;
        top: 100%;
        width: 200%;
        height: 100%;
    }

    25% {
        left: 0%;
        top: 100%;
        width: 100%;
        height: 100%;
    }

    29.16% {
        left: 0%;
        top: 100%;
        width: 100%;
        height: 200%;
    }

    33.33% {
        left: 0%;
        top: 200%;
        width: 100%;
        height: 100%;
    }

    37.5% {
        left: -100%;
        top: 200%;
        width: 200%;
        height: 100%;
    }

    41.66% {
        left: -100%;
        top: 200%;
        width: 100%;
        height: 100%;
    }

    45.83% {
        left: -100%;
        top: 100%;
        width: 100%;
        height: 200%;
    }

    50% {
        left: -100%;
        top: 100%;
        width: 100%;
        height: 100%;
    }

    54.16% {
        left: -200%;
        top: 100%;
        width: 200%;
        height: 100%;
    }

    58.33% {
        left: -200%;
        top: 100%;
        width: 100%;
        height: 100%;
    }

    62.5% {
        left: -200%;
        top: 0%;
        width: 100%;
        height: 200%;
    }

    66.66% {
        left: -200%;
        top: 0%;
        width: 100%;
        height: 100%;
    }

    70.83% {
        left: -200%;
        top: 0%;
        width: 200%;
        height: 100%;
    }

    75% {
        left: -100%;
        top: 0%;
        width: 100%;
        height: 100%;
    }

    79.16% {
        left: -100%;
        top: -100%;
        width: 100%;
        height: 200%;
    }

    83.33% {
        left: -100%;
        top: -100%;
        width: 100%;
        height: 100%;
    }

    87.5% {
        left: -100%;
        top: -100%;
        width: 200%;
        height: 100%;
    }

    91.66% {
        left: 0%;
        top: -100%;
        width: 100%;
        height: 100%;
    }

    95.83% {
        left: 0%;
        top: -100%;
        width: 100%;
        height: 200%;
    }
}

#histroygrid {
/*     width:200px;
    height:200px;*/
    background-color: #CCCCCC;
    position: relative;
}

.spinner {
    border: 8px solid silver;
    border-top: 7px solid #337AB7;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 55%;
    position: absolute;
}
.spinnergrid {
    border: 8px solid silver;
    border-top: 7px solid #337AB7;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 700ms linear infinite;
    top: -20px;
    left: 50%;
    position: absolute;
}
.spinnerdetails {
    border: 8px solid silver;
    border-top: 7px solid #337AB7;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 45%;
    z-index: 1050;
    position: absolute;
}

.loaderEntireDiv:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1050;
    /*background: -webkit-radial-gradient( rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.8) );*/
}
 

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}