/*
On initial page load
- prevent white flash
- show ellipsis loading animation until first content arrives
*/

/*Prevent "Loading..." message on first page paint*/
._dash-loading {
    display: none;
}

/*body:not(:has(#_pages_content[data-dash-is-loading="true"])) #initial-overlay {*/
body:has(#_pages_content) #initial-overlay {
    display: none !important;  /*inline styles*/
}
/*body:not(:has(#_pages_content[data-dash-is-loading="true"])) #initial-ellipsis-loader {*/
body:has(#_pages_content) #initial-ellipsis-loader {
    display: none;
}

/* Ellipsis Loader */
.ellipsis-loader {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 20px;
}

.ellipsis-loader span {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.ellipsis-loader span:nth-child(1) {
    left: 8px;
    animation: ellipsis1 0.6s infinite;
}

.ellipsis-loader span:nth-child(2) {
    left: 8px;
    animation: ellipsis2 0.6s infinite;
}

.ellipsis-loader span:nth-child(3) {
    left: 32px;
    animation: ellipsis2 0.6s infinite;
}

.ellipsis-loader span:nth-child(4) {
    left: 56px;
    animation: ellipsis3 0.6s infinite;
}

@keyframes ellipsis1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes ellipsis2 {
    0% { transform: translateX(0); }
    100% { transform: translateX(24px); }
}

@keyframes ellipsis3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}