/* Hero Carousel */

body.prodjhk00e1y {
  @media (max-width: 599px) {
    [class*="content-hero-carousel_contentContainer__"] {
      height: auto !important;
      padding-bottom: calc(6 * var(--lmnt-padding--standard));
      margin-bottom: 0;
    }

    [class*="content-hero-carousel_slideContainer--medium"] {
      height: 100%;
    }

    [class*="content-hero-carousel_contentSwiper__"] {
      position: relative;
      height: auto;
    }

    [class*="content-hero-carousel_slideContainer--medium"] {
      img {
        object-position: center bottom;
        object-fit: fill !important;
      }
    }
  }
}

[class*="content-hero-carousel_contentSwiper"] {
  h1 [class],
  h2 [class],
  .mdc-typography--body2 {
    color: #252525;
  }

  h1 {
    margin-bottom: calc(var(--lmnt-padding--standard) * 2);
  }

  [class*="content-hero-carousel_buttonGroup"] {
    a:nth-child(2) {
      background: var(--lmnt-theme-primary-on-surface);

      .mdc-button__label {
        color: white;
      }
    }
  }

  [class*="rich-text-renderer_text__"] {
    p:last-child,
    p:last-child em {
      font-size: var(--mdc-typography-body2-font-size);
      line-height: var(--mdc-typography-body2-line-height);
    }
  }
}

/* Top App Bar */

.mdc-top-app-bar {
  [class*="linear-menu-item_linearMenuItemHover__"]
    [class*="linear-menu-item_primary__"].mdc-button--raised:not(:disabled) {
    background-color: var(--lmnt-theme-primary-on-surface);
  }
}

/* Telephone Links */

a[href^="tel:"] {
  white-space: nowrap;
  display: inline-block;
}

/* References */

.page-references {
  li:nth-child(2) {
    [class*="references-body_listNumber"] {
      display: none;
    }
  }
}
[class*="isi-tray_isiTrayContentWrapper"] {
  [class*="content-isi-tray_headerContentISITray"] {
    color: var(--lmnt-theme-primary-on-surface);
  }
  [class*="content-isi-tray_readMoreButton"] {
    svg path {
      stroke: var(--lmnt-theme-primary-on-surface);
    }
  }
}

/* Headings */

h2 [class],
h3 [class] {
  color: var(--lmnt-theme-primary-on-surface);
}

/* Section Block */

[class*="paragraph-item--section_block"] [class*="secondary"] {
  h2 [class] {
    color: white;
  }
}

/* Burger Menu Grid */

[class*="burger-menu-grid_burgerMenuGridColumnItem"] {
  .mdc-button--raised:not(:disabled) {
    background-color: var(--lmnt-theme-primary-on-surface) !important;
    color: white !important;
  }
  button.mdc-button--raised .mdc-button__label {
    color: white !important;
  }
}

/* Footer */

.us-market-footer {
  .lmnt-footer__column {
    .mdc-typography--body1,
    .mdc-typography--body1 a {
      font-weight: 480;
      font-size: 17.6px;
      line-height: 28px;
    }

    &:nth-child(1) {
      a {
        display: block;
        margin-top: 7px !important;
      }

      br {
        display: none;
      }
    }

    &:nth-child(2) {
      a,
      a [class] {
        color: var(--lmnt-theme-primary-on-surface) !important;
        font-weight: 400;
      }
    }
  }
}

/* Linear Menu */

nav[class*="linear-menu_linearMenu"] {
  a {
    &[class*="linear-menu-item_linearMenuItemActive__"],
    &:hover {
      color: var(--lmnt-theme-primary-on-surface) !important;
    }
  }
}

/* Burger Menu */

div[class*="burger-menu_burgerMenu__"] {
  a[class*="burger-menu-grid_burgerMenuGridColumnCta__"] {
    --mdc-ripple-color: var(--lmnt-theme-primary-on-surface) !important;

    &[class*="mdc-list-item--selected"],
    &:hover {
      .lmnt {
        color: var(--lmnt-theme-primary-on-surface) !important;
      }
    }
  }
}

/* Modal */

.lmnt-modal__content {
  .mdc-typography--headline6 {
    color: var(--lmnt-theme-primary-on-surface);
  }
}

/* Form */

.paragraph-item--webform {
  /* Action Card */

  [class*="action-card_actionCard__"] {
    .mdc-typography--headline4 {
      color: var(--lmnt-theme-primary-on-surface);
    }
  }

  [class*="action-card_leftInnerCard"] {
    border: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  [class*="action-card_rightInnerCard"] {
    display: none;
  }
}

/* Text Block Body2 */

[id^="text-block-body2--"] {
  #text_block p {
    font-size: var(--mdc-typography-body2-font-size);
    line-height: var(--mdc-typography-body2-line-height);
  }
}

/* Delete padding and margin for section over the column layout*/
[id*='section-card-block-small'] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

[id*='section-card-block-small'] [class*='wsf-m-l'] {
  margin-bottom: 0 !important
}

/*Smaller text for references in column layout inside section*/
[id*='section-card-block-small'] [class*='columns-block_wrapper__'] [class*='column-card-block_wrapper__'] [class*='rich-text-renderer_text__'] p:last-child,
[id*='section-card-block-small'] [class*='columns-block_wrapper__'] [class*='column-card-block_wrapper__'] [class*='rich-text-renderer_text__'] p:last-child em {
  font-size: var(--mdc-typography-body2-font-size);
  line-height: var(--mdc-typography-body2-line-height);
}

/* Delete padding for section over the text block*/
[id*='section-text-block-small'] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/*Smaller text for references in column layout inside section*/
[id*='section-text-block-small']  [class*='text-block_wrapper__'] [class*='rich-text-renderer_text__'] p:last-child,
[id*='section-text-block-small']  [class*='text-block_wrapper__'] [class*='rich-text-renderer_text__'] p:last-child em {
  font-size: var(--mdc-typography-body2-font-size);
  line-height: var(--mdc-typography-body2-line-height);
}
