﻿/* Lato – self-hosted corporate font */
@font-face { font-family: 'Lato'; src: url('fonts/Lato/Lato-Regular.ttf')     format('truetype'); font-weight: 400; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato/Lato-Italic.ttf')      format('truetype'); font-weight: 400; font-style: italic;  font-display: swap; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato/Lato-Bold.ttf')        format('truetype'); font-weight: 700; font-style: normal;  font-display: swap; }
@font-face { font-family: 'Lato'; src: url('fonts/Lato/Lato-BoldItalic.ttf')  format('truetype'); font-weight: 700; font-style: italic;  font-display: swap; }

:root {
    --standard-width: 960px;
    --mobile-width: 760px; /*767 ??*/
    --zimmer-backgroundColor: #0090D1;
    --zimmer-backgroundColor-MAINTENANCE: #FF8A00;
    --zimmer-backgroundColor-LIVE_EXTERN: #0090D1;
    --zimmer-backgroundColor-LIVE_INTERN: #28B463;
    --my-focused-bg: #d6eafd !important;
    --my-focused-color: #000000 !important;
    --bs-body-font-family: 'Lato', sans-serif;
    --dxds-font-family-sans-serif: 'Lato', sans-serif;
}
/* For the MessageBox component */
/* -----------------------------*/
.hide {
    display: none;
}
/* Must be set in every page, where one wants that */
/* In MainLayout @Body is not wrapped in a standard width */
/* Applog Pages are made for full desktop width. so there it will not be set */
/* For most, if not all standart PIS Pages it must be set in a top most div containing everything */
/* ---------------------------------------------------------------------------------------------- */
.main-content {
    width: var(--standard-width);
    max-width: var(--standard-width);
    margin: 0 auto;
}

.main-content-mobile {
    /* MobilePlan: no fixed width, otherwise a phone (360px) scrolls horizontally */
    width: 100%;
    max-width: var(--mobile-width);
    box-sizing: border-box;
    margin: 0 auto;
}

/* Theme Overwrite */
/* =============== */
/* Overwrite theme color for selected and focused in DXGrid Row */
/* ------------------------------------------------------------ */
/*Original:#0f6cbd*/

.dxbl-grid .dxbl-grid-table .dxbl-grid-focused-row.dxbl-grid-selected-row:not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) {
    background-color: var(--my-focused-bg) !important;
    /*background-color: red !important;*/
    color: var(--my-focused-color) !important;
}

.dxbl-grid .dxbl-grid-table .dxbl-grid-focused-row:not(.dxbl-grid-touch-selection):not(.dxbl-grid-touch-selection-edge) {
    background-color: var(--my-focused-bg) !important;
    /*background-color: red !important;*/
    color: var(--my-focused-color) !important;
}

.dxbl-btn.dxbl-btn-info {
    background-color: lightgray !important;
    background-color: grey !important;
}


/* Article Search dialog styles moved to Components/Pages/ComponentSearch.razor.css */

/* Shoppincart DXTreeList */
td:has(.withoutChildren) > :first-child {
    display: none !important;
}

.dxbl-grid .dxbl-grid-table > tbody > tr.child-row {
    --dxbl-grid-row-bg: #f0f0f0 !important;
}

.dxbl-grid.shopping-cart-treelist {
    --dxbl-grid-max-height: max(200px, calc(90vh - 180px));
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* For User Entry Forms */
/* ==================== */
.dxbl-fl-cpt.required::after {
    content: " *";
    color: red;
}

.gotcha {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

.honeypot-label {
    display: none;
}