
#loader
{
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    position: fixed;
    background-color: rgba(0,0,0,.9);
}

#loader .spinner
{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 40px;
    margin: auto;
    font-size: 10px;
    position: absolute;
    text-align: center;
    transform: scale(2);
}

#loader .spinner > div
{
    width: 6px;
    height: 100%;
    display: inline-block;
    background-color: #fff;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

#loader .spinner .rect2
{
    animation-delay: -1.1s;
    -webkit-animation-delay: -1.1s;
}

#loader .spinner .rect3
{
    animation-delay: -1.0s;
    -webkit-animation-delay: -1.0s;
}

#loader .spinner .rect4
{
    animation-delay: -0.9s;
    -webkit-animation-delay: -0.9s;
}

#loader .spinner .rect5
{
    animation-delay: -0.8s;
    -webkit-animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay
{
    20%
    {
        -webkit-transform: scaleY(1.0)
    }
    0%, 40%, 100%
    {
        -webkit-transform: scaleY(0.4)
    }
}

@keyframes sk-stretchdelay
{
    20%
    {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
    0%, 40%, 100%
    {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}
.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 6px;
    width: 13px;
    background: #cef;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
    left: 6px;
    animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
    left: 26px;
    animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
    left: 45px;
    animation-delay: 0;
}
@keyframes lds-facebook {
    0% {
        top: 6px;
        height: 51px;
    }
    50%, 100% {
        top: 19px;
        height: 26px;
    }
}