﻿.loading-component {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: 14px;
    background-color: rgba(0, 0, 0, 0.25);
}

/*http://frayd.us/blog/pure-css-loading-animation/*/
.loading .outer {
    border-width: 0 3px 0 0;
    border-style: solid;
    border-radius: 50%;
    display: block;
    height: 50px;
    left: 50%;
    margin: -25px 0 0 -25px;
    position: absolute;
    top: 50%;
    width: 50px;
    animation: spin 1s infinite linear;
    -webkit-animation: spin 1s infinite linear;
}

.loading .inner {
    border-width: 0 3px 0 0;
    border-style: solid;
    border-radius: 50%;
    display: block;
    height: 44px;
    left: 50%;
    margin: -22px 0 0 -22px;
    position: absolute;
    top: 50%;
    width: 44px;
    animation: spin-reverse 1s infinite linear;
    -webkit-animation: spin-reverse 1s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin-reverse {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(-360deg);
    }
}
