@charset "UTF-8";

/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 * 
 * © Copyright 2024, Eviden – All rights reserved.
 * 
 * This software is the confidential and proprietary information of
 * Eviden Germany GmbH ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Eviden Germany GmbH.
 * 
 * END OF COPYRIGHT NOTICE.
 */
/*******************************************************************************
 * Common
 *******************************************************************************/
html {
    font-size: 16px;
}

body {
    margin: 0px;
    padding: 0px;
}

/* Set application wide foreground and background color adapted to currently used color scheme */
body {
    background-color: var(--mat-sys-surface);
    color: var(--mat-sys-on-surface);
}

.cursor-pointer {
    cursor: pointer;
}

.drag-pointer {
    cursor: move;
    color: var(--mat-sys-secondary);
}

/* The default "color-scheme" property value is "light". In dark mode, we need 
  * to set it explicitly. */
.color-scheme-dark {
    color-scheme: dark;
}

.dirx-icon-mirror {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/*******************************************************************************
 * All pages
 *******************************************************************************/
.app-page-content {
    margin-top: 104px;
}

.app-page-content-margin {
    padding: 20px 24px;
    min-height: calc(100vh - 144px);
}

.app-panel {
    margin-bottom: 16px !important;
}

.app-panel-narrow {
    max-width: 900px;
}

/*******************************************************************************
 * Header
 *******************************************************************************/
.header {
    --mat-toolbar-container-background-color: var(--mat-sys-surface-container);
}

.header {
    height: 64px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

mat-icon.mat-icon.header-logo {
    height: 20px;
    width: unset;
}

.header-left,
.header-right {
    display: flex;
    gap: 5px;
    align-items: center;
}

.fixed-header {
    position: fixed;
    position: -webkit-sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.main-toolbar-filler {
    flex: 1 1 auto;
}

.main-toolbar-menu,
.main-toolbar-menu:focus,
.main-toolbar-menu:hover {
    padding: 4px 4px 4px 4px;
    outline: unset;
}

.main-toolbar-logo-container {
    margin-left: 0px;
    margin-top: 0px;
}

.main-toolbar-logo-image {
    height: 56px;
}

.header-avatar {
    flex-shrink: 0;
    border-radius: 50%;
    position: relative;
    margin-right: 8px;
    width: 36px;
    height: 36px;
    background-color: black;
}

.header-text1 {
    margin-top: 12px;
    font-size: 14px;
    height: 14px;
}

.header-text2 {
    font-size: 12px;
}

.header-initials {
    margin-right: 8px;
}

@media screen and (max-width: 640px) {
    .header-text1 {
        display: none;
    }

    .header-text2 {
        display: none;
    }
}

/*******************************************************************************
 * Home component
 *******************************************************************************/
.home-page-header {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    font-size: 16px;
    display: inline-flex;
    cursor: default;
}

.home-page-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/*******************************************************************************
 * Main component - top page toolbar, side menu
 *******************************************************************************/
.main-content {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 90%;
}

.main-sidenav {
    min-width: 100px;
    width: 300px;
    overflow-x: hidden;
}

.main-sidenav {
    --mat-sidenav-container-background-color: var(--mat-sys-surface-container);
}

.main-sidenav {
    --mat-sidenav-container-text-color: var(--mat-sys-on-surface);
}

.header-user-avatar {
    background-color: var(--mat-sys-primary) !important;
    color: var(--mat-sys-on-primary);
}

/*******************************************************************************
 * Side menu component
 *******************************************************************************/
.main-drawer-header {
    height: 180px;
}

.main-menu-item-separator {
    border-top-width: 1px;
}

.main-drawer-avatar {
    flex-shrink: 0;
    border-radius: 50%;
    position: relative;
    margin-top: 32px;
    margin-left: 16px;
    width: 96px;
    height: 96px;
}

mat-icon.mat-icon.main-drawer-logo {
    position: absolute;
    margin-top: 0px;
    right: 8px;
    height: unset;
    width: 125px;
}

.main-drawer-text1 {
    font-size: 20px;
    text-align: right;
    margin-right: 16px;
}

.main-drawer-initials-text1 {
    margin-top: 16px;
}

.main-drawer-text2 {
    position: relative;
    font-size: 12px;
    text-align: right;
    margin-right: 16px;
}

.main-drawer-initials-container {
    padding-top: 16px;
    padding-left: 16px;
}

.main-drawer-header {
    background-color: var(--mat-sys-secondary);
    color: var(--mat-sys-on-secondary);
}

.main-drawer-avatar {
    color: var(--mat-sys-on-secondary);
    background-color: var(--mat-sys-secondary);
}

/*******************************************************************************
 * Settings component
 *******************************************************************************/
.settings-languages-radio-group,
.settings-themes {
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
}

/*******************************************************************************
 * Logout component
 *******************************************************************************/
.logout__page--bg {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(../img/company-background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    flex-direction: column;
}

.logout__container--size {
    width: 350px;
    background-color: white;
    position: relative;
    padding: 40px;
    box-shadow: 1px 1px 66px 1px rgba(0, 0, 0, 0.3);
}

.logout__container--logo {
    display: inline-block;
    width: 210px;
    height: 150px;
    background: var(--mat-sys-primary);
    /* TODO:future fix path */
    /* background: url(../img/company-logo.png) no-repeat; */
}

.logout__container--logo-position {
    margin: 0 70px 10px 70px;
}

.logout__version--font {
    font-size: 10pt;
    color: white;
}

.logout__version--position {
    position: absolute;
    bottom: 10px;
}

/*******************************************************************************
 * Confirm dialog component
 *******************************************************************************/
.confirm-dialog-title {
    font-size: 24px;
    margin: 0px;
    padding: 0px;
}

.confirm-dialog-text {
    margin-top: 16px;
    margin-bottom: 16px;
}

.confirm-dialog-button-text {
    font-weight: bold;
}

/*******************************************************************************
 * Sidenav scrollbar (webkit only)
 *******************************************************************************/
::-webkit-scrollbar {
    width: 5px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.26);
}

/*******************************************************************************
 * Stack-able dialog
 *******************************************************************************/
.stackable-dialog-hide {
    display: none;
}

:root {
    --stack-offset-left: 2vw;
}

.stackable-dialog-shift-0 {
    margin-left: 0;
}

.stackable-dialog-shift-1 {
    margin-left: calc(var(--stack-offset-left) * 1);
}

.stackable-dialog-shift-2 {
    margin-left: calc(var(--stack-offset-left) * 2);
}

.stackable-dialog-shift-3 {
    margin-left: calc(var(--stack-offset-left) * 3);
}

.stackable-dialog-shift-4 {
    margin-left: calc(var(--stack-offset-left) * 4);
}

.stackable-dialog-shift-5 {
    margin-left: calc(var(--stack-offset-left) * 5);
}

.stackable-dialog-shift-6 {
    margin-left: calc(var(--stack-offset-left) * 6);
}

.stackable-dialog-shift-7 {
    margin-left: calc(var(--stack-offset-left) * 7);
}

.stackable-dialog-shift-8 {
    margin-left: calc(var(--stack-offset-left) * 8);
}

.stackable-dialog-shift-9 {
    margin-left: calc(var(--stack-offset-left) * 9);
}

.stackable-dialog-shift-10 {
    margin-left: calc(var(--stack-offset-left) * 10);
}

.stackable-dialog-shift-11 {
    margin-left: calc(var(--stack-offset-left) * 11);
}

/* Decrease the z-index to at least partially fix an issue
 * when a snackbar is opened from a dialog causing the
 * snackbar is behind the dialog. 
 */
.dialog-overlay-down {
    z-index: 999 !important;
}

/** Remove underlined decoration  links */
a {
    text-decoration: none;
}

/*# sourceMappingURL=common.css.map */
