
.strikethrough {
    text-decoration: line-through;
}

#num-btn-container .btn {
	height: 100px;
	width: 100px;
	line-height: 85px;
	font-size: 20px;
}

.select2-container {
	width: 100% !important;
}

.btn_add_discount, .btn_remove_discount {
	float: right;
}
.product_code, .product_barcode {
	font-size: 0.6rem;
}

.product_price {
	display: inline;
}

.product_original_price {
	display: inline;
	color: gray;
	text-decoration: line-through;
}

#form_product_add .error {
	border-color: red;
}

.list-thumbnail-a {
	display: block;
	min-height: 50px;
}

.list-thumbnail {
	max-width: 50px;
	max-height: 50px;
}

ul.checkbox-tree.root { padding-left: 0; }
ul.checkbox-tree li { list-style-type: none; margin-bottom: 6px; }
ul.checkbox-tree li label { padding-top: 1px; }
ul.checkbox-tree li label input { float: left; width: auto; margin-right: 5px; height: 26px; }
ul.checkbox-tree li span, ul.subtree li span.expand-icon { margin: 0 5px; cursor: pointer; }
ul.checkbox-tree > ul.subtree ul.subtree { display: none; }

/* select2 tree formatting */
.l1 { padding-left: 1em; }
.l2 { padding-left: 2em; }
.l3 { padding-left: 3em; }
.l4 { padding-left: 4em; }
.l5 { padding-left: 5em; }
.l6 { padding-left: 6em; }
.l7 { padding-left: 7em; }
.l8 { padding-left: 8em; }
.l9 { padding-left: 9em; }

/* product list */
.list-price-edit-container .price-field {
	width: 100%;
	margin-bottom: 6px;
}

/* order view */
.page-orders .card.shipping-address-box .card-body { background-color: #ffd5ad; }

/* form validation */
input.error, textarea.error, select.error { border: 1px solid red; }

/* AjaxTable */
.at_table th {
	padding-left: 0.4rem;
	padding-right: 0.4rem;
}

.at_sorting {
	cursor: pointer;
	display: inline-block;
}
.at_sorting.asc .up {
	color: red;
}
.at_sorting.desc .down {
	color: red;
}

.at_paginator {
	float: right;
}

.at_table_filter input, .at_input_page_jump {
	width: 50%;
	display: inline-block;
}

.at_active_toggle {
	cursor: pointer;
}
.at_active_toggle .badge {
	padding: 6px;
}

.select2-container--open .select2-dropdown {
	min-width: 200px;
}
/* END AjaxTable */

.switch-lightblue input:checked + .slider {
	background-color: lightblue;
}

.btn-sm.gray, .btn-sm.blue, .btn-sm.red, .btn-sm.green, .btn-sm.orange {
	color: white;
}

#at_table_product_list .wssbadge {
	width: 32px;
	height: 32px;
	line-height: 28px;
	font-size: 100%;
}

/* Jump buttons */
#jump-to-bottom, #jump-to-top {
	display: none;
	position: fixed;
	right: 32px;
	z-index: 999;
}
#jump-to-top {
	bottom: 20px;
}
#jump-to-bottom {
	top: 100px;
}
/* END Jump buttons */

body.dark-mode .tr-bg-yellow {
	background-color: #650 !important;
}

body:not(.dark-mode) .tr-bg-yellow {
	background-color: #feb !important;
}

body.dark-mode .order_has_parent {
	background-color: #125;
}

body:not(.dark-mode) .order_has_parent {
	background-color: #eef;
}

/* darker import price field in terminal */
body.dark-mode .darker-td {
	background-color: #24202c; /* #26222a */
}

body:not(.dark-mode) .darker-td {
	background-color: #bbb;
}
/* END darker import price field in terminal */

body:not(.dark-mode) .stock_allocation_button.red {
    background-color: darkred !important;
}