:root {
  --viz-left-header-sidebar-width: 200px;
  --viz-left-header-sticky-top: 0px;
}

.has-viz-left-header-sidebar .fl-page {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

.has-viz-left-header-sidebar .fl-page-content {
  width: 100%;
}

.viz-left-header-sidebar {
  align-self: stretch;
  width: var(--viz-left-header-sidebar-width);
  min-height: 100%;
  height: auto;
  background: #fff;
}

.viz-left-header-sidebar__inner {
  padding: 18px 14px;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.viz-left-header-menu,
.viz-left-header-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.viz-left-header-menu .parent-menu:not(:last-child) {
  margin-bottom: 20px;
} 

.viz-left-header-menu > .menu-item > a,
.viz-left-header-menu > .menu-item > .viz-left-header-toggle {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.viz-left-header-menu > .menu-item > .viz-left-header-toggle:hover,
.viz-left-header-menu > .menu-item > .viz-left-header-toggle:focus {
  color: #998b7b !important;
  background: transparent;
}

.viz-left-header-menu > .menu-item[data-viz-sidebar-key="products"] .sub-menu a {
  text-transform: none;
}

.viz-left-header-menu > .menu-item > .viz-left-header-toggle::after,
.viz-left-header-menu > .menu-item.menu-item-has-children > a::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
  transition: transform 160ms ease;
  flex: 0 0 auto;
  margin-right: 12px;
  margin-left: 8px;
}

.viz-left-header-menu > .menu-item.is-open > .viz-left-header-toggle::after,
.viz-left-header-menu > .menu-item.menu-item-has-children.is-open > a::after {
  transform: rotate(225deg);
}

.viz-left-header-menu .sub-menu {
  display: none;
  padding-top: 14px;
}

.viz-left-header-menu > .menu-item.is-open > .sub-menu {
  display: grid;
  gap: 12px;
}

.viz-left-header-menu .sub-menu a {
  display: block;
  color: #404040;
  font-size: 14px;
  line-height: 1.15;
  padding-left: 10px;
  overflow-wrap: anywhere;
}

.viz-left-header-updates {
  margin-top: 26px;
}

.viz-left-header-updates__heading {
  margin: 0 0 16px;
  min-height: 0;
  color: #333 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.viz-left-header-update {
  margin-bottom: 18px;
  color: #404040;
  font-size: 14px;
  line-height: 1.08;
}

.viz-left-header-update__date {
  display: block;
  margin-bottom: 4px;
  color: #555;
  font-size: 13px;
  line-height: 1.1;
}

.viz-left-header-update__link {
  display: block;
  padding-left: 0 !important;
  color: #404040 !important;
}

.viz-left-header-update__title {
  display: block;
  color: #8e8878;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.08;
}

.viz-left-header-update__builder {
  display: block;
  color: #404040;
  font-size: 14px;
  line-height: 1.08;
}

.viz-left-header-updates__all {
  display: inline-block;
  padding-left: 0 !important;
  color: #7b786f !important;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: underline;
}

.viz-left-header-sidebar .slider-container {
  width: 100%;
  max-width: 150px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.viz-left-header-sidebar .slider {
  display: flex;
  transition: transform 0.5s ease;
}

.viz-left-header-sidebar .slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.viz-left-header-sidebar .slide img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.viz-left-header-sidebar .slide-caption {
  width: 100%;
  text-align: center;
  padding: 8px 0;
}

.viz-left-header-sidebar .collection_name {
  display: inline-block;
  padding-left: 0 !important;
  color: #404040 !important;
  font-size: 13px;
  line-height: 1.15;
  text-decoration: none;
}

.viz-left-header-sidebar .slide:hover .collection_name {
  text-decoration: underline;
}

.viz-left-header-sidebar .slide a {
  display: block;
  padding-left: 0 !important;
  cursor: pointer;
}

.viz-left-header-sidebar .slider-arrow-ws {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  display: block;
  padding-left: 0 !important;
  color: #fff !important;
  border: 0;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.viz-left-header-sidebar .slider-arrow-left-ws {
  left: 2px;
}

.viz-left-header-sidebar .slider-arrow-right-ws {
  right: 2px;
}

.viz-left-header-layout {
  display: grid;
  grid-template-columns: var(--viz-left-header-sidebar-width) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
}

.viz-left-header-main {
  min-width: 0;
}

@media (max-width: 900px) {
  :root {
    --viz-left-header-sidebar-width: 190px;
  }

  .viz-left-header-sidebar__inner {
    padding: 18px 16px;
  }

  .viz-left-header-menu > .menu-item > a,
  .viz-left-header-menu > .menu-item > .viz-left-header-toggle,
  .viz-left-header-menu .sub-menu a {
    font-size: 14px;
  }
}
/* Hide the desktop left sidebar when the mobile header menu is active. */
@media (max-width: 982px) {
  .viz-left-header-layout {
    display: block;
  }

  .viz-left-header-sidebar {
    display: none !important;
  }
}

/* Let the left sidebar read as one full-height column down to the footer. */
.viz-left-header-sidebar {
  border-right: 1px solid #e6e6e6;
  background: #fff;
}

.viz-left-header-sidebar__inner {
  border-right: 0;
  border-bottom: 0;
}

/* Keep sidebar updates stacked on search/archive templates that style articles globally. */
.viz-left-header-sidebar .viz-left-header-updates {
  display: block !important;
  width: 100% !important;
}

.viz-left-header-sidebar .viz-left-header-update {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
}

.viz-left-header-sidebar .viz-left-header-update__date,
.viz-left-header-sidebar .viz-left-header-update__link,
.viz-left-header-sidebar .viz-left-header-update__title,
.viz-left-header-sidebar .viz-left-header-update__builder {
  display: block !important;
  width: 100% !important;
}
