/* Copyright (C) 2025
 * Calmel, Blaise (1)
 * Héraut, Louis (1) <louis.heraut@inrae.fr>
 * Vidal, Jean-Philippe (1) <jean-philippe.vidal@inrae.fr>
 *
 * (1) INRAE, UR RiverLy, Villeurbanne, France.
 *
 * This file is part of MEANDRE-TRACC.
 *
 * MEANDRE-TRACC is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * MEANDRE-TRACC is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MEANDRE-TRACC.
 * If not, see https://www.gnu.org/licenses/.
 */


.container-loading {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    align-items: center;
    justify-content: center;
}

/* LOAD MESSAGE */
.lds-ring,
.lds-ring div {
    box-sizing: border-box;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 1.6rem;
    height: 1.6rem;
}
.lds-ring.small {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 1.4rem;
    height: 1.4rem;
    margin: 0.25rem;
    border: 0.25rem solid #3d3e3e;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #3d3e3e transparent transparent transparent;
}
.lds-ring.small div {
    width: 1rem;
    height: 1rem;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0%
    {transform: rotate(0)}
    100%
    {transform: rotate(360deg)}
}
