/* BG styling for sections on the Detours page */
.detour:nth-child(odd) {
  background-color: rgb(240, 240, 240);
}
/* Added July 8, 2025 */
.detour {
  padding-top: 60px !important;
  padding-block-end: 40px;
}
/* Added July 11, 2025 */
.detour .btn_common {
  /* White background for "back to top" link buttons */
  background-color: white;
}
.detour .btn_common .btn-icon svg {
  /* Rotates "back to top" arrows to point up */
  rotate: 270deg;
}

/*  @ styling to use the round "@" symbol from the DIN font */
.at-style {
  font-feature-settings: "salt";
  color: inherit !important;
}

/* Removes the cropped corners for the svgs in the icons (not working yet) */
.icon-wrap img {
  border-radius: none !important;
}

/* Removes unintentional extra space between nested bullet points and their parents */
ul ul {
  padding-top: 0 !important;
}

/* Added July 11, 2025 */
.vert-vid .video-wrap video {
  /* Fixes vertical video */
  width: 100%;
  height: 100%;
}

/* July 14, 2025 - Fixes embedded video scaling issue (targets U2C page) */
.technology iframe {
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px 0 8px 8px;
}
.technology .video-wrap {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 0 !important;
  padding-top: 56%;
  width: 100%;
  position: relative;
  min-height: unset !important;
}

#site-loader {
  position: fixed;
  z-index:9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: #b32b32;
  transition: opacity 0.3s;
}
/* .loader-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0078d7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
  } */
#site-loader.hide {
  opacity: 0;
  pointer-events: none;
}

.loader-bg-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 456px;
  height: 100%;
  z-index: 1;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.loader-text {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 38px;
  text-align: center;
  margin-top: 248px;
  font-family: var(--body-font-family);
  @media (max-width: 768px) {
    margin-top: 116px;
  }
}

.loader-bar-wrapper {
  width: 100vw;
  max-width: 100%;
  height: 8px;
  background: #e31b23;
  margin-bottom: 30px;
  position: relative;
  overflow: visible;
}

.loader-bar {
  width: 100%;
  height: 100%;
  position: relative;
}

.loader-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 90px;
  background: #fff;
  z-index: 1;
  transition: width 0.2s linear;
}

.loader-train {
  position: absolute;
  top: -37px;
  left: 0;
  transition: left 0.2s linear;
  z-index: 3;
}

.loader-percent {
  font-family: var(--body-font-family);
  font-size: 14rem;
  font-weight: 900;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  position: relative;
  -webkit-text-stroke: 3px #e31b23;
  text-stroke: 3px #e31b23;
  position: relative;
  @media (max-width: 767px) {
    font-size: 7rem;
  }
}

.loader-percent::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(227, 27, 35, 0) 0%, #b32b32 100%);
}
