/* InitializeBiz — styles for the moving parts that Wix drew with its own scripts. */

/* Changing pages: the page fades to white with a small loading ring, the new one fades in. */
@keyframes ib-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ib-spin { to { transform: rotate(360deg); } }
body { animation: ib-in 450ms ease-out both; }
.ib-veil {
  position: fixed; inset: 0; z-index: 2147483000; background: #fff;
  opacity: 0; visibility: hidden; transition: opacity 350ms ease, visibility 0s linear 350ms;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.ib-leaving .ib-veil { opacity: 1; visibility: visible; transition: opacity 350ms ease; }
.ib-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(39, 93, 129, 0.2); border-top-color: #275D81;
  animation: ib-spin 800ms linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .ib-ring { animation-duration: 2s; }
}

/* Phone menu open: the page behind does not scroll. */
.ib-menu-open, .ib-menu-open body { overflow: hidden; }

/* Contact form: three-dot loading mark and the message after sending. */
@keyframes ib-dot { 0%, 80%, 100% { transform: scale(0); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.ib-dots { display: none; gap: 6px; justify-content: center; padding: 14px 0 0; }
.ib-dots.ib-show { display: flex; }
.ib-dots span { width: 10px; height: 10px; border-radius: 50%; background: #5EC1AF; animation: ib-dot 1.2s infinite ease-in-out both; }
.ib-dots span:nth-child(1) { animation-delay: -0.32s; }
.ib-dots span:nth-child(2) { animation-delay: -0.16s; }
.ib-note { display: none; font: 16px/1.4 "open sans", sans-serif; color: #000; padding-top: 12px; }
.ib-note.ib-show { display: block; }

/* Phone country code: an invisible list over Wix's globe button; the chosen code shows beside it. */
.ib-cc { position: relative; display: inline-flex; align-items: center; }
.ib-cc-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ib-cc-code { font: 16px "open sans", sans-serif; color: #000; margin-left: 4px; }
