﻿#loader {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto
}

    #loader .bg {
        background: #000000;
        opacity: 0.7;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
    }

    #loader > div:first {
        width: 100%;
        height: 100%;
        text-align: center;
        position: fixed;
        /*top: 0;
    left: 0;
    right: 0;
    bottom: 0;*/
        margin: auto;
        font-size: 16px;
        z-index: 10;
        color: #ffffff;
    }

#loaderItem {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin: -55px 0 0 -55px;
    border: 16px solid #DFDED5;
    border-radius: 50%;
    border-top: 16px solid #DFDED5;
    -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);
    }
}
