.hidden {
  display: none;
}

.se-pre-con.fade-out {
  opacity: 0;
}

/* transition delay to keep in sync with frontend/src/app/technical-base/bootstrap/angular.ts#L72 */
.se-pre-con--main {
  align-items: center;
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 300ms;
  width: 100%;
  z-index: 999;
}

.se-pre-con--main h1 {
  color: #001235;
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 36px;
}

.se-pre-con--main h4 {
  color: #5e6574;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 60px;
}

.se-pre-con--previsit {
  background-image: url('../images/background@2x.webp');
  background-position: center;
  background-size: cover;
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  transition: opacity 600ms;
  width: 100vw;
  z-index: 999;
}

.se-pre-con--previsit div {
  position: relative;
  text-align: center;
  top: 42%;
}

.se-pre-con--previsit p {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 18px;
}

.body--previsit {
  background-image: url('../images/background@2x.webp');
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100vw;
}

.body--previsit .p-icon {
  font-size: 130%;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.round-spinner {
  animation: spin .6s linear infinite;
  border: 3px solid #fff;
  border-radius: 50%;
  border-top: 3px solid #0046da;
  box-sizing: border-box;
  display: inline-block;
  height: 35px;
  width: 35px;
}

/**
 * loading-page-spinner
 */

 /* Screen-reader-only live status for the main loader (must not use display:none) */
.main-loader-sr-status {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.loading-page-spinner {
  animation: loading-page-spinner 2s cubic-bezier(.7,0,.33,1)  infinite;
  --main-size: 120px;
  width: var(--main-size);
  height: var(--main-size);
}

.loading-page-spinner svg {
  display: block;
  width: 100%;
  height: 100%;
}

.loading-page-spinner-petal {
  animation: loading-segment-fade 1.5s cubic-bezier(0.667, 0, 0.333, 1) infinite;
}

.spinner-petal-pink {
  animation-delay: 0s;
  fill: #F7CFEE;
}

.spinner-petal-yellow {
  animation-delay: 0.33s;
  fill: #FFE68F;
}

.spinner-petal-green {
  animation-delay: 0.66s;
  fill: #CAECC6;
}

.spinner-petal-blue {
  animation-delay: 1s;
  fill: #D1DDFF;
}

@keyframes loading-segment-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes loading-page-spinner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .loading-page-spinner {
    animation: none;
  }

  .loading-page-spinner-petal {
    animation: none;
    opacity: 1;
  }
}

/**
 * End of loading-page-spinner
 */
