/*
 * 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.
*/
/*
* 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 {
  display: flex;
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
}
: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 ix-application-header {
  z-index: calc(var(--theme-z-index-sticky) + 1);
}
:host .logo-wrapper {
  display: contents;
}
:host .application {
  display: flex;
  position: relative;
  flex-direction: row;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
:host .content-area {
  display: flex;
  position: relative;
  flex-direction: column;
  flex-wrap: nowrap;
  height: calc(100% - var(--ix-safe-area-inset-bottom, 0px));
  width: 100%;
  margin-left: var(--ix-application-menu-margin-left);
  min-width: 0;
}
:host main {
  display: block;
  position: relative;
  flex-grow: 1;
  width: 100%;
  padding-bottom: var(--ix-safe-area-inset-bottom);
  overflow: auto;
}
:host footer {
  display: block;
  position: relative;
  width: 100%;
}

:host(.breakpoint-md) {
  --ix-application-menu-margin-left: calc(
    3.25rem + var(--ix-application-menu-safe-area-left, 0rem)
  );
}
:host(.breakpoint-md) aside.slotted {
  margin-left: var(--ix-application-menu-margin-left);
}
:host(.breakpoint-md) aside.slotted + .content-area {
  margin-left: 0;
}
:host(.breakpoint-md) aside:not(.slotted) + .content-area {
  margin-left: var(--ix-application-menu-margin-left);
}

:host(.breakpoint-lg) {
  --ix-application-menu-margin-left: 0;
}

:host(.breakpoint-sm) {
  --ix-application-menu-margin-left: var(
    --ix-application-menu-safe-area-left,
    0rem
  );
}