/* Native fallbacks for the Divi icon font missing from the web archive. */
.mobile_menu_bar {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 18px;
  position: relative;
  color: #7b3533;
}

.mobile_menu_bar::before,
.mobile_menu_bar::after {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease, box-shadow 0.25s ease;
}

.mobile_menu_bar::before {
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

.mobile_menu_bar::after {
  opacity: 0;
}

.et_pb_slide_menu_active .mobile_menu_bar::before {
  content: "\00d7" !important;
  top: 0;
  width: auto;
  height: auto;
  opacity: 1 !important;
  background: transparent;
  box-shadow: none;
  transform: none;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 18px;
}

.et_pb_slide_menu_active .mobile_menu_bar::after {
  display: none;
}

.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
  content: "" !important;
  display: block;
  width: 18px;
  height: 18px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.et-pb-arrow-prev::before {
  transform: rotate(-135deg);
}

.et-pb-arrow-next::before {
  transform: rotate(45deg);
}

.et_overlay::before {
  content: "+" !important;
  font-family: Arial, sans-serif !important;
  font-size: 42px;
  line-height: 1;
}

#searchsubmit_header {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 0 !important;
  transform: translateY(-50%);
  cursor: pointer;
}

.et_slide_menu_top button#searchsubmit_header::before {
  content: "" !important;
  position: absolute;
  top: 7px;
  left: 7px;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: none !important;
}

#searchsubmit_header::after {
  content: "" !important;
  position: absolute;
  top: 18px;
  left: 20px;
  width: 9px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg) !important;
  transform-origin: left center;
}

.et-search-form {
  position: relative;
}

.et-search-form .et-search-field {
  padding-right: 52px !important;
}

/* Keep the menu label and icon together instead of positioning them by margins. */
.et_header_style_slide #et-top-navigation {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.et_header_style_slide #et-top-navigation::before {
  content: "Menu";
  position: static !important;
  display: block;
  margin: 0 !important;
  color: #7b3533;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

@media (max-width: 768px) {
  header#main-header {
    height: 92px !important;
    min-height: 92px;
    background-size: min(54%, 230px) auto !important;
    background-position: 16px center !important;
  }

  header#main-header .container.et_menu_container {
    width: 100% !important;
    height: 92px;
    padding: 0 16px;
  }

  .et_header_style_slide #et-top-navigation {
    height: 92px !important;
    padding: 0 !important;
  }
}
