﻿.hiddenControl {
    display: none;
}

.visibleControl {
    display: inline;
}

#divFrozenHeaderGridContainer {
    max-width: 100%;
    max-height: 50rem;
    overflow: auto;
    position: relative;
}

.gvCompanies-header th {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: -0.05rem;
    z-index: 2;
    box-shadow: 0 0 0 1px white;
    border: 1px solid white;
}

#divFrozenHeaderGridContainer table tr>*:nth-child(2) {
    position: -webkit-sticky;
    position: sticky;
    left: 0.05rem;
}

#divFrozenHeaderGridContainer table th:nth-child(2) {
    z-index: 3;
}

#divFrozenHeaderGridContainer table td:nth-child(2) {
    z-index: 1;
    background-color: white;
    box-shadow: -0.05rem 0.05rem white;
}

#divFrozenHeaderGridContainer table tr:nth-child(2n + 1) > td:nth-child(2) { background-color: #FAFAFA; }

#divFrozenHeaderGridContainer table tr:nth-child(2n) > td { background-color: white; }

#divFrozenHeaderGridContainer table tr.info:nth-child(2n) > td {
    background-color: rgba(126, 235, 255, .4);
}

#divFrozenHeaderGridContainer .table-hover tbody tr:hover td {
    background-color: #BDC6D0;
    background: rgb(189,198,208);
    background: linear-gradient(0deg, rgba(189,198,208,1) 0%, rgba(246,246,246,1) 50%, rgba(189,198,208,1) 100%);
}

#divFrozenHeaderGridContainer .table-striped tbody > tr > td.grid-cell-yellow {
    background: #FFB900;
}

#divFrozenHeaderGridContainer .table-striped tbody > tr > td.grid-cell-red {
    background: #e64126;
}

/*Capacity*/
#divFrozenElementsTableContainer {
    max-width: 100%;
    max-height: 45rem;
    overflow: auto;
    position: relative;
}

.capacity_table {
    background-color: #FFFFFF;
    border: 1px solid #D1E7FC;
    position: relative;
    border-collapse: collapse;
}

    .capacity_table th {
        box-shadow: -0.05rem -0.05rem white;
    }

    .capacity_table tr:nth-child(1) th:nth-child(1),
    .capacity_table tr:nth-child(1) th:nth-child(2),
    .capacity_table tr:nth-child(2) th:nth-child(1),
    .capacity_table tr:nth-child(2) th:nth-child(2) {
        position: -webkit-sticky; /* for Safari */
        position: sticky;
        z-index: 3;
        background-color: white;
    }

    .capacity_table tr:nth-child(1) th:nth-child(1) {
        left: 0.05rem;
        top: 0.05rem;
    }

    .capacity_table tr:nth-child(1) th:nth-child(2) {
        left: 9.1rem;
        top: 0.05rem;
    }

    .capacity_table tr:nth-child(2) th:nth-child(1) {
        left: 0.05rem;
        top: 1.95rem;
    }

    .capacity_table tr:nth-child(2) th:nth-child(2) {
        left: 9.1rem;
        top: 1.95rem;
    }

.capacity_table_header {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 1.95rem;
    background-color: #7DBDEB;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    height: 30px;
    padding-left: 9px;
    padding-right: 9px;
    white-space: nowrap !important;
    text-align: center;
    z-index: 2;
}

    .capacity_table_header a {
        background-color: #7DBDEB;
        color: #FFFFFF;
        font-size: 10px;
        font-weight: bold;
        padding-left: 9px;
        padding-right: 9px;
        white-space: nowrap !important;
    }

        .capacity_table_header a:hover {
            background-color: #7DBDEB;
            color: #FFFFFF;
            font-size: 10px;
            font-weight: bold;
            padding-left: 9px;
            padding-right: 9px;
            white-space: nowrap;
        }

.capacity_table_header_day {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 0.05rem;
    padding: 0.25em;
    border: 1px solid #FFFFFF;
    background-color: #D1E7FC;
    color: #61AEE4;
    font-weight: bold;
    height: 1.3rem;
    text-align: center;
    z-index: 2;
}

.ctc {
    background-color: #E6F2FE;
    color: #50A6E3;
    height: 20px;
    text-align: center;
}

.ctcHeader {
    background-color: #E6F2FE;
    color: #1F4E7A;
    cursor: pointer;
    height: 20px;
    text-align: center;
    font-weight: normal;
}

.ctcap {
    background-color: #E6F2FE;
    color: #50A6E3;
    cursor: pointer;
    height: 20px;
    text-align: center;
}

.ctcl {
    background-color: #E6F2FE;
    color: #50A6E3;
    cursor: pointer;
    font-weight: bold;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctce {
    background-color: #9F9F9F;
    color: #000000;
    cursor: pointer;
    font-weight: bold;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcy {
    background-color: #FFE543;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcg {
    background-color: #CCE566;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcgn {
    background-color: #CCE566;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcp {
    background-color: #90B9D9;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcpn {
    background-color: #90B9D9;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcr {
    background-color: #C74C28;
    color: #FFFFFF;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    white-space: nowrap;
}

.ctcynp {
    background-color: #FFE543;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcynp_hand {
    background-color: #FFE543;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcgnp {
    background-color: #CCE566;
    color: #343B41;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.ctcrnp {
    background-color: #C74C28;
    color: #FFFFFF;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    white-space: nowrap;
}

.ctcrnp_hand {
    background-color: #C74C28;
    color: #FFFFFF;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
    white-space: nowrap;
}

.capacity_order_schedule_blue_outline {
    border: 3px solid #2b577b !important;
}

.workcenter_link {
    color: #4CA4E4 !important;
    text-decoration: none;
    font-weight: normal;
}

    .workcenter_link:hover {
        color: #4CA4E4;
        text-decoration: none;
    }

.workcenter_linkwhite {
    color: #FFFFFF;
    text-decoration: none;
}

    .workcenter_linkwhite:hover {
        color: #FFFFFF;
        text-decoration: none;
    }

.workcenter_linkgrey {
    color: #000000;
    text-decoration: none;
}

    .workcenter_linkgrey:hover {
        color: #000000;
        text-decoration: none;
    }

.capacity_table_name {
    background-color: #FFFFFF;
    height: 20px;
    padding-right: 1rem;
    white-space: nowrap;
    width: 8rem;
    min-width: 8rem;
    max-width: 8rem;
}

td:nth-child(1)[class*="capacity_table_name"],
td:nth-child(2)[class*="capacity_table_name"] {
    text-align: left;
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    z-index: 1;
    box-shadow: -0.05rem -0.05rem white;
}

td:first-child[class*="capacity_table_name"] {
    left: 0.05rem;
}

td:nth-child(2)[class*="capacity_table_name"] {
    left: 9.1rem;
}

.capacity_table_name_yellow {
    background-color: #E6F2FE;
    color: #033361;
    font-weight: bold;
    height: 20px;
    padding-left: 22px;
    padding-right: 22px;
    text-align: left;
    white-space: nowrap;
}

.capacity_table_name_yellow_extended {
    background-color: #E6F2FE;
    color: #033361;
    font-weight: bold;
    height: 20px;
    padding-left: 22px;
    padding-right: 22px;
    text-align: left;
    white-space: nowrap;
}

.capacity_table_name_empty {
    background-color: #FFFFFF;
    height: 20px;
}

.capacity_table_name_grey {
    background-color: #D1E7FC;
    height: 20px;
}

.capacity_table_name_grey_extended {
    background-color: #D1E7FC;
    height: 20px;
}

.capacity_table_name_group {
    background-color: #093866;
    height: 20px;
}

.capacity_table_name_partgroup {
    background-color: #7DBDEB;
    height: 20px;
}

.capacity_table_name_header {
    height: 30px;
    white-space: nowrap;
    width: 250px;
}

.table_head_capacity {
    background-color: #000000;
    COLOR: #FFFFFF;
    FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
    FONT-SIZE: 10px;
    FONT-WEIGHT: normal;
    TEXT-ALIGN: center;
    TEXT-DECORATION: none
}

.gradient_small_capacity {
    background-image: url(images/gradient.jpg);
    background-position: left top;
    background-repeat: repeat-x;
    color: #000000;
    font-family: Verdana;
    font-size: 10px;
    font-weight: normal;
    padding: 3px;
}

.capacity_popup_scrollablediv {
    height: 580px;
    overflow-x: hidden;
    overflow-y: visible;
    overflow-y: scroll;
    background-color: #ffffff;
    box-shadow: 2px 2px 2px 2px #888888;
}

.capacity_popup_scrollablediv_ie {
    height: 580px;
    overflow-x: hidden;
    overflow-y: visible;
    overflow-y: scroll;
    padding-right: 22px;
    background-color: #ffffff;
    box-shadow: 2px 2px 2px 2px #888888;
}

.capacity_popup {
    background-color: #ffffff;
}

.capacity_extended1 {
    background-color: #d9d9d9;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

.capacity_extended2 {
    background-color: #fcd5b4;
    color: #343B41;
    cursor: pointer;
    height: 20px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

@keyframes slideUpFromBottom {
    0% {
        height: 0%;
    }

    25% {
        height: 50%;
    }

    50% {
        height: 75%;
    }

    75% {
        height: 90%;
    }

    100% {
        height: 100%;
    }
}

.utilization_bar_chart_row td > div {
    animation: 1s ease-out 0s 1 slideUpFromBottom;
}

.utilization_bar_chart_row td {
    height: 5rem;
    vertical-align: bottom;
}

.barChartGreen {
    height: 100%;
    background: palegreen linear-gradient(to top, green var(--h), transparent var(--h));
    position: relative;
    bottom: 0;
}

.barChartRed {
    height: 100%;
    background: pink linear-gradient(to top, #C74C28 var(--h), transparent var(--h));
    position: relative;
    bottom: 0;
}

.barChartYellow {
    height: 100%;
    background: lightgoldenrodyellow linear-gradient(to top, #FFE543 var(--h), transparent var(--h));
    position: relative;
    bottom: 0;
}

/*.SnapContent {
    background-color: white;
    border-top-width: 0px;
    cursor: default;
    font-size: 11px;
    padding: 3px;
    text-align: left;
}*/

.Dock {
    background-color: #FFFFFF;
    border: #AFAFAF 0px solid;
    padding: 5px;
}

.DashboardMenuGroup {
    background-color: white;
    border: solid 1px #000000;
    cursor: default;
}

.DashboardMenuItem {
    color: black;
    cursor: pointer;
    font-size: 11px;
    margin: 1px;
}

.DashboardMenuItemHover {
    background-color: #C7E2FC;
    border: solid 0px #4B4B6F;
    color: black;
    cursor: pointer;
    font-size: 11px;
}

.DashboardMenuBreak {
    height: 1px;
    width: 100%;
}

.DashboardPageTable {
    border-collapse: separate;
    border-radius: 4px 4px 0 0;
    border-spacing: 2px;
}

    .DashboardPageTable td {
        border-radius: 4px 4px 0 0;
        text-align: center;
    }

.DashboardContentTable {
    border-collapse: separate;
    border-spacing: 2px;
    width: 100%;
}

.DashboardPageTd {
    background-color: #D1E7FD;
    border-bottom: 1px solid #D8D8D8;
    cursor: pointer;
    height: 32px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    white-space: nowrap;
}

.DashboardPageSelectedTd {
    border: 1px solid #D8D8D8;
    font-weight: bold;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    white-space: nowrap;
}

.DashboardPageAddTd {
    border-bottom: 1px solid #D8D8D8;
    height: 32px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    white-space: nowrap;
}

.DashboardPageFinalTd {
    border-bottom: 1px solid #D8D8D8;
    cursor: pointer;
    height: 32px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    white-space: nowrap;
}

.dashboardDragHeader {
    cursor: move;
    font-size: 11px;
    padding: 3px;
    width: 100%;
}

.dashboardDragHeaderImage {
    cursor: move;
    font-size: 11px;
    padding: 3px;
    width: 100%;
}

.forecast-paging-container {
    padding-bottom: 20px;
    float: right;
    margin-top: 4px;
    margin-right: 5px;
}

.SelectedTab {
    color: #0279c7;
}

.DefaultTab {
    cursor: pointer;
}

.dcTextEditor {
    margin-top: 5px;
    margin-right: 5px;
}

    .dcTextEditor textarea {
        width: 35rem;
        height: 15rem;
    }

.dcHtmlEditor {
    margin-top: 5px;
    margin-right: 5px;
}

    .dcHtmlEditor table.dxtbControl {
        background-color: transparent;
        border-color: #E7F1F8;
    }

    .dcHtmlEditor .dxheContentArea {
        background-color: transparent;
    }

    .dcHtmlEditor .dxmLite .dxm-main {
        background-color: #E7F1F8;
    }

    .dcHtmlEditor .dxtcLite > .dxtc-stripContainer .dxtc-tab, .dxtcLite > .dxtc-stripContainer .dxtc-activeTab {
        background-color: #E7F1F8;
        border-color: #E7F1F8;
    }

    .dcHtmlEditor table.dxheControl {
        border-color: #E7F1F8;
    }

    .dcHtmlEditor .dxheViewArea {
        border: none;
    }

    .dcHtmlEditor .dxeButtonEdit {
        border-color: #D9D9D9;
    }

    .dcHtmlEditor .dxeButtonEditButton, .dxeCalendarButton, .dxeSpinIncButton, .dxeSpinDecButton, .dxeSpinLargeIncButton, .dxeSpinLargeDecButton, .dxeColorEditButton {
        border-color: transparent;
    }

    .dcHtmlEditor .dxtcLite.dxtc-bottom > .dxtc-stripContainer .dxtc-leftIndent, .dxtcLite.dxtc-bottom > .dxtc-stripContainer .dxtc-spacer, .dxtcLite.dxtc-bottom > .dxtc-stripContainer .dxtc-rightIndent, .dxtcLite.dxtc-bottom > .dxtc-stripContainer .dxtc-sbWrapper, .dxtcLite.dxtc-bottom > .dxtc-stripContainer .dxtc-sbIndent, .dxtcLite.dxtc-bottom > .dxtc-stripContainer .dxtc-sbSpacer {
        border-top-color: #E7F1F8;
    }

.tooltipScroller {
    max-width: 100%;
    max-height: 25rem;
    overflow: auto;
}

/* Planner action edit popup */
.popup_edit_table tr:nth-child(1) th:nth-child(1),
.popup_edit_table td:nth-child(1) {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    z-index: 3;
    background-color: white;
    left: 0.05rem;
    top: 0.05rem;
    box-shadow: -0.5rem 1px #FFF
}

.popup_edit_table td,
.popup_edit_table th {
    min-width: 5rem;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    top: 4px;
    width: 80px;
    height: 16px;
}

.lds-ellipsis div {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis.plex-dark-blue div {
    background: #018786;
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

table.dxeButtonEditSys.dxeButtonEdit.select.no-bottom-margin {
    width: 130px;
    height: 30px;
    border: 1px solid #DFDFDF;
    padding-top: 0;
}


    table.dxeButtonEditSys.dxeButtonEdit.select.no-bottom-margin td.dxeButton.dxeButtonEditButton {
        background: none;
        border: none;
    }

.btn-toolbar .btn[id$="btnSave"]:first-of-type {
    margin-right: 1px;
}

.quantity-field-inactive {
    background-color: #f5f5f5 !important;
    color: #999999 !important;
}

.quantity-field-inactive input {
    background-color: #f5f5f5 !important;
    color: #999999 !important;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.quantity-uom-label {
    font-size: 11px !important;
    color: #666666 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.inline-link-button {
    display: inline-block;
    padding: 3px 13px;
    margin: -2px 0px;
    border-radius: 999px;
    border: 1px solid currentColor;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.2;
}

    .inline-link-button:hover {
        text-decoration: none;
    }
