// ------------------------------------------------------------------------------
// <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 calendarElementJoyStyle() {
    return css `
:host {
  --calendar-background-color: var(--joy-scheme-background);
  --calendar-border-color: var(--joy-scheme-highlight);
  --calendar-border-radius: var(--joy-layout-radius);
  --calendar-border-style: solid;
  --calendar-border-width: var(--joy-layout-thickness);
  --calendar-divider-height: 1px;
  --calendar-font-family: var(--joy-font-family);
  --calendar-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --calendar-font-line-height: var(--joy-typography-body1-line-height);
  --calendar-font-size: var(--joy-typography-body1-font-size);
  --calendar-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --calendar-font-text-transform: var(--joy-typography-body1-text-transform);
  --calendar-font-weight: var(--joy-typography-body1-font-weight);
  --calendar-foreground-color: var(--joy-scheme-foreground);
  --calendar-gap: var(--joy-layout-space);
  --calendar-padding-bottom: var(--joy-layout-space);
  --calendar-padding-left: calc(var(--joy-layout-space) * 2);
  --calendar-padding-right: calc(var(--joy-layout-space) * 2);
  --calendar-padding-top: var(--joy-layout-space);
  --calendar-transition-duration: var(--joy-duration-short);
  --calendar-transition-mode: ease;
  --calendar-transition-property: background-color, color, border-color, opacity;
  --calendar-translate: unset;
}

@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 {
  font-family: var(--calendar-font-family);
  font-size: var(--calendar-font-size);
  line-height: var(--calendar-font-line-height);
  font-weight: var(--calendar-font-weight);
  letter-spacing: var(--calendar-font-letter-spacing);
  -webkit-text-decoration: var(--calendar-font-text-decoration);
  text-decoration: var(--calendar-font-text-decoration);
  text-transform: var(--calendar-font-text-transform);
  padding-top: var(--calendar-padding-top);
  padding-right: var(--calendar-padding-right);
  padding-bottom: var(--calendar-padding-bottom);
  padding-left: var(--calendar-padding-left);
  gap: var(--calendar-gap);
  transition-duration: var(--calendar-transition-duration);
  transition-timing-function: var(--calendar-transition-mode);
  transition-property: var(--calendar-transition-property);
  translate: var(--calendar-translate);
  background-color: var(--calendar-background-color);
  color: var(--calendar-foreground-color);
  border-color: var(--calendar-border-color);
  border-width: var(--calendar-border-width);
  border-radius: var(--calendar-border-radius);
  border-style: var(--calendar-border-style);
  display: block;
}

:host [part="header"] {
  padding: var(--calendar-padding-top) var(--calendar-padding-right) var(--calendar-padding-bottom) var(--calendar-padding-left);
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  position: relative;
}

:host [part="header"]:after {
  content: "";
  height: var(--calendar-divider-height);
  background-color: var(--calendar-border-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host [part="content"] {
  padding: var(--calendar-padding-top) calc(var(--calendar-padding-right) / 2) var(--calendar-padding-bottom) calc(var(--calendar-padding-left) / 2);
}

:host [part="content"] [part="navigation"] {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  display: flex;
}

:host([orientation="horizontal"]) [part="header"]:after {
  content: "";
  width: var(--calendar-border-width);
  background-color: var(--calendar-border-color);
  border-radius: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

:host([orientation="vertical"]) [part="header"]:after {
  content: "";
  height: var(--calendar-divider-height);
  background-color: var(--calendar-border-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host([fit="width"]) {
  width: 100%;
}

:host([fit="height"]) {
  height: 100%;
}

:host([fit="both"]) {
  width: 100%;
  height: 100%;
}

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