﻿.loader.in {
    left: 200px;
}

#wrapper.collapsed .loader.in {
    left:80px !important;
}

.loader.off {
}

body #wrapper.toggled .loader.in {
    left: 65px;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1400;
    overflow: hidden;
    background-color: #ddd;
}

    .loader:before {
        display: block;
        position: absolute;
        content: "";
        left: -200px;
        width: 200px;
        height: 4px;
        background-color: #62A6D9;
        animation: bar-loading 2s linear infinite;
    }

@keyframes bar-loading {
    from {
        left: -200px;
        width: 10%;
    }

    50% {
        width: 30%;
    }

    70% {
        width: 70%;
    }

    80% {
        left: 50%;
    }

    95% {
        left: 120%;
    }

    to {
        left: 100%;
    }
}
