html.rl-home-hero-overlay #MainContent {
  margin-top: calc(0px - var(--rl-home-header-height, 0px));
}

html.rl-home-hero-overlay #shopline-section-header {
  position: sticky;
  top: var(--rl-home-announcement-height, 0px) !important;
  animation: none;
}

html.rl-home-hero-overlay #shopline-section-announcement-bar.rl-home-sticky-announcement {
  position: sticky;
  top: 0;
  animation: none;
}

body[data-template="index"] #shopline-section-header .header.is-transparent {
  position: relative;
  background-color: #fff;
  color: rgb(var(--color-text));
}

body[data-template="index"] #shopline-section-header .header.is-transparent::before {
  content: none;
}

body[data-template="index"] #shopline-section-header .header.is-transparent .header__heading-logo--transparent {
  display: none;
}

body[data-template="index"] #shopline-section-header .header.is-transparent .header__heading-logo--nomal {
  display: block;
}

html.rl-home-hero-overlay #shopline-section-header.rl-home-header-at-top:not(.menu-open) .header.is-transparent {
  background-color: transparent;
  border-bottom-color: transparent !important; /* The original divider is inline. */
  color: #fff;
}

html.rl-home-hero-overlay #shopline-section-header.rl-home-header-at-top:not(.menu-open) .header.is-transparent .header__heading-logo--nomal {
  filter: brightness(0) invert(1);
}

html.rl-home-hero-overlay #shopline-section-header.rl-home-header-at-top:not(.menu-open) .header.is-transparent .header__heading-logo--transparent {
  display: block;
}

html.rl-home-hero-overlay #shopline-section-header.rl-home-header-at-top:not(.menu-open) .header.is-transparent .header__heading-logo--transparent + .header__heading-logo--nomal {
  display: none;
}

html.rl-home-hero-overlay #shopline-section-header .header .header-dropdown-menu,
html.rl-home-hero-overlay #shopline-section-header .header .header__inline-submenus,
html.rl-home-hero-overlay #shopline-section-header .header .dropdown-menu__list-wrapper {
  color: rgb(var(--color-text));
}

@media (max-width: 959px) {
  html.rl-home-hero-overlay #MainContent .rl-home-overlay-hero .slideshow-layout--text-inside .slideshow-slide__text-wrapper {
    padding-top: calc(var(--rl-home-header-height, 0px) + 24px);
    padding-top: calc(var(--rl-home-header-height, 0px) + clamp(24px, 6.5vw, 56px));
  }
}

@supports (height: max(1px, 2px)) {
  @media (min-width: 600px) and (max-width: 959px) {
    #MainContent .rl-home-overlay-hero .slideshow-layout--text-inside .slideshow__slider {
      height: max(calc(1320px - 80vw), min(88vw, calc(1800px - 130vw)));
    }

    #MainContent .rl-home-overlay-hero .slideshow-layout--text-inside .slideshow-slide__image {
      object-position: center 65%;
    }
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  #MainContent .rl-home-overlay-hero .slideshow-slide__text {
    max-width: 29vw;
  }
}
