﻿#global-loader-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    pointer-events: all;
    touch-action: none;
}

.spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




/*nav menu loader*/
.loading-placeholder {
  display: inline-block;
  width: 4em;
  height: 1em;
  color: transparent;
  position: relative;
  font-weight: bold;
}

.loading-placeholder::after {
  content: '.';
  animation: dots 1.5s steps(3, end) infinite;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: #888;
}

@keyframes dots {
  0%, 20% {
    content: '.';
  }
  40% {
    content: '..';
  }
  60% {
    content: '...';
  }
  80%, 100% {
    content: '';
  }
}
