// ------------------------------------------------------------------------------
// <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 calendarElementCosmopolitanStyle() {
    return css `
:host {
  --calendar-background-color: var(--cosmopolitan-scheme-background);
  --calendar-border-color: var(--cosmopolitan-scheme-highlight);
  --calendar-border-radius: var(--cosmopolitan-layout-radius);
  --calendar-border-style: solid;
  --calendar-border-width: var(--cosmopolitan-layout-thickness);
  --calendar-divider-height: 1px;
  --calendar-font-family: var(--cosmopolitan-typography-content-font-family);
  --calendar-font-letter-spacing: var(--cosmopolitan-typography-content-letter-spacing);
  --calendar-font-line-height: var(--cosmopolitan-typography-content-line-height);
  --calendar-font-size: var(--cosmopolitan-typography-content-font-size);
  --calendar-font-text-decoration: var(--cosmopolitan-typography-content-text-decoration);
  --calendar-font-text-transform: var(--cosmopolitan-typography-content-text-transform);
  --calendar-font-weight: var(--cosmopolitan-typography-content-font-weight);
  --calendar-foreground-color: var(--cosmopolitan-scheme-foreground);
  --calendar-gap: var(--cosmopolitan-layout-space);
  --calendar-padding-bottom: var(--cosmopolitan-layout-space);
  --calendar-padding-left: calc(var(--cosmopolitan-layout-space) * 2);
  --calendar-padding-right: calc(var(--cosmopolitan-layout-space) * 2);
  --calendar-padding-top: var(--cosmopolitan-layout-space);
  --calendar-shadow: var(--cosmopolitan-elevation-light-offset-x-0) var(--cosmopolitan-elevation-light-offset-y-0) var(--cosmopolitan-elevation-light-blur-0) var(--cosmopolitan-elevation-light-spread-0) var(--cosmopolitan-elevation-light-color-0);
  --calendar-shadow-blur: var(--cosmopolitan-elevation-light-blur-0);
  --calendar-shadow-color: var(--cosmopolitan-elevation-light-color-0);
  --calendar-shadow-offset-x: var(--cosmopolitan-elevation-light-offset-x-0);
  --calendar-shadow-offset-y: var(--cosmopolitan-elevation-light-offset-y-0);
  --calendar-shadow-spread: var(--cosmopolitan-elevation-light-spread-0);
  --calendar-transition-duration: .2s;
  --calendar-transition-mode: ease;
  --calendar-transition-property: background-color, color, border-color, opacity;
  --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"]:after {
  content: "";
  height: var(--calendar-divider-height);
  background: 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"].multi-sheet [part="sheets-container"] {
  gap: var(--calendar-gap);
  flex-wrap: wrap;
  display: flex;
}

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

:host [part="content"].multi-sheet [part="sheets-container"] [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([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-container"] {
  flex-direction: row;
}

:host([orientation="horizontal"]) [part="content"].multi-sheet [part="sheets-container"] [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-container"] {
  flex-direction: column;
}

:host([orientation="vertical"]) [part="content"].multi-sheet [part="sheets-container"] [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%;
}

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