/*CSS Override */

/* Default Image Override */
/* Listing, Cart, and Product Detail */
.img-container.no-image {
  background-color: #fff !important;
  background: url("/documents/51950704/0/default-marmon.png/a4aadf76-8632-1fdd-458e-277033bc86c0?t=1721247988458");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat !important;
  opacity: 0.5;
}

.image-container .no-image img {
  visibility: hidden !important;
}

/* Cart */
.image-container.default-img {
  background-color: #fff !important;
  background: url("/documents/51950704/0/default-marmon.png/a4aadf76-8632-1fdd-458e-277033bc86c0?t=1721247988458");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.image-container.default-img img {
  visibility: hidden !important;
}

/* Product Detail */
.rhy .default-img .image {
  background-color: #fff !important;
  background-image: url("/documents/51950704/0/default-marmon.png/a4aadf76-8632-1fdd-458e-277033bc86c0?t=1721247988458") !important;
  background-position: center;
  background-size: contain !important;
  opacity: 0.5;
}

.rhy .mini-cart-container .cart-items .image-container.default-img {
  background-color: #fff;
}

.rhy .product.default-img {
  padding: 0px;
  padding-bottom: 0;
  border: 1px solid #eee;
}

/* Hide item not available to order error, Remove download personal data, Remove OOB Rhythm footer from display */
.rhy .orders-layout .qty-total-container .error-col,
.rhy
  .submitted-order-list
  .order-details-collapsible
  .order-details-summary
  .error-col,
.rhy .user-info-logo .user-contact .fetch-user-data-container,
.rhy.site-footer {
  display: none !important;
}

/* Disable item detail link on delivery note page */
#portlet_rhythmecomdeliverynotedetailsportlet_WAR_rhythmecomdeliverynotedetailsportlet
  .link-secondary {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}

/* Dynamic menu item link styling */
.rhy
  .dynamic-menu.dynamic-menu-header
  .lvl-1-menu.submenu-items
  > li
  > .item-link {
  padding: 0 10px !important;
  color: #58595B !important;
}

.lvl-1-menu.submenu-items.horizontal li:not(:last-child) {
  border-right: 1px solid #cdcdcd;
}

/* Remove utility item login, market selector, language selector, and currency portlets */
#p_p_id_rhythmecomlanguageportlet_WAR_rhythmecomlanguageportlet_,
#p_p_id_rhythmecommarketselectorportlet_WAR_rhythmecommarketselectorportlet_,
#p_p_id_rhythmcurrencyportlet_WAR_rhythmcurrencyportlet_,
#util-item-login,
.rhy .util-item-toggle .name .icon {
  display: none;
}

.rhy .dynamic-search-container .full-width {
  width: 65% !important;
  margin-top: -2.5rem;
  right: auto;
}

.rhy .main-nav-wrapper .logo-nav {
  margin-top: -2.4rem !important;
  padding-left: 0 !important;
}

.rhy .dynamic-search .btn-icon.expanded-btn {
  fill: #fff !important;
  padding: 8px !important;
  background: #003497 !important;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.main-nav {
  background: #f2f2f2 !important;
  border-bottom: 7px solid #003497 !important;
}

.rhy .field.header-search #search-filter-id {
  border: none !important;
  background: #f2f2f2 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.rhy .droppy .droppy-list {
  border: none !important;
}

#header-search {
  margin-left: 0.5rem !important;
  border-radius: 5px !important;
  border: 1px solid #cbc4c4 !important;
  height: 38px !important;
}

.rhy .dynamic-search.searchmode-detailed .results.expanded {
  width: 100% !important;
}

.rhy .field > .close-icon.expanded-search-close {
  right: 2.5rem !important;
}

.rhy .main-nav::before {
  height: 0;
}

#_rhythmloginmultiinstancesportlet_WAR_rhythmloginmultiinstancesportlet_INSTANCE_1234_util-item-login-content {
  position: absolute;
  top: 0;
  right: 0;
  left: 900px;
}

.rhy .util-menu-item.open .util-item-toggle .icon {
  fill: #fff;
}

.rhy .util-menu-item,
#util-item-myaccount {
  background: #f2f2f2;
}

#util-item-myaccount {
  color: #000;
  border-right: none;
  margin: 0 1rem;
}

#mini-cart-btn {
  background-color: var(--prim-button-background-color);
  border-right: none;
  margin-right: 2rem;
}

#mini-cart-btn:before {
  content: "Cart";
  color: #fff;
  font-size: 16px;
  padding-right: 10px;
}

.rhy
  .dynamic-menu.dynamic-menu-header
  .lvl-1-menu.submenu-items.horizontal
  > li
  > a
  .name,
.rhy .nav-link-primary {
  font-weight: 600 !important;
}

.dynamic-menu-header .nav-link-primary .name {
  text-transform: uppercase !important;
  font-family: system-ui !important;
}

.rhy .dynamic-menu.dynamic-menu-header .lvl-1-menu.submenu-items {
  justify-content: center;
}

.rhy .search-input,
.rhy .logo-nav {
  padding-top: 0 !important;
}

.rhy .util-menu-item.open .util-item-toggle .cart-count {
  color: #fff;
}

.rhy .logo-nav .site-logo img {
  width: 200px;
}

label .reference-mark {
  color: #b95000;
  font-size: 0.4rem;
}

.ddm-label {
  font-weight: 600;
}

.btn-primary,
.btn-secondary,
#mini-cart-btn,
#p_p_id_rhythmecomcustomerdropdownportlet_WAR_rhythmecomcustomerdropdownportlet_
  button.util-item-toggle {
  border-radius: 5px !important;
}

body {
  font-family: var(--font-stack);
}

.btn-primary,
.btn-primary:disabled {
  background-color: var(--prim-button-background-color);
  border-color: var(--prim-button-background-color);
}

body .container,
.rhy .main-nav-wrapper,
.container-fluid-max-xl {
  width: 95% !important;
  max-width: 1800px !important;
  padding: 0 !important;
}

/* Captcha on forms customization */
.taglib-captcha .captcha {
  height: 50px;
  margin-bottom: 10px;
}

/* Moving customer selection button */
.util-menu-item.company-select {
  margin-top: -3.1rem !important;
  margin-left: 43.4rem !important;
}

@media only screen and (max-width: 1445px) {
  .util-menu-item.company-select {
    margin-left: 44rem !important;
  }
}

@media only screen and (max-width: 1024px) {
  .rhy
    .dynamic-menu.dynamic-menu-header
    .lvl-1-menu.submenu-items
    > li
    > .item-link {
    padding: 15px !important;
    justify-content: flex-start;
    border-right: none;
    color: #fff !important;
  }

  .rhy .main-nav-wrapper {
    width: 100% !important;
  }

  .rhy .main-nav-wrapper .logo-nav {
    margin-top: 0 !important;
  }

  .main-nav {
    border-bottom: none !important;
  }

  .dynamic-menu-header .nav-link-primary .name {
    text-transform: none !important;
  }

  #util-item-myaccount,
  #portlet_rhythmmyaccountportlet_WAR_rhythmmyaccountportlet {
    background: #333;
    color: #fff;
    margin: 0;
  }

  .rhy .icon.search {
    fill: #fff;
  }

  .site-logo .site-header-image {
    content: url("/documents/51950704/51996501/Marmon+Link+Logo+-+White.png/4a805a3f-86ba-ce32-ea30-a5d130808662?t=1721056223496") !important;
    background-size: contain !important;
  }

  .util-menu-item.company-select {
    margin: 0 !important;
  }

  #p_p_id_rhythmecomcustomerdropdownportlet_WAR_rhythmecomcustomerdropdownportlet_
    button.util-item-toggle {
    border-radius: 0 !important;
  }
}

@media only screen and (max-width: 40em) {
  .rhy .field.header-search .search-filter {
    margin-top: 1.5rem !important;
  }

  .dynamic-search-container-mobile .search-open,
  .rhy .field.expanded {
    width: auto !important;
  }
}
