// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function searchBoxElementMemphisStyle() {
    return css `
:host {
  --searchbox-background-color: var(--memphis-scheme-background);
  --searchbox-border-color: var(--memphis-scheme-contrast);
  --searchbox-border-radius: var(--memphis-layout-radius);
  --searchbox-border-style: solid;
  --searchbox-border-width: var(--memphis-layout-thickness);
  --searchbox-focus-ring-active-width: 8px;
  --searchbox-focus-ring-color: unset;
  --searchbox-focus-ring-inward-offset: 2px;
  --searchbox-focus-ring-outward-offset: 2px;
  --searchbox-focus-ring-width: 0px;
  --searchbox-font-family: var(--memphis-font-family);
  --searchbox-font-letter-spacing: unset;
  --searchbox-font-line-height: unset;
  --searchbox-font-size: var(--memphis-typography-body1-font-size);
  --searchbox-font-text-decoration: unset;
  --searchbox-font-text-transform: unset;
  --searchbox-font-weight: var(--memphis-typography-body1-font-weight);
  --searchbox-foreground-color: var(--memphis-scheme-foreground);
  --searchbox-gap: var(--memphis-layout-space);
  --searchbox-height: 56px;
  --searchbox-padding-bottom: var(--memphis-layout-space);
  --searchbox-padding-left: calc(var(--memphis-layout-space) * 1.5);
  --searchbox-padding-right: calc(var(--memphis-layout-space) * 1.5);
  --searchbox-padding-top: var(--memphis-layout-space);
  --searchbox-shadow: var(--memphis-elevation-semilight-offset-x-0) var(--memphis-elevation-semilight-offset-y-0) var(--memphis-elevation-semilight-blur-0) var(--memphis-elevation-semilight-spread-0) var(--memphis-elevation-semilight-color-0);
  --searchbox-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --searchbox-shadow-color: var(--memphis-elevation-semilight-color-0);
  --searchbox-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --searchbox-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --searchbox-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --searchbox-transition-duration: .2s;
  --searchbox-transition-mode: ease;
  --searchbox-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --searchbox-translate: none;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: inherit;
  margin: 0;
  overflow: visible;
}

:host input[type="search"]::-webkit-search-decoration, :host input[type="search"]::-webkit-search-cancel-button, :host input[type="search"]::-webkit-search-results-button, :host input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

:host {
  font-family: var(--searchbox-font-family);
  font-size: var(--searchbox-font-size);
  line-height: var(--searchbox-font-line-height);
  font-weight: var(--searchbox-font-weight);
  letter-spacing: var(--searchbox-font-letter-spacing);
  -webkit-text-decoration: var(--searchbox-font-text-decoration);
  text-decoration: var(--searchbox-font-text-decoration);
  text-transform: var(--searchbox-font-text-transform);
  padding-top: var(--searchbox-padding-top);
  padding-right: var(--searchbox-padding-right);
  padding-bottom: var(--searchbox-padding-bottom);
  padding-left: var(--searchbox-padding-left);
  transition-duration: var(--searchbox-transition-duration);
  transition-timing-function: var(--searchbox-transition-mode);
  transition-property: var(--searchbox-transition-property);
  translate: var(--searchbox-translate);
  background: var(--searchbox-background-color);
  color: var(--searchbox-foreground-color);
  border-color: var(--searchbox-border-color);
  border-width: var(--searchbox-border-width);
  border-radius: var(--searchbox-border-radius);
  border-style: var(--searchbox-border-style);
  min-height: var(--searchbox-height);
  cursor: text;
  z-index: 0;
  outline: none;
  flex-direction: row;
  align-items: center;
  display: flex;
}

:host [part="focusRing"] {
  --focus-ring-color: var(--searchbox-focus-ring-color);
  --focus-ring-active-width: var(--searchbox-focus-ring-active-width);
  --focus-ring-inward-offset: var(--searchbox-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--searchbox-focus-ring-outward-offset);
}

:host [part="prefix"] {
  gap: var(--searchbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="prefix"][hidden] {
  display: none;
}

:host [part="inner"] {
  width: 100%;
  height: 100%;
  padding: var(--searchbox-padding-top) var(--searchbox-padding-right) var(--searchbox-padding-bottom) var(--searchbox-padding-left);
  flex: 1;
  display: flex;
  position: relative;
}

:host [part="input"] {
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

:host [part="clear"] {
  cursor: pointer;
}

:host([disabled]:not([disabled="false"])), :host([readonly]) {
  cursor: default;
}

:host([required]) [part="label"]:after {
  content: "*";
  margin-left: 2px;
}

:host([text-align="left"]) [part="input"] {
  text-align: left;
}

:host([text-align="center"]) [part="input"] {
  text-align: center;
}

:host([text-align="right"]) [part="input"] {
  text-align: right;
}

:host {
  --searchbox-shadow-color: var(--memphis-scheme-highlight);
  box-shadow: var(--searchbox-shadow-offset-x) var(--searchbox-shadow-offset-y) var(--searchbox-shadow-blur) var(--searchbox-shadow-spread) var(--searchbox-shadow-color);
}

:host [part="focusRing"] {
  --focus-ring-width: var(--searchbox-focus-ring-width);
}

    `;
}
//# sourceMappingURL=SearchBoxElement.Memphis.js.map