﻿div.BusyBoxContainer
{
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    display: none;
    opacity:0.4;
    filter:alpha(opacity=40);
}

div.BusyBoxContainer:not(.active) {
    display:none;
}

div.BusyBoxContainer.active {
    display:block;
}

div.BusyBox
{
    background-color: rgb(255, 255, 255);
    color: rgb(40, 40, 40);
    border: 1px solid #dddddd;
    font-size: 36px;
    text-align: center;
    padding:2em 2.5em;
    display: none;
    position: absolute;
    z-index: 99999;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(44, 44, 44, 0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(44, 44, 44, 0.5);
    box-shadow: 0px 0px 5px 0px rgba(44, 44, 44, 0.5);
}

@media only screen and (min-width: 300px) and (max-width: 1024px) {
    div.BusyBoxContainer
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999998;
        display: none;
        opacity:0.4;
        filter:alpha(opacity=40);
        overflow:hidden;
    }
    div.BusyBox
    {
        background-color: #ffffff;
        color: Black;
        border: 1px solid #555555;
        font-size: 36px;
        text-align: center;
        padding:2em 2.5em;
        display: none;
        position: fixed;
        z-index: 999999;
        border-radius:0px;
        box-shadow:0px 0px 4px rgba(0,0,0,128);
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        height: 100%;
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
    }

}




#BusyBoxMobile.BusyBox {
    border-radius:0;
    padding-top:5em;
}
div.BusyBox-text
{
    padding-bottom: 20px;
    font-size: 36px;
}


.windows8 {
    position: relative;
    width: 90px;
    height: 90px;
}

    .windows8 .wBall {
        position: absolute;
        width: 86px;
        height: 86px;
        opacity: 0;
        -moz-transform: rotate(225deg);
        -moz-animation: orbit 7.15s infinite;
        -webkit-transform: rotate(225deg);
        -webkit-animation: orbit 7.15s infinite;
        -ms-transform: rotate(225deg);
        -ms-animation: orbit 7.15s infinite;
        -o-transform: rotate(225deg);
        -o-animation: orbit 7.15s infinite;
        transform: rotate(225deg);
        animation: orbit 7.15s infinite;
    }

        .windows8 .wBall .wInnerBall {
            position: absolute;
            width: 11px;
            height: 11px;
            background: #FF8839;
            left: 0px;
            top: 0px;
            -moz-border-radius: 11px;
            -webkit-border-radius: 11px;
            -ms-border-radius: 11px;
            -o-border-radius: 11px;
            border-radius: 11px;
        }

    .windows8 #wBall_1 {
        -moz-animation-delay: 1.56s;
        -webkit-animation-delay: 1.56s;
        -ms-animation-delay: 1.56s;
        -o-animation-delay: 1.56s;
        animation-delay: 1.56s;
    }

    .windows8 #wBall_2 {
        -moz-animation-delay: 0.31s;
        -webkit-animation-delay: 0.31s;
        -ms-animation-delay: 0.31s;
        -o-animation-delay: 0.31s;
        animation-delay: 0.31s;
    }

    .windows8 #wBall_3 {
        -moz-animation-delay: 0.62s;
        -webkit-animation-delay: 0.62s;
        -ms-animation-delay: 0.62s;
        -o-animation-delay: 0.62s;
        animation-delay: 0.62s;
    }

    .windows8 #wBall_4 {
        -moz-animation-delay: 0.94s;
        -webkit-animation-delay: 0.94s;
        -ms-animation-delay: 0.94s;
        -o-animation-delay: 0.94s;
        animation-delay: 0.94s;
    }

    .windows8 #wBall_5 {
        -moz-animation-delay: 1.25s;
        -webkit-animation-delay: 1.25s;
        -ms-animation-delay: 1.25s;
        -o-animation-delay: 1.25s;
        animation-delay: 1.25s;
    }

@-moz-keyframes orbit {
    0% {
        opacity: 1;
        z-index: 99;
        -moz-transform: rotate(180deg);
        -moz-animation-timing-function: ease-out;
    }

    7% {
        opacity: 1;
        -moz-transform: rotate(300deg);
        -moz-animation-timing-function: linear;
        -moz-origin: 0%;
    }

    30% {
        opacity: 1;
        -moz-transform: rotate(410deg);
        -moz-animation-timing-function: ease-in-out;
        -moz-origin: 7%;
    }

    39% {
        opacity: 1;
        -moz-transform: rotate(645deg);
        -moz-animation-timing-function: linear;
        -moz-origin: 30%;
    }

    70% {
        opacity: 1;
        -moz-transform: rotate(770deg);
        -moz-animation-timing-function: ease-out;
        -moz-origin: 39%;
    }

    75% {
        opacity: 1;
        -moz-transform: rotate(900deg);
        -moz-animation-timing-function: ease-out;
        -moz-origin: 70%;
    }

    76% {
        opacity: 0;
        -moz-transform: rotate(900deg);
    }

    100% {
        opacity: 0;
        -moz-transform: rotate(900deg);
    }
}

@-webkit-keyframes orbit {
    0% {
        opacity: 1;
        z-index: 99;
        -webkit-transform: rotate(180deg);
        -webkit-animation-timing-function: ease-out;
    }

    7% {
        opacity: 1;
        -webkit-transform: rotate(300deg);
        -webkit-animation-timing-function: linear;
        -webkit-origin: 0%;
    }

    30% {
        opacity: 1;
        -webkit-transform: rotate(410deg);
        -webkit-animation-timing-function: ease-in-out;
        -webkit-origin: 7%;
    }

    39% {
        opacity: 1;
        -webkit-transform: rotate(645deg);
        -webkit-animation-timing-function: linear;
        -webkit-origin: 30%;
    }

    70% {
        opacity: 1;
        -webkit-transform: rotate(770deg);
        -webkit-animation-timing-function: ease-out;
        -webkit-origin: 39%;
    }

    75% {
        opacity: 1;
        -webkit-transform: rotate(900deg);
        -webkit-animation-timing-function: ease-out;
        -webkit-origin: 70%;
    }

    76% {
        opacity: 0;
        -webkit-transform: rotate(900deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: rotate(900deg);
    }
}

@-ms-keyframes orbit {
    0% {
        opacity: 1;
        z-index: 99;
        -ms-transform: rotate(180deg);
        -ms-animation-timing-function: ease-out;
    }

    7% {
        opacity: 1;
        -ms-transform: rotate(300deg);
        -ms-animation-timing-function: linear;
        -ms-origin: 0%;
    }

    30% {
        opacity: 1;
        -ms-transform: rotate(410deg);
        -ms-animation-timing-function: ease-in-out;
        -ms-origin: 7%;
    }

    39% {
        opacity: 1;
        -ms-transform: rotate(645deg);
        -ms-animation-timing-function: linear;
        -ms-origin: 30%;
    }

    70% {
        opacity: 1;
        -ms-transform: rotate(770deg);
        -ms-animation-timing-function: ease-out;
        -ms-origin: 39%;
    }

    75% {
        opacity: 1;
        -ms-transform: rotate(900deg);
        -ms-animation-timing-function: ease-out;
        -ms-origin: 70%;
    }

    76% {
        opacity: 0;
        -ms-transform: rotate(900deg);
    }

    100% {
        opacity: 0;
        -ms-transform: rotate(900deg);
    }
}

@-o-keyframes orbit {
    0% {
        opacity: 1;
        z-index: 99;
        -o-transform: rotate(180deg);
        -o-animation-timing-function: ease-out;
    }

    7% {
        opacity: 1;
        -o-transform: rotate(300deg);
        -o-animation-timing-function: linear;
        -o-origin: 0%;
    }

    30% {
        opacity: 1;
        -o-transform: rotate(410deg);
        -o-animation-timing-function: ease-in-out;
        -o-origin: 7%;
    }

    39% {
        opacity: 1;
        -o-transform: rotate(645deg);
        -o-animation-timing-function: linear;
        -o-origin: 30%;
    }

    70% {
        opacity: 1;
        -o-transform: rotate(770deg);
        -o-animation-timing-function: ease-out;
        -o-origin: 39%;
    }

    75% {
        opacity: 1;
        -o-transform: rotate(900deg);
        -o-animation-timing-function: ease-out;
        -o-origin: 70%;
    }

    76% {
        opacity: 0;
        -o-transform: rotate(900deg);
    }

    100% {
        opacity: 0;
        -o-transform: rotate(900deg);
    }
}

@keyframes orbit {
    0% {
        opacity: 1;
        z-index: 99;
        transform: rotate(180deg);
        animation-timing-function: ease-out;
    }

    7% {
        opacity: 1;
        transform: rotate(300deg);
        animation-timing-function: linear;
        origin: 0%;
    }

    30% {
        opacity: 1;
        transform: rotate(410deg);
        animation-timing-function: ease-in-out;
        origin: 7%;
    }

    39% {
        opacity: 1;
        transform: rotate(645deg);
        animation-timing-function: linear;
        origin: 30%;
    }

    70% {
        opacity: 1;
        transform: rotate(770deg);
        animation-timing-function: ease-out;
        origin: 39%;
    }

    75% {
        opacity: 1;
        transform: rotate(900deg);
        animation-timing-function: ease-out;
        origin: 70%;
    }

    76% {
        opacity: 0;
        transform: rotate(900deg);
    }

    100% {
        opacity: 0;
        transform: rotate(900deg);
    }
}


/*
    CODE TO MAKE THE SPINNER
    
<div class="windows8">
    <div class="wBall" id="wBall_1">
        <div class="wInnerBall">
        </div>
    </div>
    <div class="wBall" id="wBall_2">
        <div class="wInnerBall">
        </div>
    </div>
    <div class="wBall" id="wBall_3">
        <div class="wInnerBall">
        </div>
    </div>
    <div class="wBall" id="wBall_4">
        <div class="wInnerBall">
        </div>
    </div>
    <div class="wBall" id="wBall_5">
        <div class="wInnerBall">
        </div>
    </div>
</div>*/