/*----------------
IR CSS FRAMEWORK - Use these classes as generic framework classes that we can bring into any of our applications.
---------------*/
.red {
    color:red;
}
.blue {
    color:#337ab7;
}
.green {
    color:#5cb85c;
}
.yellow {
    color:#ffd600;
}
.grey {
    color:#ccc;
}
.bg-gray{
    background: #ccc
}
.display-flex {
    display:inline-flex;
}
.display-inline {
    display: inline-block;
}
.bordered{
    border:1px solid #eee;
}
.thick-border{
    border:2px solid #ddd;
}
.border-bottom{
    border-bottom:1px solid #eee;
}
.border-top{
    border-top:1px solid #eee;
}
.border-left{
    border-left:1px solid #eee;
}
.border-right{
    border-right:1px solid #eee;
}
.bg-white{
    background: #fff
}
.bg-light-gray{
    background: #f9f9f9
}
.col-tight{
    padding:2px;
}
.buffer{
    margin:10px;
}

.min-height {
    min-height:10px;
}


.top-buffer{
    margin-top: 10px;
    clear: both;
}

.half-top-buffer{
    margin-top: 5px
}

.half-bottom-buffer {
    margin-bottom: 5px
}

.left-buffer{
    margin-left: 10px;
}

.double-left-buffer {
    margin-left: 20px;
}

.half-right-buffer {
    margin-right: 5px;
}

.half-left-buffer {
    margin-left: 5px;
}

.right-buffer {
    margin-right: 10px
}

.double-right-buffer {
    margin-right: 20px
}
.double-top-buffer {
    margin-top: 20px
}
.top-buffer-15px{
    margin-top: 20px   
}
.bottom-buffer{
    margin-bottom: 10px !important;
}

.double-bottom-buffer{
    margin-bottom: 20px !important;
}
.pad {
    padding:10px;
}

.half-pad {
    padding:5px;
}

.pad-top{
    padding-top: 10px
}
.pad-bottom{
    padding-bottom: 10px
}
.pad-left{
    padding-left: 10px
}
.pad-right{
    padding-right: 10px
}
.sortable-table tr{
    cursor: move
}
.no-padding{
    padding: 0 !important;
}
.no-padding-left {
    padding-left: 0;
}
.selectable:hover{
    cursor:pointer;
}
.draggable:hover{
    cursor:move;
}
.ns-resize-cursor:hover{
    cursor: ns-resize;
}
.tight{
    margin: 0;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

.underline {
    text-decoration: underline;
}

.grey-bg {
    background-color: #ccc !important;
}

.ion-spin,
.ion-loading-a,
.ion-loading-b,
.ion-loading-c,
.ion-loading-d,
.ion-looping,
.ion-refreshing,
.ion-ios7-reloading {
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}
.bring-to-front {
    z-index: 2;
}

@-moz-keyframes spin { 
    0% { -moz-transform: rotate(0deg); }
    100% { -moz-transform: rotate(359deg); } 
}
@-webkit-keyframes spin { 
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(359deg); } 
}
@-o-keyframes spin { 
    0% { -o-transform: rotate(0deg); }
    100% { -o-transform: rotate(359deg); } 
}
@-ms-keyframes spin { 
    0% { -ms-transform: rotate(0deg); }
    100% { -ms-transform: rotate(359deg); } 
}
@keyframes spin { 
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); } 
}

.ion-spin,
.ion-loading-a,
.ion-loading-b,
.ion-loading-c,
.ion-loading-d,
.ion-looping,
.ion-refreshing,
.ion-ios7-reloading {
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}


div.animate {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    overflow:hidden;
}


.button-group-panel {
    margin-top: -5px;
}

/*------------------
BS OVERWRITES
--------------------*/
.alert-warning{
    background: #ffd600;
    color:#543e18;
}
.alert-info{
    background: #5ec5f9;
    color:#0c374c;
}
.alert-danger{
    background: #f70000;
    color:#fff;
}
.input-group-addon.btn-primary{
    background-color: #286090;
}

.clear-border {
    border:none !important;
}

.badge-primary {
    background-color: #0275d8;
}

.badge-danger {
    background-color: #d9534f;
}

.badge-info {
    background-color: #5bc0de;
}

.clear-background {
    background-color: transparent;
}

.has-error {
    border: 2px solid red;
}

.badge.selectable:hover {
    -webkit-animation: badge-flashing 1s infinite; /* Safari 4+ */
    -moz-animation:    badge-flashing 1s infinite; /* Fx 5+ */
    -o-animation:      badge-flashing 1s infinite; /* Opera 12+ */
    animation:         badge-flashing 1s infinite; /* IE 10+ */
}

.i-flash:hover {
    -webkit-animation: i-flashing 1s infinite; /* Safari 4+ */
    -moz-animation:    i-flashing 1s infinite; /* Fx 5+ */
    -o-animation:      i-flashing 1s infinite; /* Opera 12+ */
    animation:         i-flashing 1s infinite; /* IE 10+ */
}

.hover-flash:hover {
    -webkit-animation: badge-flashing 1s infinite; /* Safari 4+ */
    -moz-animation:    badge-flashing 1s infinite; /* Fx 5+ */
    -o-animation:      badge-flashing 1s infinite; /* Opera 12+ */
    animation:         badge-flashing 1s infinite; /* IE 10+ */
}

.td-flash {
    -webkit-animation: flashing 0.3s ease-in-out; /* Safari 4+ */
    -moz-animation:    flashing 0.3s ease-in-out; /* Fx 5+ */
    -o-animation:      flashing 0.3s ease-in-out; /* Opera 12+ */
    animation:         flashing 0.3s ease-in-out; /* IE 10+ */
}

.td-flashing {
    -webkit-animation: flashing 1s infinite; /* Safari 4+ */
    -moz-animation:    flashing 1s infinite; /* Fx 5+ */
    -o-animation:      flashing 1s infinite; /* Opera 12+ */
    animation:         flashing 1s infinite; /* IE 10+ */
}

.no-click {
    pointer-events:none;
}

.multiple-line {
    white-space: pre !important;
    word-wrap: break-word!important;
}

.disabled {
    pointer-events:none;
    background-color: #ddd;
}

.hidden-radio {
    display:none;
}

.hover-shadow:hover {
    border-radius: 10px;
    -webkit-box-shadow: 0 0 20px rgba(180,180,180,0.8);
    -moz-box-shadow: 0 0 20px rgba(180,180,180,0.8);
    box-shadow: 0 0 20px rgba(180,180,180,0.8);
}

.menu-export {
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    width: 20px;
    height: 16px;
}

td.style,
tr.style {
    background-color: #50a88d;
    text-align: center;
    color:white;
}

.vertical-align {
    vertical-align: middle !important;
}



th.show-on-hover-trigger:hover .show-on-hover {
    opacity:1;
}

.show-on-hover {
    opacity:0;
}

.btn-mini {
    background: #d9e1ea;
    border:1px #ccc solid;
}

/*NEW TERMINAL CSS*/
div[id$='paginate'][id^='DataTables_Table']>ul>li>a{
    z-index:0;
    position:relative;
}
.table-subtle>thead>tr>td, .table-subtle>thead>tr>th{
    font-weight:300;
}

.table-subtle>thead>tr>th{
    border-bottom: 1px solid #5b7a9e;
}
.border-left-blue{
    border-left: 1px solid #5b7a9e;;
}

#wrapper{
    margin: 51px 0 0 0;
    padding:0;
}
.navbar{
    min-height: 20px;
}
.navbar-nav>li>a{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.bg-navy{
    background: #23669e;
    color: #fff
}
.bg-dark-blue{
    background: #1b5789;
    color: #fff
}
.progress {
    position: relative;
}

.progress span {
    position: absolute;
    display: block;
    width: 100%;
    color: #000;
    font-weight:600;
}

.terminal-action{
    font-size: 10px;
}
.subnav{
    top: 4.2em;
    width: 100%;
    z-index: 1000;
    right: 0;
    border-bottom: 2px solid #205f94;
}

.subnav .text-white, .subnav h4{
    font-size: 18px;
    margin: 12px 0px 10px 0px;
}

.subnav-content-container {
    margin-top: 4.5em; /* Space to clear fixed navbar + subnav */
}

.navbar.in-app-warning ~ #wrapper .subnav-content-container {
    margin-top: 5.5em; /* Extra room when warning bar pushes subnav down */
}

.border-right-thick{
    border-right: 6px solid #23669e;
}
.text-slate{
    color:#444;
}
.text-white{
    color:#fff;
}
.scroll-autocomplete {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 370px;
}

.input-width-sm {
    width: 120px;
}

.input-width-lg {
    width: 240px;
}

.input-width-xs {
    width: 60px;
}

.red-border {
    border:1px red solid;
}

.center-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-size {
    width:100%;
    height:100%;
}
.no-wrap{
    white-space: nowrap;
}

/*------------------
BODY/WRAPPERS
--------------------*/
body {
    color:#444;
    font-family: 'Source Sans Pro','Arial', sans-serif;
    font-weight: 400;
}
#wrapper {
    margin-top: 60px;
}
.sub-content-container{
    padding-top: 65px;
    padding-bottom: 65px;
}

/*------------------
TEXT/FONTS
--------------------*/
a:hover {
    text-decoration: none;
}
input{
    font-weight:400;
}
select{
    font-weight:400;
}
table{
    font-weight: 400;
}
.lowercase{
    text-transform: lowercase;
}
.small {
    font-size: 9px;
}
.light-font{
    font-weight: 300;
}
.heavy-font{
    font-weight: 400;   
}
.multi-line {
    word-wrap:break-word !important;
    white-space: pre !important;
}

/*------------------
NAVIGATION
--------------------*/
.nav>li>a:focus, .nav>li>a:hover, .nav>li>a.active{
    text-decoration: none;
    background-color: #003f73;
    color: #fff;
}
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
    text-decoration: none;
    background-color: #003f73;
    color: #fff;
}

/*----------------
PANEL CELLS
---------------*/
.panel-cell {
    width:100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.panel-cell-instructions{
    font-size: 11px
}
.panel-cell-header{
    color:#444444;
    width:100%;
    border-bottom:1px solid #E6E7E7;
    float:left;
    margin-bottom: 20px;
}
.panel-cell-header-title{
    font-size: 14px;
}
.panel-cell-header-icon{
    font-size: 18px;
}
.panel-cell img {
    width:100%;
}
.panel-cell-content {
    width:100%;
    padding:10px;
    float: left;
    font-size: 12px;
}
.panel-cell-content.full-height{
    max-height: 100%;
    overflow-y: auto;
}

.panel-cell-header-icon{
    display: none;
    cursor: pointer;
}
.panel-cell:hover .panel-cell-header-icon{
    display: inline-block;
}
.panel-cell-list-label{
    float:left;
    width:50%;
    font-weight: 700;
}
.panel-cell-list-value{
    float:left;
}
.panel-cell-list-value-text {
    display:inline-block;
    width:100px;
    white-space: nowrap;
}
.panel-cell-list-item{
    border-bottom: 1px solid #eee;
    height:25px;
    padding-top:5px;
    overflow:hidden;
}
.panel-cell-list{
    list-style-type: none;
}
.collapsable .panel-cell-header{
    cursor: pointer;
}
.context-panel {
    position:absolute;
    z-index:1060;
    box-shadow: 3px 3px 5px #888888;
}

.popover-view {
    position:fixed;
    z-index:1060;
    box-shadow: 3px 3px 5px #888888;
}

/*------------------
FORM ELEMENTS
--------------------*/
.input-group-addon.btn-primary{
    background-color: #286090;
}
.form-control {
    border-radius: 0;
}

input:focus{
    outline: none;
}
select.no-radius{
    border:none;
    font-size: 12px;
}
.inputValueContainer div{
    display: inline-block;
    width: 50%;
}
.inputValueLabel{
    font-weight: 700;
}

.panel-body {
    background: white;
    padding: 20px;
}
.panel-body .btn {
    text-wrap: nowrap;
}

/*------------------
MODALS
--------------------*/

.modal-title{
    font-size: 16px;
    font-weight: 300;
}
body .modal-xl {
    /* new custom width */
    width: 70%;
}
@media (max-width: 768px){
.modal-dialog {
    margin: 30px auto;
}
}

body .modal-xl {
    /* new custom width */
    width: 95%;
}

/*------------------
BUTTONS
--------------------*/
.btn {
    border-radius: 0;
}
.buttons {
    margin-top: 30px;
}
.icon-button {
    background: transparent;
    border:none;
}
.delete-hover-button {
    font-size: 14px;
    opacity: 0;
    float: right;
    cursor: pointer;
    font-weight: 600;
}

/*------------------
BACKGROUNDS
--------------------*/
.bg-primary{
    background: #3c8dbc;
    color:#fff;
}
.bg-success{
    background: #449d44;
    color:#fff;
}

.btn-primary {
    color:#fff;
}
.bg-warning{
    background: #ffff00;
}
.bg-danger{
    background: #ff3a3a;
    color:#fff;
}
.bg-engineering{
    background: #c0c0c0; /*silver */
    color:#fff;
}
.bg-production{
    background: #337ab7;
    color:#fff;
}
.bg-development{
    background: #c0c0c0; /*silver */
    color:#fff;
}
.bg-sample{
    background: #ffa500; /* orange */
    color:#fff;
}
.bg-open{
    background: #808080; /* grey */
    color:#fff;
}
.bg-inqueue {
    background-color: #5bc0de;
}
.bg-inprogress{
    background: #337ab7;
    color:#fff;
}
.bg-complete{
    background: #00a65a;
    color:#fff;
}
.bg-incomplete{
    background: #b6b6b3; /* grey cloud */
    color:#fff;
}
.bg-onhold{
    background: #d4ff00;
    color:#444 !important;
}
.bg-rework{
    background: #c0c0c0; /*silver */
}
.bg-scrapped {
    background-color: #d9534f;
    color: #fff
}
.bg-transferred{
    background: #a52a2a; /* brown */
    color: white;
}
.bg-shipped{
    background: #b6b6b3; /* grey cloud */
    color:#fff;
}
.bg-pending {
    background-color: #5bc0de;
}
.bg-submitted{
    background: #ffa500; /* orange */
}
.bg-rejected {
    background-color: #d9534f;
}
.bg-issued{
    background: #337ab7;
    color:#fff;
}
.bg-active{
    background: #00a65a;
    color:#fff;
}
.bg-obsolete{
    background: #b6b6b3; /* grey cloud */
    color:#fff;
}
.bg-enabled{
    background: #00a65a;
    color:#fff;
}
.bg-disabled{
    background: #b6b6b3; /* grey cloud */
    color:#fff;
}
.bg-archived{
    background: #b6b6b3; /* grey cloud */
    color:#fff;
}
.bg-slate{
    background: #444;
    color:#fff;
}
.bg-cancelled{
    background: #ffff00;
    color:#444;
}
.bg-progress-bar-on-time{
    background: #9FDF77;
    color:#fff;
}
.bg-progress-bar-late{
    background: #FA6D6D;
    color:#fff;
}

/*------------------
POSITIONING
--------------------*/
.push-down{
    margin-top: 10%;
}
.hide {
    display: none;
}
/*------------------
CONTEXT MENU
--------------------*/
.context-menu-item:hover {
    color: #fff;
    background-color: #2980b9;
    cursor: pointer;
}
/*------------------
PRINT
--------------------*/
@media print {
    .navbar {
        display: none;
    }
    .dropdown {
        display: none;
    }
    .backtoselect {
        display: none;
    }
    .panel {
        margin-top: -50px;
    }
    #query-panel {
        display: none;
    }
} 

/*----------------
DATATABLES
---------------*/
.dataTables_filter{
    width:100%;
    text-align: right !important;
}
thead.compact{
    margin-top: -10px;
    background: #eee;
}

.dataTable td{
    max-height: 10px;
    overflow: hidden;
    white-space: nowrap;
}
.row-eq-height{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}
.row-eq-height .row-eq-height-border {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: -15px;
    border-right: 2px solid #ddd;
    border-right: 2px solid rgba(86,61,124,.2);
}
.table-nowrap th,
.table-nowrap td {
    white-space: nowrap;
    overflow: hidden;
}
/*this one is to keep processing of datatable on top of table in some cases*/
/*.dataTables_processing {*/
/*    z-index: 3;*/
/*}*/
.table-no-head thead {
    display: none;
}
.table-moveable-rows tbody tr {
    cursor: move;
}
.table-selectable-rows tr{
    cursor:pointer;
}
.table-icon{
    font-size: 20px;
    color:#3c8dbc;
    margin-right:10px;
}
.table-icon:hover{
    color:#333;
}
.header-col{
    background: #eee;
    font-weight:500;
    margin-right:5px;
}
.dt-buttons.btn-group {/* this one is for export button in datatable, you may not find it by global search cause it's dynamically created. @Thong*/
    width:100%;
}
.datatable-no-scroll-body .dt-scroll-body {
    overflow-x: hidden !important;
}

.jsSerialListTable {
    border: 1px solid black;
}
.jsSerialListTableRow th {
    border: 1px solid black;
    padding: 5px;
    text-align: center;
}
.jsSerialListTableRow td {
    border: 1px solid black;
    padding: 3px;
    text-align: center;
}

.jsSerialTableDiv {
    overflow: auto;
    max-height: 400px;
}
.jsSerialTableDiv th {
    position: sticky;
    top: 0px;
    z-index: 1;
    background-color: white;
}

/*------------------
AUTOCOMPLETE
--------------------*/
.ui-helper-hidden-accessible { display:none; }
.ui-autocomplete {
    top: 100%;
    left: 0;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    position: fixed;
    z-index: 9999;
    overflow-x: hidden;
}

.ui-autocomplete:hover{
    cursor:pointer;
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #ddd;
    border: none;
    border-radius:0;
}
.ui-autocomplete-loading {
    background:url('../../images/indicator.gif') no-repeat right center
}

/*----------------
GRAPHS
---------------*/
.graph-container i {
    font-size: 200px;
}
.graph-container svg {
    width: 100%;
    height: 100%;
}
.graph-container .d3-graph-container {
    width: 100%;
    height: 100%;
}
.graph-container table {
    font-size: 12px;
    table-layout:inherit;
    margin: 0 auto;
    width: 100%;
}
.graph-container text {
    font-size: 10px;
}
.graph-container .d3-graph-container svg {
    width: 100%;
    height: 100%;
}

.graph-container-hover {
    background: #ccc
}
.graph-table {
    table-layout:fixed;
    height: 100%;
    width: 100%;
    white-space: nowrap;
}
.graph-table td {
    text-align: center;
    overflow: auto;
}

/*--------------------
STATUS LABELS
----------------------*/
.label-pending {
    background-color: #777;
}
.label-obsolete {
    background-color: #777;
}
.label-submitted {
    background-color: #337ab7;
}
.label-active {
    background-color: #5cb85c;
}
.label-complete {
    background-color: #5cb85c;
}
.label-inprogress {
    background-color: #5bc0de;
}
.label-onhold {
    background-color: #f0ad4e;
}
.label-scrapped {
    background-color: #d9534f;
}

/*--------------------
LAYOUT
----------------------*/
/*.layout-container {*/
/*    border: 0;*/
/*    position:fixed !important;*/
/*    top:40px !important;*/
/*    left:0;*/
/*    bottom:0;*/
/*    background: #fff;*/
/*    height: auto;*/
/*    width: 100%;*/
/*    overflow: auto;*/
/*}*/
.layout-header{
    color:#333;
    font-size:16px;
    margin-right: 50px;
    padding-top: 5px
}
.layout-header i {
    font-size: 18px
}
.rcs-container {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 20px;
}

/*--------------------
OTHER UI
----------------------*/
.selected span:not(.badge):not(.avoid-selected-css):not(.workorder-field) {
    color: #fff !important;
}

.selected i {
    color: #fff !important;
}
.sortable-placeholder {
    border: 1px dashed #8B8686;
    margin: 0 1em 1em 0;
    background-color: rgb(213, 213, 213);
}
.noscroll{
    overflow: hidden !important;
}
.show-vbar {
    overflow-y: auto !important;
}
.drag-helper {
    background: white;
    border: 1px #ccc solid !important;
    z-index: 1000;
}
.drag-helper td {
    padding:10px;
    border: 1px #ccc solid;
}

/*--------------------
PAGE SPECIFIC - TERMINAL
----------------------*/
.serialTable{
    overflow-x: hidden; 
    display: none
}
#jsTerminalWorkorderTableControl{
    width:274px;
    position:fixed;
}

#terminalSideBar{
    width:275px;
    position:fixed; 
    top:183px;
    overflow-x:hidden;
    padding-top:0;
}
.terminalSideBarRow {
    width:275px;
}
.progress-bar-line-break {
    display:none;
}

#terminalMainContent{
    margin-left:290px
}
.terminal-action-icon {
    font-size: 20px;
}

.primary-color {
    color:#3f95c1;
}

.terminal-action {
    display:table-cell;
    height:40px;
    padding-right: 20px;
    text-align: center;
    font-size: 13px;
    color:#3f95c1;
    cursor: pointer;
    white-space: nowrap;
}
.terminal-action.disabled {
    background-color: transparent;
    color:#BBB;
    pointer-events:none;
    cursor: none;
}
.term-section-header{
    width: 100%;
    padding: 5px;
    height: 35px;
    font-size: 16px;
}
.workorder-field:hover {
    cursor: pointer;
}
.progress.active .progress-bar {
    -webkit-transition: none !important;
    transition: none !important;
}
.terminal-action-title{
    font-weight: 500
}

/*--------------------
PAGE SPECIFIC - PROD CONFIG
----------------------*/
.step-container{
    width:100%;
    font-weight: 700;
    border: 1px solid #5e5e5e;
    padding:13px 10px;
    overflow: hidden;
}
.step-container:hover .step-remove {
    opacity: 1;
}
.step-description{
    font-size: 12px;
    padding-right: 22px;
}
.sub-step-container{
    width:90%;
    margin-left: 10%;
}
.step-container.selected{
    background: rgb(11, 179, 0);
    border: 0;
}
.step-container {
    cursor: pointer;
}
.step-remove {
    font-size: 11px;
    cursor: pointer;
    opacity: 0;
    color:white;
    font-weight: 600;
}
.disabled-step{
    background: #ddd !important;
    color: #333 !important;
}

/*--------------------
PAGE SPECIFIC - CARRIER
----------------------*/
table.carrier {
    font-size:8px;
    table-layout:fixed;
}

table.carrier.disabled {
    pointer-events: none;
}

td.carrier {
    color:white;
    word-wrap:break-word;
    white-space:normal;
    padding:5px !important;
}

td.carrier.selected div.carrier {
    outline: 2px solid #253e5a;
    outline-offset: 1px;
}

div.carrier {
    font-weight: 500;
    letter-spacing: 1px;
    font-size:10px;
}

/*--------------------
PAGE SPECIFIC - CARRIER NEW STYLE
----------------------*/
table.table-carrier {
    font-size:8px;
    table-layout:fixed;
}

table.table-carrier.disabled {
    pointer-events: none;
}

td.td-carrier {
    color:white;
    word-wrap:break-word;
    white-space:normal;
    font-weight: 500;
    letter-spacing: 1px;
    font-size:10px;
    padding: 8px !important;
}

.carrier-bin {
    font-size: 8px;
    height: 9px;
    text-transform: uppercase;
    margin-top: -8px;
    margin-left: -8px;
    position: absolute;
    width: 31px;
    text-align: center;
}

/*td.carrier-node.selected div {
    outline: 2px solid #253e5a;
    outline-offset: 1px;
}
*/

/*--------------------
PAGE SPECIFIC - REPORTING
----------------------*/
.DTFC_RightWrapper {/*this is for small scroll icon in report monitor, you may not find this one on the app*/
    display: none;
}
/*--------------------
PAGINATION BUTTONS
----------------------*/
div[id$='paginate']>ul[class='pagination']>li>a{
    z-index:0;
    position:relative;
}

/*--------------------
UNIT OF MEASURE
----------------------*/
.uom-item:hover .delete-hover-button {
    opacity: 1
}

.uom-item {
    height: 35px;
}

/*--------------------
DEFECTS
----------------------*/
.defect-item:hover .delete-hover-button {
    opacity: 1;
}

.ui-options {
    display:inline-block;
    /*border:1px solid #ddd;*/
    /*padding:5px;*/
    vertical-align: middle;
}

#paretoRefilterDiv {
    border:1px solid #ddd;
    padding: 4px;
    width: max-content;
}

#defectChartDiv {
    overflow: auto;
}

.padding-20 {
    padding: 20px;
}
#jsSerialList {
    padding: 20px;
}

.align-right {
    float: right;
}

.max-width-1000 {
    max-width: 1000px;
    padding: 5px;
}

/*--------------------
LISTS
----------------------*/
.horizontal-list {
    margin-top:5px;
}
.horizontal-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.horizontal-list li {
    color:#6b99c7;
    float:left;
    padding: 5px;
    cursor: default;
    font-size: 13px;
}
.horizontal-list i{
    opacity:0;
    font-size:12px;
    color:red;
}
.horizontal-list>ul>li:hover {
    background:#dfe6f0;
    border-radius: 13px;
}
.horizontal-list>ul>li:hover i{
    opacity:1;
    cursor: pointer
}
.rcs-list {
    max-height: 500px;
    overflow-y: auto;
    border: 1px rgb(204,204,204) solid;
}

.rcs-list li{
    border-radius:0 !important;
}

.ui-menu{
    height: 300px;
    overflow-y: scroll;
}

#wo-table td.disabled {
    background-color: lightcoral;
    text-align: center;
}
.delete-hover-item-trigger:hover .delete-hover-button {
    opacity: 1
}

.uom-item {
    height: 35px;
}    

/*this is for small scroll icon in report monitor, you may not find this one on the app*/
.DTFC_RightWrapper {
    display: none;
}

.scroll-autocomplete {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 370px;
}

.input-width-sm {
    width: 120px;
}

.input-width-lg {
    width: 240px;
}

.input-width-xs {
    width: 60px;
}

.red-border {
    border:1px red solid;
}

.selected-border {
    border: 4px solid #007de6;
}

.border {
    outline: 2px solid #253e5a;
    outline-offset: 1px;
}

.center-child {
    display: flex;
    align-items: center;
    justify-content: center;

}
.terminal-actions-container{
    display:table;
    width:100%;
    padding-top:.5em;
    margin-bottom:.5em;
}


/*--------------------
UNORGANIZED - ADD NEW STUFF HERE IF YOU CANNOT FIND A SECTION
----------------------*/        
.carrier-assign.selected {
    color: #31708f;
    background-color: #d9edf7;
}


.dataTables_empty {
    text-align: left !important;
}

.fade.moving-item {
    opacity: 0.2;
}

.fixed-input-width {
    width: 50px;
    margin-right: 10px;
}

.list-group-item-high-warning {
    color: #566d03;
    background-color: #d4ff00;
}

.table-sm {
    margin-bottom: 0;
    font-size: 11px;
}

.table-sm td {
    padding: 5px !important;
}

.table-sm tr {
    padding: 5px !important;
}

.panel-title-primary {
    color: #23669e;
    font-weight: 500;
    font-size: 12px;
}

.font-size-xl {
    font-size: 24px;
}

.font-size-md {
    font-size: 11px;
}

.font-size-sm {
    font-size: 9px;
}

.table-station {
    white-space: nowrap;
}

.resizer {
    height: 16px;
    width: 16px;
    z-index: 90;
    cursor: nwse-resize;
    position: relative;
    float: right;
    bottom: 16px;
    right: 0;
}

.adjust-pad-top {
    padding-top:7px;
}

.adjust-pad-top-checkbox {
    padding-top:5px;
}

.vertical-align-middle {
    vertical-align: middle !important;
}

.full-width {
    width: 100% !important;
}

.carrier-history-table td {
    /*text-align: center;*/
    padding: 2px !important;
    width: 33px;
    height: 13px;
}

ul.splitSerialList {
    height: 150px;
    overflow-y: auto;
}

.overflowy-scroll {
    overflow-y: auto;
}

.overflowx-scroll {
    overflow-x: auto;
}

.label-adjust {
    margin-top: 4px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 99.3%;
    margin-top: -1px;
}

.caret-right {
    display: inline-block;
    width: 0;
    height: 0;
    margin-top: 6px;
    vertical-align: middle;
    border-left: 4px solid;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid transparent;
}

.white-dropdown {
    background: white;
}

.tooltip-full {
    overflow-x: auto;
    width: auto;
    max-width: 75%;
}

.d-table {
    width: 100%;
    display: table;
}

.d-tr {
    display: table-row;
}

.d-td {
    display: table-cell;
}

.text-align-right {
    text-align: right;
}

.thin-hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

.hover-effect:hover {
    background: #eee;
}

.no-padding {
    padding: 0;
}

.table-no-border tr,
.table-no-border td {
    border-top: none !important;
}

.table-no-border>thead>tr>th {
    border-top: none !important;
}

.table-no-bottom {
    margin-bottom: 0 !important;
}

.separator {
    margin-top: 10px;
    border-bottom: 1px solid #E6E7E7;
    margin-bottom: 10px;
}

.table-form td {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.dt-scroll-body {
    border-bottom: 1px #ccc solid;
}

.datatable-no-scroll-foot .dt-scroll-foot {
    display: none;
}

.datatable-no-scroll-head .dt-scroll-head {
    display: none;
}

.badge.badge-shade {
    padding: 5px;
    font-weight: 500;
    background: #eee;
    color: #666;
    border: 2px solid #ddd;
    font-size: 10px;
}

.selected .badge.badge-shade {
    border: white 1px solid;
    color: black;
}

.border-success {
    border-color: #398439;
}

.no-margin-top {
    margin-top: 0;
}

[type=checkbox].form-control.form-control-checkbox {
    width: 15px;
    height: 15px;
    float: left;
}

.select-sm {
    height: 30px;
}

.focus-red:focus {
    border-color:red !important;
}

.table-layout-fixed {
    table-layout: fixed;
}

.table-layout-fixed .break {
    word-wrap: break-word;
}

.break-word {
    word-wrap: break-word;
}

.table-with-border {
    border:1px solid #ddd !important;
}

.container-button-over-img {
    position: relative;
    width: 50%;
}
.col-xs-100 {
    position:relative;
    min-height:1px;
    padding-right:15px;
    padding-left:15px;
    width: 40%;
    float: left;
}
.col-xs-101 {
    position:relative;
    min-height:1px;
    padding-right:15px;
    padding-left:15px;
    width: 20%;
    float: left;
}

@media only screen and (max-width: 1000px) {
    input[type=number]::-webkit-outer-spin-button,
    input[type=number]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

    .col-xs-100, .col-xs-101, .col-xs-102 {
        position:relative;
        min-height:1px;
        padding-right:15px;
        padding-left:15px;
        width: 25%;
        float: left;
    }
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.modal code {
    display: block;
    background: #eee;
    padding: 10px;
    color: black;
    border: 1px solid grey;
    border-radius: 3px;
    margin-bottom: 20px;
}

/* Hide (some) pagination buttons for tables with no total COUNT (speed optimized) */
#jsInventoryTable .page-link:not(.first):not(.previous):not(.next),
#jsInventoryHistoryTable .page-link:not(.first):not(.previous):not(.next),
#jsConsumptionTable .page-link:not(.first):not(.previous):not(.next),
#jsDataResultTable .page-link:not(.first):not(.previous):not(.next), 
#jsInventorySelectTable .page-link:not(.first):not(.previous):not(.next) {
    display: none;
}

#jsLogTable .page-link:not(.first):not(.previous):not(.next):not(.last) {
    display: none;
}

div.dt-processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -22px;
    text-align: center;
    padding: 2px;
    z-index: 10;
}
div.dt-processing > div:last-child {
    position: relative;
    width: 80px;
    height: 15px;
    margin: 1em auto;
}
div.dt-processing > div:last-child > div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(13, 110, 253);
    background: rgb(var(--dt-row-selected));
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
div.dt-processing > div:last-child > div:nth-child(1) {
    left: 8px;
    animation: datatables-loader-1 0.6s infinite;
}
div.dt-processing > div:last-child > div:nth-child(2) {
    left: 8px;
    animation: datatables-loader-2 0.6s infinite;
}
div.dt-processing > div:last-child > div:nth-child(3) {
    left: 32px;
    animation: datatables-loader-2 0.6s infinite;
}
div.dt-processing > div:last-child > div:nth-child(4) {
    left: 56px;
    animation: datatables-loader-3 0.6s infinite;
}

@keyframes datatables-loader-1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes datatables-loader-3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes datatables-loader-2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}