.loader {
    position: fixed;
    z-index: 9999999;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 20px;
    margin-top: -1em;
    /*set to a negative number 1/2 of your height*/
    margin-left: -3em;
    /*set to a negative number 1/2 of your width*/
    border: 1px solid #f3f3f3;
    background-color: #f3f3f3;
}
.duo {
    height: 20px;
    width: 50px;
    background: hsla(0, 0%, 0%, 0.0);
    position: absolute;

}

.duo,
.dot {
    animation-duration: 0.8s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.duo1 {
    left: 0;
}

.duo2 {
    left: 30px
}


.dot {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #0088cc;
    position: absolute;
}

.dot-a {
    left: 0px;
}

.dot-b {
    right: 0px;
}


@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    50% {
        transform: rotate(180deg)
    }

    100% {
        transform: rotate(180deg)
    }
}

@keyframes onOff {
    0% {
        opacity: 0;
    }

    49% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.duo1 {
    animation-name: spin;
}

.duo2 {
    animation-name: spin;
    animation-direction: reverse;
}

.duo2 .dot-b {
    animation-name: onOff;
}

.duo1 .dot-a {
    opacity: 0;
    animation-name: onOff;
    animation-direction: reverse;
}


#divLoading {
    display: none;
}

#divLoading.show {
    /*    display : block;*/
    position: fixed;
    /*    z-index: 100;*/
    /*    background-image : url("../images/fancybox_loading.gif");*/
    background-color: #f3f3f3;
    opacity: 0.5;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
}