/* DMI Maritime Research v1.6.5 — OJS native Search submit button repair.
   A single accessible text button; remove inherited icon-pseudo elements from
   the OJS Default Theme rather than shifting the Search label to compensate.
   Scoped narrowly to native Search page only. */
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  min-height: 0;
  width: 100%;
  text-align: right;
}
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit {
  box-sizing: border-box !important;
  display: inline-flex !important;
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  width: auto !important;
  min-width: 128px !important;
  min-height: 46px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 11px 23px !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  background: #146582 !important;
  color: #fff !important;
  font: 700 15px/1.45 'Source Sans 3', Arial, sans-serif !important;
  letter-spacing: .005em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}
/* The OJS default search button uses FontAwesome pseudo-elements,
   one positioned as a separate coloured square. Both must be disabled. */
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit::before,
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit::after {
  content: none !important;
  display: none !important;
  position: static !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit:hover {
  background: #102f4a !important;
  color: #fff !important;
}
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit:focus-visible {
  outline: 3px solid #d4b078 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}
body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit:active {
  background: #0b253a !important;
}
@media (max-width: 640px) {
  body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit {
    min-width: 115px !important;
    min-height: 46px !important;
    padding: 11px 19px !important;
    font-size: 15px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.dmi-theme.dmi-header-fixed .page_search form.cmp_form > .submit > button.submit {
    transition: none !important;
  }
}
