// ------------------------------------------------------------------------------
// <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 floatingElementCosmopolitanStyle() {
    return css `
:host {
  --floating-arrow-padding-offset: unset;
  --floating-arrow-size: unset;
  --floating-arrow-size-diagonal: unset;
  --floating-background-color: unset;
  --floating-border-color: unset;
  --floating-border-radius: unset;
  --floating-border-style: unset;
  --floating-border-width: unset;
  --floating-font-family: unset;
  --floating-font-letter-spacing: unset;
  --floating-font-line-height: unset;
  --floating-font-size: unset;
  --floating-font-text-decoration: unset;
  --floating-font-text-transform: unset;
  --floating-font-weight: unset;
  --floating-foreground-color: unset;
  --floating-gap: unset;
  --floating-padding-bottom: unset;
  --floating-padding-left: unset;
  --floating-padding-right: unset;
  --floating-padding-top: unset;
  --floating-shadow: unset;
  --floating-transition-duration: unset;
  --floating-transition-mode: unset;
  --floating-transition-property: unset;
  --floating-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 {
  display: inherit;
  position: fixed;
}

:host [part="body"] {
  font-family: var(--floating-font-family);
  font-size: var(--floating-font-size);
  line-height: var(--floating-font-line-height);
  font-weight: var(--floating-font-weight);
  letter-spacing: var(--floating-font-letter-spacing);
  -webkit-text-decoration: var(--floating-font-text-decoration);
  text-decoration: var(--floating-font-text-decoration);
  text-transform: var(--floating-font-text-transform);
  padding-top: var(--floating-padding-top);
  padding-right: var(--floating-padding-right);
  padding-bottom: var(--floating-padding-bottom);
  padding-left: var(--floating-padding-left);
  gap: var(--floating-gap);
  transition-duration: var(--floating-transition-duration);
  transition-timing-function: var(--floating-transition-mode);
  transition-property: var(--floating-transition-property);
  background-color: var(--floating-background-color);
  border-color: var(--floating-border-color);
  color: var(--floating-foreground-color);
  border-width: var(--floating-border-width);
  border-radius: var(--floating-border-radius);
  border-style: var(--floating-border-style);
  box-shadow: var(--floating-shadow);
  isolation: isolate;
  max-width: var(--floating-auto-size-available-width, none);
  max-height: var(--floating-auto-size-available-height, none);
  position: absolute;
  overflow: hidden scroll;
}

:host [part="body"].fixed {
  position: fixed;
}

:host [part="body"]:not(.active) {
  display: none;
}

:host [part="body"] [part="arrow"] {
  background-color: var(--floating-background-color);
  width: calc(var(--floating-arrow-size-diagonal) * 2);
  height: calc(var(--floating-arrow-size-diagonal) * 2);
  z-index: -1;
  position: absolute;
  rotate: 45deg;
}

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