// ------------------------------------------------------------------------------
// <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 audioElementJoyStyle() {
    return css `
:host {
  --audio-aspect-ratio: 1;
  --audio-background-color: var(--joy-scheme-background);
  --audio-border-color: var(--joy-scheme-highlight);
  --audio-border-radius: var(--joy-layout-radius);
  --audio-border-style: solid;
  --audio-border-width: 0px;
  --audio-font-family: var(--joy-font-family);
  --audio-font-letter-spacing: unset;
  --audio-font-line-height: unset;
  --audio-font-size: var(--joy-typography-body1-font-size);
  --audio-font-text-decoration: unset;
  --audio-font-text-transform: unset;
  --audio-font-weight: var(--joy-typography-body1-font-weight);
  --audio-foreground-color: var(--joy-scheme-foreground);
  --audio-gap: var(--joy-layout-space);
  --audio-legend-font-family: var(--joy-font-family);
  --audio-legend-font-letter-spacing: var(--joy-typography-caption-letter-spacing);
  --audio-legend-font-line-height: var(--joy-typography-caption-line-height);
  --audio-legend-font-size: var(--joy-typography-caption-font-size);
  --audio-legend-font-text-decoration: var(--joy-typography-caption-text-decoration);
  --audio-legend-font-text-transform: var(--joy-typography-caption-text-transform);
  --audio-legend-font-weight: var(--joy-typography-caption-font-weight);
  --audio-padding-bottom: calc(var(--joy-layout-space) * 2);
  --audio-padding-left: calc(var(--joy-layout-space) * 2);
  --audio-padding-right: calc(var(--joy-layout-space) * 2);
  --audio-padding-top: calc(var(--joy-layout-space) * 2);
  --audio-shadow: unset unset unset unset unset;
  --audio-shadow-blur: unset;
  --audio-shadow-color: unset;
  --audio-shadow-offset-x: unset;
  --audio-shadow-offset-y: unset;
  --audio-shadow-spread: unset;
  --audio-transition-duration: var(--joy-duration-short);
  --audio-transition-mode: ease;
  --audio-transition-property: color, background-color, border-color, opacity, box-shadow;
  --audio-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 {
  background-color: var(--audio-background-color);
  color: var(--audio-foreground-color);
  border-radius: var(--audio-border-radius);
  place-content: center;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="audio"] {
  width: 100%;
}

:host [part="legend"] {
  box-sizing: border-box;
  width: 100%;
  padding: var(--audio-padding-top) var(--audio-padding-right) var(--audio-padding-bottom) var(--audio-padding-left);
  position: absolute;
}

:host [part="legend"] mosaik-text {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  background-color: inherit;
  border-color: inherit;
  color: inherit;
}

:host([disabled]:not([disabled="false"])) [part="video"] {
  filter: grayscale();
}

:host([disabled]:not([disabled="false"])) [part="legend"] {
  color: var(--audio-foreground-color);
}

:host [part="legend"] {
  --audio-legend-font-family: var(--joy-typography-caption-font-family);
  --audio-legend-font-size: var(--joy-typography-caption-font-size);
  --audio-legend-font-line-height: var(--joy-typography-caption-line-height);
  --audio-legend-font-weight: var(--joy-typography-caption-font-weight);
  --audio-legend-font-letter-spacing: var(--joy-typography-caption-letter-spacing);
  --audio-legend-font-text-decoration: var(--joy-typography-caption-text-decoration);
  --audio-legend-font-text-transform: var(--joy-typography-caption-text-transform);
  font-family: var(--audio-legend-font-family);
  font-size: var(--audio-legend-font-size);
  line-height: var(--audio-legend-font-line-height);
  font-weight: var(--audio-legend-font-weight);
  letter-spacing: var(--audio-legend-font-letter-spacing);
  -webkit-text-decoration: var(--audio-legend-font-text-decoration);
  text-decoration: var(--audio-legend-font-text-decoration);
  text-transform: var(--audio-legend-font-text-transform);
  color: var(--joy-scheme-contrast);
}

:host([disabled]:not([disabled="false"])) {
  --audio-foreground-color: var(--joy-scheme-disabled);
}

    `;
}
//# sourceMappingURL=AudioElement.Joy.js.map