.loading {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.loading .lds-facebook {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading .lds-facebook div {
    background: #ECF0F1;
}

.lds-facebook,
.lds-facebook div {
    box-sizing: border-box;
}
.lds-facebook {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
}
.lds-facebook-center {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 4px;
    width: 8px;
    background: currentColor;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
    left: 4px;
    animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
    left: 16px;
    animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
    left: 28px;
    animation-delay: 0s;
}
@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 32px;
    }
    50%, 100% {
        top: 24px;
        height: 16px;
    }
}