// ------------------------------------------------------------------------------
// <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 bannerElementCosmopolitanStyle() {
    return css `
:host {
  --banner-background-color: unset;
  --banner-border-color: unset;
  --banner-border-radius: unset;
  --banner-border-style: unset;
  --banner-border-width: unset;
  --banner-font-family: unset;
  --banner-font-letter-spacing: unset;
  --banner-font-line-height: unset;
  --banner-font-size: unset;
  --banner-font-text-decoration: unset;
  --banner-font-text-transform: unset;
  --banner-font-weight: unset;
  --banner-foreground-color: unset;
  --banner-gap: unset;
  --banner-padding-bottom: unset;
  --banner-padding-left: unset;
  --banner-padding-right: unset;
  --banner-padding-top: unset;
  --banner-shadow: unset;
  --banner-transition-duration: unset;
  --banner-transition-mode: unset;
  --banner-transition-property: unset;
  --banner-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(--banner-font-family);
  font-size: var(--banner-font-size);
  font-weight: var(--banner-font-weight);
  background-color: var(--banner-background-color);
  color: var(--banner-foreground-color);
  border-color: var(--banner-border-color);
  border-width: var(--banner-border-width);
  border-radius: var(--banner-border-radius);
  border-style: var(--banner-border-style);
  transition-duration: var(--banner-transition-duration);
  transition-timing-function: var(--banner-transition-mode);
  transition-property: var(--banner-transition-property);
  padding-top: var(--banner-padding-top);
  padding-left: var(--banner-padding-left);
  padding-bottom: var(--banner-padding-bottom);
  padding-right: var(--banner-padding-right);
  gap: var(--banner-gap);
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host [part="root"] {
  box-sizing: inherit;
  gap: var(--banner-gap);
  flex-direction: row;
  max-width: 100%;
  display: flex;
}

:host [part="root"] [part="heading"] {
  box-sizing: inherit;
  display: inherit;
  max-width: inherit;
  flex-direction: row;
  align-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

:host [part="root"] [part="heading"] [part="icon"] {
  color: inherit;
}

:host [part="root"] [part="heading"] [part="text"] {
  box-sizing: inherit;
  flex-direction: column;
  flex: 1;
  display: flex;
}

:host [part="root"] [part="heading"] [part="text"] ::slotted(*), :host [part="root"] [part="heading"] [part="text"] [part="header"], :host [part="root"] [part="heading"] [part="text"] [part="subHeader"] {
  color: inherit;
}

:host [part="root"] [part="actions"] {
  box-sizing: inherit;
  display: inherit;
  flex-direction: row;
  place-content: flex-end;
  align-items: flex-end;
}

@media (width <= 599px) {
  :host [part="root"] [part="actions"] {
    flex-flow: wrap;
    place-content: flex-end;
    align-items: flex-end;
    display: flex;
  }
}

:host [part="root"] [part="actions"] ~ [part="actions"]:empty {
  margin: 0;
}

@media (width <= 599px) {
  :host [part="root"] {
    flex-direction: column;
  }

  :host [part="root"] [part="actions"] {
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
  }
}

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

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

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

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