body {
    font-size: 10pt;
    font-family: Tahoma;
    background-color: white;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none !important;
}

.body-before {
    /*content: "";
            display: block;
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: -1;*/
    background-color: white;
}

.datepicker {
    z-index: 1600 !important;
}

/* -----------------------------------------------------------
   Syncfusion RichTextEditor - Global Modal & Scroll Fix
   ----------------------------------------------------------- */

/* 1. Force Toolbar Visibility inside Modals */
.e-richtexteditor .e-rte-toolbar,
.e-richtexteditor .e-toolbar-wrapper {
    height: auto !important;
    display: block !important;
    visibility: visible !important;
}

/* 2. Enable Vertical Scrolling & Set Content Height */
.e-richtexteditor .e-rte-content {
    height: 150px !important; /* Fixed height for the viewable area */
    min-height: 150px !important; /* Prevents collapse  */
    overflow-y: auto !important; /* Enables vertical scrollbar */
}

/* 3. Ensure internal editable area fills the container */
.e-richtexteditor .e-rte-content .e-content {
    min-height: 100%;
}

/* 4. Prevent the entire control from expanding indefinitely */
.e-richtexteditor.e-rte-container {
    height: auto !important;
}


.logo {
    max-height: 200px;
    max-width: 300px;
}

.table-action-buttons {
    white-space: nowrap;
    text-align: left;
    background-color: whitesmoke;
}

.textarea-scrollable {
    resize: none; /* Prevents resizing in any direction */
    overflow-y: auto; /* Shows vertical scrollbar when needed */
    overflow-x: hidden; /* Hides horizontal scrollbar */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: slategray !important;
    color: #ffffff !important; /* Text color inside the highlight */
}

.chart-container {
    width: 100%;
    border: 2px solid #333;
    border-radius: 5px;
    border-color: slategray;
    background-color: whitesmoke;
}

.form-container {
    width: 100%;
    border: 2px solid #333;
    border-radius: 5px;
    border-color: slategray;
    background-color: white;
    padding: 10px 10px 10px 10px;
}

.list-table-container {
    width: 100%;
    border: 2px solid #333;
    border-radius: 5px;
    border-color: slategray;
    background-color: white;
    padding: 10px 10px 10px 10px;
}

.modal-content {
    /*width: 1300px !important;*/
    margin: 10px auto !important;
    border-radius: 10px !important;
}

.modal-content1 {
    /*width: 1200px !important;*/
    margin: 10px auto !important;
    border-radius: 10px !important;
}

.modal-contentx {
    /*width: 1200px !important;*/
    margin: 10px auto !important;
    border-radius: 10px !important;
}

.mode-indicator {
    position: center;
    font-size: large;
    font-weight: 900;
    color: firebrick;
    background-color: grey;
}
/*.cellBack
{
    background-color:palegreen;
}*/

.floatHeader {
    position: fixed;
}

.flag-good {
    color: #C8E36A;
}

.flag-neutral {
    color: #CCB869;
}

.flag-bad {
    color: #E3A56A;
}

.field-validation-error {
    color: red;
    font-weight: 400;
}

.progress {
    height: 22px;
    text-align: left;
    vertical-align: middle;
    background-color: dimgrey;
}

.table {
    background-color: none;
    margin-bottom: 0;
    font-size: 12px;
}

    .table tfoot > tr > th {
        background-color: whitesmoke;
        border-top: 2px solid silver;
        border-bottom: 1px solid silver;
        font-size: 8pt;
        font-weight: 600;
    }

    .table thead > tr > th {
        border-bottom: 0;
        font-size: 8pt;
        font-weight: 600;
    }

    .table thead[class*="colored-"] > tr > th {
        color: #fff;
        font-weight: 400;
    }

    .table thead.colored-blue > tr > th {
        background-color: #5db2ff;
    }

    .table thead.colored-primary > tr > th {
        background-color: #4374e0;
    }

    .table thead.colored-danger > tr > th {
        background-color: #d73d32;
    }

    .table thead.colored-success > tr > th {
        background-color: #53a93f;
    }

    .table thead.colored-warning > tr > th {
        background-color: #f4b400;
    }

    .table thead.colored-silver > tr > th {
        background-color: #777;
    }

    .table thead.colored-inverse > tr > th {
        background-color: #444;
    }

    .table thead.colored-blueberry > tr > th {
        background-color: #6f85bf;
    }

    .table thead.colored-palegreen > tr > th {
        background-color: #a0d468;
    }

    .table thead.colored-orange > tr > th {
        background-color: #fb6e52;
    }

    .table thead.colored-darkorange > tr > th {
        background-color: #ed4e2a;
    }

    .table thead.colored-magenta > tr > th {
        background-color: #bc5679;
    }

    .table thead.colored-purple > tr > th {
        background-color: #7e3794;
    }

    .table thead.colored-maroon > tr > th {
        background-color: #981b48;
    }

    .table thead.bordered-blue > tr > th {
        border-bottom: 3px solid #5db2ff;
    }

    .table thead.colored-lightgray > tr > th {
        background-color: lightgray;
    }

    .table thead.bordered-primary > tr > th {
        border-bottom: 3px solid #4374e0;
    }

    .table thead.bordered-danger > tr > th {
        border-bottom: 3px solid #d73d32;
    }

    .table thead.bordered-success > tr > th {
        border-bottom: 3px solid #53a93f;
    }

    .table thead.bordered-warning > tr > th {
        border-bottom: 3px solid #f4b400;
    }

    .table thead.bordered-lightcarbon > tr > th {
        border-bottom: 3px solid #555;
    }

    .table thead.bordered-carbon > tr > th {
        border-bottom: 3px solid #444;
    }

    .table thead.bordered-darkcarbon > tr > th {
        border-bottom: 3px solid #262626;
    }

    .table thead.bordered-slate-gray > tr > th {
        border-bottom: 3px solid #333;
    }

    .table thead.bordered-silver > tr > th {
        border-bottom: 1px solid #777;
    }

    .table thead.bordered-inverse > tr > th {
        border-bottom: 3px solid #444;
    }

    .table thead.bordered-blueberry > tr > th {
        border-bottom: 3px solid #6f85bf;
    }

    .table thead.bordered-palegreen > tr > th {
        border-bottom: 3px solid #a0d468;
    }

    .table thead.bordered-orange > tr > th {
        border-bottom: 3px solid #fb6e52;
    }

    .table thead.bordered-darkorange > tr > th {
        border-bottom: 3px solid #ed4e2a;
    }

    .table thead.bordered-magenta > tr > th {
        border-bottom: 3px solid #bc5679;
    }

    .table thead.bordered-purple > tr > th {
        border-bottom: 3px solid #7e3794;
    }

    .table thead.bordered-maroon > tr > th {
        border-bottom: 3px solid #981b48;
    }

    .table tfoot.bordered-silver > tr > th {
        border-top: 1px solid #777;
    }

td.shade1 {
    background-color: #ffe6e6 !important;
}

td.shade2 {
    background-color: #ffcccc !important;
}

td.shade3 {
    background-color: #ffb3b3 !important;
}

td.shade4 {
    background-color: #ff9999 !important;
}

td.shade5 {
    background-color: #ff8080 !important;
}

td.shadeX {
    background-color: #ff1a1a !important;
}

ul {
    list-style: circle;
    padding-left: 1em;
}

/* ==============================================================================
   DATA TABLES 2.0 BOOTSTRAP 3 CELL INLINE VERTICAL ALIGNMENT FIX
   ============================================================================== */

/* 1. Force ALL table data cells to balance text elements on a middle axis */
table.dataTable th,
table.dataTable td {
    padding: 8px 8px !important; /* Clean, uniform spatial breathing room */
    line-height: 1.42857143 !important; /* Standard Bootstrap line height configuration */
    vertical-align: middle !important; /* Forces text strings to center vertically */
}

/* 2. Neutralize the nesting height of the Bootstrap checkbox wrapper */
table.dataTable tbody td .checkbox {
    margin-top: 0 !important; /* Wipes out standard 10px spacing push */
    margin-bottom: 0 !important; /* Wipes out standard 10px layout footprint */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-block !important; /* Stops block expansion, treats box like text content */
    line-height: 1 !important; /* Collapses artificial line spaces */
    vertical-align: middle !important; /* Snaps the custom checkbox wrapper to row axis center */
}

    /* 3. Strip structural line shifts off the inner label tag wrapper */
    table.dataTable tbody td .checkbox label {
        margin-bottom: 0 !important;
        padding-left: 0 !important; /* Clears out default Bootstrap padding offsets */
        line-height: 1 !important;
        display: inline-flex !important; /* Uses a flexible container layout box */
       /* align-items: center !important;*/ /* Centers input tick alongside its text span child */
        vertical-align: middle !important;
    }

/* 4. Center-align the last checkbox action column horizontally */
table.dataTable tbody tr td:last-child {
    /*text-align: center !important;*/
}

/* ==============================================================================
   FINAL FIX: DATA TABLES 2.0 + BOOTSTRAP 3 LAYOUT STACKING PATTERN
   ============================================================================== */

/* 1. Reset the top master layout container to separate left and right naturally */
.dt-layout-row:first-child {
    display: block !important; /* Changes entire row from flex to standard block layout */
    width: 100% !important;
    clear: both !important;
    margin-bottom: 15px;
}

    /* 2. Target the top-left cell wrapper: FORCE STACKING REGARDLESS OF INTERNAL CLASSES */
    .dt-layout-row:first-child .dt-start {
        float: left !important; /* Anchors the entire stack to the left wall */
        display: block !important; /* Breaks the horizontal flex model completely */
        text-align: left !important;
        width: auto !important;
    }

        /* 3. Force every component *inside* the top-left cell to act as an isolated block line item */
        .dt-layout-row:first-child .dt-start > * {
            display: block !important; /* Forces pageLength, custom filters, and info to drop down */
            float: none !important; /* Strips away old Bootstrap floating alignments */
            margin-bottom: 8px !important; /* Adds clean vertical spacing between stacked items */
            text-align: left !important;
        }

        /* 4. Ensure inner select and input controls look normal when forced into block elements */
        .dt-layout-row:first-child .dt-start .dt-length select,
        .dt-layout-row:first-child .dt-start .form-control {
            display: inline-block !important; /* Retains text field structures */
            width: auto !important;
        }

    /* 5. Target the top-right cell wrapper (The Search Utility Panel) */
    .dt-layout-row:first-child .dt-end {
        float: right !important; /* Snaps the search element straight to the right wall */
        text-align: right !important;
        display: block !important;
    }

/* 6. Clean up standard styling gaps on the search input itself */
.dt-search input {
    margin-left: 5px !important;
    display: inline-block !important;
    width: auto !important;
}

/* 7. Clear floats below the top row to protect table rendering integrity */
.dt-layout-row:first-child::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* 8. Targets the bottom layout container (Paging Buttons) unchanged */
.dt-layout-row:last-child {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    margin-top: 10px;
    clear: both !important;
}

    .dt-layout-row:last-child .dt-end {
        margin-left: auto !important;
    }

/*!
 * Datepicker for Bootstrap
 *
 * Copyright 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
.datepicker {
    top: 0;
    left: 0;
    padding: 4px;
    margin-top: 1px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    /*.dow {
    border-top: 1px solid #ddd !important;
  }*/
}

    .datepicker:before {
        content: '';
        display: inline-block;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #ccc;
        border-bottom-color: rgba(0, 0, 0, 0.2);
        position: absolute;
        top: -7px;
        left: 6px;
    }

    .datepicker:after {
        content: '';
        display: inline-block;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #ffffff;
        position: absolute;
        top: -6px;
        left: 7px;
    }

    .datepicker > div {
        display: none;
    }

    .datepicker table {
        width: 100%;
        margin: 0;
    }

    .datepicker td,
    .datepicker th {
        text-align: center;
        width: 20px;
        height: 20px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

        .datepicker td.day:hover {
            background: #eeeeee;
            cursor: pointer;
        }

        .datepicker td.day.disabled {
            color: #eeeeee;
        }

        .datepicker td.old,
        .datepicker td.new {
            color: #999999;
        }

        .datepicker td.active,
        .datepicker td.active:hover {
            color: #ffffff;
            background-color: #006dcc;
            background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
            background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
            background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
            background-image: -o-linear-gradient(top, #0088cc, #0044cc);
            background-image: linear-gradient(to bottom, #0088cc, #0044cc);
            background-repeat: repeat-x;
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
            border-color: #0044cc #0044cc #002a80;
            border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
            *background-color: #0044cc;
            /* Darken IE7 buttons by default so they stand out more given they won't have borders */

            filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
        }

            .datepicker td.active:hover,
            .datepicker td.active:hover:hover,
            .datepicker td.active:focus,
            .datepicker td.active:hover:focus,
            .datepicker td.active:active,
            .datepicker td.active:hover:active,
            .datepicker td.active.active,
            .datepicker td.active:hover.active,
            .datepicker td.active.disabled,
            .datepicker td.active:hover.disabled,
            .datepicker td.active[disabled],
            .datepicker td.active:hover[disabled] {
                color: #ffffff;
                background-color: #0044cc;
                *background-color: #003bb3;
            }

                .datepicker td.active:active,
                .datepicker td.active:hover:active,
                .datepicker td.active.active,
                .datepicker td.active:hover.active {
                    background-color: #003399 \9;
                }

        .datepicker td span {
            display: block;
            width: 47px;
            height: 54px;
            line-height: 54px;
            float: left;
            margin: 2px;
            cursor: pointer;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
        }

            .datepicker td span:hover {
                background: #eeeeee;
            }

            .datepicker td span.active {
                color: #ffffff;
                background-color: #006dcc;
                background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
                background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
                background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
                background-image: -o-linear-gradient(top, #0088cc, #0044cc);
                background-image: linear-gradient(to bottom, #0088cc, #0044cc);
                background-repeat: repeat-x;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
                border-color: #0044cc #0044cc #002a80;
                border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
                *background-color: #0044cc;
                /* Darken IE7 buttons by default so they stand out more given they won't have borders */

                filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
                color: #fff;
                text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
            }

                .datepicker td span.active:hover,
                .datepicker td span.active:focus,
                .datepicker td span.active:active,
                .datepicker td span.active.active,
                .datepicker td span.active.disabled,
                .datepicker td span.active[disabled] {
                    color: #ffffff;
                    background-color: #0044cc;
                    *background-color: #003bb3;
                }

                .datepicker td span.active:active,
                .datepicker td span.active.active {
                    background-color: #003399 \9;
                }

            .datepicker td span.old {
                color: #999999;
            }

        .datepicker th.switch {
            width: 145px;
        }

        .datepicker th.next,
        .datepicker th.prev {
            font-size: 21px;
        }

    .datepicker thead tr:first-child th {
        cursor: pointer;
    }

        .datepicker thead tr:first-child th:hover {
            background: #eeeeee;
        }

.input-append.date .add-on i,
.input-prepend.date .add-on i {
    display: block;
    cursor: pointer;
    width: 16px;
    height: 16px;
}
