/* UV HPC static-restore shims: dropdown menu, slideshow, form fixes.
   Colors taken from the original Wix theme of the site
   (menu bg rgb(65,40,140), hover rgb(160,200,35), dropdown alpha .75). */

/* --- fixed 980px layout: below that the mesh margins go negative and the
       header/menu misalign, so clamp like the original desktop site --- */
body { min-width: 980px; }

/* --- dropdown menu (original was JS-driven; submenus are SSR'd but display:none) --- */
/* keep the whole header (and its dropdowns) painting above the page content */
header#SITE_HEADER { position: relative; z-index: 100; }
/* the wix-dropdown-menu custom element clips its dropdowns (overflow:hidden auto) */
wix-dropdown-menu { overflow: visible !important; }
li.SUHLli { position: relative; }
/* inline-block menu items must not baseline-shift (browser/font dependent —
   the inline SVG arrow button inside each item skews baselines in some engines) */
ul.LtxuwL > li { vertical-align: top !important; }
/* the original Wix menu (data-stretch-buttons-to-menu-width + data-same-width-buttons)
   stretched the 8 items to equal widths filling the whole 835px bar — the Wix JS
   computed that; reproduce it with flexbox */
ul.LtxuwL { display: flex !important; }
ul.LtxuwL > li.SUHLli { flex: 1 1 0; text-align: center; }
li.SUHLli > ul[aria-hidden] {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 170px;
  background: rgba(65, 40, 140, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
li.SUHLli:hover > ul[aria-hidden],
li.SUHLli:focus-within > ul[aria-hidden] {
  display: block !important;
}
li.SUHLli > ul[aria-hidden] li { display: block; }
li.SUHLli > ul[aria-hidden] li a {
  display: block;
  padding: 7px 16px;
  font: var(--font_1);
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
li.SUHLli > ul[aria-hidden] li a:hover {
  background: rgba(160, 200, 35, 0.85);
}
/* the little arrow buttons need no JS behavior anymore */
li.SUHLli button._pfxlW { pointer-events: none; }
/* Wix renders a "More" overflow item; its JS hid it when all items fit (they do) */
#comp-ikedyzk1__more__ { display: none !important; }

/* --- slideshow (homepage): stacked slides with crossfade --- */
#comp-irpacvib { overflow: hidden; }
#comp-irpacvib [data-testid="slidesWrapper"] { position: relative; height: 100%; }
#comp-irpacvib .uvhpc-slide {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
}
#comp-irpacvib .uvhpc-slide.uvhpc-active {
  opacity: 1;
  pointer-events: auto;
}
/* navigation dots: selected state */
#comp-irpacvib nav ol li a.ZVUGJp { cursor: pointer; }

/* --- contact form: success message stays hidden until "sent" --- */
#comp-kf5oznte { display: none; }
body.uvhpc-form-sent #comp-kf5oznte { display: block; }
