/* These styles have to do with our loader device which runs
while the page is running so people dont have to see the ugly process
*/

/* First the body elements have to be set to hidden */
body {
    visibility: hidden;
}

#loader {
    border: 12px solid lightgrey;
    border-radius: 50%;
    /* border-top: 12px solid #444444; */
    border-top: 12px solid #7764ac;
    width: 90px;
    height: 90px;
    animation: spin 1s linear infinite;
    /* display: inline-block;*/
    visibility: visible;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.centerloader {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /* background: pink; */
}

.centerloader2 {
    width: 100%;
    height: 100%;
    background: white;
    visibility: visible;
    position: fixed;
    text-align: center;
}

.centerloader3 {
    position: fixed;
    /* text-align: center; */
    font-size: 25px;
    color: #7764ac;
    bottom: 30%;
    width: 100%;
    visibility: visible;
}

@media only screen and (max-height: 499.9px) and (orientation: landscape) {

    #loader {
        border: 12px solid lightgrey;
        border-radius: 50%;
        /* border-top: 12px solid #444444; */
        border-top: 12px solid #7764ac;
        width: 75px;
        height: 75px;
        animation: spin 1s linear infinite;
        /* display: inline-block;*/
        visibility: visible;
    }

    .centerloader {
        position: absolute;
        top: -15%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        /* background: pink; */
    }

    .centerloader3 {
        position: fixed;
        /* text-align: center; */
        font-size: 25px;
        color: #7764ac;
        bottom: 20%;
        width: 100%;
        visibility: visible;
    }

}

@media only screen and (max-width: 1200px) and (orientation: portrait) {

    #loader {
        border: 40px solid lightgrey;
        border-radius: 50%;
        /* border-top: 12px solid #444444; */
        border-top: 40px solid #7764ac;
        width: 200px;
        height: 200px;
        animation: spin 1s linear infinite;
        /* display: inline-block;*/
        visibility: visible;
    }

    .centerloader {
        position: absolute;
        top: -15%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        /* background: pink; */
    }

    .centerloader3 {
        position: fixed;
        /* text-align: center; */
        font-size: 80px;
        font-weight: 600;
        color: #7764ac;
        bottom: 35%;
        width: 100%;
        visibility: visible;
    }

}


@media only screen and (max-width: 1000px) and (orientation: portrait) {

    #loader {
        border: 35px solid lightgrey;
        border-radius: 50%;
        /* border-top: 12px solid #444444; */
        border-top: 35px solid #7764ac;
        width: 200px;
        height: 200px;
        animation: spin 1s linear infinite;
        /* display: inline-block;*/
        visibility: visible;
    }

    .centerloader {
        position: absolute;
        top: -15%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        /* background: pink; */
    }

    .centerloader3 {
        position: fixed;
        /* text-align: center; */
        font-size: 65px;
        font-weight: 600;
        color: #7764ac;
        bottom: 35%;
        width: 100%;
        visibility: visible;
    }

}

@media only screen and (max-width: 700px) and (orientation: portrait) {

    #loader {
        border: 30px solid lightgrey;
        border-radius: 50%;
        /* border-top: 12px solid #444444; */
        border-top: 30px solid #7764ac;
        width: 150px;
        height: 150px;
        animation: spin 1s linear infinite;
        /* display: inline-block;*/
        visibility: visible;
    }

    .centerloader {
        position: absolute;
        top: -15%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        /* background: pink; */
    }

    .centerloader3 {
        position: fixed;
        /* text-align: center; */
        font-size: 40px;
        font-weight: 600;
        color: #7764ac;
        bottom: 35%;
        width: 100%;
        visibility: visible;
    }

}

@media only screen and (max-width: 550px) and (orientation: portrait) {

    #loader {
        border: 15px solid lightgrey;
        border-radius: 50%;
        /* border-top: 12px solid #444444; */
        border-top: 15px solid #7764ac;
        width: 80px;
        height: 80px;
        animation: spin 1s linear infinite;
        /* display: inline-block;*/
        visibility: visible;
    }

    .centerloader {
        position: absolute;
        top: -15%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        /* background: pink; */
    }

    .centerloader3 {
        position: fixed;
        /* text-align: center; */
        font-size: 30px;
        font-weight: 600;
        color: #7764ac;
        bottom: 35%;
        width: 100%;
        visibility: visible;
    }

}

@media only screen and (max-width: 400px) and (orientation: portrait) {

    #loader {
        border: 30px solid lightgrey;
        border-radius: 50%;
        /* border-top: 12px solid #444444; */
        border-top: 30px solid #7764ac;
        width: 80px;
        height: 80px;
        animation: spin 1s linear infinite;
        /* display: inline-block;*/
        visibility: visible;
    }

    .centerloader {
        position: absolute;
        top: -15%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        /* background: pink; */
    }

    .centerloader3 {
        position: fixed;
        /* text-align: center; */
        font-size: 20px;
        font-weight: 600;
        color: #7764ac;
        bottom: 35%;
        width: 100%;
        visibility: visible;
    }

}