﻿body {
    /*overflow: hidden;*/
    /*if we want to keep this, we'll need to make all the grids on all pages a fixed height 
        or else will not be able to view everything on pages like Users */
    font-size: 14px;
}

body.no-page-scrollbar {
    overflow-y: hidden;
    overflow-x: hidden;
}

.no-page-margin {
    margin: 0 -14px;
}


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
    padding-right: 0px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
.k-picker, .k-input, input, select, textarea {
    max-width: 280px;
}

/*center remember this device checkbox*/
#remember-this-device-chkbx-div {
    text-align: center;
}

.navbar-collapse {
    padding-right: 0px;
    padding-left: 0px;
    /*overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);*/
}

/*This is so the dropdown for name/support in top right will appear above other elements, especially the arrow icon that hides the demand chart */
.navbar {
    position: static;
}

.top_menu {
    float: left;
    position: relative;
    width: calc(100% - 484px);
    margin: -6px -24px;
}

.top_menu ul {
    float: left;
    width: 100%;
    margin: 0 0 0 30px;
    padding: 0;
}

.top_menu ul li {
    float: left;
    color: #333;
    font-size: 12px;
    padding: 3px 10px;
    margin: -2px 5px;
    list-style: none;
    border-radius: 4px 4px 0 0;
}

.top_menu ul li.active {
    background: #dcdcdc;
}

.top_menu ul li div {
    float: left;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 5px;
    border-radius: 5px; /*z-index:9999;*/
    display: none;
}

.top_menu ul li.active > div {
    display: block;
}

.top_menu ul li div ul {
    float: left;
    margin: 0;
    width: 150px;
}

.top_menu ul li div ul li {
    width: 100%;
}

.top_menu ul li div .top_btn {
    float: left;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    margin-left: 2%;
}

.top_menu ul li div .top_btn img {
    display: inline-block;
    width: 24px;
}

.top_menu ul li div .top_btn span {
    display: block;
}

.top_menu ul li {
    cursor: pointer
}

.demo-section p {
    margin: 3px 0 20px;
    line-height: 50px;
}

.demo-section .k-button {
    width: 250px;
}

.dnw {
    font-size: 14px;
    margin-top: 10px;
    color: blue;
}

.demo-section p {
    margin: 3px 0 20px;
    line-height: 50px;
}

.demo-section .k-button {
    width: 250px;
}


.new-mail {
    width: 300px;
    height: 100px;
}

.new-mail h3 {
    font-size: 1em;
    padding: 32px 10px 5px;
}

.new-mail img {
    float: left;
    margin: 30px 15px 30px 30px;
    width: 5%;
}


/* Error template for pop up notifications*/
.error-message-notification {
    width: 350px;
    box-sizing: border-box;
    padding: 0 30px;
    line-height: 60px;
    background: #db4240;
}

.error-message-notification h3 {
    color: black;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
}

.error-message-notification img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.error-message-notification p {
    color: black;
    font-size: 14px;
}

.upload-success {
    width: 350px;
    padding: 0 30px;
    line-height: 60px;
    background: #17b15a;
}

.upload-success h3 {
    font-size: 1.5em;
    color: black;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
}

.upload-success img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.upload-success p {
    color: white;
}


.notification-info {
    width: 350px;
    padding: 0 30px;
    line-height: 60px;
    background: #5ba0ff;
}

.notification-info h3 {
    font-size: 1.5em;
    color: black;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
}

.notification-info img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.notification-info p {
    color: white;
}

.progress-message .k-progressbar .k-progress-status-wrap {
    justify-content: flex-start;
}

/* The percentage is rendered twice: once over the empty track, once (clipped)
   over the fill. Colour the track copy dark so it is legible on the white
   track from 0%, and keep the fill copy white so it reads on the coloured fill
   as the bar passes under it. */
.progress-message .k-progressbar > .k-progress-status-wrap .k-progress-status {
    color: #000;
}

.progress-message .k-progressbar > .k-progressbar-value .k-progress-status {
    color: #fff;
}

.progress-message {
    padding: 10px;
    background: #17b15a;
    color: #fff;
}

.progress-message img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    width: 10%;
}

.progress-message p {
    font-size: 14px;
    vertical-align: middle;
    margin: 5px, 5px, 3px, 5px;
    line-height: 1.0em;
    word-wrap: break-word;
    white-space: normal;
    color: white;
}

.progress-message-bar {
    vertical-align: middle;
    margin: 5px, 10px, 5px, 10px;
    width: 280px;
}

.k-notification-progress:has(.progress-message) {
    height: 66px;
}

.k-progressbar .k-selected {
    border-color: #FF0000;
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .15) 0, rgba(255, 255, 255, 0) 100%);
}

.top_menu ul li.active > div {
    background-color: #abbfd4;
}


/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    /*font-family: 'Poppins', sans-serif;*/
    font-family: 'Roboto', sans-serif;
    background: #fafafa;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}


/* dark grey */
.submit-checkbox-selection-btn {
    background-color: #8d8f92;
    color: #fff;
    border-color: #8d8f92;
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 100%);
}

.submit-checkbox-selection-btn:hover{
    border-color: #48474c;
    box-shadow: 0 0 2px 1px #48474c;
}

.submit-checkbox-selection-btn:focus {
    outline: none;
}


div #SubfamilyTreeview, #ResourceTreeview {
    padding-left: 0px;
    margin-left: 0px;
    padding-bottom: 10px;
}

div #Subtreeview {
    color: #0e0d0d;
    height: 350px;
    width: 222px;
    margin-bottom: 15px;
    margin-top: 3px;
    margin-left: 10px;
    font-size: small;
    overflow-y: scroll;
}

div #ResTreeView {
    color: #0e0d0d;
    height: 500px;
    width: 222px;
    margin-bottom: 5px;
    margin-top: 3px;
    margin-left: 10px;
    font-size: small;
    overflow-y: scroll;
}


#ResSearchBox {
    width: 97%;
}

/*This is for sliders*/
div .balSlider {
    width: 100%;
}


#PeriodSlider_Div > div.k-slider.k-slider-horizontal.balSlider > div > div.k-slider-track {
    height: 8px;
}


.input_ddls,
.bucketSizeDDL {
    width: 60%;
    height: 22px;
    margin-bottom: 6px;
    border-radius: 3px;
    border: 1px solid #abbcce;
    font-size: small;
    font-weight: 600;
}

.decimalDDL {
    width: 60%;
    height: 22px;
    margin-bottom: 6px;
    border-radius: 3px;
    border: 1px solid #abbcce;
    font-size: small;
    font-weight: 600;
    border: solid 1px #abbfd4;
    outline: 0;
    background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #bed0e22e), to(#FFFFFF));
}

#itemUm_ddl_div {
    display: none;
}

.itemUmDdl {
    width: 60%;
    height: 22px;
    margin-bottom: 6px;
    border-radius: 3px;
    border: 1px solid #abbcce;
    font-size: small;
    font-weight: 600;
    display: none;
}

#OptionsList {
    width: 60%;
    height: 22px;
    margin-bottom: 5px;
    border-radius: 3px;
    border: 1px solid #abbcce;
    font-size: small;
    font-weight: 600;
    float: right;
}

.nav_sliders {
    font-size: small;
}

.waterfall_sliders {
    font-size: small;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.glyphicon {
    color: dimgray
}

#nav-tree-icons, /*increase left nav hierarchy icon size*/
#Hierarchy_DDLs_Div .glyphicon {
    margin-right: 14px;
    font-size: 24px;
    margin-bottom: 5px;
    margin-top: 5.5px;
    cursor: pointer;
    color: #48474c;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
    transition: all 0.3s;
}

.click_user {
    display: flex;
    align-items: center;
}

.click_user .left_side {
    width: 160px;
    padding-right: 17px;
}

.click_user .left_side select {
    width: 95%;
    max-width: initial;
    font-size: 12px;
    margin: 5px 0px 0px 11px;
    border: .5px #504f4d solid;
    background: no-repeat;
    padding: 1px 0;
    border-radius: 4px;
    color: #000;
}

.click_user .right_side {
    display: flex;
    align-items: center;
    align-content: center;
}

.click_user .help_icon {
    margin-left: 10px;
    border: 1px #000 solid;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    background: #d9d9d9;
}

.click_user .help_icon:hover {
    background: #1f3763;
    border-color: #1f3763;
    color: #FFF;
}


    .treeview_color {
        color: white;
        background: white;
    }

    #subtreeview {
        background: white;
        color: white;
    }

    #idcss-9 {
        width: 71%;
    }

    .rootfolder {
        background-position: 0 0;
    }

    .folder {
        background-position: 0 -16px;
    }

    .pdf {
        background-position: 0 -32px;
    }

    .html {
        background-position: 0 -48px;
    }

    .image {
        background-position: 0 -64px;
    }


    #Hierarchy_DDLs_Div .glyphicon-plus-sign {
        margin-left: 15px;
    }

    .nav_ddl {
        margin-left: -10px;
        margin-right: -10px;
    }

    .homeDDL {
        display: block;
        width: 217px;
        height: 25px;
        font-weight: 500;
        margin-left: -10px;
        padding: 1px 9px;
        border: 1px solid #abbcce;
        border-radius: 5px;
        color: black;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    }

    .button {
        background-color: #7386d5; /* Green */
        border: none;
        color: white;
        padding: 5px 3px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 13px;
    }

    .pr-0 {
        padding-right: 0;
    }

    .navbar-fixed-bottom {
        background: #48474c;
        color: #fff;
        margin-bottom: -22px;
        height: 50px;
    }

        .navbar-fixed-bottom p {
            font-size: 12px;
            margin: -5px;
        }

    .navbar {
        font-size: 11px;
        background: #c1c1c1;
        color: black;
    }

        .navbar p {
            color: black;
        }

    .navbar-bottom {
        background: #333;
        color: #fff;
    }

        .navbar-bottom p {
            color: #fff;
            font-size: 11px;
        }

    #sidebar {
        height: calc(100vh - 50px);
        overflow: hidden;
        overflow-y: auto;
    }

    header {
        float: left;
        width: 100%;
        z-index: 99;
        position: relative;
    }


    header .logo {
        float: left;
        font-size: 24px;
    }

    header .header_right {
        position: absolute;
        right: 0px;
        top: 0px;
    }

#tools-dropdown,
#data-dropdown {
    width: 158px;
}

    #tools-dropdown > div,
    #data-dropdown > div {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .dropdown-option {
        cursor: pointer;
    }

        .dropdown-option:hover {
            color: #01AAEA;
            /*font-weight: bold;*/
        }

    header .header_right li {
        list-style: none;
        display: inline-block;
        margin-left: 5px;
        vertical-align: middle;
    }

    header .header_right .k-dropdownlist {
        width: 140px;
    }

    .menu-dropdown-button {
        color: #01AAEA;
        font-weight: bolder;
    }
    /*
body > header > div.header_right > ul > li > a {
    padding: 7px;
    font-weight: 800;
}

body > header > div.header_right > ul > li > ul.dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
}

body > header > div.header_right > div > div.right_side > div > ul > li > ul > li.user-footer > a {
    display: block;
    padding: 6px 19px;
    clear: both;
    font-weight: 500;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

body > header > div.header_right > div > div.right_side > div > ul > li > ul > li:nth-child(2) > a {
    display: block;
    padding: 5px 19px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

body > header > div.header_right > div > div.right_side > div > ul > li > span {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 6px;
}

.navbar-nav > .user-menu > .dropdown-menu {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 1px 0 0 0;
    border-top-width: 0;
    width: 277px;
}
*/

    /*Right NavigationBar*/
    /*.navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
}

.navbar-nav > .user-menu > .dropdown-menu, .navbar-nav > .user-menu > .dropdown-menu > .user-body {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.navbar-nav > .user-menu > .dropdown-menu {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 1px 0 0 0;
    border-top-width: 0;
    width: 173px;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

li.user-header .open > .dropdown-menu {
    display: block;
}

.dropdown-menu {
    border-color: #eee;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: 175px;
    padding: 10px;
    text-align: center;
    background: #fafafa;
}

body > header > div.header_right > ul > li > a > span > i {
    margin-left: 6px;
}

.css {
    display: block;
}

.companyModalVisible {
    display: none;
}

.p1 {
    margin-top: 6px;
    margin-left: 51px;
}
*/
    .tab2 {
        width: calc(100% - 17%);
        margin-left: -14px;
        margin-top: -24px;
        border: none;
        /*    width: calc(100% - 10%);
    margin-left: 20px;
    margin-top: -24px;
    border: none;
*/
    }


    .k-tabstrip-items {
        padding: .1em .1em 0;
    }

    div.header_right > div > div.right_side > div > ul > li > a > span > i {
        margin-left: 6px;
    }

    .tab1 {
        width: calc(100% - 17%);
        margin-left: -15px;
        margin-top: -2px;
    }

    #loadtabView {
        width: calc(100% - 225px);
    }

    div #loadTabView {
        height: 24px;
        margin-top: -26px;
    }

    .left_side {
        width: 225px;
        float: left;
        position: relative;
        resize: horizontal;
    }

        /*left_side_hide treeview css*/
        .left_side.left_side_hide {
            width: 1px;
        }

            .left_side.left_side_hide .collapse_left_side.collapse_icon {
                right: 0;
            }

            .left_side.left_side_hide #loadTreeView {
                display: none;
            }

            .left_side.left_side_hide #OptionDdl {
                display: none;
            }

    #ChartSettingsButton {
        position: absolute;
        top: 6px;
        right: 112px;
    }

    #ChartRefreshButton {
        position: absolute;
        top: 6px;
        right: 198px;
    }

    #ChartRangeSelection {
        position: absolute;
        top: 6px;
        left: 28px;
        padding: 5px 12px;
        display: none;
    }

        #ChartRangeSelection span {
            padding: 0 6px;
        }

        #ChartRangeSelection .close-button {
            cursor: pointer;
        }

    #customTooltip {
        border-radius: 4px;
        padding: 10px 12px;
        font-size: 13px;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
        pointer-events: none;
        z-index: 10;
        position: absolute;
        display: none;
        background: #fff;
        opacity: 0.95;
    }

    /* Kendo's _createDialog adds k-window-content/k-dialog-content directly onto this element
       (#ChartSettingsDialog) — it IS the content area, not a wrapper around one — then moves it
       inside a separate, unnamed .k-dialog chrome element alongside the title bar (a sibling we
       don't need to touch: it's outside this element, so it's never affected by this element's
       own height/overflow). Capping and scrolling THIS element directly is all that's needed. */
    #ChartSettingsDialog {
        max-height: 95vh;
        overflow-y: auto;
    }

    #chartSettingsForm .field {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2px 0;
    }

    #chartSettingsForm .k-dropdownlist {
        width: 208px;
    }

    #chartSettingsForm .no-input {
        width: 208px;
        color: #999;
    }

    /* fixed width, matching the rendered width of renderField()'s flex: 1 plain inputs (label is
       also flex: 1, capped at max-width: 200px, so the plain inputs settle at this same width) —
       giving this group flex: 1 too would make it compete with the label's flex: 1 and crush the
       label down to a sliver on long rows like "Gross Sales Prior Year" */
    #chartSettingsForm .color-field-group {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 208px;
        flex-shrink: 0;
    }

    #chartSettingsForm .visibility-input,
    #gridSortForm .visibility-input {
        flex: 0 0 auto;
        margin: 0;
        cursor: pointer;
    }

    #colorFieldsGroup .sort-drag-handle,
    #gridSortForm .sort-drag-handle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        width: 18px;
        margin-right: 6px;
        color: #777;
        cursor: grab;
        font-size: 18px;
        line-height: 1;
        touch-action: none;
        user-select: none;
    }

    #colorFieldsGroup .sort-drag-handle:hover,
    #gridSortForm .sort-drag-handle:hover {
        color: #333;
    }

    #colorFieldsGroup .field.visibility-hidden-row > .sort-drag-handle,
    #gridSortForm .field.visibility-hidden-row > .sort-drag-handle {
        color: #ccc;
        cursor: default;
    }

    .sort-dialog-drag-hint {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        padding: 4px 8px;
        background: #fff;
        border: 1px solid #aaa;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
        font-weight: 600;
        opacity: 0.95;
    }

    .sort-dialog-drag-placeholder {
        box-sizing: border-box;
        background: #f2f7fb;
        border: 1px dashed #7a9eb8;
    }

    #chartSettingsForm .field.visibility-hidden-row > label,
    #gridSortForm .field.visibility-hidden-row > label {
        color: #aaa;
    }

    #chartSettingsForm .field.visibility-hidden-row input[type="color"],
    #chartSettingsForm .field.visibility-hidden-row .hex-input {
        opacity: 0.55;
        filter: grayscale(0.75);
    }

    #chartSettingsForm .color-order-input:disabled,
    #gridSortForm .grid-sort-order-input:disabled {
        color: #aaa;
        background-color: #f7f7f7;
        border-color: #ddd;
        cursor: default;
        opacity: 0.75;
    }

    #chartSettingsForm .field.visibility-hidden-row input:disabled {
        cursor: default;
    }

    /* flex-grow 1 / 1 / 2 with a shared flex-basis of 0 splits the group 25% / 25% / 50%.
       text-indent: 0 overrides input.k-textbox's global text-indent, which otherwise shifts
       the digit right of center regardless of text-align */
    #chartSettingsForm .color-order-input {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 4px;
        text-align: center;
        text-indent: 0;
    }

    /* Chromium hides the spin buttons (opacity: 0) until hover/focus by default; forcing opacity
       keeps them visible at rest so the field doesn't look lopsided with the digit alone */
    #chartSettingsForm .color-order-input::-webkit-inner-spin-button,
    #chartSettingsForm .color-order-input::-webkit-outer-spin-button {
        opacity: 1;
    }

    #chartSettingsForm input[type="color"] {
        flex: 1 1 0;
        min-width: 0;
        height: 24px;
        padding: 0 2px;
        cursor: pointer;
    }

    #chartSettingsForm .hex-input {
        flex: 2 1 0;
        min-width: 0;
        text-transform: lowercase;
    }

    #chartSettingsForm label {
        max-width: 200px;
        flex: 1;
        margin-right: 10px;
    }

    #chartSettingsForm legend {
        font-size: 1.2em;
    }

    #chartSettingsForm .dialog-actions {
        display: flex;
        gap: 8px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid #ddd;
    }

    #chartSettingsForm .dialog-actions .k-button {
        flex: 1 1 0;
        min-width: 0;
    }

    /* Grid Sort dialog (Grid.js openGridSortDialog) — same layout rules as #chartSettingsForm
       above, minus the color-swatch/hex columns it doesn't need */
    #GridSortDialog {
        max-height: 95vh;
        overflow-y: auto;
    }

    #gridSortForm .field {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2px 0;
    }

    #gridSortForm label {
        max-width: 260px;
        flex: 1;
        margin-right: 10px;
    }

    #gridSortForm .grid-sort-field-group {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 82px;
        flex-shrink: 0;
    }

    #gridSortForm .grid-sort-order-input {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 4px;
        text-align: center;
        text-indent: 0;
    }

    #gridSortForm .grid-sort-order-input::-webkit-inner-spin-button,
    #gridSortForm .grid-sort-order-input::-webkit-outer-spin-button {
        opacity: 1;
    }

    #gridSortForm .dialog-actions {
        display: flex;
        gap: 8px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid #ddd;
    }

    #gridSortForm .dialog-actions .k-button {
        flex: 1 1 0;
        min-width: 0;
    }

    .collapse_left_side.collapse_icon {
        width: 22px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: absolute;
        top: 0px;
        right: -40px;
        font-size: 20px;
        z-index: 51;
        color: white;
        background-color: lightgray;
        border-radius: 0 5px 5px 0;
    }

.main_content {
    width: calc(100% - 245px);
    float: right;
    position: relative;
}

.main_content.main_content_full {
    width: 100%;
}

.main_content #resourceGrid > div.k-grid-contentt {
    height: 180px;
    width: 1006px;
}


.collapse_icon .icon_v_first {
    display: none;
}

.collapse_icon .icon_v_second {
    display: block;
}

.collapse_icon.clicked .icon_v_first {
    display: block;
}

.collapse_icon.clicked .icon_v_second {
    display: none;
}

#ChartGridDisplayDDL-list {
    width: 150px;
}

#ChartGridDisplayDDL_listbox .k-list-item.k-selected .k-icon {
    color: white;
}

.chart-grid-display-option-dropdown.k-dropdownlist {
    width: 72px;
    height: 32px;
    position: absolute;
    top: 6px;
    right: 35px;
    z-index: 51;
    border: none;
    background: #e9e9e9;
    color: #2e2e2e;
    border-color: #bbb;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    font-weight: 500;
    padding: 5px 5px;
}

    .chart-grid-display-option-dropdown.k-dropdownlist .k-dropdownlist-wrap {
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .chart-grid-display-option-dropdown.k-dropdownlist .k-input {
        border: none;
        background: transparent;
        color: white;
        font-weight: 500;
        cursor: pointer;
    }

    .chart-grid-display-option-dropdown.k-dropdownlist:focus,
    .chart-grid-display-option-dropdown.k-dropdownlist:hover {
        border-color: #48474c;
        box-shadow: 0 0 2px 1px #48474c;
    }

    .bar-chart {
        display: none;
        position: relative;
    }

    #chartGridOverlay {
        position: absolute;
        background-color: white;
        z-index: 50;
    }

    .hidden {
        display: none;
    }

    #loadTreeView {
        width: 100%;
        float: left;
        display: block;
    }


        #loadTreeView .custm_max_height {
            width: 225px;
        }

    #content .container-fluid.con_fluid_inner {
        padding-left: 0;
        padding-right: 0;
        position: relative;
    }

    .full_table {
        width: 100%;
    }


    div#searchBox {
        width: 210px;
        margin-left: 5px;
        margin-bottom: 5px;
    }

    #currencyList {
        margin-left: -42px;
        margin-right: -28px;
    }

    #currencyListBackground {
        border: 2px solid #bcb4b0;
        height: 530px;
        top: 3px;
        background-color: #e0e0ea;
    }

    #SortCodeSwitch {
        width: 60%;
        height: 22px;
        margin-bottom: 5px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        font-weight: 600;
        font-size: small;
    }

    #AggregateSwitch {
        width: 60%;
        height: 22px;
        margin-bottom: 6px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        font-weight: 600;
        margin-left: 20px;
    }

    #WaterfallDisplayPercent {
        width: 60%;
        height: 22px;
        margin-bottom: 6px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        font-weight: 600;
    }

    #UseBOMParentView {
        width: 60%;
        height: 22px;
        margin-bottom: 6px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        font-weight: 600;
        margin-left: 30px;
    }

    /*increase minimum width of item dropdowns on supply BOM page */
    #ChildItemID-list,
    #ParentItemID-list {
        min-width: 300px;
    }

    #BomGrid > div.k-grid-content.k-auto-scrollable {
        min-height: 100px;
    }
    /***********************************LOADER STYLE BEGIN*********************************************/
    .spinnerICon {
        font-size: 100px;
        color: #48474c;
    }

    .bg, .manual-bg {
        position: fixed;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.61);
        height: 100%;
        left: 0;
        top: 0;
        z-index: 99999;
    }

        .bg .loader {
            border-radius: 50%;
            -webkit-animation: spin 2s linear infinite;
            animation: spin 2s linear infinite;
            position: fixed;
            top: 43%;
            left: 45%;
            transform: translate(-50%, -50%);
            transform: -webkit-translate(-50%, -50%);
            transform: -moz-translate(-50%, -50%);
            transform: -ms-translate(-50%, -50%);
        }

    .manual-bg {
        z-index: 9999; /* ensure the overlay being under popup notifications */
    }

        .manual-bg .wrapper {
            box-shadow: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: transparent;
            border-color: transparent;
            outline: none;
            font-size: 1.em;
            width: 100px;
            height: 100px;
        }

        .manual-bg .progress {
            box-shadow: none;
            position: relative;
            background-color: transparent;
            border-color: transparent;
            outline: none;
            color: #f35800;
            font-size: 1.4em;
            width: 100px;
            height: 40px;
            text-align: center;
            opacity: 0.6;
            margin-left: 2px;
            margin-top: -65px;
        }

        .manual-bg .loader {
            border-radius: 50%;
            -webkit-animation: spin 2s linear infinite;
            animation: spin 2s linear infinite;
            position: relative;
            width: 100px;
            height: 100px;
            display: block;
        }

    /*change color of loading spinner*/
    body > div.bg > div > i.spinnerICon {
        color: #48474c;
    }

    @-webkit-keyframes spin {
        0% {
            -webkit-transform: rotate(0deg);
        }

        100% {
            -webkit-transform: rotate(360deg);
        }
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
    /***********************************LOADER STYLE END*********************************************/

    #SortCodePrior {
        width: 60%;
        height: 22px;
        margin-bottom: 5px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        font-weight: 600;
        font-size: small;
    }

    .HomePage {
        background-color: transparent;
        width: 900px;
    }

    .HomeImage {
        padding-left: 120px;
        position: absolute;
    }

    .header-dropdowns {
        text-overflow: ellipsis;
        width: 162px;
        overflow: hidden;
        padding: 0px;
        width: 100%;
        max-width: initial;
        font-size: 13px;
        margin: 5px 0px 0px 5px;
        border: .5px #504f4d solid;
        background: no-repeat;
        padding: 1px 0;
        border-radius: 4px;
        color: #000;
    }

    .ddli {
        padding: 7px 13px;
        font-weight: 300;
        line-height: 0.328571;
    }

    .scenarion-buttons {
        text-overflow: ellipsis;
        width: 237px;
        overflow: hidden;
        text-align: center;
        padding: 10px 20px;
        font-weight: 200;
        line-height: 0.428571;
        text-overflow: ellipsis;
        background-color: #5291c7;
        color: #fafafa;
        font-weight: 600;
    }

    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
        color: #262626;
        text-decoration: none;
        background-color: #5291c7;
    }

    .divider1 {
        height: 1px;
        margin: 1px 0;
        overflow: hidden;
        background-color: #e5e5e5;
    }

    .btn-leftmargin {
        margin-right: 160px;
        margin-left: 50px;
    }

    input#setbudgettoplan,
    input#SetInventoryTargetsUsingPlan {
        margin-top: 12px;
        margin-bottom: 12px;
        float: right;
        padding: 3px 43px;
    }

    /* 7 feb 2020 */

    .nav_ddl > div {
        clear: both;
    }

    .nav_ddl select {
        float: right;
    }

    .nav_ddl option {
        max-width: 100px;
    }

    #ResBucketSizeDDL {
        width: 60%;
        height: 22px;
        margin-bottom: 6px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        float: right;
        font-size: small;
        font-weight: 600;
    }

    #ResourceDecimalDDL {
        width: 60%;
        height: 22px;
        margin-bottom: 6px;
        border-radius: 3px;
        border: 1px solid #abbcce;
        float: right;
        font-size: small;
        font-weight: 600;
    }

    option {
        color: black;
        font-weight: 500;
        padding: 0;
    }

    select > option {
        padding: 0;
    }

    /* 7 feb 2020 */

    .input_ddls {
        border: solid 1px #abbfd4;
        outline: 0;
        background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #bed0e22e), to(#FFFFFF));
    }

    input_ddls * {
        padding: 0;
    }

    #DemandSupplyGrid {
        position: relative;
    }

        #DemandSupplyGrid > div.k-grid-content > table > tbody > tr > td {
            white-space: nowrap;
            text-overflow: ellipsis;
            min-width: 50px;
            max-width: 500px;
        }

        #DemandSupplyGrid > div.k-grid-header > div > table > thead > tr > th {
            font-size: 15px;
        }

        #DemandSupplyGrid .k-grid td, #DemandSupplyGrid.k-grid .k-table-td {
            text-align: right;
        }

        #DemandSupplyGrid .k-grid td, #DemandSupplyGrid.k-grid .k-table-td:first-child {
            text-align: left;
        }

        #DemandSupplyGrid .k-table-td,
        #DemandSupplyGrid .k-grid-header th {
            padding: 3px 4px;
        }

        .container {
            padding-right: 15px;
            padding-left: 0px;
            margin-left: auto;
        }

    ul#tabstrip {
        line-height: 30px;
    }

    /*
    This is for the new two-way slider
    See _LeftMenu view    
*/
    #sdrPeriod {
        margin: 0 0 -2em;
        padding: 0;
        text-align: center;
    }

        #sdrPeriod > li {
            list-style: none;
            padding-bottom: 2em;
        }

        #sdrPeriod label {
            display: block;
            padding-bottom: 1em;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 12px;
            color: #444;
        }

    .period-label {
        align-content: center;
        font-weight: bold;
        text-align: center
    }

    /*increase margin between period/horizon slider and buckets dropdown*/
    #BucketDdl_Div,
    #ResBucketSizeDDL_Div,
    /*increase margin between selected periods and waterfall dropdown*/
    #WaterfallSelector {
        margin-top: 15px;
    }

    /* Popup container - can be anything you want */
    .popup {
        position: relative;
        display: inline-block;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        /* The actual popup */
        .popup .popuptext {
            visibility: hidden;
            width: 160px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 8px 0;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -80px;
        }

            /* Popup arrow */
            .popup .popuptext::after {
                content: "";
                position: absolute;
                top: 100%;
                left: 50%;
                margin-left: -5px;
                border-width: 5px;
                border-style: solid;
                border-color: #555 transparent transparent transparent;
            }

        /* Toggle this class - hide and show the popup */
        .popup .show {
            visibility: visible;
            -webkit-animation: fadeIn 1s;
            animation: fadeIn 1s;
        }

#SetInventoryTargetsUsingPlanWindow .k-dropdownlist {
    width: 100px;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* turn off mouse in a div area */
    .disabledDiv {
        pointer-events: none;
        opacity: 0.6;
    }

    .add-company-button {
        color: #2185b6;
    }

/*grid styles*/
.k-grid-toolbar .k-button,
.k-grid-cancel-changes,
a.grid-toolbar-buttons,
button.grid-toolbar-buttons {
    background-color: #8d8f92;
    color: #fff !important;
    border-color: #8d8f92;
}

/*trying to remove orange border showing around grid buttons after selection*/
.k-grid-cancel-changes:focus,
.grid-toolbar-buttons a:focus,
.grid-toolbar-buttons .k-button:focus {
    border: none;
    box-shadow: none;
    border-color: none;
}

.k-grid-cancel-changes:hover,
.grid-toolbar-buttons.k-button:hover {
    background-color: #8d8f92;
}

.k-table-th.k-header.future-periods {
    text-align: center;
    background-color: #8d8f92;
}

.k-table-th.k-header.future-periods > div {
    color: #fff;
}

.k-table-th.k-header.past-periods {
    background: #dcdcdd;
    text-align: center;
}

/*make grids take up to entire page height*/
#grid > div.k-grid-content {
    height: 100%;
    width: 100%;
}


.commit-changes-buttons {
    background-color: unset;
    color: unset;
    border-color: unset;
}

#NavMenu > li.k-item.ollie-home-menu-logo > span > img {
    width: 100%;
}

#HamburgerSettingsMenu .k-menu-link,
#HamburgerSettingsMenu .k-menu-link-text,
#NavMenu .k-menu-link,
#NavMenu .k-menu-link-text,
.hamburger-menu .k-menu-expand-arrow-icon {
    color: white;
}

.hamburger-menu .k-menu-link:hover .k-menu-expand-arrow-icon,
.hamburger-menu .k-menu-link:hover .k-menu-link-text {
    color: #2e2e2e !important;
}

#MenuPathHeaderDiv {
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    padding-left: 24px;
    background-color: white;
    color: #48474C;
}

#MenuPathHeaderDiv.home-page-header {
    background-color: transparent;
}

#NavMenu {
    position: absolute;
    left: 0px;
    top: 0px;
}

#NavMenuDiv > ul {
    background-color: black;
    color: white;
    border-style: none;
    padding-top: 9px;
}

#NavMenu,
#page-header,
#page-header > div.header_right {
    background-color: black;
    height: 48px;
}

#NavMenu > li {
    border: none;
    padding-right: 12px;
    padding-left: 12px;
}

#NavMenu > li#Menu_Home_100_24 {
    margin-left: 15px;
}

#NavMenu > li > span {
    align-items: center;
    height: 30px;
    padding: 0px;
}
/* home button*/
#NavMenu > li.ollie-home-menu-logo > span {
    display: flex;
}

#NavMenu > li.ollie-home-menu-logo > span > img {
    margin-bottom: 15px;
}

/*hide arrows except for on hamburger menu sub menus*/
#NavMenu .k-menu-expand-arrow {
    display: none;
}


.top-right-nav-dropdowns {
    font-size: 12px;
}

#tools-icon-button,
#data-icon-button {
    color: white;
    background-color: black;
    transition: background-color 0.3s;
    outline: none;
    box-shadow: none;
    border: none;
}

button#data-icon-button > i.k-icon.k-i-data {
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
    color: white;
}

#tools-icon-button:hover,
#data-icon-button:hover,
#data-icon-button:hover .k-icon{
    color: #01AAEA !important;
}

.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    left: 0;
    top: 100%; /* Positioned below the button */
    min-width: 160px;
    z-index: 1;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content select {
    width: 100%;
    padding: 8px;
}

/*right align and reduce width of hamburger menu*/
.hamburger-menu {
    width: 161px;
    position: absolute;
    top: 39px;
    right: 0;
    z-index: 200;
    margin-right: 5px;
    background-color: #313131;
    border-radius: 4px;
}

#HamburgerSettingsMenu {
    border-radius: 4px;
}


.hamburger-menu .k-menu .k-hover > .k-link {
    color: #2e2e2e;
    background-color: #bcb4b0;
    border-color: #b6b6b6;
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 100%);
}

#right-menu-list {
    padding-top: 9px;
    padding-left: 0px;
    padding-right: 20px;
}

/*vertically align vertical line*/
#right-menu-list > li:nth-child(4) {
    vertical-align: middle;
}

#company-dropdown-list .k-hover,
#scenario-dropdown-list .k-hover {
    border-radius: 3px;
    padding-right: 4px;
    padding-left: 8px;
    background-color: #BCB4B0;
}


/* square bottom of company/scenario dropdownlists when expanded */
.top-right-nav-dropdowns.k-state-border-down {
    border-radius: 4px 4px 0 0;
}

.k-menu-expand-arrow {
    color: white;
}

#NavMenu > li > div > div > div > ul > li > div > ul,
#data-dropdown,
#tools-dropdown,
#NavMenu > li > div > ul,
#NavMenu ul,
#HamburgerSettingsMenu > li > div > ul,
.hamburger-menu ul {
    background: #313131;
    color: white;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.20);
}

.hamburger-menu .k-menu-popup {
    border: none;
}

/* change font color of hovered menu item */
#NavMenu ul > li.k-hover > span > span {
    color: #01AAEA;
}

#NavMenu ul > .k-hover > span:not(.k-state-border-right) {
    background-color: black;
    color: #01AAEA;
}


#NavMenu .k-state-border-right,
#NavMenu > li.k-hover > .k-menu-link > .k-menu-link-text,
#NavMenu > li > .active-menu-item > .k-menu-link-text {
    color: #01AAEA;
}

#NavMenu .k-state-border-right {
    background: none;
    background-image: none;
    box-shadow: none;
}

#NavMenu .k-menu-popup li.k-item.k-hover > span.active-menu-item {
    background: none;
    background-image: none;
    box-shadow: none;
    background-color: #01AAEA;
}

#NavMenu li.k-item > span > span {
    line-height: 30px;
}

/* style selected submenu items differently than topmost level */
#NavMenu ul > li > span.active-menu-item,
#NavMenu ul > li > span.active-menu-item > span,
.hamburger-menu .active-menu-item,
/* option to style the last two data options as selected */
.dropdown-option.active-menu-item {
    color: white;
    background-color: #01AAEA;
}

/* style top most selected menu item except for home */
#NavMenu > li:not(.wm-nav-home) > span.active-menu-item,
#tools-icon-button.active-menu-item,
#data-icon-button.active-menu-item {
    border-bottom-style: solid;
    border-bottom-color: #01AAEA;
    color: #01AAEA;
}

#tools-icon-button.active-menu-item .k-icon,
#data-icon-button.active-menu-item .k-icon {
    color: #01AAEA !important;
}

#NavMenu > li > span.k-menu-link {
    font-size: 16px;
}

#NavMenu .k-menu-popup {
    border: 1px #2F2F2F;
}

/* change color of line break in menu */
div.k-separator.menu-line-break {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #bbb;
    border: none;
    margin: 4px 0;
}

.k-menu .k-hover > .k-link{
    background: none;
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 100%);
}


#scenario-dropdown-list li.k-selected,
#company-dropdown-list li.k-selected {
    background-color: #ececec;
    border-color: #ececec;
    text-decoration: underline;
    font-weight: bold;
    color: #000;
}

#right-menu-scenario-dropdown-li > span > span > span.k-select > span.k-i-arrow-60-down,
#right-menu-company-dropdown-li > span > span > span.k-select > span.k-i-arrow-60-down {
    color: #00AEEF;
}

/*show caret to the right of inventory submenu under supply*/
#NavMenu > li li.k-last .k-menu-expand-arrow {
    display: block;
}

#company-dropdown_listbox > li,
#scenario-dropdown_listbox > li {
    line-height: 20px;
    font-size: 12px;
}

input#SetInventoryTargetsUsingPlan {
    background-color: #8d8f92;
    border-color: #48474c;
}

input#SetInventoryTargetsUsingPlan:hover {
    border-width: 2px;
}

/* IBPAW-1700: Add info message for 'Target Inventory Units' and 'Inventory Days' rows on aggregate level. */
#GridMessage.alert {
    padding: 4px 12px;
}

/* Error download link in notification  */
#errorsDownload,
#errorsApiDownload {
    color: black;
    text-decoration: underline;
    font-weight: bold;
}

/* Maintenance countdown layout */
.maintenance-countdown {
    position: absolute; /* same anchoring as before, but on the wrapper */
    right: 450px;
    top: 15px;
    display: flex; /* <-- keeps clock and text aligned */
    align-items: center; /* vertical centering */
    gap: 8px; /* space between clock and text */
    color: #fff;
    cursor: pointer;
    z-index: 100; /* ensure it floats above header content */
    max-width: 42vw; /* allows longer messages to wrap nicely */
}

.maintenance-countdown__text {
    line-height: 1.25; /* tidy multi-line look */
    /* Optional: allow visible wrapping instead of overflow */
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Let the icon naturally size; no absolute positioning on the icon itself */
#countdownClock {
    font-size: 18px;
    color: inherit; 
}

/* IBPA-2827 Hide zero/null checkbox styles */
.empty-row-checkbox {
    margin-left: 12px;
    vertical-align: middle;
    display: inline-block;
    margin-top: 8px;
}

.empty-row-checkbox input {
    margin: 0 4px;
    display: inline-block;
}

.empty-row-checkbox label {
    cursor: pointer;
    margin-left: 2px;
    display: inline-block;
}

#advanced-configuration-div > span.k-dropdownlist {
    width: 144px;
}

.k-upload-dropzone {
    height: 60px;
}

.k-grid-toolbar .k-button .k-icon,
.grid-toolbar-buttons .k-icon,
.k-grid-cancel-changes .k-icon
{
    color: white;
}
