// ------------------------------------------------------------------------------
// <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 bottomSheetElementMemphisStyle() {
    return css `
:host {
  --bottom-sheet-background-color: var(--memphis-scheme-background);
  --bottom-sheet-border-color: var(--memphis-scheme-contrast);
  --bottom-sheet-border-width: var(--memphis-layout-thickness);
  --bottom-sheet-font-family: var(--memphis-typography-button-font-family);
  --bottom-sheet-font-letter-spacing: var(--memphis-typography-button-letter-spacing);
  --bottom-sheet-font-line-height: var(--memphis-typography-button-line-height);
  --bottom-sheet-font-size: var(--memphis-typography-button-font-size);
  --bottom-sheet-font-text-decoration: var(--memphis-typography-button-text-decoration);
  --bottom-sheet-font-text-transform: var(--memphis-typography-button-text-transform);
  --bottom-sheet-font-weight: var(--memphis-typography-button-font-weight);
  --bottom-sheet-foreground-color: var(--memphis-scheme-foreground);
  --bottom-sheet-gap: var(--memphis-layout-space);
  --bottom-sheet-padding-bottom: calc(var(--memphis-layout-space) * 1.5);
  --bottom-sheet-padding-left: calc(var(--memphis-layout-space) * 2);
  --bottom-sheet-padding-right: calc(var(--memphis-layout-space) * 2);
  --bottom-sheet-padding-top: var(--memphis-layout-space);
  --bottom-sheet-transition-duration: var(--memphis-duration-short);
  --bottom-sheet-transition-mode: ease;
  --bottom-sheet-transition-property: transform, opacity, visibility;
  --bottom-sheet-translate: none;
  --bottom-sheet-translate-y: 100vh;
}

@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 [part="root"] {
  font-family: var(--bottom-sheet-font-family);
  font-size: var(--bottom-sheet-font-size);
  line-height: var(--bottom-sheet-font-line-height);
  font-weight: var(--bottom-sheet-font-weight);
  letter-spacing: var(--bottom-sheet-font-letter-spacing);
  -webkit-text-decoration: var(--bottom-sheet-font-text-decoration);
  text-decoration: var(--bottom-sheet-font-text-decoration);
  text-transform: var(--bottom-sheet-font-text-transform);
  background-color: var(--bottom-sheet-background-color);
  border-color: var(--bottom-sheet-border-color);
  color: var(--bottom-sheet-foreground-color);
  opacity: 0;
  visibility: hidden;
  z-index: 2147483001;
  filter: drop-shadow(0 5px 15px #0000004d);
  border-radius: 15px 15px 0 0;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 414px;
  min-height: 90px;
  margin: 0 auto;
  padding-bottom: 35px;
  font-size: 15px;
  transition: top .5s ease-in-out, opacity .8s ease-in-out, max-height .35s ease-in-out;
  display: grid;
  position: fixed;
  inset: 0 0 auto;
  overflow: hidden;
  transform: translateY(100vh);
}

:host [part="root"] [part="heading"] {
  position: relative;
}

:host [part="root"] [part="heading"] [part="thumb"] {
  box-sizing: border-box;
  cursor: grab;
  width: 100%;
  height: 30px;
  padding-top: 8px;
}

:host [part="root"] [part="heading"] [part="thumb"]:active {
  cursor: grabbing;
}

:host [part="root"] [part="heading"] [part="thumb"]:before {
  background: var(--bottom-sheet-border-color);
  content: "";
  border-radius: 3px;
  width: 40px;
  height: 5px;
  margin: 0 auto;
  display: block;
}

:host [part="root"] [part="heading"] [part="header"] {
  grid-gap: 16px;
  padding-left: var(--bottom-sheet-padding-left);
  padding-right: var(--bottom-sheet-padding-right);
  padding-bottom: var(--bottom-sheet-padding-bottom);
  grid-template-columns: max-content 1fr max-content;
  padding-top: 0;
  display: grid;
}

:host [part="root"] [part="heading"] [part="header"] [part="headerText"] {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

:host [part="root"] [part="heading"]:after {
  content: "";
  height: calc(var(--bottom-sheet-border-width) / 2);
  background-color: var(--bottom-sheet-border-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host [part="root"] [part="content"] {
  padding-left: var(--bottom-sheet-padding-left);
  padding-right: var(--bottom-sheet-padding-right);
  padding-bottom: var(--bottom-sheet-padding-bottom);
  padding-top: var(--bottom-sheet-padding-top);
  overflow: auto;
}

:host [part="root"] [part="content"] [part="contentText"] {
  text-overflow: ellipsis;
  text-align: left;
  -webkit-box-orient: vertical;
  grid-column: 1 / 3;
  max-height: 150px;
  margin: 0 0 15px;
  padding: 15px 20px 0;
  font-weight: 400;
  line-height: 20px;
  display: -webkit-box;
  overflow: hidden auto;
}

:host([is-open]) [part="root"] {
  opacity: 1;
  visibility: visible;
  top: 12px;
  transform: translateY(calc(100vh - 74px));
}

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