/**
 * @Author: amirhp-com <its@amirhp.com>
 * @Date:   2022/09/01 18:46:50
 * @Last modified by:   amirhp-com <its@amirhp.com>
 * @Last modified time: 2022/09/03 15:41:17
 */


:root {
	--theme_color: {{{theme_color}}};
	--theme_color2: {{{theme_color2}}};
	--theme_color3: {{{theme_color3}}};
	--theme_fontsize: {{{font_size}}};
	--theme_fontsizel: {{{font_sizes}}};
	--theme_fontsizem: {{{font_sizem}}};
	--watermark_opacity: {{{watermark_opacity}}};
}

* {
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

#headertitles{
	border: none !important;
}

.font-small {
	font-size: {{{font_sizes}}};
}
.show_product_base_price,
.show_product_tax,
.show_product_total_price {
	min-width: 90px;
}
.font-medium {
	font-size: {{{font_sizem}}};
}

table * {
	font-size: {{{font_size}}} !important;
	direction: rtl;
}

body, table *, td, th {
	font-size: {{{font_size}}} !important;
}
td table.display_meta * {
	margin: 0;
}
td table.display_meta{
	border-collapse: collapse;
	width: auto;
}
.print-button {
	display: none;
}

tfoot, thead, .content-table td, .content-table td, .bordered , tr.show_order_items th{
	border: 1 solid white !important;
}

.bordered {
	border: 1px solid #000;
	padding: 0.12cm;
}

#topheadinfo>tr>td{
	border: 1px solid {{{theme_color}}} !important;
}

.content-table td, th {
	text-align: center;
	padding: 0.1cm;
	font-weight: normal;
	word-break: break-word;
}

.content-table td.show_product_title_description{
	text-align: right;
}
.title{
	font-weight: bold;
}

.header-item-wrapper {
	height: 75px;
	vertical-align: middle;
	text-align: center;
	padding: 0 0 4px;
}

.bg {
	background: #eee !important;
}

.bg2 {
	background: {{{theme_color2}}} !important;
}

.bg4 {
	background: {{{theme_color}}} !important;
}

.bg3,.footersignatureauto tr,{
	background: {{{theme_color2}}} !important;
}

.show_custom_footer{
	text-align: center;
	padding: 0.2cm;
	background: {{{theme_color2}}} !important;
}

.footersignatureauto{
	margin: 0 !important;
}

.headtr,.footerauto, .bgONE{
	background: {{{theme_color}}} !important;
}

table.content-table tbody tr:nth-child(2n+1), table.content-table tbody tr.odd{
	background: #eee !important;
}

table.content-table tfoot tr:nth-child(2n+1), table.content-table tfoot tr.odd,
table.content-table tfoot tr:nth-child(2n), table.content-table tfoot tr.even {
	background: {{{theme_color}}} !important;
}

table.content-table tbody tr:nth-child(2n), table.content-table tbody tr.even {
	background: {{{theme_color2}}} !important;
}

.headseln {
}

.content-table {
	border-collapse: collapse;
}

.header-table {
	border-collapse: collapse;
	table-layout: fixed;
	border-spacing: 0;
}

.header-table table {
	width: 100%;
	vertical-align: middle;
}

.header-table td {
	padding: 0;
	vertical-align: middle;
	padding: 0.1cm;
	font-weight: normal;
}

table {
	width: 100%;
	table-layout: fixed;
	border-spacing: 0;
}

.header-item-data {
	height: 100%;
	width: 100%;
}

table.centered td {
	vertical-align: middle;
}

.serials {
	direction: ltr;
	text-align: left;
}

.title {
	text-align: right;
}

.grow {
	width: 100%;
	height: 100%;
}

.label {
	font-weight: bold;
	padding: 0 0 0 2px;
}

.ltr {
	direction: ltr;
	display: block;
}

.show_order_notes td{
	padding: .2cm;
	vertical-align: top;
}

img.barcode {
	min-height: 40px;
}

.show_product_title_description, .show_product_title_description * { text-align: right !important; }
tfoot td:last-of-type * { text-align: right; vertical-align: top; }
