
/**/
/* Breakpoint index
   Minimum widths increase; maximum widths decrease.
   (width > 1027px)
   (width: 1027px)
   (max-width: 1027px)
   (max-width: 630px)
   (prefers-reduced-motion: reduce)
*/

/* Navigation and site-wide actions */

/* Use the same corner radius on text actions throughout the theme. */
:root {
  --ccc-button-radius: 3px;
}

body .btn:not(.btn-link),
body.wpb-js-composer .wpb_button,
body.wpb-js-composer .vc_btn,
body .vc_read_more,
body .more-link,
body .capPreview,
#contactForm input[type="submit"],
#contactForm input[type="button"],
#rev_slider_1_1 .tp-caption.medium_bg_orange {
  border-radius: var(--ccc-button-radius) !important;
}

#register #contactForm .btn-primary {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  white-space: nowrap;
}

#register .contact_form .ccc-agreement-link:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: .14em;
}

#main-menu > li > a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

#main-menu > li > a:focus-visible,
#main-menu-header .navbar-toggle:focus-visible {
  outline: 2px solid #8a0707;
  outline-offset: 3px;
}

#main-menu > li > a:focus-visible {
  outline-offset: -4px;
}

#main-menu > li > a:is(:hover, :focus-visible) {
  background-color: #f9f6f6;
}

#main-menu > li > a:is(:hover, :focus-visible, [aria-current]) {
  color: #780909;
}

#main-menu-header {
  --ccc-nav-edge-height: 9px;
  --ccc-nav-edge: linear-gradient(
    to bottom,
    rgba(34, 24, 24, .15) 0 1px,
    rgba(34, 24, 24, .065) 1px,
    rgba(34, 24, 24, 0) 100%
  );
}

/* The navigation supplies the white background. Its social links must not
   paint a separate rectangle into the shadow below the bar. */
#main-menu-header .navbar.sticky {
  --ccc-sticky-row-height: 72px;
  min-height: var(--ccc-sticky-row-height);
  box-shadow: none;
}

#main-menu-header .navbar.sticky #social-icons-widget-collapse-navbar {
  background: transparent;
}

#main-menu-header .navbar.sticky #main-navbar-collapse {
  box-shadow: none;
}

#ccc-menu-scrollbar { display: none; }

/* When the mobile menu is closed, the shadow follows the sticky bar. */
#main-menu-header .navbar.sticky::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--ccc-nav-edge-height);
  pointer-events: none;
  background: var(--ccc-nav-edge);
}

@media (width > 1027px) {
  #main-menu-header .navbar.sticky #main-navbar-collapse {
    background: transparent;
  }

  #main-menu-header .navbar.sticky #social-icons-widget-collapse-navbar {
    /* Override the old Firefox-specific fixed wrapper height, too. */
    height: auto !important;
    z-index: auto;
  }

  #main-menu-header .navbar.sticky #social-icons-widget-collapse-navbar > ul {
    /* The theme's inline items retain the same spacing as the normal bar. */
    box-sizing: border-box;
    height: var(--ccc-sticky-row-height);
  }
}

@media (width: 1027px) {
  /* The legacy theme activates both desktop Bootstrap and the mobile layout
     at exactly 1027px. Use the mobile toggle and scrollable menu at that width. */
  #main-menu-header .navbar-header,
  #main-menu-header .navbar-nav,
  #main-menu-header .navbar-nav > li,
  #main-menu-header #social-icons-widget-collapse-navbar {
    float: none !important;
  }

  #main-menu-header .navbar-toggle,
  #main-menu-header .language-toggle {
    display: block;
  }

  #main-menu-header .navbar-collapse.collapse:not(.in) {
    display: none !important;
  }

  #main-menu-header .navbar-collapse.collapse.in {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 1027px) {
  /* The clipped panel and its shadow have different jobs. Keep one edge
     outside the scrollport and stop it at the bottom of the header row. */
  #main-menu-header .navbar #main-navbar-collapse {
    box-shadow: none;
    scrollbar-gutter: stable;
  }

  /* Keep native scrolling and its original gutter. Paint one persistent scrollbar
     above the right edge so touch browsers can leave the thumb visible at rest. */
  #main-menu-header #main-navbar-collapse.ccc-scrollbar-ready {
    scrollbar-color: transparent transparent;
  }

  #main-navbar-collapse.in.ccc-scrollbar-ready + #ccc-menu-scrollbar {
    display: grid;
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    width: max(24px, var(--ccc-menu-gutter, 0px));
    height: var(--ccc-menu-height);
    justify-items: end;
    padding: 4px;
    box-sizing: border-box;
    background: #fff;
    touch-action: none;
    user-select: none;
  }

  #ccc-menu-scrollbar .ccc-menu-track {
    position: relative;
    display: block;
    width: 10px;
    height: 100%;
    border-radius: 5px;
    background: #e5e1df;
  }

  #ccc-menu-scrollbar .ccc-menu-thumb {
    position: absolute;
    inset: 0 0 auto;
    border-radius: inherit;
    background: #8A0707;
    pointer-events: none;
  }

  #ccc-menu-scrollbar:focus-visible {
    outline: 2px solid #8A0707;
    outline-offset: -2px;
  }

  @media (forced-colors: active) {
    #ccc-menu-scrollbar .ccc-menu-track { forced-color-adjust: none; background: ButtonFace; outline: 1px solid ButtonText; }
    #ccc-menu-scrollbar .ccc-menu-thumb { forced-color-adjust: none; background: ButtonText; }
  }

  #main-menu-header .navbar.sticky::before {
    display: none;
  }

  #main-menu-header .navbar > .container > .row {
    position: relative;
    min-height: 72px;
  }

  #main-menu-header .navbar > .container > .row::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    top: 100%;
    left: 0;
    right: 0;
    height: var(--ccc-nav-edge-height);
    pointer-events: none;
    background: var(--ccc-nav-edge);
    opacity: 0;
    transition: opacity .25s ease;
  }

  #main-menu-header .navbar.sticky > .container > .row::after,
  #main-menu-header .row:has(.navbar-toggle[aria-expanded="true"])::after {
    opacity: 1;
  }

}

@media (max-width: 630px) {
  #register #map_canvas {
    min-height: 250px;
    height: auto;
  }

  #register #map_canvas_custom_270619 {
    height: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-menu > li > a,
  #main-menu-header .navbar > .container > .row::after,
  #main-menu-header #main-navbar-collapse.collapsing {
    transition: none;
  }
}
/**/
