#loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #666;
    border-bottom: 16px solid #666;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}
.loader-container {
    display: none;
    flex-direction:column;
    align-items: center;
    position: fixed;
    top: 30%;
    left: 50%;
    margin-left: -100px; /* half width of the spinner gif */
    margin-top: -50px; /* half height of the spinner gif */
    text-align:center;
    z-index:1234;
    overflow: auto;
}
.loader-text {
    display: flex;
    flex-direction: column;
    margin: 20px 0 0;
    color: #666;
    font-weight: 600;
    animation: blinkTxt 2s linear infinite;
}

@-o-keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@-moz-keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@-o-keyframes blinkTxt {
    0% {  opacity:0; }
    50% {  opacity:1; }
    100% {  opacity:0; }
}
@-moz-keyframes blinkTxt {
    0% {  opacity:0; }
    50% {  opacity:1; }
    100% {  opacity:0; }
}
@-webkit-keyframes blinkTxt {
    0% {  opacity:0; }
    50% {  opacity:1; }
    100% {  opacity:0; }
}
@keyframes blinkTxt {
    0% {  opacity:0; }
    50% {  opacity:1; }
    100% {  opacity:0; }
}

