body { background: #E5E6E7; }
body, input, button, select, textarea { font-family: 'Titillium Web', sans-serif;}
h1 { font-size: 40px; } 
h2 { font-size: 32px; } 
h3 { font-size: 24px; } 
h4 { font-size: 18px; } 
h5 { font-size: 15px; }
a { color: #002D55; }
td { color: #8888AA; }
td.report-total { background:#E5E6E7;color:#003D77;}
/* th, th > a { 
    color: #292E34; 
    background: #FFFFFF;
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    z-index: 2;
} */
thead > tr { background: #FFFFFF; }
tbody > tr > td.popover-data, tbody > tr > td.cell-link {
  transition: background .5s ease, color .5s ease;
  -o-transition: background .5s ease, color .5s ease;
  -moz-transition: background .5s ease, color .5s ease;
  -webkit-transition: background .5s ease, color .5s ease;
}
table.table-striped > tbody > tr.highlightRow > td {
    background: #FA9933AA;
    color: #003355;
}
.table-striped tbody > tr.selected-row > td { background-color: #D7E7FF; }
.table-striped tbody > tr:nth-child(even) > td { background: #FCFDFE; }
.table-striped tbody > tr:nth-child(odd) > td { background: #F1F2F3; }
.table-striped tbody > tr > td.popover-data:hover,
.table-striped tbody > tr > td.cell-link:hover {
    background: #F19933;
    color: #003355;
    cursor: pointer;
}
table.table-flat-white { background: #FFFFFF;border: 0px solid #FFFFFF; }
table.table-flat-white tbody > tr > td { background: #FFFFFF; }
table.table td { vertical-align: middle; }
/*form .row-fluid, .main_container > div > .row-fluid  { margin-bottom: 25px; }*/
input[type="file"] { height:33px;line-height:15px;padding-top:2px; }
select:focus { outline: 0;border-color: rgba(82, 168, 236, 0.8); }
input:focus, select:focus, textarea:focus { background: #DEFFFF; }
textarea[readonly], input[type="text"][readonly] {
    background: #EEEEEE;
    border-color: #CCCCCC;
    box-shadow: none;
    outline-width: 0;
}
input.rounded {
    border-radius: 1em 0 0 1em; /* CSS3 */
    -moz-border-radius: 1em 0 0 1em; /* Firefox */
    -webkit-border-radius: 1em 0 0 1em; /* Safari, Chrome */
    text-align: center;
}
a [class^="icon-"] {text-decoration: none;}
.table .cell-limiting { max-width: 1px; }
.table .cell-ellipses {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.floatRight {float:right;}
.floatLeft {float:left;}
.clearRight {clear:right;}
.clearLeft {clear:left;}
.clearBoth {clear:both;}
.rg-blu-bg  { background: #002D55; }
.rg-blu-txt { color: #002D55; }
.rg-org-bg  { background: #F18A2D; } 
.rg-org-txt { color: #F18A2D; }
.rg-fnt-200 { font-weight: 200; } /* x-light */
.rg-fnt-300 { font-weight: 300; } /* light */
.rg-fnt-400 { font-weight: 400; } /* regular */
.rg-fnt-600 { font-weight: 600; } /* normal */
.rg-fnt-700 { font-weight: 700; } /* bold */
.rg-fnt-900 { font-weight: 900; } /* black */
.gray-line  { border: 1px solid #CCCCCC; }
.alignLeft   {text-align:left;}
.alignCenter {text-align:center;}
.alignRight  {text-align:right;}
.txtRgt     { text-align: right; }
.txtLft     { text-align: left; }
.txtCtr     { text-align: center; }
.tblAlt     { border-collapse: collapse; }
.tblRgt     { text-align: right; }
.tblLft     { text-align: left; }
.tblCtr     { text-align: center; }
.dateCol    { width: 14%; min-width: 100px; }
.tblPagHead th.no-wrap { white-space: nowrap; }
.tblPagHead th.wrapped { white-space: normal; }
.main_container {  background: #E5E6E7; }
/*.user_side { padding: 30px 15px; background: #FFFFFF; } */
.user_side { padding: 15px 15px; background: #FFFFFF; }
.footer-wrap {
    z-index: 1111;
    position: fixed; 
    bottom: 0; 
    right: 0; 
    width: 100%; 
    background: #292e34; /* #002b55; */
    border-top: 1px solid #404244; /*#103B5D; */
}
.navbar .btn.btn-navbar { background: #ff0006; margin: 7px; float:left; } /* F18A2D */
.nav-collapse.collapse {  background: #292e34; width: 65px; } /* johnz #002B55*/
.form-horizontal .control-group, .form-horizontal .control-group2{margin-bottom:10px;}
.btn-small { margin:3px;padding:3px 15px; }
.btn.btn-primary { background: #002C55; }

.widget-header .nav-tabs > li.active a { font-weight: 600; }
.widget-header .nav.nav-tabs li > a:hover {
    color: #FFFFFF;
    background: #f79955;
}

.filter-check { padding-top: 4px; }
.filter-check > input[type="checkbox"] {
    margin-top: 0;
    margin-right: 5px;
    margin-bottom: 3px;
}
.nav-tabs>li>a>span { font-size: 13px; }
.cmt-head { max-width: calc(99% - 88px); }
.comment-bubble { margin: 20px; }
.comment-bubble .subject, .comment-bubble .message {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    overflow: hidden;
}
.comment-bubble .subject {
    color: #62687E;
    font-weight: 700;
    font-size: 14px;
}
.emptySetMsg { text-align: center; }
.popover     { text-align: center; font-weight: bold; z-index: 1000; }
.popoverData:hover { cursor: pointer; }
.starting-sort { border-bottom: 3px solid #F18A2D; }
.sorted-column { border-bottom: 2px solid #F18A2D; }
.alertify-logs { top: 35px; right: 0; height: 75px; }
.alertify-buttons { text-align:center; }
.alertify-button-ok { 
    background: #002C55; 
    color: #FFFFFF;
    text-align: center;
/*    width: 70px;  */
}
.alertify-button-ok:hover { background: #285078;color:#fff; }
.alertify-button:hover { text-decoration: none; }
.alertify-hidden {
    display: block;
    visibility: hidden; /* <-- fixes blocking */
    height: 0;
}
.large-icon   { font-size: 20px; }
.upload-grp   { max-width: calc(100% - 50px); }
.upload-msg   { padding: 10px 15px; }
.notSpecified { color: #BBB; }
.totalHL { font-size: 18px; font-weight: 700; }
.parameter-isDefault {
  margin:2px 2px;
  padding:1px 8px;
  float:left;
  background:#f7fff7;
  color:#8a8;
}
.parameter-isDefault:hover {background:#e7ffe7;color:#595;cursor:pointer;}
.parameter-changed {
  margin:2px 2px;
  padding:1px 8px;
  float:left;
  background:#FFF3F3;
  color:#ff0000;
}
.parameter-changed:hover {
  background:#f9c5c5;
  color:#bc1010;
  cursor:pointer;
}
.parameter-normal {
  margin:2px 2px;
  padding:1px 8px;
  float:left;
  background:#f7f7f7;
  color:#aaa;
}
.parameter-hover { background:#BBB;color:#000;cursor:pointer;}
.param_bg {background:#666;cursor:pointer;color:#fff;}
.param_selected { background:#7CB5EC; }
.fieldParams {
  float:left;
  margin:3px;
  width:210px;
  border-radius: 2px;
  border: 1px solid #999;
}
.fieldParams > label { margin:0px;height:35px;line-height:33px; }
.wsb_fields,  .wsb_fields,
.rgs1_fields, .rgs2_fields,
.rgs1_params, .rgs2_params,
.rgs1_config, .rgs2_config {
  padding:3px 20px;
  background:rgba(200,200,200,.25);
  cursor:pointer;
}
.wsbFieldArray,
.wsbParamsList,
.rgsFieldArray,
.rgsParamsList,
.rgsConfigList {
  top:0;left:0px;
  display:none;
  position:absolute;
  background: rgba(200,200,200,.88);
  z-index:100;
  padding:20px;
  width:100%;
}
.rgsParamsList > div > div.parameter-normal,
.rgsParamsList > div > div.parameter-changed,
.rgsParamsList > div > div.parameter-isDefault,
.wsbParamsList > div > div.parameter-normal {
  text-align: center; width: 240px;
}
.config-wrap { margin: 0 auto; width: 444px; }
.configuration {
  float:left;
  width:210px;
  margin:3px 5px;
  padding:3px 7px;
  border:1px solid #AAA;
  border-radius:5px;
  background:#f1f1f1;
  font-weight:600;
  font-size:16px;
  color:#777;
}
.reset-Fields {
  float: left;
  margin: 5px;
  padding-left: 20px;
  width: 210px; height: 30px;
  line-height: 30px;
  background: #AAA;
  border: 1px solid #777;
}
.reset-Fields:hover {
  background:#555;
  color:#FFF;
  cursor:pointer;
}
.menu-icon:hover { cursor: context-menu; }
.popup-menu {
  display: none;
  position: absolute;
  z-index: 101;
  top:7px; right:100px;
  padding: 5px;
  background: rgba(202,202,202,0.75);
  border: 1px solid #DCDCDC;
  border-radius: 5px 0 0 5px;
}
.popup-menu a {
  margin: 1px;
  padding: 0 10px;
  color: #111;
  font-weight: 400;
  background: transparent;
}
.popup-menu a.active { background: #70ACE9; }
.popup-menu {
  display: none;
  position: absolute;
  z-index: 101;
  top:7px; right:100px;
  padding: 5px;
  background: rgba(202,202,202,0.75);
  border: 1px solid #DCDCDC;
  border-radius: 5px 0 0 5px;
}
.popup-menu a {
  margin: 1px;
  padding: 0 10px;
  color: #111;
  font-weight: 400;
  background: transparent;
}
.popup-menu a.active { background: #70ACE9; }
.popup-menu a:hover {  background: #777; color:#EEE; }
.cell-link { color: #003355; }
.cell-link a { display: block; padding: 4px; margin: -4px;  }
.cell-link a:hover { text-decoration: none; }
.status-marker {
  position: relative; top: 2px;
  height: 15px; width: 15px;
  background-color: #999999;
  border-radius: 50%;
  border: 2px solid #5A5A5A;
  display: inline-block;
}
.status-marker.status-ok { background-color: #77BB77; }
.status-marker.status-alarm { background-color: #EE3333; }
.status-marker:hover { cursor: pointer; }
/* addin 12-12-18 */
.row-fluid .training-lft-custom-span,
.row-fluid .training-rgt-custom-span {
  display: block;
  min-height: 30px;
  box-sizing: border-box;
  float: left;
  margin: 0;
}
.row-fluid .training-lft-custom-span { width: 23.077%; }
.row-fluid .training-rgt-custom-span { width: 76.923%; }
.training-full-list .training-box-wrap {
  float: left;
  width: 30%;
  margin-left: 3.333%;
}
.training-single .training-box-wrap { float: right; width: 50%; }
.limit-ctr-row { max-width: 1500px;  margin: 25px auto; }
.training-main-head { color:#00253D;font-size:20px;font-weight:700;}
.training-main-box:hover, 
.training-back-btn:hover { cursor:pointer; }
.training-main-box { background: #F1882E;  margin: 20px 0 40px;}
.training-main-img {  width: 50%;   margin: 25%;}
.training-collapse-head > div { margin: 10px 0; padding-top: 10px;height: 40px;}
.training-collapse-head:hover,
.training-sidebar-collapse:hover {
  text-decoration: none;
}
.training-collapse-btn {
  float: right;
  padding-left: 15px;
  color: #F1882E;
  font-size: 18px;
}
.training-collapsible a, 
.training-top-3 a {
  color: #889099;
}
.training-top-3 {
  margin-top: 30px;
  color: #889099;
}
.training-link-item {
  display: inline-block;
  margin-top: 2px;
  width: calc(100% - 16px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.training-link-icon {
  float: right;
  margin-top: 5px;
  width: 15px; height: 15px;
  background-image: url(/assets/img/rgt-arrow-icon.png);
  background-size: cover;
}
.training-form { color: #889099;}
.training-form input[type='radio'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  float: right;
  border: 1px solid transparent;
}
.training-form input[type='radio']:after {
  margin-top: 2px;
  width: 5px;
  height: 5px;
  content: '';
  display: inline-block;
  visibility: visible;
  border-radius: 10px;
  border: 5px solid #FFFFFF;
  background-color: #FFFFFF;
}
.training-form input[type='radio']:checked:after { background-color: #00253D; }
.training-form input[type='radio']:focus {outline: 0; background: transparent; }
.training-form label {
  margin-bottom: 0;
  margin-top: 3px;
  width: calc(100% - 18px);
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.training-link:hover { text-decoration: none; }
.training-hr-1 {
  margin: 5px 0;
  border-top: 1px solid #959CA1;
  border-bottom: 1px solid transparent;
}
.training-hr-2 { margin: 0;  border: 1px solid #959CA1;}
.training-box-wrap, .training-sidebar-wrap { max-width: 350px;margin: 0 auto 4.4%;}
.training-box-wrap a:hover { text-decoration: none;}
.training-sidebar-head {
  font-size: 20px;
  font-weight: 700;
  color: #00253D;
  margin: 20px 0;
}
.training-content-head {
  padding: 15px;
  font-size: 15px;
  font-weight: 600;
  color: #FFF;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #F1882E;
}
.training-pdf-desc {
  height: 200px;
  background: #FFF;
  color: #889099;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid #CCC;
  padding: 5%;
}
.training-pdf-icon { width: 100%;  max-width: 164px;}
.training-pdf-overview { width: 100%;  max-width: 250px;}
.training-content-img { width: 100%;  max-width: 500px;}
.training-box-button {
  padding: 10px;
  background: #F3F3F3;
  color: #00253D;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.training-box-button:hover { background: #00253D;  color: #FFF;}
.training-btn-lft { width:50%;float:left;border-right: 1px solid #CCC;}
.training-btn-rgt { width:50%;float:right;border-left: 1px solid #CCC;}
.training-btn-pair:after { content: '';display: table;clear: both;}
/* end of 12-12 addin */
#loadStatus, #saveStatus, #videoOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1111;
}
#loadStatus, #saveStatus {
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  color: #FFF;
}
#addItem-desc, .xs-desc { color: #00264B; font-size: 16px; }
#admin-wrap { background: #234;color: #FFF;border-bottom: 2px groove #012;}
#admin-container {
  float: right;
  width: 100%;
  max-width: 500px;
  padding-top: 7px;
  padding-bottom: 8px;
}
#customerAjax { width: 100%; }
#brand-logo { text-align: center;}
#brand-logo img { 
    width: 100%; 
    max-width: 350px; 
    height: auto;
    float: none; 
    border-radius: 0;
}
#main-menu.accordion {overflow: auto; height: calc(100% - 150px);}
/*@media (min-width: 768px) and (max-width: 999px) { */
@media (min-width: 768px) { 
  #main-menu.accordion { height: calc(100% - 60px); } /* johnz rg-side-menu */
}
#main-menu .accordion-group {margin-bottom: 0; }
#main-menu .accordion-heading { text-align:center; }
#main-menu .accordion-heading, #main-menu .accordion-inner { 
    background:#292e34; /*rgba(0, 43, 85, 1);*/  /*#002B55;*/
    margin: 0 0px;
}
#main-menu .accordion-heading a, #main-menu .accordion-inner a {
    border-bottom: 2px solid #404244; /*#204060;*/
    border-left: none;
}
#main-menu .accordion-heading a.active, #main-menu .accordion-inner a.active {
    border-bottom: 1px solid #ff0006; /*F18A2D; */
    border-left: none;
}
#main-menu .accordion-heading .accordion-toggle { padding: 22px 11px;}
/*#main-menu .accordion-inner a { padding: 10px 50px;} */
#main-menu .accordion-inner a { padding: 10px 5px;}
#main-menu .accordion-heading a:hover, #main-menu .accordion-inner a:hover { 
    border-left: none;
    background-color: rgba(40, 80, 120, 1); /*#285078;*/
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
/* johnz */
#rg-side-menu.sidebar-nav .accordion-toggle.collapsed[data-toggle]:before {
    content : ""; 
    background-image: url("/assets/icon/arrow-r.png")!important;
    background-size: cover;
    height: 20px; width: 20px;
    margin-top: 10px;
}
/* johnz */
#rg-side-menu.sidebar-nav .accordion-toggle[data-toggle]:before {
    content : "";
    background-image: url("/assets/icon/arrow-d.png")!important;
    background-size: cover;
    height: 20px; width: 20px;
    margin-top: 12px;
}
#menu-art {
    margin-top: 25px; 
    height: 225px; width: 150px; 
    background-image: url("/assets/img/menu-art.png"); /*!important;*/
    background-repeat: no-repeat;    
    background-size: contain; 
}
#uploadMsg  { color: red; margin: 10px 3px; }
#uploadFile { border: 1px solid #CCC; }
#uploadInfo {
    width: 84%;
    border: 2px groove #ABC;
    border-radius: 5px;
    margin: 15px 0; padding: 10px;
    color: #555; font-size:11px;
}
/*
#filter-display>div { padding: 5px;margin: 0 auto;width: 360px; }
#filter-display>div>label {
    float: left;
    width: 80px;
    padding-top: 5px;
    margin-right: 10px;
    text-align: right;
}
*/
#footer-info {
    line-height: 25px;
    font-size: 13px; 
    font-weight: 300; 
    color: #FFF;
}
#toTop-bar {
    z-index: 100001;
    padding: 0 10px;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 35px;
    color: #FFF;
    text-align: center;
    line-height: 30px;
    background: rgba(0, 44, 88, 0.88);
    display: none;
}
.input-append .add-on:last-child { border-radius: 5px; }
.modalClose { position: relative; z-index: 1; }
/*============ scroll overlay 04-20-20 ============*/
.table-wrap {
  min-height: 250px;
  max-height: 525px;
  max-height: calc(88vh - 150px);
  padding-bottom: 15px;
  overflow: auto;
  border: 1px solid #CCC;
  border-radius: 4px;
}
.report-table thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #FFF;
  border: 1px solid #CCC;
}
.report-table .sorted-column { border-bottom: 2px solid #F18A2D; }
.report-table .starting-sort { border-bottom: 3px solid #F18A2D; }
.u-scroll-overlay, .d-scroll-overlay {
  display: none;
  width: calc(100% - 30px);
  height: 25px;
  margin: 0 15px;
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  cursor: pointer
}
.u-scroll-overlay {
  z-index: 1;
  position: absolute;
  top: 64px; left: 0;
  border-radius: 0 0 7px 7px;
  background: -moz-linear-gradient(top, rgba(99,99,99,0), rgba(255,255,255,1));
  background: -webkit-linear-gradient(top, rgba(99,99,99,1), rgba(255,255,255,0));
}
.d-scroll-overlay {
  z-index: 1;
  position: absolute;
  bottom: 15px; left: 0;
  border-radius: 7px 7px 0 0;
  background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(99,99,99,1));
  background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(99,99,99,1));
}
.staging-indicator {
  width: 100%; 
  height: 33px; 
  background: rgb(235,137,55); 
}
.staging-message {
  margin-left: 265px;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}
#myProdLogWrap { width: 600px; }

/*=====  MEDIA QUERIES - max widths  =====*/
@media (max-width: 1250px) { 
  .row-fluid .training-lft-custom-span { width: 31%; }
  .row-fluid .training-rgt-custom-span { width: 69%; }
  .training-full-list .training-box-wrap { width: 45%;margin-left: 5%; }
}

@media (max-width: 999px) { 
  #admin-container, #footer-info { padding: 5px 25px; }
  .staging-message { margin-left: 0; }
}

@media (max-width: 767px) { 
  .row-fluid .training-lft-custom-span,
  .row-fluid .training-rgt-custom-span,
  .training-single .training-box-wrap,
  .training-full-list .training-box-wrap {
    float: none;
    width: 100%;
    margin: 0 auto 25px;;
  }

  #myProdLogWrap { width: 450px; }

  /*======= addin on 04-2020 =======*/
  .table-wrap { max-height: 380px; } 
  .u-scroll-overlay, .d-scroll-overlay {
    height: 30px;
    line-height: 2;
    width: calc(100% - 10px);
    margin: 0 5px;
  }
  .u-scroll-overlay { top: 54px; }
  .d-scroll-overlay { bottom: 5px; }
}

@media (max-width: 680px) { 
    .alertify {left: 50px;width: calc(100% - 100px);}
}

@media (max-width: 525px) { 
    .nav-tabs, .nav-pills {width: 98%;border: 1px solid #CCC;text-align: center;    }
    .nav-tabs > li, .nav-pills > li {	float: left;   }  /*none for fullscreen*/
    .nav-tabs > li > a > span { 	display: none; }  /*hide the tab text*/
    /* nav-tab pointer */
    .widget-header .nav-tabs > .active > a:after { display: block;margin: 0 -8px; }
    /*.table tr > td {padding: 5px !important;font-size: 13px; } */
}

@media (max-width: 480px) { 
    #admin-container, #footer-info {padding: 5px 10px;}
    #myProdLogWrap { width: 300px;}
}

@media (max-width: 400px) { 
    #filter-display>div {width: 300px;height: auto;}
    #filter-display>div>label {float: none;text-align: left;}
}

/*=====  MEDIA QUERIES - min widths  =====*/
@media (min-width: 768px) { 
    .main_container {padding-left: 25px;padding-right: 25px;}
    .pull-rgt-sm { float: right;}
    /*#rg-side-menu.nav-collapse.collapse {left: -265px;}*/ /* johnz */
}
/*
@media (min-width: 1000px) { 
    #admin-container, #footer-info {padding: 5px 50px 5px 25px;}
    .main_container {
        margin-left: 265px!important;
	padding-left: 50px;
	padding-right: 50px;
    }
}

@media (min-width: 1200px) { 
    #admin-container, #footer-info {padding: 5px 75px 5px 25px;}
    .main_container {padding-left: 75px;padding-right: 75px;}
}
*/
@media (hover:hover) { 
  .table-striped tbody > tr > td.popover-data:hover, 
  .table-striped tbody > tr > td.cell-link:hover {
    background: #F19933;
    color: #003355;
    cursor: pointer;
  }

  /*======= addin on 04-20-20 =======*/  
  .u-scroll-overlay:hover, .d-scroll-overlay:hover {
    color: #FFF;
    background: rgba( 99, 99, 99, 0.73 );
    border: 1px solid #555;
  }
}


/*============  general classes  ============*/
.tcw-2  { width: 2%; min-width: 10px; }
.tcw-4  { width: 4%; min-width: 20px; }

.tcw-8th { width: 12.5%; min-width: 73px; }

.tcw-10 { width: 10%; min-width: 50px; }

.tcw-15 { width: 15%; }
.tcw-20 { width: 20%; }
.tcw-25 { width: 25%; }

.tcw-30 { width: 30%; }
.tcw-40 { width: 40%; }
.tcw-50 { width: 50%; }
.tcw-60 { width: 60%; }

.tcw-33, .one-third { width: 33.33%; }

.limit-48 { width: 48%; }

.full-width { width: 100%; }

.mb-15 { margin-bottom: 15px; }

.mobile-icon {
  width: 100%;
  display: inline-block;
  line-height: 1;
  text-align: center;
}

@media only screen and (min-width: 768px) { 
  .mobile-icon { display: none; }
}

.btn.btn-primary.appear-disabled {
  background: #002C55A1;
}

/*
label.rad-btn-lbl {
  float: left;
  width: 125px;
  padding: 5px 10px;
  border: 1px solid #CCC;
}

input.ctrl-shift {
  margin: 0 7px 0 0;
  position: relative;
  top: -1px;
}
*/

.show-pointer:hover { cursor: pointer; }

.gray-F5 { background: #F5F5F5; }
.gray-ED { background: #EDEDED; }


/*======================  machine pages (RGS/WSB) ======================*/

.timing-pair { display: inline-block; }

.widget-buttons.button-static a, .add-icon-btn {
  padding: 5px;
  background: #1E4168;
  border-radius: 3px;
}


@media (max-width: 545px) {  
  .timing-pair, .special-shift {
    display: block;
    margin: 10px 90px 0;
  }
}

@media (max-width: 400px) {  
  .timing-pair, .special-shift {
    display: block;
    margin: 10px 0 0;
  }
}

input[type="checkbox"].fields_checkbox { margin: 5px; }

#filter-display.wideSet>div { width: 500px; max-width: 100%; }

#filter-display.wideSet .input-append, .time-group .input-append { display: inline; }

#filter-display.wideSet .input-append .add-on, .time-group .input-append .add-on { margin-right: 5px; }

#updateDataOverlay {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.73);
  z-index: 1111;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #FFF;
}

.field-heading {
  width: 210px;
  margin: 3px;
  padding: 5px 7px;
  font-weight: 700;
  font-size: 15px;
  background: #888;
  border-radius: 3px;
  color: #EEE;
}


#blender-tabs .nav-tabs > li > a {
  background: #CCC;
}

#blender-tabs .nav-tabs > li.active > a {
  font-weight: 700;
  color: #333;
  background: #FFF;
}

#blender-tabs .nav-tabs > li > a:hover, #blender-tabs .nav-tabs > li.active > a:hover {
  background: #333;
  color: #CCC;
}

#blender-tabs .tab-content { border: 1px solid #CCC; }

#blender-tabs .tab-pane {
  padding: 15px;
  position: relative;
  min-height: 500px;
}


/*============  G2 blender-recipes  ============*/
#myRecipeWrapper { width: 280px; }

#recipe-table input:invalid {
  border: 2px groove #FF7777;
  background: #FFCCCC;
  color: #555;
}

#recipe-table input[type=number]:read-only { 
  background-color: #E1E1E1;
}

input[type="text"][readonly].select-recipe { 
  background: #DDD; 
  max-width: calc(100% - 28px);
}

input[type="number"].highlighter {
  background: #FFFF99;
}

input[type="number"].invalid-number {
  background: #FFAAAA;
}

#recipe-table input[type="text"]:hover {
  cursor: context-menu;
  background: #D7E7FF;
  color: #003355;
}

#recipe-table .clear-on {
  color: #F00;
  cursor: pointer;
}

#recipe-table .clear-off {
  color: #FCC;
  cursor: default;
}

#recipe-list tr:nth-child(odd) {
  background-color: #F1F2F3;
}

#recipe-list tr:hover {
  cursor: pointer;
  background-color: #BBDDFF;
}

#material-list tr:nth-child(even) {
  background-color: #FCFDFE;
}

#material-list tr:nth-child(odd) {
  background-color: #F1F2F3;
}

#material-list tr:hover {
  cursor: pointer;
  background-color: #D7E7FF;
}

#myMaterialWrapper { width: 280px; }

.rec-num-grp { max-width: calc(100% - 50px); }


@media only screen and (min-width: 555px) { 
  #myMaterialWrapper, #myRecipeWrapper { width: 460px; }
}

@media only screen and (min-width: 768px) { 
  #myMaterialWrapper { width: 640px; }
}

/*============  G2 blender-line-recipes  ============*/
#machineLine.ref-line-grp { max-width: 77%; }

#machineLine option.hide-line { display: none; }

#line-recipe-table .recipe-select {
  border: 1px solid #AAA;
  background: #DDD;
}

#line-recipe-table .recipe-select:hover {
  cursor: context-menu;
  background: #D7E7FF;
  color: #003355;
}

#recipeModal { width: 280px; }

#lineRecipeWrap {
  width: 95%;
  margin: 10px auto;
}

#limitLineSlider {
  display: none;
  width: 100%;
  margin: 0 auto;
  background: #757575;
  color: #E7E7E7;
  border: 2px solid #AAAAAA;
  border-radius: 5px 5px 15px 15px;
}

#limitLineWrap {
  padding: 7px;
  height: 200px;
  overflow: auto;
  background: #F1F1F1;
  color: #333;
}

#limitLineWrap .limitLine {
  float: left;
  margin: 5px;
  padding-top: 5px;
  padding-left: 10px;
  width: calc(100% - 10px);
  overflow: hidden;
  border-radius: 4px;
  background: #CCC;
}

#limitLineWrap .limitLine > label {
  margin-right: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#limitLineWrap .limiting-selected {
  background: #7CB5EC
}

#limitLineWrap .limitLine.hide-line {
  display: none;
}

#line-recipe-table .popover {
  width: 300px;
  font-weight: 600;
  text-align: center;
 }

#line-recipe-table .popover-data {
  text-align: center;
  min-width: 25px;
}

#line-recipe-table .pseudo-in {
  height: 30px;
  width: 100%;
  padding: 5px;
  color: #AAA;
  border: 1px solid #DDD;
  background: #EFEFEF;
  border-radius: 2px;
}

#line-recipe-table .cell-limiting { max-width: 1px; }

#line-recipe-table .cell-limiting .pseudo-in {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#line-recipe-table .table-compact td { padding: 3px; }

#line-recipe-table .table-compact td:first-child { background: #AAA; color: #333; }


@media only screen and (min-width: 555px) { 
  #recipeModal { width: 460px; }
  #lineRecipeWrap { width: 75%; }
  #limitLineSlider { width: 68%;  }
  #limitLineWrap .limitLine { width: calc(50% - 10px); }
}

@media only screen and (min-width: 768px) { 
  #recipeModal { width: 640px; }
}


/*============  G2 both recipe & line-recipe  ============*/
#log-details th {
  height: 40px; 
  vertical-align: middle;
}

#monitor-table-wrap {
  width: 100%;
  margin: 20px auto;
}

#line-recipe-table, #recipe-table, #monitor-table { width: 100%; }

#recipe-table input:invalid {
  border: 2px groove #FF7777;
  background: #FFCCCC;
  color: #555;
}

#monitorMessage {
  color: #555;
  font-size: 22px;
  padding-top: 5px;
  text-align: center;
}

#log-table-wrap {
  max-height: 700px;
  overflow: auto;
  border: 1px solid #CCC;
  border-radius: 4px;
}

.log-tbl thead th {
   position: -webkit-sticky;
   position: sticky;
   top: 0;
   z-index: 1;
   background: #FFF;
   border: 1px solid #CCC;
}

.log-cancel {
  cursor: pointer;
  margin: auto;
  width: 15px;
}

.select-icon {
  position: relative;
  top: 4px;
  cursor: pointer;
  padding-left: 5px;
  color: #777;
  font-size: 20px;
}

.select-icon:hover { color: #335577; }


@media only screen and (min-width: 768px) { 
  #myRecipeWrapper { width: 640px; }

  #monitor-table-wrap { min-width: 420px; width: 75%; }

  #lineRecipeWrapper { width: 450px; }
}


/*============  G2 LR DL  ============*/
#lineRecipeWrapper { width: 325px; }

#lineRecipeName:hover {
  background: #D7E7FF;
  color: #003355;
  cursor: context-menu;
}

#lineRecipe-list tr:nth-child(even) {
  background-color: #FCFDFE;
}

#lineRecipe-list tr:nth-child(odd) {
  background-color: #F1F2F3;
}

#lineRecipe-list tr:hover {
  cursor: pointer;
  background-color: #D7E7FF;
}

#recipe-table tr.slider, #monitor-table tr.slider { line-height: 0; }

#recipe-table tr.slider > td > div, #monitor-table tr.slider > td > div {
  display: none;
  padding: 15px;
  line-height: 20px;
  border: 2px solid #BBB;
  border-radius: 0 0 10px 10px;
}

.dl-btn {
  width: 128px;
  margin: 2px;
}



/*============  G2 blender-material-usage  ============*/

#extra-wrapper {
  width: 486px;
  max-width: 97.5%;
  padding: 5px;
  margin: 0 auto 15px;
  text-align: center;
  background: #DDD;
  border: 1px solid #CCC;
  border-radius: 5px;
}

#extra-wrapper .conditional select {
  width: auto;
  min-width: 65px;
  max-width: 150px;
}

#extra-wrapper .conditional input {
  max-width: 150px;
}



/*============  G2 custom-label  ============*/

.th-icon { min-width: 33px; }

.op-new, .wo-new,
.op-edit:hover, .op-delete:hover,
.wo-edit:hover, .wo-delete:hover
{ cursor: pointer; }

#customLabelForm input.labelling {
  text-align: center;
  width: 100%;
  max-width: 250px;
}

#tagItemInactive:checked + span {
  font-weight: 700;
  background: #CCC;
  color: #555;
}

#search-op-wrap, #search-wo-wrap {
  width: 300px;
  text-align: center;
  margin: 0 auto 10px;
}

#tagItemForm .boxed-label {
  width: 65%;
  border: 1px solid #BBB;
  border-radius: 3px;
  margin-bottom: 0;
}

#tagItemForm .boxed-label input[type="checkbox"] {
  float: left;
  margin-top: 8px;
  margin-left: 12px;
}

#tagItemForm .boxed-label span {
  display: block;
  padding: 7px 6px;
  line-height: 1;
  text-align: center;
  margin-left: 36px;
  border-left: 2px solid #AAA;
}

#list-op, #list-wo { position: relative; }

#list-wo .u-scroll-overlay,
#list-op .u-scroll-overlay {
  top: 39px;
  width: 100%;
  margin: 0;
}

#list-op .d-scroll-overlay,
#list-wo .d-scroll-overlay {
  bottom: 0;
  width: 100%;
  margin: 0;
}

#list-op .multi-table-wrap,
#list-wo .multi-table-wrap  {
  max-height: 320px;
  overflow: auto;
  border: 1px solid #CCC;
  border-right: 1px;
  border-radius: 4px;
}

#list-op  .multi-table-wrap table thead tr th,
#list-wo  .multi-table-wrap table thead tr th {
  height: 40px;
  vertical-align: middle;
}

#list-op  .multi-table-wrap .table tbody tr.inactive-item td,
#list-wo  .multi-table-wrap .table tbody tr.inactive-item td {
  background: #EED3D7;
  color: #A95A48;
  border: 1px solid #CCC;
}


/*============  G2 cycle by cycle  ============*/

#cycle-paging {
  display: none;
  width: 85%;
  height: auto;
  min-height: 30px;
  max-width: 250px;
  text-align: center;
  padding: 5px;
  margin: 20px auto 0;
  border-radius: 7px 7px 0 0;
  background: #333;
  color: #CCC;
}

#cycle-filters {
  width: 475px;
  max-width: 100%;
  margin: 0 auto 15px;
  border: 2px solid #CCC;
  background: #DDD;
  padding-top: 15px;
  border-radius: 10px;
}

#live-tab-footer, #hist-tab-footer {
  position: absolute;
  bottom: 0; right:0;
  width: 100%;
}

#histDiff-box, #liveDiff-box {
  width: 222px;
  padding: 3px;
  margin: 0 auto;
  font-size: 17px;
  text-align: center;  
  background: #DDD;
  border: 1px solid #AAA;
  border-radius: 5px 5px 0 0;
}

#histDiff-box label, #liveDiff-box label {
  display: inline-block;
  text-align: center;
  margin: 3px;
  width: auto;
}

#histDiff-box label.disable-label {
  color: #AAA;
}

#liveTableWrap, #histTableWrap { overflow: auto; border: 1px solid #777; }

#histTableWrap .table-striped thead tr th { vertical-align: middle; }

#histTableWrap .table-striped tbody > tr.newbie > td { background: #DDEEFF; }

#histTableWrap .table-subtotal { margin: 10px 0; border: 1px solid #AAA; }

#histTableWrap .table-subtotal td { border: 1px solid #999; }

#extraDetailWrap {
  min-height: 100px;
  max-width: 555px;
  margin: 0 auto;
  background-color: #F7F7F7;
  border: 1px solid #AAA;
  border-radius: 10px;
  overflow: hidden;
}

#extraDetailWrap .extra-message {
  text-align: center;
  font-weight: 600;
}

#extraDetailWrap .extra-message .cycle-detail-head {
  padding: 5px;
  background: #333;
  color: #EEE;
  font-weight: 400;
}

#cycleTableWrap {
  display: none;
  margin: 15px auto;
  overflow: scroll;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#cycleTableWrap .sticky-col {
  position: -webkit-sticky;
  position: sticky;
  background-color: #F7F7F7;
  border-right: 2px solid #C3C3C3;
  min-width: 75px;
  left: 0px;
}

#cycleTableWrap .limit-width { width: 250px; }

#cycleTableWrap .highlight-col { background-color: #FFFF77; }

#cycleTableWrap td { cursor: pointer; }

.cycles-overview-chart {
  width: 100%;
  height: 300px;
  padding: 10px;
  margin: 25px 0;
  border: 1px solid #777;
  border-radius: 10px;
  box-shadow: 0 2px 4px #777;
}

@media (min-width: 1400px) {
  #cycle-filters {
    float: left;
    margin-right: 15px;
  }
}

/*============  G2 Dashboard  ============*/
.dash-wrap thead tr th { vertical-align: middle; }
.dash-wrap tbody > tr.selected-row > td  { background-color: #FFFF88; }
.dash-wrap tbody > tr.comp-on:hover > td { cursor: pointer; background-color: #D7E7FF; }

.dash-wrap tr.comp-off>td { background: #FFFAFA; color: #CFCFCF; }
.dash-wrap tr.comp-on>td  { background: #F7FFF7; }

.dash-chart-wrap {
  width: 100%;
  height: 250px;
  padding: 7px;
  border: 3px solid #CCC;
  border-radius: 7px;
}

.dash-mod-size {
  float: left;
  width: 100%;
  margin-top: 0;
  margin-bottom: 25px;
}
/*
@media (max-width: 1525px) {  
  .dash-wrap.span6.mod-span {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (min-width: 2400px) { 
  .dash-mod-size {
    width: 49%;
    margin-bottom: 2%;
  }
  .row-fluid [class*="dash-mod-size"]:nth-child(odd) {
    margin-left: 0;
    margin-right: 1%;
  }
  .row-fluid [class*="dash-mod-size"]:nth-child(even) {
    margin-left: 1%;
    margin-right: 0;
  }
}

@media (min-width: 4000px) { 
  .dash-mod-size {
    width: 32%;
    margin-bottom: 1.5%;
  }
  .row-fluid [class*="dash-mod-size"]:nth-child(3n+1) {
    margin-left: 0;
    margin-right: 1%;
  }
  .row-fluid [class*="dash-mod-size"]:nth-child(3n+2) {
    margin-left: 1%;
    margin-right: 1%;
  }
  .row-fluid [class*="dash-mod-size"]:nth-child(3n+3) {
    margin-left: 1%;
    margin-right: 0;
  }
}
*/

/*============  BOT monitor  ============*/
.bot-menu-wrap { cursor: pointer; width: 22px; margin: auto; }

.bot-menu-wrap + .popover { width: auto; }
.bot-menu-wrap + .popover .popover-title { display: none; }
.bot-menu-wrap + .popover .popover-content { padding: 3px; font-size: 12px; }
.bot-menu-wrap + .popover .menu ul li:hover { background: #AACCFF; }


/*============  special cases  ============*/
#alertify-logs { display: none; }

#gritter-notice-wrapper { z-index: 999; }

#gritter-notice-wrapper .gritter-close:hover:before { color: #333; }

.gritter-warn .gritter-item { background: #F2DEDE; color: #B94A48; }

.gritter-success .gritter-item { background: #5CB85C; color: #FFFFFF; }

.desc-tt:hover { cursor: pointer; }

.modalClose { position: relative; z-index: 1; }

.one-liner { white-space: nowrap; }

.special-margin-clear { margin-left: 0!important; }

.highcharts-container, .highcharts-container svg { overflow: visible !important; }

.tooltip { z-index: 9999; position: absolute; } /*was fixed*/

td.truncated {
  max-width: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hide-small { display: none; }

@media only screen and (min-width: 768px) {  
  .hide-small { 
    display: inline-block; margin-right: 5px;
  }
}


.form-check {
    display:block;min-height:1.5rem;padding-left:1.5rem;margin-bottom:.125rem;
}
.form-check input[type="checkbox"] {border-radius:.25em;}
.form-check-input {float:left;margin-left:-1.5em;}
.form-check label {display:inline-block;margin-left:.5em;}

#machineLoading {display:none;position:absolute;top:0px;left:0px;width:100%;height:200px;background:rgba(55,55,55,.5);}
.pageLoader {
  border: 16px solid #f3f3f3; /* Light grey */
  /* border-top: 16px solid #3498db;*/ /* Blue */
  border-top: 16px solid #666; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1.2s linear infinite;
  margin:20% auto;
}
/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.buttonElement {
  display: inline-block;
  position: relative;
  padding: 0;
  margin-right: .1em;
  text-decoration: none !important;
  cursor: pointer;
  text-align: center;
  zoom: 1;
  overflow: visible; /* the overflow property removes extra width in IE */
  font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em;
  padding: .4em 1em;
}
.buttonElement:hover { border:1px solid #fbcb09;background: #fdf5ce;font-weight:bold;color:#c77405; }
.buttonElement_gray  { border:1px solid #AAA;   background:#DDD;    font-weight:bold;color:#595959; }
.buttonElement_blue  { border:1px solid #30758E;background:#ABDEF2; font-weight:bold;color:#0A6284; }
.buttonElement_red   { border:1px solid #8C0000;background:#CC0606; font-weight:bold;color:#FFF;    }
.buttonElement_green { border:1px solid #45930B;background:#80BD52; font-weight:bold;color:#FFF;    }
.buttonElement_orange {border:1px solid #f27b2b;background:#F5D674;font-weight:bold;}
.buttonElement_purple {border:1px solid #c665f7;background:#CB93EE;font-weight:bold;}
.buttonElement_ltblue {border:1px solid #38B1DA;background:#A7DAD8;font-weight:bold;}
.buttonElement_ltgreen { border:1px solid #45930B;background:#99D468; font-weight:bold;color:#FFF;    }
.buttonElement_ltred   { border:1px solid #D6444B;background:#ED5564; font-weight:bold;color:#FFF;    }

.be_gray      {border:1px solid #AAA;   background: #DDD;   font-weight:bold;color:#595959;}
.be_red       {border:1px solid #e55961;background: #f36e77;font-weight:bold;color:#fff;}
.be_orange    {border:1px solid #e36457;background: #f37668;font-weight:bold;color:#fff;}
.be_tangerine {border:1px solid #f07a4f;background: #f99061;font-weight:bold;color:#fff;}
.be_yellow    {border:1px solid #fac750;background: #fdd666;font-weight:bold;color:#fff;}
.be_lime      {border:1px solid #bdcb62;background: #cdda7b;font-weight:bold;color:#fff;}
.be_green     {border:1px solid #9bc276;background: #a7d97b;font-weight:bold;color:#fff;}
.be_mint      {border:1px solid #4bbd72;background: #4cd182;font-weight:bold;color:#fff;}
.be_teal      {border:1px solid #47c7be;background: #52d5cc;font-weight:bold;color:#fff;}
.be_ltBlue    {border:1px solid #40bfe2;background: #5bcceb;font-weight:bold;color:#fff;}
a.be_blue, .be_blue      {border:1px solid #a4c7ec;background: #6daff1;font-weight:bold;color:#fff;}
.be_violet    {border:1px solid #848cde;background: #a4acf0;font-weight:bold;color:#fff;}
.be_purple    {border:1px solid #c18ee1;background: #d6a8f2;font-weight:bold;color:#fff;}

/* Corner radius */
.rad-corner-tl     { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.rad-corner-tr     { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.rad-corner-bl     { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.rad-corner-br     { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.rad-corner-top    { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.rad-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.rad-corner-right  {  -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
.rad-corner-left   { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.rad-corner-all    { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
.rad-corner-all_10 { -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; }
.rad-corner-all_20 { -moz-border-radius: 20px; -webkit-border-radius: 20px; border-radius: 20px; }
.rad-corner-all_30 { -moz-border-radius: 30px; -webkit-border-radius: 30px; border-radius: 30px; }
#msgstatus {margin:5px 20px;float:right;height:30px;width:30px;background-size:100%;}


  
