html, body {
    height: 100%;
}

.fill {
    height: 100%;
}

/* Home sidebar navigation  */
.sidebar-nav {
    margin-top: 20px;
    margin-left: 20px;
    padding: 0;
    list-style: none;
}

/* text color for part repairing status  */
.text-arrived {
    color: greenyellow;
}
.text-repairing {
    color: red;
}
.text-ready {
    color: lightgreen;
}
.text-departed {
    color: green;
}

img {
    max-width: 100%;
    max-height: 100%;
}

/* thumbnail image in part list */
.thumb_image_one
{
    width: 50px;
}

.thumb_image_two
{
    max-height: 150px;
}

.image_two
{
    max-height: 300px;
    max-width: 300px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* mouse over text*/
.text-mouseover:hover,

.m_title {
  text-align: center;
  align-items: center;
  width: 100%;
  height: auto;
  font-size:32px;
}

.m_toolbar {
  background-color:lightgrey;
}
.m_toolbar_td {
  aligh: center;
}

.m_content {
  width: 100%;
}

.m_dtPartListBody {
  height:200px; 
  width:100%; 
  overflow-y:auto;
  font-size:12px;
}

.seperator {
	width: 100%;
	height: 2px;
	background: #efeeee;
	margin-top: 2px;
	margin-bottom: 5px;
}

.cls_webcam_preview{
    width: 320px;
    height: 240px;
    border: 1px solid lightgrey;
}

.cls_stream_view{
    /*width:  240px;
    height: 240px; */
    min-width:  150px;
    min-height: 150px;
    max-width:  240px;
    max-height: 240px;
    border: 1px solid lightgrey;
}

.cls_image_view{
    width:  240px;
    height: 240px;
}

.cls_large_image_view{
    min-width:  150px;
    min-height: 150px;
    max-width:  480px;
    max-height: 480px;
    border: 0px solid lightgrey;
}

.banner {
    padding-top:0.5em;
    padding-bottom:0.5em;
    text-align: center;
    max-height:300px; 
    overflow-y:scroll;
}
.caption {
    text-align: center;
}
.img-thumbnail {
    width:100px;
    height:100px;
}

.banner::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
bottom: .5em;
}

hr.solid {
    border-top: 2px solid #000;
}

.btn-80 {
    width: 80px;
}

.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none;
    margin-left:10px;
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color:#369;
    font-weight:700;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.tree li a {
    text-decoration: none;
    color:#369;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

/* customized treem */
.treem, .treem ul {
    margin:0;
    padding:0;
    list-style:none;
    margin-left:0px;
}
.treem ul {
    margin-left:0; //1em;
    position:relative
}
.treem ul ul {
    margin-left: 0; //.5em
}
.treem ul:before {
    content:"";
    display:block;
    width:0;
    position:relative;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.treem li {
    margin:0;
    padding:0 1em;
    line-height:2em;
    color:#369;
    font-weight:700;
    position:relative
}
.treem ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:relative;
    top:1em;
    left:0
}
.treem ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}
.indicator {
    margin-right:5px;
}
.treem li a {
    text-decoration: none;
    color:#369;
}
.treem li button, .treem li button:active, .treem li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

/* try */

.decoff {   
    text-decoration: none;
}

.treemm row {
    margin-top:10px;
}
/*
#tree_row {
    width: 100%;
    min-width:800px;
}

#tree_row .listitem_key {
    width: 200px;
}
#tree_row .listitem_desc {
    width: 200px;
}
*/
.treemm {
    list-style: none
    margin: 0;
    padding: 0;
    font: 12px Arial, Helvetica, Geneva, sans-serif;
}

.treemm img {
    width: 16px;
    height: 16px;
    /*margin-right: 5px;*/
    margin: 0px;
    padding: 0px;
}

.treemm ul ul{
    list-style: none;
    list-style-type: none;
    margin-left:0; 
    /*position:relative*/
}

.treemm li.header div {
    background-color: #ccc;
    font-weight: bold;
    cursor: default;
}
.treemm li div {
    display: black;
    float: left;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 3px 5px;
}

.treemm td.listitem_key {min-width: 250px; border-left: 1px solid #ccc;}
.treemm td.listitem_desc {min-width: 250px; border-left: 1px solid #ccc;}
.treemm td.listitem_ohm {min-width:100px; max-width:150px;}
.treemm td.listitem_qty_scan {min-width:50px; max-width:100px;}
.treemm td.listitem_qty {min-width:50px; max-width:100px;}
.treemm td.listitem_qty_lots {min-width:50px; max-width:100px;}

.treemm .headcolt {
  /*position: sticky;*/
  left: -10px;
  background-color: #eee
}
.treemm .headrowt {
  /*position: sticky;*/
  top: 0px;
  /background-color: #eef
}

.treemm th {
    /* background-color: lightblue */
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: rgb(240, 240, 159);
}

select:invalid { color: gray; }

.table-responsive .scroll_wrapper::-webkit-scrollbar {
    -webkit-appearance: none;
}

.table-responsive .scroll_wrapper::-webkit-scrollbar:vertical {
    width: 12px;
}

.table-responsive .scroll_wrapper::-webkit-scrollbar:horizontal {
    height: 12px;
}

.table-responsive .scroll_wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

.table-responsive .scroll_wrapper::-webkit-scrollbar-track {
    border-radius: 10px;  
    background-color: #ffffff; 
}

.order-btn {
    width:400px;
    margin-left:10px;
}

.form-control, .form-select, .selectpicker {
    border-width: 1px;
}

.form-control:focus, .form-select:valid:focus {
    box-shadow: none;
    border: 1px solid #00627f;
}

.btn-station, .btn-station:disabled {
    color: black;
}

.btn-station {
    font-family: "Arial Bold", Gadget, sans-serif;
    font-style: normal;
    font-size: 10px ! important;
    min-width: 60px;
}

.btn-filter {
    min-width: 100px;
    font-size: 14px ! important;
}

.workflow-dashboard-item {
    height: 150px;
    border: 1px solid lightgray;
}

.bold-green-font {
    font-weight: bold;
    color: green;
  }

  .bold-font {
    font-weight: bold;
  }

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

  .large-font {
    font-size: 15px;
  }

  .italic-darkblue-font {
    font-style: italic;
    color: darkblue;
  }

  .italic-purple-font {
    font-style: italic;
    color: purple;
  }

  .underline-blue-font {
    text-decoration: underline;
    color: blue;
  }

.summary_header_left {
    text-align: left;
}
.summary_header_right {
    text-align: right;
}
.summary_header_center {
    text-align: center;
}

.summary_cell_left {
    text-align: left;
}
.summary_cell_right {
    text-align: right;
}
.summary_cell_center {
    text-align: center;
}

.google-visualization-table th,
.google-visualization-table td {
    font-size: 11px;
}
