@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #333;
  text-rendering: optimizeLegibility;
  background: #f9f9f9;
}
.loader-img{
  display: none;
}
body.loader .loader-img{
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 9;
  background-image: url('../image/loader.gif');
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: auto;
  background-color: rgba(255,255,255,0.7);
  top: 0;
  left: 0;
}
h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
}
.page-header {
  vertical-align: middle;
  margin: 15px 0;
  padding: 0;
  border-bottom: none;
}
.page-header h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #03528a;
  display: inline-block;
  margin-bottom: 15px;
}
.breadcrumb {
  display: inline-block;
  background: none;
  margin: 0;
  padding: 0 10px;
}
.breadcrumb li a {
  color: #999999;
  font-size: 11px;
  padding: 0px;
  margin: 0px;
}
.breadcrumb li:last-child a {
  color: #03528a;
}
.breadcrumb li a:hover {
  text-decoration: none;
}
.breadcrumb li + li:before {
  content: "/";
  font-family: FontAwesome;
  color: #BBBBBB;
  padding: 0 5px;
}
a {
  color: #03528a;
}
a:hover, a:focus {
  text-decoration: none;
}
/* fix for bootstrap hidden and visible */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
  display: inline;
}
#container {
  min-height: 100%;
  width: 100%;
  position: relative;
}
.container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}
#header {
  min-height: 0px;
  background: #f8fbff;
  border-bottom: 1px solid #E5E5E5;
  margin: 0;
  padding: 0;
}
#header .nav > li {
  float: left;
}
#header .nav > li li {
  min-width: 200px;
}
#header .navbar-header {
  min-height: 0px;
  padding: 0;
}
/* Mobile */
@media (max-width: 767px) {
  #header .navbar-header {
    margin-right: 0px;
    margin-left: 0px;
    float: left;
  }
}
#header #button-menu + .navbar-brand {
  /*padding: 10px 10px 10px 10px;*/
  margin-right: 10px;
  height: auto;
}
.navbar-brand > img {
  margin: -10px 0 -21px 0px;
}
#header .nav > li > a {
  padding: 3px 16px;
  line-height: 38px;
  cursor: pointer;
  color: #6D6D6D;
  border-left: 1px solid #E1E1E1;
}
#header .nav > li > a > .label {
  text-shadow: none;
  padding: 1px 4px;
  position: absolute;
  top: 8px;
  left: 6px;
}
#button-menu {
  padding: 10px 17px 9px 17px;
  line-height: 25px;
  float: left;
  display: inline-block;
  cursor: pointer;
  color: #6D6D6D;
  border-right: 1px solid #E1E1E1;
}
#profile {
  display: none;
}
#column-left.active #profile {
  display: block;
  padding: 10px 15px 10px 15px;
  overflow: auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
#profile div {
  float: left;
  color: #C4C4C4;
}
#profile div i {
  font-size: 42px;
  color: #2ca5d3;
}
#profile div + div {
  margin-left: 15px;
}
#profile h4 {
  margin-top: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #FFF;
  margin-bottom: 0;
}
#column-left {
  width: 50px;
  height: 100%;
  background-color: #03528a;
  position: absolute;
  top: 0px;
  padding-top: 50px;
  z-index: 10;
  transition: all 0.3s;
}
#column-left.active {
  width: 235px;
  display: block;
}
#content {
  padding-bottom: 40px;
  transition: all 0.3s;
}
#column-left + #content {
  margin-left: 50px;
}
#column-left + #content + #footer {
  margin-left: 50px;
}
/* Mobile */
@media (max-width: 1400px) {
  #column-left {
    overflow: hidden;
    display: none;
  }
  #column-left + #content {
    margin-left: 0;
  }
  #column-left + #content + #footer {
    margin-left: 0;
  }
}
/* Menu */
#menu, #menu ul, #menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}
#menu {
  margin-bottom: 25px;
}
#menu > li {
  position: relative;
}
#menu li a {
  text-decoration: none;
  display: block;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
#menu li a i {
  font-size: 16px;
}
#menu > li > a {
  color: #D8D8D8;
  font-size: 14px;
  padding-left: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
#menu > li > a:hover {
  background-color: #2E6EA6;
}
#menu > li > a > span {
  display: none;
  margin-left: 8px;
}
#menu li li a {
  color: #D8D8D8;
}
#menu li li a:hover {
  color: #FFFFFF;
  background-color: #2E6EA6;
}
#menu li li a:before {
  content: "\f101";
  font-size: 14px;
  font-family: FontAwesome;
  margin-left: 10px;
  margin-right: 10px;
  transition: margin ease 0.5s;
}
#menu li li a:hover:before {
  margin-right: 20px;
}
#menu > li.active > a {
  color: #DDDDDD;
  background: #2E6EA6;
}
#menu li.active li a {
  color: #C4C4C4;
}
#menu li li.active > a:last-child {
  color: #FFFFFF;
}
#menu li li.active a:last-child:before {
  margin-left: 20px;
  margin-right: 10px;
}

#menu > li > ul {
  position: absolute;
  left: 50px;
  top: 0px;
  width: 210px;
  /*background-color: #444444;*/
  visibility: hidden;
}
#menu li ul {
  overflow: hidden;
}
#menu > li:hover > ul {
  visibility: visible;
}
#menu li li a.parent:after, #column-left.active #menu > li a.parent:after {
  font-family: FontAwesome;
  content: "\f105";
  float: right;
  margin-right: 8px;
}
#menu li li.open > a.parent:after, #column-left.active #menu > li.open > a.parent:after, #column-left.active #menu > li li.open > a.parent:after {
  font-family: FontAwesome;
  content: "\f107";
  float: right;
  margin-right: 8px;
}


#menu li ul a {
  padding-left: 20px;
}
#menu li li ul a {
  padding-left: 40px;
}
#menu li li li ul a {
  padding-left: 60px;
}
#menu li li li li ul a {
  padding-left: 80px;
}

/* Menu Active */
/* Desktop */
@media (min-width: 1400px) {
  #column-left.active {
    overflow: auto;
  }
  #column-left.active + #content {
    margin-left: 235px;
  }
  #column-left.active + #content + #footer {
    margin-left: 235px;
  }
}
/* Mobile */
@media (max-width: 1400px) {
  #column-left.active + #content {
    position: relative;
    left: 235px;
  }
  #column-left.active + #content + #footer {
    position: relative;
    left: 235px;
  }
}
#column-left.active {
  width: 235px;
}
#column-left.active #menu li i {
  font-size: 14px;
}
#column-left.active #menu > li > a > span {
  display: inline;
}
#column-left.active #menu > li > ul {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  visibility: visible;
}
/* footer */
#footer {
  height: 100px;
  text-align: center;
}



/* Navs */
.nav > li.disabled > a {
  color: #999;
}
.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
  color: #999;
}
/* Tabs */
.nav-tabs > li > a {
  color: #666;
  border-radius: 2px 2px 0 0;
}
.nav-tabs > li > a:hover {
  border-color: #eee #eee #ddd;
}
.nav-tabs {
  margin-bottom: 25px;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  font-weight: bold;
  color: #333;
}

/* START EXTERNAL CSS */
.panel-body {
  padding: 8px;
  background: #f8fbff;
}
table {
  margin-bottom: 12px;
}
.row {
  margin-left: -8px;
  margin-right: -8px;
}
.row > div[class^="col-"] {
  padding-left: 8px;
  padding-right: 8px;  
}
.form-control {
  padding: 8px 5px 8px 8px;
}
/* END EXTERNAL CSS */

.form-control:hover {
  border: 1px solid #b9b9b9;
  border-top-color: #a0a0a0;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
div.required .control-label:not(span):before, td.required:before {
  content: '* ';
  color: #F00;
  font-weight: bold;
}
.table thead td span[data-toggle="tooltip"]:after, label.control-label span:after {
  font-family: FontAwesome;
  color: #1E91CF;
  content: "\f059";
  margin-left: 4px;
}
fieldset legend {
  padding-bottom: 5px;
}

input[type="radio"], input[type="checkbox"] {
  margin: 2px 0 0;
}
.radio, .checkbox {
  min-height: 18px;
}
input[type="radio"], .radio input[type="radio"], .radio-inline input[type="radio"], input[type="checkbox"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
  position: relative;
  width: 13px;
  width: 16px \0;
  height: 13px;
  height: 16px \0;
  -webkit-appearance: none;
  background: white;
  border: 1px solid #dcdcdc;
  border: 1px solid transparent \0;
  border-radius: 1px;
}
input[type="radio"]:focus, .radio input[type="radio"]:focus, .radio-inline input[type="radio"]:focus, input[type="checkbox"]:focus, .checkbox input[type="checkbox"]:focus, .checkbox-inline input[type="checkbox"]:focus {
  border-color: #4d90fe;
  outline: 0;
}
input[type="radio"]:active, .radio input[type="radio"]:active, .radio-inline input[type="radio"]:active, input[type="checkbox"]:active, .checkbox input[type="checkbox"]:active, .checkbox-inline input[type="checkbox"]:active {
  background-color: #ebebeb;
  border-color: #c6c6c6;
}
input[type="radio"]:checked, .radio input[type="radio"]:checked, .radio-inline input[type="radio"]:checked, input[type="checkbox"]:checked, .checkbox input[type="checkbox"]:checked, .checkbox-inline input[type="checkbox"]:checked {
  background: #fff;
}
input[type="radio"], .radio input[type="radio"], .radio-inline input[type="radio"] {
  width: 15px;
  width: 18px \0;
  height: 15px;
  height: 18px \0;
  border-radius: 1em;
}
input[type="radio"]:checked::after, .radio input[type="radio"]:checked::after, .radio-inline input[type="radio"]:checked::after {
  position: relative;
  top: 3px;
  left: 3px;
  display: block;
  width: 7px;
  height: 7px;
  content: '';
  background: #666;
  border-radius: 1em;
}
input[type="checkbox"]:hover, .checkbox input[type="checkbox"]:hover, .checkbox-inline input[type="checkbox"]:hover {
  border-color: #c6c6c6;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
  -webkit-box-shadow: none \9;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
  box-shadow: none \9;
}
input[type="checkbox"]:checked::after, .checkbox input[type="checkbox"]:checked::after, .checkbox-inline input[type="checkbox"]:checked::after {
  position: absolute;
  top: -6px;
  left: -5px;
  display: block;
  content: url('../image/checkmark.png');
}

.table thead td {
  font-weight: bold;
}
.table thead > tr > td, .table tbody > tr > td {
  vertical-align: middle;
}
.table a.asc:after {
  content: " \f107";
  font-family: FontAwesome;
  font-size: 14px;
}
.table a.desc:after {
  content: " \f106";
  font-family: FontAwesome;
  font-size: 14px;
}

/* START TABLE EXTERNAL */
.table.table-extcs {
  font-size: 12px;
  color: #333;
  margin-bottom: 0;
}
.table.table-extcs thead > tr > td,
.table.table-extcs tbody > tr > td,
.table.table-extcs tfoot > tr > td {
  padding: 5px 2px 5px 6px;
  white-space: nowrap;
}
.table.table-extcs thead > tr > td.tdlast,
.table.table-extcs tbody > tr > td.tdlast,
.table.table-extcs tfoot > tr > td.tdlast,
.table.table-extcs thead > tr > td:last-child,
.table.table-extcs tbody > tr > td:last-child,
.table.table-extcs tfoot > tr > td:last-child {
  padding-right: 6px;
}
.table.table-extcs thead > tr > td.wdwrap,
.table.table-extcs tbody > tr > td.wdwrap,
.table.table-extcs tfoot > tr > td.wdwrap {
  white-space: normal;
}
.table.table-nopad thead > tr > td,
.table.table-nopad tbody > tr > td,
.table.table-nopad tfoot > tr > td {
  padding: 5px 0;
}
.table.table-extcs thead tr.trbrdr.trbdleft > td:first-child,
.table.table-extcs tbody tr.trbrdr.trbdleft > td:first-child,
.table.table-extcs thead tr .brdr.bdleft,
.table.table-extcs tbody tr .brdr.bdleft {
  border-left: 1px solid #ddd;
}
.table.table-extcs thead tr.trbrdr.trbdright > td:last-child,
.table.table-extcs tbody tr.trbrdr.trbdright > td:last-child,
.table.table-extcs thead tr .brdr.bdright,
.table.table-extcs tbody tr .brdr.bdright {
  border-right: 1px solid #ddd;
}
.table.table-extcs thead tr.trbrdr.trbdtop:first-child > td,
.table.table-extcs tbody tr.trbrdr.trbdtop:first-child > td,
.table.table-extcs thead tr .brdr.bdtop,
.table.table-extcs tbody tr .brdr.bdtop {
  border-top: 1px solid #ddd;
}
.table.table-extcs thead tr.trbrdr.trbdbottom:last-child > td,
.table.table-extcs tbody tr.trbrdr.trbdbottom:last-child > td,
.table.table-extcs thead tr .brdr.bdbottom,
.table.table-extcs tbody tr .brdr.bdbottom {
  border-bottom: 1px solid #ddd;
}

.table.table-extcs thead tr .brdr.bdnleft,
.table.table-extcs tbody tr .brdr.bdnleft {
  border-left-width: 0px;
}
.table.table-extcs thead tr .brdr.bdnright,
.table.table-extcs tbody tr .brdr.bdnright {
  border-right-width: 0px;
}
.table.table-extcs thead tr .brdr.bdntop,
.table.table-extcs tbody tr .brdr.bdntop {
  border-top-width: 0px;
}
.table.table-extcs thead tr .brdr.bdnbottom,
.table.table-extcs tbody tr .brdr.bdnbottom {
  border-bottom-width: 0px;
}
.table.table-extcs > tbody > tr.trbrdr.nohover:hover {
  background-color: transparent;
  background-image: none;
}
.table.table-extcs > tbody > tr td.bg-yellow-select {
  background-color: yellow;
}

.table.no-style {
  margin: 0;
  padding: 0;
  width: auto;
}
.table.no-style > thead > tr > td,
.table.no-style > tbody > tr > td {
  padding: 0 8px;
}

.table.noborder > thead > tr > td,
.table.noborder > tbody > tr > td {
}

.table.table-extcs thead tr .text-satsun,
.table.table-extcs tbody tr .text-satsun {
  color: #888;
}

.table.table-extcs thead tr .bglight,
.table.table-extcs tbody tr .bglight {
  background-color: #F8F8F8; /* #EBEBEB; */
  /* background-image: linear-gradient(to left, #EBEBEB, #F8F8F8, #FBFBFB); */
}
.table.table-extcs tbody > tr > td[data-modify] {
  position: relative;
}
.table.table-extcs tbody > tr > td[data-modify] i[data-checkbox] {
  position: absolute;
  left: -1px;
  top: -2px;
  cursor: pointer;
  color: rgba(0,0,0,0.1);
  font-size: 12px;
}
.table.table-extcs tbody > tr > td[data-modify]:hover i[data-checkbox],
.table.table-extcs tbody > tr > td[data-modify] i[data-checkbox="1"] {
  color: rgba(0,0,0,0.8);
}
.table.table-extcs thead > tr > td input[type="text"],
.table.table-extcs tbody > tr > td input[type="text"],
.table.table-extcs tfoot > tr > td input[type="text"] {
  box-shadow: none;
  max-width: 100px;
}
.table-hover > tbody > tr:hover td {
  background-color: #EBEBEB;
  background-image: linear-gradient(#EBEBEB, #F8F8F8, #FBFBFB);
}
.table.table-extcs tbody tr[data-hastimesheet="1"] > td:first-child {
  border-left-color: red !important;
  border-left-width: 2px !important;
  padding-left: 7px;
}
.table.table-extcs tbody tr[data-hastimesheet="1"] > td:last-child {
  border-right-color: red !important;
  border-right-width: 2px !important;
}
.row.table-extcs-pging {
  margin: 0;
  padding: 4px 0 0;
  border-top: 1px solid #ddd;
}
.row.table-extcs-pging [class^="col-"] {
}
.table-extcs-pging .pagination > li > a, 
.table-extcs-pging .pagination > li > span {
  padding: 2px 8px;
}
.table-extcs-pging .text-right {
  padding-top: 3px;
  margin-bottom: 7px;
}
/* END TABLE EXTERNAL */

.pagination {
  margin: 0;
}
.form-group {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.form-group + .form-group {
  border-top: 1px solid #ededed;
}
/* Panels */
.panel {
  border-radius: 0px;
}
.panel .panel-heading {
  position: relative;
}
.panel-heading h3 i {
  margin-right: 8px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.panel-heading i {
  font-size: 16px;
  font-weight: 500;
}
.panel-heading h3 {
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

/* Primary Panel */
.panel-primary {
  border: 1px solid #c3e4f6;
  border-top: 2px solid #5cb7e7;
}

.panel-primary .panel-heading {
  color: #1e91cf;
  border-color: #96d0f0;
  background: white;
}


/* Default Panel */
.panel-default {
  border: 1px solid #e8e8e8;
  border-top: 2px solid #bfbfbf;
}

.panel-default .panel-heading {
  color: #595959;
  border-color: #e8e8e8;
  background: #eaedf6;;
}
.img-thumbnail i {
  color: #FFFFFF;
  background-color: #EEEEEE;
  text-align: center;
  vertical-align: middle;
  width: 100px;
  height: 100px;
  padding-top: 20px;
  vertical-align: middle;
  display: inline-block;
}
.img-thumbnail.list i {
  width: 40px;
  height: 40px;
  padding-top: 10px;
}
/* Tiles */
.tile {
  margin-bottom: 15px;
  border-radius: 3px;
  background-color: #279FE0;
  color: #FFFFFF;
  transition: all 1s;
}
.tile:hover {
  opacity: 0.95;
}

.tile a {
  color: #FFFFFF;
}
.tile-heading {
  padding: 5px 8px;
  text-transform: uppercase;
  background-color: #1E91CF;
  color: #FFF;
}
.tile .tile-heading .pull-right {
  transition: all 1s;
  opacity: 0.7;
}
.tile:hover .tile-heading .pull-right {
  opacity: 1;
}
.tile-body {
  padding: 15px;
  color: #FFFFFF;
  line-height: 48px;
}
.tile .tile-body i {
  font-size: 50px;
  opacity: 0.3;
  transition: all 1s;
}
.tile:hover .tile-body i {
  color: #FFFFFF;
  opacity: 1;
}
.tile .tile-body h2 {
  font-size: 42px;
}
.tile-footer {
  padding: 5px 8px;
  background-color: #3DA9E3;
}
#column-left.active #stats {
  display: block;
}
#stats {
  display: none;
  border-radius: 2px;
  color: #666666;
  background: #2b2b2b;
  margin: 15px 20px;
  padding: 5px 0;
}
#stats ul, #stats li {
  padding: 0;
  margin: 0;
  list-style: none;
}
#stats li {
  font-size: 11px;
  color: #9d9d9d;
  padding: 5px 10px;
  border-bottom: 1px dotted #373737;
}
#stats div:first-child {
  margin-bottom: 4px;
}
#stats .progress {
  height: 3px;
  margin-bottom: 0;
}
.jqvmap-label {
  z-index: 999;
}
.alert {
  overflow: auto;
}

/* Menu Fix For System -> Layout -> Banner */
.collapse.in {
  display: block;
  visibility: unset;
}
.collapse {
  display: none;
  visibility: unset;
}
/* Menu Fix For System -> Layout -> Banner */

/* Fix form-group margin inside the modal */
.modal-body  .form-group {
  margin: 0;
}
/* Fixed Sumernote Button Height */
.note-toolbar.panel-heading i {
  font-size: 14px;
}
/* Filemanager Folder Size */
#filemanager .fa-folder.fa-5x {
  font-size: 10.5em;
}
.middle {
  margin-top: 35px;
}
#form-product label{
  padding-top: 10px;
  padding-bottom: 10px;   
}
#form-product tr label{
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 12px; 
  text-align: left;
}

#material-cost.table > thead > tr > th,
#material-cost.table > tbody > tr > th,
#material-cost.table > tfoot > tr > th,
#material-cost.table > thead > tr > td, 
#material-cost.table > tbody > tr > td, 
#material-cost.table > tfoot > tr > td,
  
#labour-cost.table > thead > tr > th,
#labour-cost.table > tbody > tr > th,
#labour-cost.table > tfoot > tr > th,
#labour-cost.table > thead > tr > td, 
#labour-cost.table > tbody > tr > td, 
#labour-cost.table > tfoot > tr > td,

#machine-cost.table > thead > tr > th,
#machine-cost.table > tbody > tr > th,
#machine-cost.table > tfoot > tr > th,
#machine-cost.table > thead > tr > td, 
#machine-cost.table > tbody > tr > td, 
#machine-cost.table > tfoot > tr > td{
  padding: 5px;
  vertical-align: middle !important;
}

/* .table > thead > tr > th [readonly],
.table > tbody > tr > th [readonly],
.table > tfoot > tr > th [readonly],
.table > thead > tr > td [readonly],
.table > tbody > tr > td [readonly],
.table > tfoot > tr > td [readonly]{
  border: none;
  background-color: transparent;
  box-shadow: none;
  padding: 8px 0px 8px 15px;
} */

.btn.btn-plus {
  position: relative;
  top: -5px;
  padding: 5px 10px;
  background: #096f1c;
  color: #fff;
}
#form-user-group .well-custom {
  margin: 10px 0;
  padding: 0;
  background-color: rgba(0,0,0,0);
  height: 200px;
  overflow-y: scroll;
}
#form-user-group .well .checkgroup {
  margin-top: 5px;
  display: inline-block;
  width: 100%;
  background-color: #D8D8D8;
  padding: 3px 0 3px 5px;
  color: #4F4F4F;
  margin-bottom: 5px;
}
#form-user-group .well .checkgroup:first-child {
  margin-top: 0px;
}
#form-user-group .well .checkbox {
  min-height: auto;
  padding-top: 2px;
  padding-bottom: 2px;
}
.input-icons {
  position: relative;
}
.input-icons i { 
  position: absolute; 
  font-size: 13px;
} 
.input-icons.percent i {
  right: 5px;
  bottom: 10px;
  top: 10px;
  left: auto;
  z-index: 9;
}
.fa-cent.icon {
  top: 5px;
  left: auto;
  padding-left: 5px;
}
.icon {
  top: 11px;
  left: auto;
  padding-left: 7px;
} 
#form-product .table th input,
#form-product .table tr input{
  text-align: right;
}
#form-product .input-icons .form-control {
	padding-left: 17px;
	text-align: right;
}
.input-icons .form-control {
	padding-left: 17px;
}
.input-icons.percent .form-control { 
  padding-right: 25px; 
  padding-left: 10px; 
} 
.btn-primary.disabled,
.btn-primary {
  color: #fff;
  background-color: #03528a;
  border-color:#00225a;
}
.well{
  background-color: #eaedf6;
}
.col-half-offset {
	width: 10.4%;
}

.highlight-red {
	background: #ff00005e;
}

.table-hover > tbody > tr.highlight-red:hover td {
	background-color: #ff00005e;
	background-image: linear-gradient(#92090904, #ad24241f, #b62d2d28);
}

#input-labour-hour,
#input-machine-hour{
  text-align: right;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td{
  padding: 5px;
line-height: 1.5;
}

@media only screen and (max-width: 1600px) {
#form-product label,
table thead tr td{
    font-size: 11px;
  }  
}

@media only screen and (max-width: 1200px) {
  html, body {
    font-size: 10px;
  }
  .panel-heading h3{
    font-size: 12px;
  }
  .table thead > tr > td,
  .table tbody > tr > td,
  .table tfoot > tr > td {
    padding: 5px;
  /*  white-space: nowrap; */
  }
  .table tbody > tr > td[data-modify]:hover i[data-checkbox],
  .table tbody > tr > td[data-modify] i[data-checkbox="1"] {
    color: rgba(0,0,0,0.8);
  }
  .icon {
    top: 10px;
  }
  .input-icons i.fa-percent::before{
	  font-size: 11px;
  }
  
  .input-icons i { 
	  position: absolute; 
	  font-size: 11px;
  } 
  .row .icon,
  .table tr > td .icon {
    padding-left: 0px;
  }
  .row select.form-control,
  .table tr > td select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
  }
  .row input[type="text"].form-control,
  .row select.form-control,
  .table tr > td input[type="text"].form-control,
  .table tr > td select.form-control {
    border-top-width: 0;
    border-right-width: 0;
    border-left-width: 0;
    border-radius: none;
    background-color: transparent;
    box-shadow: none;
    max-width: 100%;
	min-width: 50px;
  }
  .row .icon + input[type="text"].form-control,
  .row .icon + select.form-control,
  .table tr > td .icon + input[type="text"].form-control,
  .table tr > td .icon + select.form-control {
    padding-left: 8px;
  }
  .table-hover > tbody > tr:hover td {
    background-color: #EBEBEB;
    background-image: linear-gradient(#EBEBEB, #F8F8F8, #FBFBFB);
  }
  .table tbody tr[data-hastimesheet="1"] > td:first-child {
    border-left-color: red !important;
    border-left-width: 2px !important;
    padding-left: 7px;
  }
  .table tbody tr[data-hastimesheet="1"] > td:last-child {
    border-right-color: red !important;
    border-right-width: 2px !important;
  }
  #form-product label.control-label {
	  font-size: 10px;
  }
  .col-half-offset {
		width: 25%;
	}
	
  /*#form-product thead tr td, #form-product tbody tr td {
		font-size: 10px;
		min-width: 80px;
		padding: 5px;
	}*/
	
	#form-product #material-cost thead tr td,
	#form-product #labour-cost thead tr td,
	#form-product #machine-cost thead tr td,
	#form-product #packaging-cost thead tr td{
		min-width: auto;
	}
}
@media only screen and (max-width: 767px) {
  .col-half-offset {
    width: 100%;
  }
}
.fa.blue,
.fa.orange,
.fa.green{
  color: #fff;
}
.form-control.green {
	background: green !important;
	color: #fff;
}
.form-control.orange {
	background: orange !important;
	color: #fff;
}
.form-control.blue {
	background: blue !important;
	color: #fff;
}
.select2-container{
	width: 100% !important;
}

