:root {
  --cs-menu-navy: #232176;
  --cs-menu-dark: #171717;
  --cs-menu-blue: #1479bd;
  --cs-menu-text: #303b55;
  --cs-menu-border: #e6e9ef;
}

/* Only the top desktop navigation and its dropdown. */
@media (min-width: 992px) {
  .elementor-element-1c006d52 {
    position: relative;
    z-index: 150;
    min-height: 50px;
    background: var(--cs-menu-navy) !important;
    box-shadow: 0 3px 10px rgba(18, 31, 72, 0.14);
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .elementor-element-1c006d52 .elementor-element-5d3ebd6b,
  .elementor-element-1c006d52 .elementor-element-5d3ebd6b > .elementor-column-wrap,
  .elementor-element-1c006d52 .elementor-element-5d3ebd6b > .elementor-column-wrap > .elementor-widget-wrap,
  .elementor-element-1c006d52 .elementor-widget {
    min-height: 50px;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .elementor-element-1c006d52 .elementor-element-5d3ebd6b > .elementor-column-wrap > .elementor-widget-wrap {
    display: flex;
    align-items: stretch;
    padding: 0 !important;
  }

  .elementor-element-230f8291 {
    width: 220px !important;
    max-width: 220px !important;
    flex: 0 0 220px !important;
    margin: 0 !important;
  }

  .elementor-element-230f8291 > .elementor-widget-container,
  .elementor-element-230f8291 .cbp-vertical,
  .elementor-element-230f8291 .cbp-vertical-title {
    width: 220px !important;
    height: 50px !important;
  }

  .elementor-element-230f8291 .cbp-vertical-title {
    display: flex !important;
    align-items: center;
    padding: 0 18px !important;
    background: var(--cs-menu-dark) !important;
    color: #fff !important;
    cursor: pointer;
  }

  .elementor-element-230f8291 .cbp-iconbars {
    width: 22px;
    margin: 0 13px 0 0 !important;
    color: #fff;
    font-size: 18px;
    text-align: center;
  }

  .elementor-element-230f8291 .cbp-vertical-title-text {
    display: block !important;
    overflow: hidden;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .elementor-element-230f8291 .cbp-vertical-title-text::after {
    content: "CATEGORIES";
    font-size: 14px;
  }

  .elementor-element-5f7bdc7f {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
  }

  .elementor-element-5f7bdc7f > .elementor-widget-container,
  .elementor-element-5f7bdc7f .container-bitmegamenu,
  .elementor-element-5f7bdc7f .bitmegamenu,
  .elementor-element-5f7bdc7f .cbp-horizontal,
  .elementor-element-5f7bdc7f .cbp-horizontal > ul,
  .elementor-element-5f7bdc7f .cbp-horizontal > ul > li,
  .elementor-element-5f7bdc7f .cbp-horizontal > ul > li > a {
    height: 50px !important;
  }

  .elementor-element-5f7bdc7f .container-bitmegamenu {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  .elementor-element-5f7bdc7f .cbp-horizontal > ul > li > a {
    display: flex;
    align-items: center;
    padding: 0 22px !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 160ms ease;
  }

  .elementor-element-5f7bdc7f .cbp-horizontal > ul > li > a:hover,
  .elementor-element-5f7bdc7f .cbp-horizontal > ul > li.cbp-hropen > a {
    background: rgba(255, 255, 255, 0.09) !important;
    text-decoration: none;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul {
    top: 50px;
    z-index: 400;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    padding: 6px 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--cs-menu-border);
    border-top: 0;
    box-shadow: 0 12px 24px rgba(20, 31, 63, 0.16);
    transform: none;
    transition: none;
    pointer-events: none;
  }

  body#index .cbp-homepage-expanded > .cbp-vertical > .cbp-vermenu-ul {
    visibility: hidden;
    opacity: 0;
  }

  .elementor-element-230f8291 .cbp-vertical:hover > .cbp-vermenu-ul,
  .elementor-element-230f8291 .cbp-vertical:focus-within > .cbp-vermenu-ul,
  .elementor-element-230f8291 .cbp-vertical.cbp-vert-expanded > .cbp-vermenu-ul,
  body#index .cbp-homepage-expanded > .cbp-vertical:hover > .cbp-vermenu-ul,
  body#index .cbp-homepage-expanded > .cbp-vertical:focus-within > .cbp-vermenu-ul,
  body#index .cbp-homepage-expanded > .cbp-vertical.cbp-vert-expanded > .cbp-vermenu-ul {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul > li {
    height: 40px !important;
    background: #fff;
    border-bottom: 1px solid #edf0f4;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul > li:last-child {
    border-bottom: 0;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul > li > a {
    position: relative;
    display: flex !important;
    height: 40px;
    align-items: center;
    padding: 0 16px !important;
    color: var(--cs-menu-text) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: color 160ms ease, background-color 160ms ease, padding 160ms ease;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul > li > a::before {
    position: absolute;
    inset: 7px auto 7px 0;
    width: 3px;
    background: var(--cs-menu-blue);
    content: "";
    opacity: 0;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul > li:hover > a,
  .elementor-element-230f8291 .cbp-vermenu-ul > li > a:focus {
    padding-left: 21px !important;
    background: #f2f7fb;
    color: var(--cs-menu-blue) !important;
    text-decoration: none;
  }

  .elementor-element-230f8291 .cbp-vermenu-ul > li:hover > a::before,
  .elementor-element-230f8291 .cbp-vermenu-ul > li > a:focus::before {
    opacity: 1;
  }
}

/* Mobile navigation drawer. Desktop navigation is intentionally untouched. */
@media (max-width: 991.98px) {
  .elementor-element-2571ac3b .btn-toggle-menu,
  .elementor-element-27de392f .btn-toggle-menu {
    display: inline-flex !important;
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid #dce4ef;
    border-radius: 4px;
    background: #f3f7fb;
    color: var(--cs-menu-navy) !important;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
  }

  .elementor-element-2571ac3b .btn-toggle-menu:hover,
  .elementor-element-2571ac3b .btn-toggle-menu:focus,
  .elementor-element-27de392f .btn-toggle-menu:hover,
  .elementor-element-27de392f .btn-toggle-menu:focus {
    border-color: #cad7e7;
    background: #eaf2f9;
    color: #1479bd !important;
    outline: none;
  }

  .elementor-element-2571ac3b .btn-toggle-menu:focus-visible,
  .elementor-element-27de392f .btn-toggle-menu:focus-visible {
    box-shadow: 0 0 0 3px rgba(20, 121, 189, 0.2);
  }

  #offcanvas_bitmobile_menu {
    padding-right: 0 !important;
    background: rgba(15, 27, 58, 0.2);
  }

  #offcanvas_bitmobile_menu .modal-dialog__offcanvas {
    width: min(90vw, 360px) !important;
    max-width: 360px !important;
    height: 100% !important;
    margin: 0 !important;
  }

  #offcanvas_bitmobile_menu .modal-content {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: 12px 0 36px rgba(12, 24, 52, 0.25);
  }

  #offcanvas_bitmobile_menu .modal-body {
    height: 100%;
    padding: 0 !important;
  }

  #offcanvas_bitmobile_menu .close {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    opacity: 1;
    transform: translateX(-52px);
  }

  #offcanvas_bitmobile_menu .close:hover,
  #offcanvas_bitmobile_menu .close:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
  }

  #offcanvas_bitmobile_menu .close:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
  }

  #offcanvas_bitmobile_menu .close .material-icons {
    font-size: 24px;
    line-height: 1;
  }

  #bitmegamenu-mobile {
    width: 100% !important;
    height: 100% !important;
    background: #fff;
  }

  #bitmegamenu-mobile .mobile-menu__header-wrapper {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    padding: 0 64px 0 20px !important;
    background: var(--cs-menu-navy) !important;
    color: #fff !important;
    border: 0 !important;
  }

  #bitmegamenu-mobile .mobile-menu__header-wrapper::before {
    content: "MENU";
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
  }

  #bitmegamenu-mobile .mobile-menu__header {
    position: absolute;
    inset: 0 58px 0 14px;
    display: flex;
    align-items: center;
  }

  #bitmegamenu-mobile .mobile-menu__back-btn {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    padding: 0 8px !important;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
  }

  #bitmegamenu-mobile .mobile-menu__content {
    margin: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #bitmegamenu-mobile .mobile-menu__scroller {
    padding: 10px 12px 18px !important;
  }

  #bitmegamenu-mobile .mobile-menu__tab {
    width: 100%;
    min-height: 52px;
    border-bottom: 1px solid #edf0f4;
  }

  #bitmegamenu-mobile .mobile-menu__tab:last-child {
    border-bottom: 0;
  }

  #bitmegamenu-mobile .mobile-menu__link {
    position: relative;
    display: flex !important;
    width: 100%;
    min-height: 52px;
    align-items: center;
    padding: 8px 38px 8px 14px !important;
    color: var(--cs-menu-text) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
    text-decoration: none !important;
  }

  #bitmegamenu-mobile .mobile-menu__link::after {
    position: absolute;
    top: 50%;
    right: 14px;
    color: #9aa7ba;
    content: "\203A";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-52%);
  }

  #bitmegamenu-mobile .mobile-menu__link:hover,
  #bitmegamenu-mobile .mobile-menu__link:focus {
    background: #f2f7fb;
    color: var(--cs-menu-blue) !important;
    outline: none;
  }

  #bitmegamenu-mobile .mobile-menu__link:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(20, 121, 189, 0.3);
  }

  #bitmegamenu-mobile .mobile-menu__tab--id-2 {
    margin-bottom: 6px;
    border: 0;
  }

  #bitmegamenu-mobile .mobile-menu__tab--id-2 .mobile-menu__link {
    min-height: 48px;
    border-radius: 4px;
    background: #edf4fa;
    color: var(--cs-menu-navy) !important;
    font-weight: 700 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-element-230f8291 .cbp-vermenu-ul,
  .elementor-element-230f8291 .cbp-vermenu-ul > li > a {
    transition: none !important;
  }
}
