/* Body / Wrapper */
body {
	background: #1d1d20;
	color: #ffffff;
	font: 12px "Trebuchet MS", Arial, Helvetica, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	height: 100vh;
}

body .modal {
	overflow-y: auto !important;
}

.modal-header.ui-draggable-handle:hover {
	cursor: move;
}

/*
 * Make content fill available height
 */
.flexheight {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

#wrapper {
	display: flex;
	flex-direction: column;
	/* height: auto !important; */
	position: relative;
	min-width: 1024px;
	height: 100%;
}

#wrapper > div {
	display: flex;
	flex-direction: column;
	margin: 20px 20px 0 20px;
	height: 100%;
}

#header, #menu, #content {
	border: 5px solid #333;
	border-radius: 4px;
}

#header {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

#menu {
	border-radius: 0;
}

#content {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#header, #menu {
	border-bottom: none;
	flex-direction: column;
	flex: 1 0 auto;
}

#content, #searchContent {
	display: flex;
	flex: 999 0 auto;
	flex-direction: column;
	padding: 10px;
	border-top: none;
}

#content > div:first-child:not(.panel) {
	padding: 10px;
}

div.content {
	padding: 10px 10px 20px 10px;
}

#content #searchContent {
	margin-bottom: 10px;
}

.push, .sticky-footer {
	margin-top: 20px;
	padding-bottom: 20px;
}

/*
.finance #wrapper,
.customer #wrapper,
.depot #wrapper,
.export #wrapper {
	border: 5px solid #333333;
	margin: 1em 1em; 
	text-align: left;
}
*/

/* Header */
#header {
	background: #222222 url("/assets/img/xsys/header_bg.jpg") no-repeat right top;
	height: 105px;
}

#header .headspan {
	color: #ffffff;
	float: right;
	font-weight: bold;
	font-size: 12px;
	padding: 80px 10px 0 0;
	position: relative;
}

#header .live {
	padding-right:100px; 
}

#header .live,
/* #header .customer */
#header .depot,
#header .login {
	color: #ebb84e;
	font-weight: normal;
	padding-left: 5px;
}

/* Menu */
#menu table {
    border-collapse: collapse;
    border-spacing: 0;
	width: 100%;
}

#menu td {
	padding: 6px;
}

#menu td a {
	color: #ffffff;	
}

#menu td a i {
	color: #ebb84e;
	padding-right: 5px;
}

.preTableOptions {
	position: relative;
	z-index: 999;
}

.preTableOptions form {
	display: inline-block;
}

.preTableOptions div.divider,
table.dataTable tbody tr td div.divider,
#menu td div.divider,
.submenu div.divider {
	display: inline-block;
	padding: 0 5px 0 5px;
}

.preTableOptions div.divider {
	color: #e1b44e;
}

.preTableOptions .hyperlinks + form {
	border-left-color: #e1b44e !important;
}

#menu hr {
	border: 0;
    border-top: 1px solid #333333;
	margin: 5px 0;
}

.submenu {
	color: #ebb84e;
	display: block;
	margin-top: 5px;
}

#menu .submenu a {
	color: #ebb84e;
}

/* Connection Details */
.connection_details {
	margin-bottom: 20px;
	text-align: center;
}

.connection_details div {
	display: inline-block;
}

.connection_details div.client_ip {
	padding-left: 25px;
}

.connection_details div.spirit_password {
	padding-left: 25px;
}

.connection_details span {
	 color: #ebb84e;
}

/* General */
.inline {
	display: inline-block !important;
}

#content .alert {
	margin-bottom: 0;
}

body .panel {
	background-color: transparent;
}

.fullheight {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	height: auto;
}

/* Form controls */
body .btn,
body .content .form-control,
body .profile_page .form-control {
	height: auto;
	padding: 3px 6px;
	font-size: 12px;
}

.input-group-addon.btn-warning {
	background-color: #f0ad4e;
}

.input-group-addon.btn-info {
	background-color: #5bc0de;
}

.form-control.input-sm {
    font-size: 12px !important;
    height: 25px !important;
    padding: 3px 6px;
}

/* Notifications */
.notifications .customer_information {
	padding-bottom: 20px;
}

.notifications ul.timeline > li {
	border-top: 1px solid #eee;
	list-style: none;
	padding: 20px;
}

div.timeline-footer ul {
	padding: 10px 0;
}

div.timeline-footer ul li {
	margin-left: 20px;
}

.notifications li > i {
	display: none;
}

.notifications div.posted {
	float: right;
	margin: 10px 0 0 0;
	text-align: right;
}

.notifications div.posted span {
	color: #e1b44e;
}

.notifications .timeline-header {
	padding-bottom: 10px;
}

/* Original Table Formatting */
.original {
	position: relative;
}

.original.fullheight {
	padding-bottom: 20px;
}

.original .title {
	background: #e1b44e;
	border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	-khtml-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	color: #000000;
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 15px;
}

.original .title.invert {
	background: #e1b44e;
	border-radius: 0 0 4px 4px;
	-webkit-border-radius: 0 0 4px 4px;
	-khtml-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	color: #000000;
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 15px;
}

.original .title.uppercase {
	text-transform: uppercase;
}

.original .dataTables_length,
.original .dataTables_filter {
	padding-top: 5px;
}

.original .dataTables_filter + table {
	border-top: solid 1px #0597d0;
}

.original .content,
.fuelhistory .graph {
	width: 100%;
	border-top: solid 2px #e1b44e;
}

.original .content.invert {
	width: 100%;
	border-radius: 0 0 0 0;
	border-top: solid 2px #e1b44e;
	border-bottom: solid 2px #e1b44e;
}

.original .content {
	background: #2d2d30;
	padding: 5px;
	border-bottom-left-radius: 4px;	
	border-bottom-right-radius: 4px;	
}

.consignment_information .original .content {
	padding: 10px;
}

.original table thead td {
	border: 1px solid #0597d0;
	font-weight: 700;
	padding: 5px;
}

.rates table thead .zone {
	background: #1d1d20;
	border: 1px solid #333333;
	color: #ebb84e;
	font-weight: bold;
	padding: 5px;
	text-align: left;
}

.original table tbody td,
.rates table tbody td:first-of-type {
	padding-left: 5px !important;
}

.original table tbody td,
.rates table tbody td {
	border-bottom: 1px solid #333333;
	padding: 5px 0;
}

.original table tbody td.no_padding {
	padding: 0 !important;
}

.original table td.center {
	text-align: center;
}

/* Datatables select row */
.original table.dataTable.display tbody > tr.selected {
    background: indianred !important;
}

div.DTS div.dataTables_scrollBody{
	background: repeating-linear-gradient(45deg, #1d1d20, #1d1d20 10px, #2d2d30 10px, #2d2d30 20px);
}

.original .dataTables_wrapper .dataTables_wrapper {
	border-top: none;
}

.dataTables_wrapper table.table {
	margin-bottom: 0;
}

.dataTables_wrapper table.table tr.shown + tr {
	background: #1d1d20;
}

.dataTables_wrapper table.table input[type="text"],
.dataTables_wrapper table.table select {
	border-radius: 4px;
	font-size: 12px;
	height: 24px;
	width: 100%;
}

.dataTables_wrapper table.table input[type="text"] {
	padding: 3px 6px;
}

/* Messages */
#menu div.message_count {
	display: inline-block;
}

#menu div.message_count::before {
	content: '(';
}

#menu div.message_count::after {
	content: ')';
}

#content.messaging {
	min-height: 140px;
}

.messaging .email_addresses_container {
	border-top: 1px solid #E1B44E;
	border-bottom: 1px solid #E1B44E;
	margin-bottom: 20px;
}

.messaging .update_email_addresses {
	float: right;
	display: block;
	padding: 10px 5px 0 0;
}

.messaging .email_addresses_information {
	padding: 10px 0;
}

.messaging .email_addresses_information span {
	color: #E1B44E;
}

.messaging #email_addresses_edit {
	display: none;
}

.messaging #email_addresses_edit > p {
	color: #E1B44E;
}

.messaging #email_addresses_edit #addresses {
	width: 100%;
}

.messaging .list-btn-mail {
	margin-bottom: 15px;
}

.messaging .side-mail .original .content {
	padding: 20px 15px 15px 15px;
}

.messaging .list-btn-mail > span {
    float: left;
    font-size: 18px;
}

.messaging .list-btn-mail > span[class*="entypo-"] {
	display: none;
}

.messaging .list-btn-mail i::before {
	content: '(';
}

.messaging .list-btn-mail i::after {
	content: ' unread)';
}

.messaging .mail_header {
	padding-bottom: 20px;
}

.messaging .mail_header div.btn {
	background-color: rgb(240, 240, 240);
	color: #000;
}

.messaging .mail_header .message_categories {
	float: right;
	padding-bottom: 5px;
}

.messaging .mail_header .message_count {
	float: left;
}

.message_categories div.send_message {
	display: inline-block;
	margin-right: 10px;
	padding-right: 20px;
	border-right: solid 1px #ebb84e;
}

.message_categories .message_category {
	display: inline-block;
	padding-left: 10px;
}

.message_categories .unread {
	color: #ebb84e;
}

table.dataTable tr.message.read td {
	color: #ffffff;
}

.view_message .message_options {
	text-align: right;
	padding-bottom: 10px;
}

.view_message .message_options a {
	padding-left: 5px;
}

.ticket_slip .ticket_content,
.view_message .message_content {
	background: #2D2D30;
	padding: 10px;
	word-wrap: break-word;
}

.view_message .message_content ul {
	margin: 10px 10px 20px 10px;
}

.view_message .message_envelope {
	font-size: 11px;
	color: #E1B44E;
	padding: 10px 5px 5px 0;
	text-align: right;
}

/* Tickets */
.ticket_slip .ticket_content > div.row {
	padding: 10px;
	border-bottom: 1px solid #1d1d20;
}

.ticket_slip .ticket_content > div.row:last-of-type {
	padding-bottom: 0;
	border-bottom: none;
}

.ticket_slip .ticket_content textarea {
	width: 100%;
	height: 200px;
	resize: none;
}

.ticket_slip .ticket_content .ticket_buttons {
	text-align: center;
}

/* Fuel Escalator */
.customer_charges > .panel > .title {
	display: none;
}

.fuelhistory .graph {
	font-size: 11px;
	width: 100%;
}

.fuelsurcharge {
	border:1px solid #000;
	margin: 0 0 25px;
}

#content .fuelsurcharge.alert {
	margin-bottom: 20px;
}

.fuelsurcharge p {
	padding: 10px;
}

/* Buttons */
.buttons {
	margin: 10px 0;
	text-align: center;
	min-width: 70px;
}

.button {
	/* background: url('/assets/img/xsys/submit.jpg') repeat-x; */
	border: 1px solid #fff;
	color: #FFFFFF;
	/* height: 22px; */
	height: auto;
	line-height: 20px;
	text-align: center;
}

.button:not(.btn) {
	background: url('/assets/img/xsys/submit.jpg') repeat-x;
}

/* Errors */
.not_found,
.not_authenticated {
	background: #333333;
	border: 1px solid #fff;
	color: #ebb84e;
	display :block;
	font-size:14px;
	margin: 0 auto;
	margin-top: 5px;
	padding:10px;
}

/* Modal */
.modal.dark .modal-content {
	background: #1d1d20;
	border: 4px solid #333333;
}

.modal.dark .modal-body {
	padding-top: 15px;
}

/* Admin */
#content.admin .original .content {
	padding: 20px;
}

/* Financial */
.finance table thead th {
	color: #c8b84e;
	text-transform: uppercase;
}

/* Address Book */
#address_book_entry {
	background: #333333;
	padding-top: 20px;
}

#address_book_entry .buttons {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #222;
}

.address_list .address_options {
	position: relative;
	bottom: 5px;	
	padding-right: 50px;
}

.address_list .address_options a {
	color: #ebb84e;
	padding-right: 50px;
}

.input-group-label {
	padding-top: 4px;
	padding-left: 6px;
}

.address_list .panel {
	margin-bottom: 0;
	border: 0;
}

#wrapper .panel .preTableOptions .form-control,
.globalSearch .form-control {
	font-size: 12px;
	height: 22px;	
	padding: 3px 6px;
}

.preTableOptions label {
	position: relative;
	/* bottom: 6px; */
	right: 6px;
	margin-bottom: 0;
}

.preTableOptions .btn-small,
.globalSearch .btn-small {
	font-size: 11px;
	padding: 0 6px;
}

/* DataTables */
.dataTables_processing {
	padding: 20px 0 40px 0;
	z-index: 9999;
	background: #1d1d20;
	border: 2px solid #e1b44e;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;	
	color: #fff;
}

.dataTables_scroll .slimScrollDiv {
	border: 1px solid #0597d0;
	border-top: none;
	border-collapse: collapse;
	border-radius: 0 0 4px 4px;
}

.dataTables_scrollBody table tr td {
	border-top: none;
}

/*
table.dataTable tfoot th {
	border-top: 1px solid #0597d0;
}
*/

table.dataTable thead th {
	/* background: url(/assets/img/xsys/head2.jpg) repeat-x; */
	border: 1px solid #0597d0;
	padding: 5px 7px;
}

.table-striped > tbody > tr:nth-child(2n+1) > td,
.table-striped > tbody > tr:nth-child(2n+1) > th,
table.dataTable tr.odd {
	background-color: #2d2d30;
}

table.dataTable tr.odd td.sorting_1,
table.dataTable tr.odd td.sorting_2,
table.dataTable tr.odd td.sorting_3 {
    background-color: #37373b;
}

table.dataTable tr.even {
	background-color: #222222;
}

table.dataTable tr.even td.sorting_1,
table.dataTable tr.even td.sorting_2, 
table.dataTable tr.even td.sorting_3 {
    background-color: #2a2a2a;
}

table.dataTable td {
	color: #e1b44e;
}

.original .dataTables_wrapper {
	border-top: solid 2px #e1b44e;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button.disabled {
	color: #1D1D20;
}

/* Reporting / Search */
.content.consignment_criteria {
	padding: 10px;
}

.consignment_criteria + div.panel > div.alert {
	border-radius: 0 0 4px 4px;
}

.consignment_criteria label {
	display: block;
}

.consignment_criteria .date_type div,
.consignment_criteria .postcode_type div{
	margin: 5px 0;
	padding-right: 10px;
}

.consignment_criteria .all_exceptions {
	color: #e1b44e;
}

#searchContent.search .content div:not(.row) {
	float: left;
}

#searchContent.search .content div.row {
	margin-left: 0;
	margin-right: 0;
	padding: 10px 0;
	border-bottom: solid 1px #1d1d20;
}

#searchContent.search .content br.clear {
	clear: both;
}

#searchContent.search .content hr {
	border-top: solid 1px #1d1d20;
	margin: 5px 10px;
}

#searchContent.search .content label {
	display: block;
}

img.consignment_tracking {
	padding-left: 5px;
}

img.consignment_tracking:hover {
	cursor: pointer;
}

/* View/Edit Consignment */
.consignment_entry .swap,
.consignment_entry .clear,
.consignment_entry .lookup,
.consignment_entry .sub_title span {
	color: #ebb84e;	
}

.view_consignment .consignment_information,
.view_consignment .pod_images,
.view_consignment .consignment_images {
	margin-bottom: 30px;
}

.view_consignment .section_title,
.consignment_entry .section_title {
	padding-bottom: 10px;
}

.consignment_entry .section_title .sub_title,
.view_consignment .section_title .sub_title {
	text-align: right;
	width: 100%;
}

.view_consignment .section_title .sub_title span {
	color: #ebb84e;
}

.view_consignment .section_title:not(:first-of-type),
.consignment_entry .section_title:not(:first-of-type) {
	padding-top: 20px;
}

.consignment_entry .sub_title span,
.view_consignment .sub_title span {
	font-weight: bold;
	font-size: 13px;
}

.view_consignment .label_container,
.consignment_entry .label_container {
	text-align: right;
}

.consignment_entry .consignment_buttons {
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid #1d1d20;
	text-align: center;
}

.consignment_entry .consignment_buttons div.inline.buttons {
	margin-left: 30px;
}

#content.consignment_entry div#manifestError,
#content.consignment_entry div#manifestSuccess,
#content.view_consignment div#manifestSuccess {
	display: block;
	background: #ff0000;
	border: 1px solid #fff;
	color: #fff;
	margin-bottom: 15px;
	padding: 20px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}

#content.consignment_entry div#manifestSuccess,
#content.view_consignment div#manifestSuccess {
	background: #008000;
}

#content.consignment_entry div#manifestError ul {
	padding-left: 10px;
}

.view_consignment .top_wrapper,
.consignment_entry .top_wrapper {
	border-bottom: 1px solid #1d1d20;
	height: 100%;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.view_consignment .top_wrapper div label,
.consignment_entry .top_wrapper div label {
	display: block;
}

.view_consignment .middle_wrapper,
.consignment_entry .middle_wrapper {
	border-bottom: 1px solid #1d1d20;
	height: 100%;
	margin-top: 0;
	padding-bottom: 10px;
}

.consignment_entry .middle_wrapper .lookup {
	height: 24px;
	background: #222;
	/*
    background: url(/assets/img/xsys/lookup.gif) no-repeat left center;
    padding-left: 17px;
	*/
}
	
.view_consignment .middle_wrapper div label,
.consignment_entry .middle_wrapper div label {
	padding-right: 5px;
	text-align: right;
	width: 100px;
}

.consignment_entry .middle_wrapper div label {
	color: #fff;
	font-weight: normal;
}

.consignment_entry .middle_wrapper table {
	border-top: none;
}

.consignment_entry .middle_wrapper table tbody::after {
	display: none;
}

.view_consignment .original label,
.consignment_entry .original label,
.consignment_entry .volumeLink {
	color: #ebb84e;
}

.view_consignment .no_entries {
	border: 1px solid #333;
	color: #ebb84e;
	padding: 10px;
	text-align: center;
}

.view_consignment .systemReference {
	color: #ebb84e;
}

#address_selector,
#postcode_selector,
#customer_selector {
	background: #1d1d20;
	border: 1px solid #e1b44e;
	padding: 0;
	position: absolute;
	width: 650px;
	z-index: 9999;
}

#address_selector #inner_address,
#postcode_selector #inner_postcode,
#customer_selector #inner_address {
	height: 200px;
	line-height: 22px;
	overflow: auto;
}

#address_selector #inner_address .address,
#postcode_selector #inner_postcode .address,
#customer_selector #inner_address .address {
	display: block;
}

#address_selector #remove_address_selector,
#postcode_selector #remove_postcode_selector,
#customer_selector #remove_customer_selector {
	background: #2D2D30;
	border-top: 1px dashed #E1B44E;
	color: #00AEED;
	cursor: pointer;
	margin: 0;
	padding: 5px;
}

#isInsured {
	position: relative;
	bottom: 8px;
	right: 8px;
	width: 32px;
}

#notInsurable,
#showInsuredMsg {
	padding: 10px;
	background: #222 url(/assets/img/xsys/job_completed.png) no-repeat 98% 50%;
	border: 2px solid #1d1d20;
	color: #cbb849;
	margin:15px 0 0 0;
	font: bold 14px arial;
}

#notInsurable {
	color: red;
	background: #222 url(/assets/img/xsys/cancel-collection.png) no-repeat 98% 50%;
}

#showInsuredMsg {
	background: #222 url(/assets/img/xsys/job_completed.png) no-repeat 98% 50%;
}

.entryCheckHighlight {
	background-color: red;
	color: white;
}

div.consignmentDepots {
	padding-left: 0px;
}

div.consignmentDepots .dataTableHyperlinks {
	display: inline-block;
}

/* Claims */
.claims .options,
.claims #consignment_details {
	padding: 10px;
}

.claims .options div.click_option {
	background: #333;
	border: 1px solid #e1b44e;
}

.claims .options div.text_option {
	display: block;
	padding-top: 5px;
	font-size: 17px;
}

.claims .claimConsigneeDetails .form-group .form-option {
	padding-right: 20px;
}

.claims #consignments {
	border-top: 1px solid #1d1d20;
	margin-top: 10px;
}

.claims #buttonArea {
	text-align: center;
}

.claims #buttonArea input.button {
	text-transform: uppercase;
}

.failed-claim-reason {
	font-weight: bold;
	padding: 5px 15px;
}

.claims .addBox,
.claims .custom-file span a {
	color: #e1b44e;
}

.claims #descOfGoods.form-control,
.claims #info.form-control {
	height: 100px !important;
	resize: none;
}

.claims .cost-invoice {
	padding-top: 20px;
}

.claims .cost-invoice,
.claims .goods-description,
.claims .photographic,
.claims .cost-description,
.claims .cost-value {
	border-bottom: 1px solid #333333;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.claims_onhold_list .panel,
.claims_overview .panel,
.claims_details .panel {
	margin-bottom: 0px;
}

.claim-link {
	color: #e1b44e;
	display: block;
	margin: 10px 0 10px 0;
	font-size: 16px;
}

/* Hub Claims */
.hub_claims .process_claim {
	border-top: 1px solid #e1b44e;
	margin: 20px 10px;
	padding-top: 20px;
}

.hub_claims .right_column label {
	color: #e1b44e;
}

.claims_onhold .onhold {
	background: #1d1d20;
}

.claims_onhold .onhold .pending {
	background-color: #2d2d30;
}

.claims_overview .notDataTable {
	margin-bottom: 20px !important;
}

.claims_details .panel:not(:first-of-type) {
	margin-top: 20px;
}

/* Icons */
a.addIcon {
	background: url(/assets/img/xsys/add.png) no-repeat left center;
	margin-left: 10px;
	padding-left: 15px;
}

a.removeIcon {
	background: url(/assets/img/xsys/remove.png) no-repeat left center;
	margin-left: 10px;
	padding-left: 15px;
}

/* Datepicker */
.datepicker {
	background: #1d1d20;
	border: solid 1px #e1b44e;
}

.datepicker-dropdown::after {
	border-bottom-color: #e1b44e;
}

.datepicker.dropdown-menu {
	font-size: 12px !important;
}

.datepicker table tr td.range {
	background: #5B5B5B;
}

.datepicker table tr td span.month {
	padding-left: 10px;
}

.datepicker table tr td span.year {
	padding-left: 5px;
}

.datepicker table tr th:hover,
.datepicker table tr td span:hover,
.datepicker table tr td span.focused,
.datepicker table tr td.day:hover {
	color: #000;
}

.bootstrap-timepicker-widget.dropdown-menu {
	z-index: 2147483647 !important;
	text-align-last: center;
}

#export {
	display: none;
}

.podImageContainer,
.consignmentImageContainer {
	float: left;
	padding: 10px;
	width: 25%;
}

.podScanImage {
	border-color: #e1b44e;
}

span.podDate span.scan_link,
span.consignmentImageDate span.scan_link {
	color: #fff;
}

/* Status Classes */
.nav tr.red {
	background-color: #ff7673;
	color: #000000;
}

.nav tr.red td {
	background-color: #ff7673 !important;
	border-bottom: solid 1px #ff3333;
	color: #000000;
}

/* Label Modal */
#label-modal .modal-body {
	padding-top: 20px;
}

/* XSYS Error */
table.xsys_error {
	background-color: #2d2d30 !important;
	height: 210px;
}

/* Login Errors */
.account-form {
	color: #222222;
}

#submit-form:hover {
	background-color: #292d32 !important;
}

#submit-password:hover {
	background-color: #c14444 !important;
}

/* Depot - Customers */
#customers_wrapper .customer.stop td,
#system_customers_wrapper .customer.stop td {
	color: #000;
}

#customers_wrapper .customer.stop td a,
#system_customers_wrapper .customer.stop td a {
	color: #000;
}

#customers_wrapper .customer.stop.odd td,
#system_customers_wrapper .customer.stop.odd td {
	background-color: #ff6666;
}

#customers_wrapper .customer.stop.even td,
#system_customers_wrapper .customer.stop.even td {
	background-color: #ff5555;
}

/* Depot */
.exceptions tr.tier4 .dataTableHyperlinks a, #content tr.blue .dataTableHyperlinks a, #accountCreation tr.creditLimitSet .dataTableHyperlinks a {
	color: #e1b44e;
}

.exceptions tr.tier7 td {
	color: #999999;
}

.routeInput {
	color: #000000;
	float: right;
	font-size: 12px;
}

#route_summary .routeOption {
	margin-left: 10px;
	width: 16px;
}

#route_summary .timeInput {
	color: #000000;
	width: 50px;
}

#route_summary .driverSelection {
	width: 120px;
}

#route_summary .vehicleSelection {
	width: 80px;
}

.deliveryWindowButton {
	background: #1d1d20;
	color: #ffffff;
	text-transform: uppercase;
	border: 1px solid #2d2d30;
	font-size: 12px;
	padding: 4px 8px 4px 8px;
	text-decoration: none;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	border-radius: 4px;
}

.deliveryWindowButton.selected {
	background: #e1b44e;
	color: #000000;
}

.dataTables_scrollBody tr {
	height: 32px;
}

.globalSearch {
	position: relative;
	padding-left: 45px;
	margin-right: 20px;
}

.globalSearch .label {
	float: left;
	position: relative;
	top: 5px;
	right: 5px;
}

.helpLogout {
	float: right;
	position: relative;
	top: 3px;
	right: 3px;
	margin-bottom: 10px	
}

/**
 * Panel formatting
 */
#wrapper .panel {
	background: #1d1d20;
	/* color: #5b5b5b; */
}

#wrapper .panel-line.panel-primary,
#wrapper .panel-heading {
	border-top-color: #ebb84e;
}

#wrapper .panel .form-control,
#wrapper .panel .form-group {
	height: 24px;
}

#wrapper .panel .form-group {
	margin-bottom: 5px !important;
}

#wrapper .panel select.form-control,
#wrapper .panel select.form-group{
	padding: 3px 6px;
}

#wrapper .panel .nav-tabs {
	border-bottom: 1px solid #333;
}

#wrapper .panel .nav-tabs li a {
	border: 1px solid #333;
	color: #fff;
	position: relative;
	bottom: -1px;
	left: -1px;
	font-size: 14px;
	font-weight: bold;	
	text-transform: uppercase;
	padding: 5px 15px;
}

#wrapper .panel .nav-tabs li.active a,
#wrapper .panel .nav-tabs li a:hover {
	background: #ebb84e;
	color: #222;
}

#content > div.panel > div.alert:first-of-type,
#content > div.alert:first-of-type {
	margin: -15px 0px 20px 0px;
	border-radius: 0 0 4px 4px;
}

#content > div.alert:first-of-type > ul {
	margin: 5px 15px;
}

#content > div.alert:first-of-type > ul > li {
	padding-bottom: 2px;
}
	
#content > div.alert {
	margin-bottom: 20px;
}

/**
 * File download
 */
.fileDownload {
	height: 100px;
	width: 100%;
	padding: 20px;
}
.fileDownload .loader {
	position: relative;
	left: 10px;
	top: -2px;
}
.fileDownload .message {
	position: relative;
	margin-left: 60px;
	top: -4px;
}

/**
 * Override jquery-ui
 */
.ui-widget.ui-widget-content {
    border: 2px solid #e1b44e;
}

.ui-dialog-content.ui-widget-content {
	font-size: 14px;
}

.dataTableHyperlinks > div.links > img:not(.visible) {
	display: none;
}

.dataTableHyperlinks:hover > div.links > img {
	display: inline-block;
}

.dataTableHyperlinks > div.links {
	display: inline-block;
	padding: 0 5px;
}

.original table tbody td.highlight { 
	border: solid 2px #e1b44e;
}

.alert.flush-bottom {
	border-radius: 4px 4px 0 0;
	margin-bottom: 0;
}

.dataTables_scrollFootInner .dataTable tfoot {
	border-bottom: solid 2px #e1b44e;
}

/**
 * Shipment Log
 */
.addlog {
	background: url(/assets/img/xsys/addlog.gif) no-repeat left center;
	padding-left: 20px;
	color: white;
}

.addlog:hover {
	color: #ebb84d;
}

.nav table.table,
.shiplog table.table {
	margin-bottom: 0;
}

div.pinCodeEntry, p.editContinue {
	border-top: 1px solid #dca115; border-bottom: 1px solid #dca115;
	padding: 10px 0 10px 0;	
}

div.pinCodeEntry .input-group {
	margin: 0 20px 0 20px;
}

div.pinCodeEntry .input-group > input {
	height: 28px;
}

.height-20 {
	height: 20px;
}

.red {
	color: red;
}

.green {
	color: green;
}

.content.edit label {
	display: block;
}

.content.edit .row > div {
	padding-bottom: 5px;
}

.content.edit input[type='text'],
.content.edit select {
	width: 80%;
}

.content.edit input[type='text'].small {
	width: 40%;
}

.content.toggle-table {
	text-align: center;
	border-top: solid 2px #e1b44e;
}

.watchlist-text {
	height: 100px !important;
	min-width: 250px !important;
	resize: none;
}

.watchlist-remove {
	display: block;
	padding-bottom: 10px;
}

.watchlist-remove:hover,
.watchlist-save:hover {
	cursor: pointer;
}

a.printLabel {
	padding-left: 10px;
}

/* Feedback /  */
.add-feedback {
	/* font-weight: normal; */
	padding-left: 10px;
}

.add-claim-info label,
.add-customer-info label,
.add-depot-info label,
.leave-feedback label,
.report-problem label {
	display: block;
}

.send_message .center,
.add-claim-info div.row:not(:first-child),
.add-customer-info div.row:not(:first-child),
.add-depot-info div.row:not(:first-child),
.leave-feedback div:not(:first-child),
.report-problem div:not(:first-child) {
	padding-top: 10px;
}

.send_message div.border-bottom,
.add-claim-info > div:not(:last-child),
.add-customer-info > div:not(:last-child),
.add-depot-info > div:not(:last-child),
.leave-feedback > div:not(:last-child),
.report-problem > div:not(:last-child) {
	border-bottom: solid 1px #333333;
	margin-bottom: 10px;
}

.send_message div.row,
.add-claim-info div,
.add-customer-info div,
.add-depot-info div,
.leave-feedback div,
.report-problem div {
	padding-bottom: 10px;
}

.leave-feedback .radio-control {
	padding-left: 0 !important;
}

.leave-feedback .reason-label {
	display: inline-block;
	position: relative;
	bottom: 2px;
	padding-left: 5px;
	padding-right: 15px;
}

.addnotes,
.send_message textarea,
.add-depot-info textarea,
.leave-feedback textarea,
.report-problem textarea {
	width: 100%;
	height: 150px;
	resize: none;
}

.send_message .center,
.add-claim-info .submit,
.add-customer-info .submit,
.add-depot-info .submit,
.leave-feedback .submit,
.report-problem .submit {
	text-align: center;
}

.add-depot-info input[type="checkbox"] {
	position: relative;
	top: 2px;
	left: 3px;
}

.add-depot-info input[type="radio"] + div.label {
	position: relative;
	bottom: 3px;
}

.send_message input[type="checkbox"] + div {
	display: inline-block;
	position: relative;
	bottom: 2px;
	left: 3px;
}

.add-depot-info div.no-padding div {
	padding-top: 0;
	padding-bottom: 0;
}

.send_message input.col-sm-12,
.add-depot-info input.col-sm-12 {
	padding-left: 5px;
}

/* Quick Edit/Update Consignment, Claim Approval Actions */
.approval_actions label,
.quick-edit-consignment label {
	display: block;
}

.approval_actions div:not(:first-child),
.quick-edit-consignment div:not(:first-child) {
	padding-top: 10px;
}

.approval_actions > div:not(:last-child),
.quick-edit-consignment > div:not(:last-child) {
	border-bottom: solid 1px #333333;
}

.approval_actions div,
.quick-edit-consignment div {
	padding-bottom: 10px;
}

.approval_actions div.row .col-sm-4,
.quick-edit-consignment div.row .col-sm-4 {
	padding-top: 0px;
}

.approval_actions textarea,
.quick-edit-consignment textarea {
	width: 100%;
	height: 120px;
	resize: none;
}

.approval_actions .submit,
.quick-edit-consignment .submit {
	text-align: center;
}

/* Volumetric Calculator */
.volumetricCalculator .volumetric_header {
	color: #ebb84e;
	padding: 10px;
}

.volumetricCalculator .volumetric_header span {
	background: url(/assets/img/xsys/arrow-down.gif) no-repeat left center;
	padding-left: 20px;
}

.volumetricCalculator .piece > .index {
	padding-right: 10px;
}

.volumetricCalculator .piece input.box {
	width: 70%;
	display: inline-block;
}

.volumetricCalculator .piece > div > span {
	display: inline-block;
	padding-left: 5px;
}

.volumetricCalculator .piece .box {
	font-size: 12px;
	height: 24px;
	padding: 3px 6px;
	margin-bottom: 2px;
}

#enterConsignment .input-group input[type="text"] {
	height: 28px;
}

#multipleConsignments ul {
	margin-left: 20px;
}

/* Depot Expenses */
.expenses table {
	table-layout: fixed;
}

.expenses table.td {
	text-overflow: ellipsis;
}

div.depot-input-inline,
div.date-input-inline {
	display: inline-block;

}
div.depot-input-inline {
	padding-right: 20px;
}

div.depot-input-inline > label,
div.date-input-inline > label {
	padding-right: 5px;
}

div.date-input-inline div.daterange {
	display: inline-block;
}

.expenses td div {
	margin-bottom: 5px;
}

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

.expenses .alert {
	padding: 10px;
}

.expenses .regionalNotes input,
.expenses .directorNotes input {
	width: 100%;
}

.expenses td input.btn {
	min-width: 140px;
	margin-bottom: 10px;
}

.expenses span.status {
	display: block;
	color: #fff;
	margin: 5px 0 0 0;
}

#system_feedback div.feedback {
	white-space: normal;
}

#system_feedback div.view-feedback-link {
	text-align: right;
	padding-right: 15px;
}

/* PalletLog */
.pallet-log-update div.input label {
	width: 25% 
}

.pallet-log-update div.input input {
	width: 25%;
}

.pallet-log-update div.submit .button {
	width: 25%;
	margin-left: 25%;
	position: relative;
	left: 2px;
}

/* Hub Reports */
.price_issues .consignment_hyperlink {
	display: inline-block;
	padding-right: 5px;
}

/* DataTable totals */
#searchTotalRecords,
#pendingTotalRecords,
#processedTotalRecords,
#totalRecords,
#hubConsignments,
#collectionTotalRecords, 
#deliveryTotalRecords,
#collectionTotalConsignments, 
#collectionTotalPieces,
#hubTotalConsignments, 
#hubTotalPieces,
#bothTotalConsignments, 
#bothTotalPieces {
	color: #ebb84e;
}

/* Inbound / Outbound Discrepancies */
.inbound_discrepancy_pieces,
.outbound_discrepancy_pieces {
	margin-left: 30px;
	width: 100%;
}

table.dataTable td.piece_collected {
	color: #000;
	background: #58f07e;
}

table.dataTable td.onholdreason,
table.dataTable td.piece_not_collected {
	color: #000;
	background: #ff7673;
}

.piece_collected span,
.piece_not_collected span {
	font-weight: bold;
}

/* Customer Upload */
.customer_upload .address_upload_type,
.customer_upload .address_upload,
.customer_upload .consignment_upload,
.customer_upload .pod_export {
	padding: 10px;
}

.customer_upload .alert.alert-danger ul {
	padding-left: 20px;
	padding-bottom: 5px;
}

.customer_upload .alert.alert-danger ul li {
	padding-top: 5px;
}

.customer_upload .original .content table.notDataTable {
	border-top: none;
}

/* Profile Page */
#content .profile_page .alert {
	margin-bottom: 20px;
}

.profile_page .buttons {
	border-top: 1px solid #333;
}

#wrapper .panel .form-control.pretty-file-target {
	height: 25px;
}

/* Admin Pic */
.admin-pic {
	position: absolute;
	top: 10px;
	right: 10px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: inline-block;
    height: 45px;
    width: 45px;
}

/* 404 / Error Page */
.page-error {
	padding: 15px;
	margin-top: 50px !important;
	width: 50%;
	margin: 0 auto;
	position: relative;
	z-index: 5000;
}

.page-error .error-page {
	border: 5px solid #333;
	background: #222222;
	padding: 0 15px 15px;
}

.page-error .error-page .error-content p {
	text-align: left !important;
}

.page-error .error-page .btn {
	padding: 6px 20px;
}

a.error-link,
.text-yellow {
    color: #ebb84e;
}

/* Commission Summary */
.commission_summary table .table {
	background-color: #1d1d20;
	border: solid 2px #e1b44e;
}

/* Tickets */
.panel.ticket_view {
	margin-bottom: 0;
}

tr .ticket_attachment {
	border-top: 1px solid #2d2d30;
}

tr:nth-child(2n+1) .ticket_attachment,
tr.odd .ticket_attachment {
	border-top: 1px solid #222222;
}

.ticket_attachment {
	color: #ebb84e;
	margin-top: 5px;
	padding-top: 5px;
}

.ticket_attachment span {
	margin-left: 5px;
}

.ticket_attachment span,
.ticket_attachment span a {
	color: #fff;
}

.ticket_slips .updated_by span {
	color: #fff;
}

/* Jobs */
.jobs img,
#job_notes_modal .message_options img {
	height: 16px;
	width: 16px;
}

#add-newticket .form-control, 
#jobData .form-control {
	height: auto;
	padding: 3px 6px;
	font-size: 12px;
}

#add-newticket textarea,
#jobData textarea {
	resize: none;
}

/* Fulfillment, formerly Bulk-Picking */
#importPanel form .import_file,
#importPanel form .import_options {
	float: left;
}

#importPanel form .import_options {
	position: relative;
	top: 5px;
}

.print_options a {
	color: #e1b44e;
	cursor: pointer;
	margin-right: 10px;
}

.print_options a:not(:first-of-type):before {
	color: #fff;
	content: '|';
	margin-right: 10px;
}

.print_options a img {
	margin-right: 2px;
}

/* Resolve Problems */
.resolve_problems ul {
	padding-left: 15px;
}

/* Customer Account Creation */
#quotesPending tr td,
#accountCreation tr td {
	color: #fff;
}

#accountCreation tr.customerServicesOnly td {
	color: #333;
}

#quotesPending tr td span,
#accountCreation tr td span {
	color: #e1b44e;
}

#accountCreation tr.quoteApproved td span,
#accountCreation tr.creditLimitSet td span {
	color: #333;
}

#accountCreation tr.customerServicesOnly td span {
	color: #999;
}

#quotesPending tr td div.options a,
#accountCreation tr td div.options a {
	color: #e1b44e;
}

#accountCreation tr.quoteApproved td div.options a,
#accountCreation tr.customerServicesOnly td div.options a,
#accountCreation tr.creditLimitSet td div.options a {
	color: #333;
}

/* Customer Edit */
.customer-edit textarea.delivery-notes {
	height: 132px !important;
	resize: none;
}

.customer-edit label span {
	font-size: 11px;
	font-weight: normal;
}

.prealert-html, .prealert-sms {
	height: 100px !important;
	resize: none;
}

/* Ratecard Editor */
#rateCardRows .changed {
	background: #e1b44e;
}

/* Homescreens */
.homescreen .horizontal_divider:not(:first-of-type) {
	height: 10px;
	border-bottom: 1px solid #1d1d20;
	margin-bottom: 10px;
}

.homescreen.messages .message {
	padding-bottom: 10px;
	border-bottom: 1px solid #1d1d20;
	margin-bottom: 10px;
}

/* Gazetteer */
table.gazetteer {
	margin-bottom:  0;
}

table.gazetteer td,
table.gazetteer th {
	border-right: 1px solid #1d1d20;
	border-bottom: 1px solid #1d1d20;
}

table.gazetteer th,
table.gazetteer td:first-child {
	color: #ebb84d;
}

.gazetteer hr {
	border: none;
    border-top: 1px solid #333333;
	margin: 10px 0;
}

.gazetteerPending td,
.gazetteerPending td a {
	color: #1d1d20 !important;
}

#customer-collection input[type="checkbox"] + span {
	margin: 0 3px;
}

#menu #to_be_booked_count,
#menu #damaged_count,
#menu .message_count,
#menu .misroute_count {
	color: #ebb84e;
}

#menu #to_be_booked_count:before,
#menu #damaged_count:before,
#menu .message_count:before,
#menu .misroute_count:before {
	content: '(';
	display: inline-block;
}

#menu #to_be_booked_count:after,
#menu #damaged_count:after,
#menu .message_count:after,
#menu .misroute_count:after {
	content: ')';
	display: inline-block;
}

/* SweetAlert2 Styling */
.swal2-popup {
	background: #222222;
	border: 5px solid #333;
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.25);
}

.swal2-popup .swal2-title,
.swal2-popup .swal2-content {
	color: #fff;
}

.swal2-popup .swal2-image {
	width: 200px;
	height: 150px;
	padding-left: 200px;	/* Move original image to the left */
	background: url('/assets/img/spinners/xsys-200px.gif') left -25px no-repeat;
}

#header .depotScans {
	position: absolute;
	top: 20px;
	/* width: 100%; */
}

#header .depotScans .scanCount {
	display: inline-block;
	margin-left: 10px;
}

#header .depotScans .scanCount.incorrect div {
	 /*
		#0DB8DF; Blue
		#EA3F3F; Red
	 */
	background: none repeat scroll 0 0 #EDA849;
	border: 1px solid #222222;
	border-radius: 13px;
	color: #333333;
	display: inline-block;
	font-weight: bold;
	padding: 4px 3px;
	min-width: 26px;
	height: 26px;
	text-align: center;
	margin-right: 2px;
}

#header .depotOptions {
	display: inline-block;
	position: relative;
	bottom: 3px;
	margin-left: 20px;
	margin-right: 20px;
}

#header .depotOptions a {
	margin-left: 10px;
	display: inline-block;
	border: 1px solid #ebb84e;
	border-radius: 13px;
	width: 26px;
	height: 26px;
}

#header .depotOptions a img {
	padding: 4px 0 0 4px;
}

/* Consignment Pricing */
#edit_price_modal_container .row .form-control[disabled] {
	background: #999;
}

.depot-view .orange {
	color: #ebb84e;
}

body .ui-selectmenu-button {
	display: block;
	background: #fff;
	color: #555;
}

body .ui-selectmenu-menu ul.ui-menu {
	color: #555;
}

.outbound_discrepancies table tbody td,
.outbound_discrepancies table tbody td a {
	color: #000000;
}

/* Multi-select styling */
.ms-options-wrap.form-control {
	height: 25px !important;
}

.ms-options-wrap.form-control button {
	height: 100% !important;
}

.ms-options-wrap > button:focus,
.ms-options-wrap > button {
	padding: 0;
	text-align: left !important;
}

.ms-options-wrap > .ms-options > ul > li.optgroup .label {
	background: #2d2d30;
	border-radius: 4px;
	color: #e1b44e;
}

/* Toggle styling */
.toggle-group label {
	position: absolute;
	width: 50%;
}

.toggle-group label.toggle-on {
	padding-right: 6px !important;
}

.toggle-group label.toggle-off {
	padding-left: 6px !important;
}

.toggle-group .toggle-handle {
	height: 100%;
	margin-left: 45%;
	width: 10%;
}

/* Expenses */
.dataTables_wrapper .nominalCode {
	border-top: 1px solid #333;
}

/* Dashboard */
.dashboard .portlet .panel {
	border: 1px solid #666 !important;
}

.dashboard .portlet .panel .panel-heading, 
.dashboard .portlet .panel .panel-footer {
	background-color: #333;
}

.dashboard .portlet .panel .panel-heading {
	color: #ebb84e;
	font-weight: bold;
}

.dashboard .portlet .panel .panel-footer {
	
}

.dashboard .configure {
	position: absolute;
	bottom: 94px;
	right: 45px;
}

.dashboard .configure .configure_dashboard i {
	color: #ebb84e;
}

#dashboard_configuration_modal input:not(:disabled) {
	background-color: #fff !important;
}

#dashboard_configuration_modal textarea.form-control[disabled] {
	background-color: transparent !important;
}

#dashboard_configuration_modal button {
	text-align: center;
}

.customer-edit .content ul.nav-tabs {
    border-bottom: 1px solid #e1b44e !important;
	padding-bottom: 1px;
}

.customer-edit .content ul.nav-tabs li a {
	border-color: #e1b44e !important;
}

.customer-grafana-chart {
	border: 1px solid #e1b44e;
}

/* Bootstrap card overrides */
.card {
	background-color: #1d1d20 !important;
}

/* Printing Support */
@media print
{
	/* Hide elements */
	#header,
	#menu,
	.resolve_problems,
	.preTableOptions .hyperlinks,
	.stickyFooter,
	#openProfiler {
		display: none !important;
	}

	/* Remove flex for Firefox printing */
	#wrapper,
	#wrapper > div,
	#content,
	#searchContent,
	.flexheight {
		display: block !important;
	}
	
	/* Remove page margin */
	#wrapper > div {
		margin: 0;
	}
	
	/* Remove border */
	#content {
		border: none;
	}
}