/* =========================================================
   ANCOR OLD LOADER BLOCKER
   Keeps #ancor-brand-loader working normally.
   ========================================================= */

/* Common old loader containers */
html body #preloader,
html body .preloader,
html body #page-loader,
html body .page-loader,
html body #site-loader,
html body .site-loader,
html body #loader-overlay,
html body .loader-overlay,
html body #loading-overlay,
html body .loading-overlay,
html body #loading-screen,
html body .loading-screen,
html body #page-loading,
html body .page-loading,
html body #ancor-loader,
html body .ancor-loader,
html body #ancor-preloader,
html body .ancor-preloader,
html body #ancor-page-loader,
html body .ancor-page-loader,
html body #ancor-site-loader,
html body .ancor-site-loader,
html body [data-preloader],
html body [data-page-loader],
html body [data-site-loader] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

/* Never hide the new official loader */
html body #ancor-brand-loader {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Allow its normal fade-out */
html body #ancor-brand-loader.ancor-loader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Disable old pseudo-element loaders */
html.loading body::before,
html.loading body::after,
html.is-loading body::before,
html.is-loading body::after,
html.preloader-active body::before,
html.preloader-active body::after,
body.loading::before,
body.loading::after,
body.is-loading::before,
body.is-loading::after,
body.preloader-active::before,
body.preloader-active::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}
