// ------------------------------------------------------------------------------
// <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 carouselElementCosmopolitanStyle() {
    return css `
:host {
  --carousel-deck-animation-duration: .4s;
  --carousel-deck-rotation: 3deg;
  --carousel-font-family: unset;
  --carousel-font-letter-spacing: unset;
  --carousel-font-line-height: unset;
  --carousel-font-size: unset;
  --carousel-font-text-decoration: unset;
  --carousel-font-text-transform: unset;
  --carousel-font-weight: unset;
  --carousel-gap: unset;
  --carousel-padding-bottom: unset;
  --carousel-padding-left: unset;
  --carousel-padding-right: unset;
  --carousel-padding-top: unset;
  --carousel-shadow: unset unset unset unset unset;
  --carousel-shadow-blur: unset;
  --carousel-shadow-color: unset;
  --carousel-shadow-offset-x: unset;
  --carousel-shadow-offset-y: unset;
  --carousel-shadow-spread: unset;
  --carousel-transition-duration: .5s;
  --carousel-transition-mode: ease;
  --carousel-transition-property: unset;
  --carousel-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 {
  display: block;
  position: relative;
}

:host [part="content"] {
  overflow: hidden;
}

:host [part="content"] [part~="list"] {
  outline: none;
}

:host [part="content"] [part~="slide"] {
  transition: transform var(--carousel-transition-duration) ease-in-out;
  flex-direction: row;
  display: flex;
}

:host [part="content"] [part~="deck"] {
  outline: none;
  width: 100%;
  position: relative;
}

:host [part="content"] [part~="deck"] ::slotted(*) {
  pointer-events: none;
  width: 100%;
  transition: transform var(--carousel-deck-animation-duration) ease-in-out;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
}

:host [part="content"] [part~="deck"] ::slotted([no-transition]) {
  transition: none !important;
}

:host [part="content"] [part~="deck"] ::slotted(:nth-child(3n+1)) {
  transform: rotate(var(--carousel-deck-rotation));
}

:host [part="content"] [part~="deck"] ::slotted(:nth-child(3n+2)) {
  transform: rotate(calc(var(--carousel-deck-rotation) * -.7));
}

:host [part="content"] [part~="deck"] ::slotted(:nth-child(3n+3)) {
  transform: rotate(calc(var(--carousel-deck-rotation) * .4));
}

:host [part="content"] [part~="deck"] ::slotted([is-active]) {
  pointer-events: auto;
  z-index: 1;
  position: relative;
  transform: rotate(0);
}

:host [part="content"] [part~="deck"] ::slotted([is-dismissed][dismiss-direction="next"]) {
  transform: translateX(-120%) rotate(calc(var(--carousel-deck-rotation) * -5));
  z-index: 2;
}

:host [part="content"] [part~="deck"] ::slotted([is-dismissed][dismiss-direction="prev"]) {
  transform: translateX(120%) rotate(calc(var(--carousel-deck-rotation) * 5));
  z-index: 2;
}

:host [part="previous"], :host [part="next"] {
  z-index: 1;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

:host [part="indicator"] {
  z-index: 1;
  pointer-events: none;
  z-index: 2;
  position: absolute;
}

:host([display-mode="deck"]) [part="content"] {
  overflow: auto;
}

:host([navigation-position="inside"]) [part="previous"] {
  left: var(--carousel-gap);
}

:host([navigation-position="inside"]) [part="next"] {
  right: var(--carousel-gap);
}

:host([navigation-position="split"]) [part="previous"] {
  left: 0;
  transform: translateY(-50%) translateX(-50%);
}

:host([navigation-position="split"]) [part="next"] {
  right: 0;
  transform: translateY(-50%) translateX(50%);
}

:host([navigation-position="outside"]) [part="previous"] {
  left: calc(var(--carousel-gap) * -1);
  transform: translateY(-50%) translateX(-100%);
}

:host([navigation-position="outside"]) [part="next"] {
  right: calc(var(--carousel-gap) * -1);
  transform: translateY(-50%) translateX(100%);
}

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