﻿/**********************************************************************************************************************************************/
/* New REPORTS - INI */

/* #region gwTable */
#gwTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse !important; /* SPACE BETWEEN CELLs: collapse or separate */
    margin: 0px !important;
    padding: 0px !important;
}

    #gwTable th {
        padding: 2px;
        text-align: center;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #gwTable td {
        padding: 5px;
        text-align: left;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        /*border: 0px solid blue;*/
    }

    #gwTable tr {
        padding: 3px;
        text-align: left;
        font-size: 12px;
        border: 0px solid red;
    }

    #gwTable .MinMeasureHeaderWidth {
        width: 250px !important;
        max-width: 250px !important;
    }

    #gwTable .MeasureColumnWidth {
        width: 250px !important;
        max-width: 250px !important;
    }

    #gwTable .ValueColumnWidth {
        min-width: 100px !important;
        max-width: 250px !important;
    }

    #gwTable .ValueColumnWidth80 {
        width: 80px !important;        
    }

    #gwTable .BMValueColumnWidth {
        min-width: 80px !important;
        max-width: 120px !important;
    }

    #gwTable .MinHeaderColumnWidthBM {
        width: 80px;
    }

    #gwTable .MinHeaderColumnWidth {
        width: 150px;
    }
    
    #gwTable .MinHeaderColumnWidthDP {
        width: 300px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* #endregion  gwTable */

/* #region DetailPlanning */
#gwTableFixedCols {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse !important; /* SPACE BETWEEN CELLs: collapse or separate */
    margin: 0px !important;
    padding: 0px !important;
    min-width: 700px; /* 300 + 400 */
}

    #gwTableFixedCols th {
        padding: 2px;
        text-align: center;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #gwTableFixedCols td {
        padding: 5px;
        text-align: left;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        /*border: 0px solid blue;*/
    }

    #gwTableFixedCols tr {
        padding: 3px;
        text-align: left;
        font-size: 12px;
        border: 0px solid red;
    }

    #gwTableFixedCols .MeasureColumnWidth {
        width: 40% !important;
        min-width: 300px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #gwTableFixedCols .StandartColumnWidth {
        width: 20% !important;
        min-width: 200px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #gwTableFixedCols .cellSpace {
        width: 50px !important;
    }

.SeparatorRow {
    height: 20px;
}

.SeparatorRowWithBorder {
    /*background-color:whitesmoke;*/
    height: 20px;
    border-top: 4px solid whitesmoke !important;
}

.BoldWithBorder {
    border: 2px solid black !important;
    font-weight: bold;
    text-align: center !important;
}


/* #endregion gwTableFixedCols */

.txtboxStyle {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    width: 100%;
    font-weight: bold;
    font-size: 20px;
}

.txtboxStyleDisabled {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    width: 100%;
    background-color: #d9d9d9 !important;
}

.tableCellDisabled {
    background-color: #d9d9d9 !important;
}
.txBoxHeight {
    height: 40px;
}

.EnableFalse {
    background-color: #E8E8E8;
}

.EnableTrue {
    background-color: white;
}

.txBoxHeight {
    height: 40px;
}








.BlueGridHeader {
    background: #3498db;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 5px;
    margin-top: 5px;
    text-align: center;
}

.GreenGridHeader {
    background: #92D050;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 5px;
    text-align: center;
}

.GrayGridHeader {
    background: #8C8C8C;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 5px;
    text-align: center;
}

.PlanEditValuesCopyAllButton {
    width: 64px;
}

.PlanEditValuesSeasonColumn {
    width: 100px;
}

.PlanEditValuesColumn100 {
    width: 100px;
}

.GrayGridHeader2 {
    background: #A9A9A9;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 3px;
    text-align: center;
}

.RightBorder {
    border-right: 3px solid #FFF;
}

.RightBorderXL {
    border-right: 10px solid #FFF;
}

.RightBorderXXL {
    /*padding-right:15px !important;*/
}

.TextRight {
    text-align: right !important;
}

.TextCenter {
    text-align: center !important;
}

.TextLeft {
    text-align: left !important;
}

.TextBold {
    font-weight: bold !important;
}

.TextRed {
    color: red !important;
}

.TextLeftP12 {
    text-align: left !important;
    padding-left: 12px;
}

.TDFixedwith1 {
    width: 40%;
}

.TDFixedwith2 {
    width: 20%;
}

.MeasureLeftPadd {
    padding-left: 5px;
}

.ValuesColWidth {
    width: 100px
}

.PercentageColWidth {
    width: 80px
}

.tableDivReports {
    /*border: 1px solid green;*/
}

    .tableDivReports .th1 {
        position: sticky;
        height: 25px;
        top: 0;
    }

    .tableDivReports .th2 {
        position: sticky;
        top: 25px;
    }

/* #region Settings_Pages_Style */


/* Zentriert den Text in allen Grid-Headern */
.myGrid .dxbs-grid-header-content {
    justify-content: center !important;
    text-align: center !important;
}

/* Optische Anpassung für schreibgeschützte Felder */

.read-only-field input {
    background-color: #f5f5f5 !important; /* Heller Hintergrund */
    color: #888 !important; /* Grauer Text */
    border: 1px solid #ddd !important; /* Dezent grauer Rahmen */
    cursor: not-allowed !important; /* Zeigt an, dass das Feld nicht bearbeitet werden kann */
}

.error-border {
    border: 1px solid red !important;
    background-color: #ffe6e7; /* Leicht rötlicher Hintergrund */
}

.error-label .dxfl-caption {
    color: red !important;
    font-weight: bold;
}

.readonly-field2 input {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

.export-container {
    display: flex;
    justify-content: flex-end; /* Export Menü nach rechts verschieben */
    width: 100%;
}

.export-menu {
    font-size: 14px !important;
    min-width: 150px !important;
}

    .export-menu .dxm-item {
        padding: 5px 10px !important;
    }

    .export-menu .dxm-sub-menu {
        min-width: 130px !important;
    }

.validation-text {
    font-size: 14px; /* Kleinere Schrift */
    font-weight: bold;
    margin-top: 0px; /* Weniger Abstand nach oben */
    margin-bottom: 0; /* Kein zusätzlicher Abstand nach unten */
    padding: 0; /* Kein Innenabstand */
    line-height: 1.2; /* Weniger Platz zwischen Zeilen */
    padding-top: 4px;
}

.error-text {
    color: #d9534f; /* Ein etwas weicheres Rot */
}

.success-text {
    color: #5cb85c; /* Ein etwas dezenteres Grün */
}

.new-record {
    background-color: #90caf9 !important;
    Hellblau color: #1565c0 !important;
    Dunkelblau für den Text font-weight: bold;
    border-left: 4px solid #42a5f5;
    Blauer Rand für bessere Erkennung
}



/* #endregion  Settings_Pages_Style */

.loginContainer {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    /*height: 100vh;  Full viewport height */
}

.loginInner {
    padding: 0px;
    width: 400px;
    ;
    /*background-color: lightblue;*/
}
