.loader,
.loader:after
{
  border-radius: 50%;
  width: 2em;
  height: 2em;
}
.loader
{
  font-size: 5px;
  position: relative;
  border-top: 2px solid rgba(0, 0, 0, 0.2);
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  border-left: 2px solid black;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8
{
  0%
  {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100%
  {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8
{
  0%
  {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100%
  {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 76px;
  height: 20px;
}
.lds-ellipsis div {
  position: absolute;
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

.topbarLoader {
  position: absolute;
  z-index: 2147483647;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
}

#topbarLoader {
  position: fixed;
  top: 0;
}

HTML.top #topbarLoader {
  top: env(safe-area-inset-top);
}

.progress-line {
  background-color: #98a0ff;
  display: -webkit-flex;
  display: flex;
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}
.progress-line:before {
  background-color: #092d4e;
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  will-change: transform;
  transform-origin: left;
  -webkit-animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation: running-progress 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes running-progress {
  0% { transform: translateX(0) scaleX(0); }
  50% { transform: translateX(25%) scaleX(0.75); }
  100% { transform: translateX(100%) scaleX(0); }
}

.pageLoader {
  position: absolute;
  z-index: 2147483647;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  cursor: wait;
}

#pageLoader {
  position: fixed;
  display: flex!important;
  opacity: 1;
  transition: opacity .2s;
  animation: showOpacity .2s;
  user-select: none;
}

#pageLoader[hidden] {
  opacity: 0;
  pointer-events: none;
}

.pageLoader > div {
  aspect-ratio: 1/1;
  width: auto;
  height: min(min(200px, 80vmin), 80%);
  background-color: #FFFFFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pageLoader > DIV > * {
  will-change: transform;
  min-height: 75%;
  height: 75%;
  max-height: 75%;
  max-width: 90%;
}

.cursor-progress, .cursor-progress * {
  cursor: progress;
}

/* -----------------------------------------------*/

.circle-progress {
  will-change: transform;
  --height-element: 2em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border: none;
  border-radius: 50%;
  margin: calc(var(--height-element) / 15);
  margin-left: auto; margin-right: auto;
  width: auto;
  height: var(--height-element);
  max-height: 70%;
  max-width: 100%;
  aspect-ratio: 1/1;
  color: var(--secondary-soeman-color);
  background-color: transparent;
  font-size: 16px;
  overflow: hidden;
}

.circle-progress:before {
  aspect-ratio: 1/1;
}

.circle-progress-small {
  --height-element: 1.5em;
}

.circle-progress-xsmall {
  --height-element: 1em;
}

.circle-progress-xxsmall {
  --height-element: .55em;
}

.circle-progress-large {
  --height-element: 4em;
}

.circle-progress::-webkit-progress-bar {
  background-color: transparent;
}

/* Indeterminate */
.circle-progress:indeterminate {
  will-change: transform, color;
  -webkit-mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
  mask-image: linear-gradient(transparent 50%, black 50%), linear-gradient(to right, transparent 50%, black 50%);
  animation: circle-progress 6s infinite cubic-bezier(0.3, 0.6, 1, 1), circle-progress-color 3s infinite linear alternate;
}

.circle-progress:indeterminate::before,
.circle-progress:indeterminate::-webkit-progress-value {
  content: "";
  will-change: transform;
  display: block;
  box-sizing: border-box;
  border: solid calc(var(--height-element) / 10) transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 100% !important;
  height: 100%;
  background-color: transparent;
  animation: circle-progress-pseudo 0.75s infinite linear alternate;
}

.circle-progress:indeterminate::-moz-progress-bar {
  will-change: transform;
  box-sizing: border-box;
  border: solid calc(var(--height-element) / 9) transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background-color: transparent;
  animation: circle-progress-pseudo 0.75s infinite linear alternate;
}

.circle-progress:indeterminate::-ms-fill {
  animation-name: -ms-ring;
}

@keyframes circle-progress-color {
  0% {
    color: var(--color-bleuet-foncé);
  }
  16.6% {
    color: var(--color-bleu-minuit);
  }
  33.3% {
    color: var(--color-bleu-de-france);
  }
  50% {
    color: var(--color-bleu-tiffany);
  }
  66.6% {
    color: var(--color-prune);
  }
  83.3% {
    color: var(--color-nacarat);
  }
  100% {
    color: var(--color-mandarine);
  }
}

@keyframes circle-progress {
  0% {
    transform: rotate(0deg);
  }
  12.5% {
    transform: rotate(180deg);
    animation-timing-function: linear;
  }
  25% {
    transform: rotate(630deg);
  }
  37.5% {
    transform: rotate(810deg);
    animation-timing-function: linear;
  }
  50% {
    transform: rotate(1260deg);
  }
  62.5% {
    transform: rotate(1440deg);
    animation-timing-function: linear;
  }
  75% {
    transform: rotate(1890deg);
  }
  87.5% {
    transform: rotate(2070deg);
    animation-timing-function: linear;
  }
  100% {
    transform: rotate(2520deg);
  }
}

@keyframes circle-progress-pseudo {
  0% {
    transform: rotate(-30deg);
  }
  29.4% {
    border-left-color: transparent;
  }
  29.41% {
    border-left-color: currentColor;
  }
  64.7% {
    border-bottom-color: transparent;
  }
  64.71% {
    border-bottom-color: currentColor;
  }
  100% {
    border-left-color: currentColor;
    border-bottom-color: currentColor;
    transform: rotate(225deg);
  }
}
