/* Omnis Website Fixes */
/* ===================== */

/* Hide broken DIVI icons */
.et-pb-icon,
.et-pb-icon:hover,
.et-pb-icon:focus {
    display: none !important;
    visibility: hidden !important;
}

/* Clear any content from icon spans */
.et-pb-icon::before,
.et-pb-icon::after {
    content: "" !important;
    display: none !important;
}

/* Ensure icon containers don't show stray characters */
.et_pb_main_blurb_image .et-pb-icon {
    font-size: 0 !important;
    line-height: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Remove boxes next to phone/email in header */
#et-info-phone::before,
#et-info-phone::after,
#et-info-email::before,
#et-info-email::after {
    content: none !important;
    display: none !important;
}

/* Ensure no stray characters after navigation */
#top-menu::after,
#top-menu-nav::after {
    content: none !important;
    display: none !important;
}

/* Remove excessive top spacing */
#main-content,
.entry-content,
article {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Hide search icon and search functionality */
#et_top_search,
#et_search_icon {
  display: none !important;
}

/* Hide toggle arrows */
.et_pb_toggle_title::after,
.et_pb_toggle::after {
  display: none !important;
  content: none !important;
}

/* Force DIVI toggles to always show content */
.et_pb_toggle .et_pb_toggle_content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Hide the toggle arrow/icon boxes */
.et_pb_toggle_title::after,
.et_pb_toggle_title::before {
  display: none !important;
  content: none !important;
}

/* Optional: Style the toggle titles better */
.et_pb_toggle_title {
  cursor: default;  /* Remove pointer cursor since they don't click anymore */
}

/* Hide the "5" icon on CTA/promo buttons */
.et_pb_promo_button::after,
.et_pb_button::after,
.et_pb_cta .et_pb_button::after {
  display: none !important;
  content: none !important;
}

/* ========================================
   OPTION A: Top Sticky Banner with Scrolling Text
   ======================================== */
.coming-soon-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #2d7cb5;
  color: #ffffff;
  padding: 10px 0;
  z-index: 99999;
  box-shadow: 0 3px 15px rgba(0,0,0,0.3);
  border-bottom: 2px solid #1a5a8a;
  overflow: hidden;
}

.coming-soon-banner .scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
}

.coming-soon-banner .scrolling-text a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

body.has-top-banner #main-header,
body.has-top-banner header {
  margin-top: 40px;
}

/* ========================================
   OPTION B: Hero Overlay Banner (Single Line)
   ======================================== */
.coming-soon-overlay {
  background: #2d7cb5;
  color: #ffffff;
  padding: 14px 20px;
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  border-bottom: 3px solid #1a5a8a;
}

.coming-soon-overlay a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.coming-soon-overlay .separator {
  color: #a0d0f0;
  margin: 0 12px;
  font-weight: 300;
}

/* ========================================
   Scrolling "Coming Soon" Banner in Top Header
   ======================================== */
#et-info .scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
}

#et-info .scrolling-text a {
  color: #ffffff;
  text-decoration: underline;
}

#et-info .scrolling-text .highlight {
  color: #ffdd00;
  font-weight: bold;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Hide secondary menu when scrolling banner is active */
#top-header #et-secondary-menu {
  display: none;
}

/* ========================================
   Disable ALL DIVI animations - ensure images show
   ======================================== */
.et-waypoint,
.et_pb_animation_left,
.et_pb_animation_right,
.et_pb_animation_top,
.et_pb_animation_bottom,
.et_pb_animation_fade_in,
.et_pb_animation_off {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  -webkit-transform: none !important;
  animation: none !important;
  -webkit-animation: none !important;
}

.et_pb_image,
.et_pb_image img,
.et_pb_module img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Force all images to show */
img {
  opacity: 1 !important;
  visibility: visible !important;
}
