// ------------------------------------------------------------------------------
// <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 calendarElementMemphisStyle() {
    return css `
:host {
  --calendar-background-color: var(--memphis-scheme-background);
  --calendar-border-color: var(--memphis-scheme-contrast);
  --calendar-border-radius: var(--memphis-layout-radius);
  --calendar-border-style: solid;
  --calendar-border-width: var(--memphis-layout-thickness);
  --calendar-divider-height: 1px;
  --calendar-font-family: var(--memphis-font-family);
  --calendar-font-letter-spacing: var(--memphis-typography-body1-letter-spacing);
  --calendar-font-line-height: var(--memphis-typography-body1-line-height);
  --calendar-font-size: var(--memphis-typography-body1-font-size);
  --calendar-font-text-decoration: var(--memphis-typography-body1-text-decoration);
  --calendar-font-text-transform: var(--memphis-typography-body1-text-transform);
  --calendar-font-weight: var(--memphis-typography-body1-font-weight);
  --calendar-foreground-color: var(--memphis-scheme-foreground);
  --calendar-gap: var(--memphis-layout-space);
  --calendar-padding-bottom: var(--memphis-layout-space);
  --calendar-padding-left: calc(var(--memphis-layout-space) * 2);
  --calendar-padding-right: calc(var(--memphis-layout-space) * 2);
  --calendar-padding-top: var(--memphis-layout-space);
  --calendar-shadow: var(--memphis-elevation-light-offset-x-0) var(--memphis-elevation-light-offset-y-0) var(--memphis-elevation-light-blur-0) var(--memphis-elevation-light-spread-0) var(--memphis-elevation-light-color-0);
  --calendar-shadow-blur: var(--memphis-elevation-light-blur-0);
  --calendar-shadow-color: var(--memphis-elevation-light-color-0);
  --calendar-shadow-offset-x: var(--memphis-elevation-light-offset-x-0);
  --calendar-shadow-offset-y: var(--memphis-elevation-light-offset-y-0);
  --calendar-shadow-spread: var(--memphis-elevation-light-spread-0);
  --calendar-transition-duration: .2s;
  --calendar-transition-mode: ease;
  --calendar-transition-property: background-color, color, border-color, opacity, box-shadow;
  --calendar-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 {
  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);
  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: 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-top: var(--calendar-padding-top);
  padding-right: var(--calendar-padding-right);
  padding-bottom: var(--calendar-padding-bottom);
  padding-left: var(--calendar-padding-left);
  flex-direction: column;
  justify-content: space-between;
  display: flex;
  position: relative;
}

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

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

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

:host [part="content"].multi-sheet [part="sheets"] {
  gap: var(--calendar-gap);
  flex-wrap: wrap;
  display: flex;
}

:host [part="content"].multi-sheet [part="sheets"] [part="sheet"] {
  flex: 1;
  min-width: 200px;
}

:host [part="content"].multi-sheet [part="sheets"] [part="sheet"]:not(:last-child) {
  border-right: 1px solid var(--calendar-border-color);
  padding-right: var(--calendar-padding-right);
  margin-right: var(--calendar-padding-right);
}

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

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

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

:host([orientation="horizontal"]) [part="content"].multi-sheet [part="sheets"] {
  flex-direction: row;
}

:host([orientation="horizontal"]) [part="content"].multi-sheet [part="sheets"] [part="sheet"]:not(:last-child) {
  border-right: 1px solid var(--calendar-border-color);
  padding-right: var(--calendar-padding-right);
  margin-right: var(--calendar-padding-right);
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

:host([orientation="vertical"]) [part="content"].multi-sheet [part="sheets"] {
  flex-direction: column;
}

:host([orientation="vertical"]) [part="content"].multi-sheet [part="sheets"] [part="sheet"]:not(:last-child) {
  border-bottom: 1px solid var(--calendar-border-color);
  padding-bottom: var(--calendar-padding-bottom);
  margin-bottom: var(--calendar-padding-bottom);
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

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

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

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

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

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