
.loading-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    display: table;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.2);
    text-align: center;
}

.loading-overlay .fa {
    display: table-cell;
    vertical-align: middle;
}

.loading-overlay .loader {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);

    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

.loading-overlay .loader div {
    width: 20px;
    height: 20px;
    float: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack:  center;
    align-content:  center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

.loading-overlay .loader div span {
    position: absolute;
    display: block;
    border-radius: 3px;
    -webkit-animation: anim 1.2s infinite;
    animation: anim 1.2s infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

@-webkit-keyframes anim {
    0% { width:0px; height:0px }
    40% { width:15px; height:15px; background: #EB6A27 }
    80% { width:0px; height:0px }
}

@keyframes anim {
    0% { width:0px; height:0px }
    40% { width:15px; height:15px; background: #EB6A27 }
    80% { width:0px; height:0px }
}

.loading-overlay .loader div:nth-child(2) span,
.loader div:nth-child(4) span {
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}

.loading-overlay .loader div:nth-child(3) span,
.loader div:nth-child(5) span,
.loader div:nth-child(7) span {
    -webkit-animation-delay: 0.30s;
    animation-delay: 0.30s;
}

.loading-overlay .loader div:nth-child(6) span,
.loader div:nth-child(8) span {
    -webkit-animation-delay: 0.45s;
    animation-delay: 0.45s;
}

.loading-overlay .loader div:nth-child(9) span {
    -webkit-animation-delay: 0.60s;
    animation-delay: 0.60s;
}

.loader-text p {
    color: #EB6A27;
    font-size: 16px;
    font-weight: bold;
}
.loader-text {
    width: 100%;
    height: 100%;
    text-align: center;
    display: table;
    position: fixed;
    left: 0;
    right: 0;
    top: calc(50% + 60px);
    z-index: 1000;
}