/**тут стили блока аякс-загрузки. Сам блок в layout, код вызова в global.js*/

.loading-block {
    display: none;
}

#ajax-animation-loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;

    position: fixed;
    top: calc(50vh - (120px / 2));
    left: calc(50vw - (120px / 2));
    z-index: 1500;
}

#ajax-animation-shadow {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 5;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}