/****************************  LOADER COMPONENT STYLES  ****************************/

#loader-wrapper h2 {
    position: absolute;
    top: 45%;
    left: 50%;
    height: 40px;
    line-height: 40px;
    margin: -20px 0 0 -80px;
    text-align: center;
    font-weight: normal;
}

#loader-wrapper {
    position: relative;
    border: 1px solid #ddd;
    width: 100%;
    height: 100px;
    color: darkgray;
}

#loader-wrapper span {
    -webkit-animation: load 4s infinite ease-in-out;
    animation: load 4s infinite ease-in-out;
    position: absolute;
    top: 50%;
    height: 10px;
    width: 30px;
    text-align: right;
    font-size: 250%;
    margin-left: -15px;
}

#loader-wrapper span:nth-child(2) {
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
    width: 20px;
}

#loader-wrapper span:nth-child(3) {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
    width: 10px;
}

@-webkit-keyframes load {
    0% {
        left: 10%;
    }
    40% {
        left: 50%;
    }
    60% {
        left: 50%;
    }
    100% {
        left: 90%;
    }
}

@keyframes load {
    0% {
        left: 10%;
    }
    40% {
        left: 50%;
    }
    60% {
        left: 50%;
    }
    100% {
        left: 90%;
    }
}

.loader-no {
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    position: absolute;
    overflow: hidden;
    background-color: #edeff5;
}

.loader {
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    position: absolute;
    overflow: hidden;
    background-color: #edeff5;
}

.loader:before{
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: #4081cc;
    animation: loading 5s linear infinite;
}

@keyframes loading {
    from {left: -200px; width: 30%;}
    50% {width: 30%;}
    70% {width: 70%;}
    80% { left: 50%;}
    95% {left: 120%;}
    to {left: 100%;}
}