/*
 * SPDX-FileCopyrightText: 2023 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* Dimensions */
/* Font sizes */
/* Line heights */
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
:host {
  --margin: 0.5rem;
  display: block;
  position: fixed;
  width: 20rem;
  height: auto;
  background-color: var(--theme-color-2);
  border-radius: 0.25rem;
  padding: 1rem;
  left: 3.4rem;
  z-index: 10000;
  transition: left var(--theme-default-time);
  margin-inline-start: var(--margin) !important;
  box-shadow: var(--theme-box-shadow-level-4);
}
:host *,
:host *::after,
:host *::before {
  box-sizing: border-box;
}
:host ::-webkit-scrollbar-button {
  display: none;
}
@-moz-document url-prefix() {
  :host * {
    scrollbar-color: var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);
    scrollbar-width: thin;
  }
}
:host {
  /* width */
}
:host ::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
:host {
  /* Track */
}
:host ::-webkit-scrollbar-track {
  border-radius: 5px;
  background: var(--theme-scrollbar-track--background);
}
:host ::-webkit-scrollbar-track:hover {
  background: var(--theme-scrollbar-track--background--hover);
}
:host {
  /* Handle */
}
:host ::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--theme-scrollbar-thumb--background);
}
:host {
  /* Handle on hover */
}
:host ::-webkit-scrollbar-thumb:hover {
  background: var(--theme-scrollbar-thumb--background--hover);
}
:host ::-webkit-scrollbar-corner {
  display: none;
}
:host .banner-container {
  position: absolute;
  top: 0.0625rem;
  left: 1rem;
}
:host .banner-container svg {
  position: absolute;
  height: 3.625rem;
  width: 3rem;
}
:host .banner-container svg polygon {
  fill: var(--theme-color-primary);
}
:host .banner-container ix-icon {
  margin: 0.5rem;
  position: absolute;
  z-index: 1;
}
:host .cui-popover-news-header {
  margin-bottom: 2.5rem;
  margin-inline-start: 4rem;
  margin-block-start: -0.25rem;
}
:host .popover-body {
  color: var(--theme-color-std-text);
}
:host .cui-popover-news-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}
:host ix-icon-button {
  top: 0.5rem;
  right: 0.5rem;
  position: absolute;
}
:host #arrow {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--theme-color-2);
  transform: translateX(calc(var(--margin) * -1 - 0.8rem)) rotateZ(45deg);
}

:host(.expanded) {
  left: calc(3.4rem + 12.7rem);
}

:host(.show) {
  display: none;
}

@media only screen and (max-width: 48em) {
  :host {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 4.75rem);
    width: calc(100% - 2rem);
    max-width: 30rem;
    transform: translateX(calc(1rem - 50%));
    left: calc(50% - 1rem) !important;
    bottom: 1rem !important;
    margin-inline: 0 !important;
    z-index: calc(var(--theme-z-index-sticky) - 1);
  }
  :host .slot-container {
    overflow-y: auto;
  }
  :host #arrow {
    display: none;
  }
}