// ------------------------------------------------------------------------------
// <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 timelineItemElementMemphisStyle() {
    return css `
:host {
  --timeline-item-content-gap: var(--memphis-layout-space);
  --timeline-item-font-family: unset;
  --timeline-item-font-letter-spacing: unset;
  --timeline-item-font-line-height: unset;
  --timeline-item-font-size: unset;
  --timeline-item-font-text-decoration: unset;
  --timeline-item-font-text-transform: unset;
  --timeline-item-font-weight: unset;
  --timeline-item-gap: unset;
  --timeline-item-line-offset: calc(var(--memphis-layout-space) * 3);
  --timeline-item-marker-border-color: var(--memphis-scheme-highlight);
  --timeline-item-marker-border-width: var(--memphis-layout-thickness);
  --timeline-item-marker-color: var(--memphis-scheme-background);
  --timeline-item-marker-size: calc(var(--memphis-layout-space) * 2.5);
  --timeline-item-padding-bottom: unset;
  --timeline-item-padding-left: unset;
  --timeline-item-padding-right: unset;
  --timeline-item-padding-top: unset;
  --timeline-item-shadow: unset unset unset unset unset;
  --timeline-item-shadow-blur: unset;
  --timeline-item-shadow-color: unset;
  --timeline-item-shadow-offset-x: unset;
  --timeline-item-shadow-offset-y: unset;
  --timeline-item-shadow-spread: unset;
  --timeline-item-transition-duration: unset;
  --timeline-item-transition-mode: unset;
  --timeline-item-transition-property: unset;
  --timeline-item-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 {
  color: inherit;
  font-family: inherit;
  display: block;
  position: relative;
}

:host [part="item"] {
  gap: var(--timeline-item-content-gap);
  min-width: 0;
  display: grid;
  position: relative;
}

:host [part="marker"] {
  width: var(--timeline-item-marker-size);
  height: var(--timeline-item-marker-size);
  justify-content: center;
  align-items: center;
  display: inline-flex;
  position: absolute;
}

:host [part="marker-default"] {
  background: var(--timeline-item-marker-color);
  border: var(--timeline-item-marker-border-width) solid var(--timeline-item-marker-border-color);
  box-sizing: border-box;
  border-radius: 999px;
  width: 100%;
  height: 100%;
}

:host [part="content"], :host [part="opposite"] {
  min-width: 0;
}

:host-context(mosaik-timeline[orientation=vertical]) [part="item"] {
  -moz-column-gap: calc((var(--timeline-item-content-gap) * 2 + var(--timeline-item-marker-size)) * 2);
  column-gap: calc((var(--timeline-item-content-gap) * 2 + var(--timeline-item-marker-size)) * 2);
  grid-template-columns: auto 1fr;
  align-items: stretch;
}

:host-context(mosaik-timeline[orientation=vertical][align=start]) [part="content"] {
  grid-column: 2;
  justify-self: start;
}

:host-context(mosaik-timeline[orientation=vertical][align=start]) [part="opposite"] {
  text-align: right;
  grid-column: 1;
  justify-self: end;
}

:host-context(mosaik-timeline[orientation=vertical][align=start]) [part="marker"] {
  left: var(--timeline-item-line-offset);
  top: 50%;
  transform: translate(-50%, -50%);
}

:host-context(mosaik-timeline[orientation=vertical][align=end]) [part="content"] {
  text-align: right;
  grid-column: 1;
  justify-self: end;
}

:host-context(mosaik-timeline[orientation=vertical][align=end]) [part="opposite"] {
  grid-column: 2;
  justify-self: start;
}

:host-context(mosaik-timeline[orientation=vertical][align=end]) [part="marker"] {
  left: calc(100% - var(--timeline-item-line-offset));
  top: 50%;
  transform: translate(-50%, -50%);
}

:host-context(mosaik-timeline[orientation=vertical][align=alternate]) [part="marker"] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

:host-context(mosaik-timeline[orientation=vertical][align=alternate]):nth-child(odd) [part="content"] {
  text-align: right;
  grid-column: 1;
  justify-self: end;
}

:host-context(mosaik-timeline[orientation=vertical][align=alternate]):nth-child(odd) [part="opposite"] {
  grid-column: 2;
  justify-self: start;
}

:host-context(mosaik-timeline[orientation=vertical][align=alternate]):nth-child(2n) [part="content"] {
  grid-column: 2;
  justify-self: start;
}

:host-context(mosaik-timeline[orientation=vertical][align=alternate]):nth-child(2n) [part="opposite"] {
  text-align: right;
  grid-column: 1;
  justify-self: end;
}

:host-context(mosaik-timeline[orientation=horizontal]) {
  flex: 1;
  min-width: 0;
}

:host-context(mosaik-timeline[orientation=horizontal]) [part="item"] {
  row-gap: var(--timeline-item-content-gap);
  grid-template-rows: 1fr auto 1fr;
  grid-template-columns: 1fr;
  place-items: center;
  height: 100%;
}

:host-context(mosaik-timeline[orientation=horizontal]) [part="marker"] {
  grid-area: 2 / 1;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
}

:host-context(mosaik-timeline[orientation=horizontal]) [part="content"] {
  grid-area: 1 / 1;
  align-self: end;
}

:host-context(mosaik-timeline[orientation=horizontal]) [part="opposite"] {
  grid-area: 3 / 1;
  align-self: start;
}

:host-context(mosaik-timeline[orientation=horizontal][align=end]) [part="content"] {
  grid-area: 3 / 1;
  align-self: start;
}

:host-context(mosaik-timeline[orientation=horizontal][align=end]) [part="opposite"] {
  grid-area: 1 / 1;
  align-self: end;
}

:host-context(mosaik-timeline[orientation=horizontal][align=alternate]):nth-child(odd) [part="content"] {
  grid-area: 1 / 1;
  align-self: end;
}

:host-context(mosaik-timeline[orientation=horizontal][align=alternate]):nth-child(odd) [part="opposite"] {
  grid-area: 3 / 1;
  align-self: start;
}

:host-context(mosaik-timeline[orientation=horizontal][align=alternate]):nth-child(2n) [part="content"] {
  grid-area: 3 / 1;
  align-self: start;
}

:host-context(mosaik-timeline[orientation=horizontal][align=alternate]):nth-child(2n) [part="opposite"] {
  grid-area: 1 / 1;
  align-self: end;
}

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