/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

#left-panel {
  background-color: #fff;
}

.loading-container {
    position: relative;
}
.loading-container .loading:before, .loading-container .loading:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 50px;
    min-width: 50px;
}
.loading-container .loading:before {
    background-color: white;
    opacity: 0.5;
}

.clickable {
    cursor: pointer;
}

#sparks li h5 { text-transform: none; font-size: 12px; };

.order { opacity: 1.0; }
/*.order.neworder { border-left: 10px solid #beb00e; background-color: #fff57b; }
.order.ordered { border-left: 10px solid #faebcc; background-color: #fcf8e3; }
.order.approved { border-left: 10px solid #529100; background-color: #b9ee73; }
.order.offered { border-left: 10px solid #2a4c68; background-color: #50a4ea; }
.order.finalized { border-left: 10px solid #0c4040; background-color: #0ed7d7; }
.order.delivered { border-left: 10px solid #661141; background-color: #f2dce4; }
.order.booked { border-left: 10px solid #0c4040; background-color: #00ee00; }
.order.closed { border-left: 10px solid #0c4040; background-color: #0ed7d7; }
.order.declined { border-left: 10px solid #ff6767; background-color: #ffdfdf; }
.order.deleted { border-left: 10px solid #333; background-color: #cecece; text-decoration-line: line-through; }*/

.order.neworder { border-left: 10px solid #9c9823; background-color: #E8E476; }
.order.ordered { border-left: 10px solid #b8b878; background-color: #fdfddf; }
.order.approved { border-left: 10px solid #99cb84; background-color: #dff0d8; }
.order.offered { border-left: 10px solid #2a4c68; background-color: #fff; }
.order.finalized { border-left: 10px solid #0c4040; background-color: #fff; }
.order.delivered { border-left: 10px solid #618da2; background-color: #c4dbe6; }
.order.booked { border-left: 10px solid #a09f9f; background-color: #fdfdfd; color: #aaa; }
.order.closed { border-left: 10px solid #0c4040; background-color: #fff; color: #aaa; }
.order.declined { border-left: 10px solid #b55656; background-color: #ffc5c5; }
.order.deleted { border-left: 10px solid #333; background-color: #ddd; }
.order.deleted td { text-decoration: none; color: #aaa; }

.neworder { background-color: #E8E476; }
.ordered { background-color: #fdfddf; }
.approved { background-color: #dff0d8; }
.offered { background-color: #fff; }
.finalized { background-color: #fff; }
.delivered { background-color: #c4dbe6; }
.booked { background-color: #fdfdfd; color: #aaa; }
.closed { background-color: #fff; color: #aaa; }
.declined { background-color: #ffc5c5; }
.deleted { background-color: #ddd; color: #aaa; }

.table.orders>tbody>tr>td,
.table.orders>tbody>tr>th,
.table.orders>thead>tr>td,
.table.orders>thead>tr>th,
.table.orders>tfoot>tr>td,
.table.orders>tfoot>tr>th {
  height: 24px;
  vertical-align: middle;
}

.form-control{ height:auto; } 

.custom-select { padding: 0px; }
/*.table.has-tickbox thead tr th:nth-child(2) {
  width: 18px;
}*/
.table.has-tickbox thead tr th.number {
  width: 64px;
  text-align: right;
}

.table.has-tickbox thead tr td.fixwidth, .table.has-tickbox thead tr th.fixwidth,
.table.has-tickbox tbody tr td.fixwidth, .table.has-tickbox tbody tr th.fixwidth {
  width: 18px;
}
.table.has-tickbox thead tr td.fixwidth32, .table.has-tickbox thead tr th.fixwidth32,
.table.has-tickbox tbody tr td.fixwidth32, .table.has-tickbox tbody tr th.fixwidth32 {
  width: 32px;
}
.table.has-tickbox thead tr td.fixwidth4, .table.has-tickbox thead tr th.fixwidth4 {
  width: 72px;
}
.table.has-tickbox thead tr td.fixwidth100, .table.has-tickbox thead tr th.fixwidth100 {
  width: 130px;
}

.table.has-filter tbody tr:first-child {
  background-color: #eee;
}

#content-header {
  position: fixed;
  top: 119px;
  width: 100%;
  z-index: 1;
  background-color: white;
}

#content-main {
    padding-top: 35px;
}

.content-footer {
  position: fixed;
  /*height: 41px;*/
  width: 100%;
  bottom: 0px;
  background-color: white;
  margin-left: -27px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: 1px solid #b8b8b8;
}

.sparks-info td {
    font-size: 18px;
    line-height: 20px;
    margin: 0;
    text-transform: none;
    border-left: 1px dotted #c7c7c7;
    padding: 0 10px;
    text-align: right;
}

.sparks-info td:first-child {
    border-left: none;
}

.sparks-info td.title {
    text-transform: none;
    font-size: 12px;
    color: #555;
    font-weight: 400;
    margin: -3px 0 0 0;
    text-align: center;
    border: none;
}

#main {
  padding-bottom: 195px;
}

//.smart-form .checkbox i, .smart-form .radio i {
//  position: static;
//}

/*! ngTable v0.3.2 by Vitalii Savchuk(esvit666@gmail.com) - https://github.com/esvit/ng-table - New BSD License */
//.ng-table th{text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-table th.sortable{cursor:pointer}.ng-table th.sortable div{padding-right:18px;position:relative}.ng-table th.sortable div:after,.ng-table th.sortable div:before{content:"";border-width:0 4px 4px;border-style:solid;border-color:#000 transparent;visibility:visible;right:8px;top:50%;position:absolute;opacity:.3;margin-top:-4px}.ng-table th.sortable div:before{margin-top:2px;border-bottom:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000}.ng-table th.sortable div:hover:after,.ng-table th.sortable div:hover:before{opacity:1;visibility:visible}.ng-table th.sortable.sort-desc,.ng-table th.sortable.sort-asc{background-color:rgba(141,192,219,.25);text-shadow:0 1px 1px rgba(255,255,255,.75)}.ng-table th.sortable.sort-desc div:after,.ng-table th.sortable.sort-asc div:after{margin-top:-2px}.ng-table th.sortable.sort-desc div:before,.ng-table th.sortable.sort-asc div:before{visibility:hidden}.ng-table th.sortable.sort-asc div:after,.ng-table th.sortable.sort-asc div:hover:after{visibility:visible;filter:alpha(opacity=60);-khtml-opacity:.6;-moz-opacity:.6;opacity:.6}.ng-table th.sortable.sort-desc div:after{border-bottom:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000;visibility:visible;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;filter:alpha(opacity=60);-khtml-opacity:.6;-moz-opacity:.6;opacity:.6}.ng-table th.filter .input-filter{margin:0;display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-table+.pagination{margin-top:0}@media only screen and (max-width:800px){.ng-table-responsive{border-bottom:1px solid #999}.ng-table-responsive tr{border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #999}.ng-table-responsive td:before{position:absolute;padding:8px;left:0;top:0;width:50%;white-space:nowrap;text-align:left;font-weight:700}.ng-table-responsive thead tr th{text-align:left}.ng-table-responsive thead tr.ng-table-filters th{padding:0}.ng-table-responsive thead tr.ng-table-filters th form>div{padding:8px}.ng-table-responsive td{border:0;border-bottom:1px solid #eee;position:relative;padding-left:50%;white-space:normal;text-align:left}.ng-table-responsive td:before{content:attr(data-title-text)}.ng-table-responsive,.ng-table-responsive thead,.ng-table-responsive tbody,.ng-table-responsive th,.ng-table-responsive td,.ng-table-responsive tr{display:block}}

.dashed-red-border {
  border-bottom: dashed 1px #a90329!important;
}

.text-white{color:#fff}

.comments {
  max-height:210px;
  height:auto !important;
  height:210px;
  overflow-y: auto;
}

/* Table sorting */
/*
.sortable-table th.sortable {
  cursor: pointer;
}
.sortable-table th.sortable div {
  padding-right: 10px;
  position: relative;
}
.sortable-table th.sortable div:after,
.sortable-table th.sortable div:before {
  content: "";
  border-width: 0 4px 4px;
  border-style: solid;
  border-color: #000 transparent;
  visibility: visible;
  right: 8px;
  top: 50%;
  position: absolute;
  opacity: .3;
  margin-top: -4px;
}
.sortable-table th.sortable div:before {
  margin-top: 2px;
  border-bottom: none;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #000;
}
.sortable-table th.sortable div:hover:after,
.sortable-table th.sortable div:hover:before {
  opacity: 1;
  visibility: visible;
}
.sortable-table th.sortable.sort-desc,
.sortable-table th.sortable.sort-asc {
  background-color: rgba(141, 192, 219, 0.25);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}
.sortable-table th.sortable.sort-desc div:after,
.sortable-table th.sortable.sort-asc div:after {
  margin-top: -2px;
}
.sortable-table th.sortable.sort-desc div:before,
.sortable-table th.sortable.sort-asc div:before {
  visibility: hidden;
}
.sortable-table th.sortable.sort-asc div:after,
.sortable-table th.sortable.sort-asc div:hover:after {
  visibility: visible;
  filter: alpha(opacity=60);
  -khtml-opacity: 0.6;
  -moz-opacity: 0.6;
  opacity: 0.6;
}
.sortable-table th.sortable.sort-desc div:after {
  border-bottom: none;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #000;
  visibility: visible;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  filter: alpha(opacity=60);
  -khtml-opacity: 0.6;
  -moz-opacity: 0.6;
  opacity: 0.6;
}
*/

.super-centered {
    position:absolute; 
    width:100%;
    height:100%;
    text-align:center; 
    vertical-align:middle;
    z-index: 9999;
}

.fileUpload {
	position: relative;
	overflow: hidden;
	margin: 10px;
}
.fileUpload input.upload {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	font-size: 20px;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
}

.clickable, .sortable {
    cursor: pointer;
}

.bg-color-neworder {background-color: #E8E476 !important;}
.bg-color-receivable {background-color: #86aebf !important;}
.bg-color-moveterm {background-color: #9f710f !important;}
.bg-color-transparent {background-color: transparent !important;}
.bg-color-disabled {background-color: #ededed !important;}
form.pmshop-form input:disabled {background-color: #ededed !important;}
.center-parent {
    display:table;
    height: 630px;
}

.center-content {
    display: table-cell;
    vertical-align: middle;    
}

.margin-0 { margin: 0 !important; }
.table-border-0 { border: none !important; height: 100%; width: 100%; background-color: transparent !important;}
/*.table-border-0>tbody>tr, .table-border-0>tfoot>tr, .table-border-0>thead>tr {border: none; background-color: transparent !important;}*/
.table-border-0>tbody>tr>td, .table-border-0>tbody>tr>th, .table-border-0>tfoot>tr>td, .table-border-0>tfoot>tr>th, .table-border-0>thead>tr>td, .table-border-0>thead>tr>th {border: none;}
.table-border-0>tbody>tr>td, .table-border-0>tbody>tr>th, .table-border-0>tfoot>tr>td, .table-border-0>tfoot>tr>th, .table-border-0>thead>tr>td, .table-border-0>thead>tr>th { padding: 8px 8px !important; }
.table>tbody>tr>td.padding-0, .table>tbody>tr>th.padding-0, .table>tfoot>tr>td.padding-0, .table>tfoot>tr>th.padding-0, .table>thead>tr>td.padding-0, .table>thead>tr>th.padding-0 { padding: 0 !important; }
.smart-form .checkbox.state-success { color: green; }

.progress { z-index: 100; }