@CHARSET "ISO-8859-1";

html {
	scroll-behavior: smooth;
}

#loading_placeholder.modal {
	z-index: 1070;
}

.modal-backdrop {
    visibility: hidden !important;
}
.modal.in {
    background-color: rgba(0,0,0,0.5);
}

select.form-control.dim {
	color: #999;
}

#form_buttons {
	position: fixed;
	bottom: 0;
	z-index: 5;
	left: 0;
	width: 100%;
	padding-left: 260px;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

.wrapper-default.min #form_buttons {
	padding-left: 50px;
}

#form_buttons > .form-group{
	background-color: #FFF;
	border-top: 1px solid #EEE;
	padding: 10px;
	margin: 0;
	width: inherit;
}

.container-fluid {
	padding-bottom: 35px;
}

/* override bootstrap for firefox */
input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control,
	input[type="month"].form-control {
	line-height: initial;
}

label.form-control {
	margin-bottom: 0;
	border-color: #EEE;
	font-weight: normal;
}

input[type="date"]:before {
	content: attr(placeholder) !important;
	color: #999;
	margin-right: 0.5em;
}

input[type="date"]:focus:before, input[type="date"]:valid:before {
	content: "";
}

.remove_comma {
	text-align: right;
}

.radio-group label {
	margin-bottom: 0px;
}

.panel-heading .form-control {
	margin-top: -7px;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 17px;
}

div ::-webkit-scrollbar {
	width: 6px;
}

/* Scroll Track */
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(51, 122, 183, 0.3);
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

/* Scroll Handle */
::-webkit-scrollbar-thumb {
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background: rgba(51, 122, 183, 0.3);
	-webkit-box-shadow: inset 0 0 6px rgba(51, 122, 183, 0.2);
}

::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(51, 122, 183, 0.1);
}

#carousel_rinku, #container_rinku {
	width: 100%;
}

#carousel_rinku img {
	width: 100%;
}

/* login screen */

.panel-heading #main-logo {
	width: 100%;
	background-color: #FFF;
	padding: 10px;
	white-space: nowrap;
}

.panel-heading #main-logo .logo {
	display: inline;
	width: 75px;
	margin-right: 4px;
}

.panel-heading #main-logo .logo-title {
	display: inline-block;
	width: 75%;
	white-space: nowrap;
	vertical-align: middle;
}

.login-panel .panel-footer h5 {
	display: inline-block;
	vertical-align: bottom;
}

.login-panel .rinku-logo {
	height: 40px;
	display: inline-block;
}

.navbar-brand .logo {
	display: inline;
	vertical-align: middle;
	height: 200%;
	margin-top: -10px;
}

.navbar-right a#rinku_link {
	display: inline;
	padding: 0;
}

.navbar-right h5 {
	display: inline;
	vertical-align: middle;
}

.navbar-right .rinku-logo {
	display: inline;
	vertical-align: middle;
	height: 35px;
}

.navbar-right .dropdown-menu {
	max-height: 400px;
	overflow: auto;
}

.navbar-top-links .dropdown-user li a div {
	white-space: nowrap;
}

.navbar-right li .btn {
	margin: 8px 3px;
	padding: 7px 12px;
	min-height: 20px;
	display: inline;
}

.sidebar .nav li a i.fa.fa-fw {
	font-size: 18px;
	width: 30px;
}

.sidebar-toggle {
	display: none;
}

@media ( min-width : 768px) {
	.navbar-static-top {
		width: 100%;
		position: fixed;
		margin-bottom: 0;
	}
	.sidebar {
		overflow: auto;
		overflow-y: auto;
		-webkit-transition: 0.5s;
		-moz-transition: 0.5s;
		-ms-transition: 0.5s;
		-o-transition: 0.5s;
		transition: 0.5s;
		white-space: nowrap;
	}
	#page-wrapper {
		overflow-y: auto;
		padding: 50px 0 15px 0;
		-webkit-transition: 0.5s;
		-moz-transition: 0.5s;
		-ms-transition: 0.5s;
		-o-transition: 0.5s;
		transition: 0.5s;
	}
	#wrapper.min #page-wrapper {
		margin-left: 40px;
		-webkit-transition: 0.5s;
		-moz-transition: 0.5s;
		-ms-transition: 0.5s;
		-o-transition: 0.5s;
		transition: 0.5s;
	}
	#page-wrapper button.sidebar-toggle {
		position: fixed;
		left: -5px;
		top: 51px;
		width: 250px;
		height: 100%;
		padding: 0 5px 10% 0;
		color: #337ab7;
		margin-top: 0;
		text-align: right;
		transition: 0.5s;
		-webkit-transition: 0.5s; /** Chrome & Safari **/
		-moz-transition: 0.5s; /** Firefox **/
		-o-transition: 0.5s; /** Opera **/
	}
	#page-wrapper button.sidebar-toggle:hover {
		color: #555;
		background-color: #e7e7e7;
	}
	#wrapper.min #page-wrapper button.sidebar-toggle {
		left: -215px;
	}
	#page-wrapper button.sidebar-toggle span:first-child {
		display: none;
	}
	#wrapper.min #page-wrapper button.sidebar-toggle span:first-child {
		display: block;
	}
	#page-wrapper button.sidebar-toggle span:last-child {
		display: block;
	}
	#wrapper.min #page-wrapper button.sidebar-toggle span:last-child {
		display: none;
	}
	#wrapper.min .sidebar {
		-webkit-transition: 0.5s;
		-moz-transition: 0.5s;
		-ms-transition: 0.5s;
		-o-transition: 0.5s;
		transition: 0.5s;
		width: 40px;
		overflow: hidden;
		margin-top: 51px;
	}
	#wrapper.min .sidebar li a {
		padding-left: 10px;
		-webkit-transition: 0.5s; /** Chrome & Safari **/
		-moz-transition: 0.5s; /** Firefox **/
		-o-transition: 0.5s; /** Opera **/
	}
	#wrapper.min .sidebar li a .fa {
		padding-right: 10px;
		-webkit-transition: 0.5s; /** Chrome & Safari **/
		-moz-transition: 0.5s; /** Firefox **/
		-o-transition: 0.5s; /** Opera **/
	}
	#wrapper.min .sidebar li a .arrow {
		display: none;
	}
	#wrapper.min .sidebar .nav-second-level {
		display: none;
	}
	.sidebar-toggle {
		display: block;
		float: left;
		margin-left: 5px;
		margin-right: 0px;
		padding: 9px 5px;
	}
}

}
@media ( max-width : 768px) {
	.navbar {
		position: fixed;
		top: 0;
		width: 100%;
	}
	#page-wrapper {
		margin-top: 101px;
	}
	#page-wrapper button.sidebar-toggle {
		display: none;
	}
	.navbar-brand {
		font-size: 16px
	}
}

}
.has-error p {
	position: absolute;
	color: #FFFFFF;
	right: 15px;
	top: 0;
	background-color: #FF0000;
	padding-left: 5px;
	padding-right: 5px;
	font-size: 10px;
}

label.error {
	position: absolute;
	right: 0;
	width: 100%;
	top: -15px;
}

table label.error {
	position: relative;
}

/* HIDE RADIO */
label.form-radio-image>input {
	visibility: hidden; /* Makes input not-clickable */
	position: absolute; /* Remove input from document flow */
}
/* IMAGE STYLES */
label.form-radio-image>input+img {
	cursor: pointer;
	border: 2px solid #EEE;
	max-width: 100%;
	padding: 5px;
}
/* (RADIO CHECKED) IMAGE STYLES */
label.form-radio-image>input:checked+img {
	border: 2px solid #FF0000;
}

.label-note {
	font-size: 9px;
	display: block;
	margin-bottom: 0px;
	margin-top: -11px;
	position: absolute;
}

div.table-responsive table.table input[type=text].form-control {
	width: auto;
}

div.table-responsive table.table input[type=number].form-control {
	min-width: 80px;
}

.select2-container {
	min-width: 130px;
}

.select2-container--default .select2-selection {
	min-height: 34px;
	height: 34px;
}

.select2-container--default .select2-selection,
	.select2-selection--multiple {
	height: auto;
}

.select2-container--default .select2-selection--single 
.select2-selection__arrow {
	height: 32px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

.input-group .select2-container--default {
	display: table;
	table-layout: fixed;
	position: relative;
}

.form-group-xs .select2-container--default .select2-selection {
	height: 26px;
	min-height: 26px;
	font-size: 10px;
	padding-left: 1px;
}

.form-group-xs .select2-container--default .select2-selection--single 
.select2-selection__arrow {
	height: 24px;
}

.form-group-xs.form-address {
	margin-bottom: 0;
}

.form-group-xs.form-address label {
	font-weight: normal;
	font-size: 10px;
	font-style: italic;
	margin-bottom: 0;
	white-space: nowrap;
}

.summary {
	padding-top: 10px;
}

.summary h1, .summary h2, .summary h3, .summary h4, .summary h5,
	.summary h6 {
	margin: 0;
}

.summary label {
	white-space: nowrap;
}

.summary label.form-control {
	overflow: hidden;
}

.summary input.form-control {
	text-align: right;
}

.summary-total {
	white-space: nowrap;
}

.print_only {
	display: none;
}

td.qty, td.unit_price, td.unit_cost, td.stock, td.amount {
	text-align: right;	
}

td.amount>.form-control{
	text-align: right;
}

td.uom {
	max-width: 100px;
}
td.uom  .select2-container {
    min-width: 85px;
}

label[for="uom_multiplier[]"] {
	font-weight: normal;
}

label[for="uom_multiplier[]"]:before {
	content: 'x';
	float: left;
}

#report-content tr {
	page-break-inside: avoid;
	page-break-after: auto;
}

#report-content.nowrap td, td.table-txn_date, td.table-due_date, td.table-delivered_date,
	td.table-pay_date {
	white-space: nowrap;
}

.table-responsive.tab-content #report-content.table th.table-tin_no,
.table-responsive.tab-content #report-content.table td.table-tin_no,
.table-responsive.tab-content #report-content.table td.table-ref_no,
.table-responsive.tab-content #report-content.table td.table-si_no,
.table-responsive.tab-content #report-content.table td.table-txn_date,
.table-responsive.tab-content #report-content.table td.table-si_date,
.table-responsive.tab-content #report-content.table td.table-pay_date {
	white-space: nowrap;
}

td.table-gross_profit_percent::after {
	content: ' %';
}

.address_details {
	white-space: normal;
}

#print_check_modal .modal-dialog {
	width: 20.5cm;
}

#print_check {
	width: 20.5cm;
	height: 7.5cm;
	padding: 0;
}

#print_check>div {
	height: .5cm;
	font-size: 10pt;
	font-family: monospace;
}

#print_check_date {
	margin-left: 14.5cm;
	width: 3.5cm;
	text-align: right;
}

#print_check_name {
	display: inline-block;
	margin-top: .3cm;
	margin-left: 1.5cm;
	width: 11.5cm;
	text-transform: uppercase;
}

#print_check_amount {
	display: inline-block;
	margin-top: .2cm;
	margin-left: 1cm;
	width: 4.3cm;
	text-align: right;
}

#print_check_words {
	margin-top: .2cm;
	margin-left: 1cm;
	width: 18cm;
	text-transform: capitalize;
}

.print_bulk {
	page-break-after: always;
}

.print_bulk .form-group>.btn {
	display: none;
}

.table-responsive.tab-content #report-content.table th {
	white-space: normal;
}

.table-responsive .table tr.total th {
	border-left: 0;
	padding-top: 20px;
	padding-bottom: 40px;
	border-top: 1px solid #333;
}

.table-responsive .table tr.subtotal th {
	border-left: 0;
	padding-bottom: 40px;
}

#confirm_placeholder ul, .confirm_list {
	max-height: 110px;
	overflow-y: auto;
}

#calculator .row {
	margin-bottom: 5px;
}

#calculator .form-group .col-xs-3:after {
	content: ' x ';
	margin-left: 87%;
    margin-top: -25px;
    position: absolute;
}

#calculator .form-group .col-xs-4:after {
	content: ' = ';
	margin-left: 90%;
    margin-top: -25px;
    position: absolute;
}

.table-editable > table > tbody > tr > td.table-remove span.rownum {
    display: block;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    text-align: center;
    padding: 4px 0;
    margin-top: -42px;
    margin-left: -8px;
    z-index: 1000000;
    display: block;
}

.recon .table-responsive,
.recon .dataTables_wrapper > .row > .col-sm-12 {
	height: 300px;
	overflow-y: auto;
	border: 1px solid #ccc;
}

.recon table.table {
	border: 0;
	border-collapse: separate;
}

.recon table.table>thead:first-child>tr:first-child>th {
	position: sticky;
	top: 0;
	background: #fff;
	border-bottom: 3px solid #000;
	border-left: 0.5px solid #ccc;
	border-right: 0.5px solid #ccc;
	z-index: 1;
}

.recon table.table>thead:first-child>tr:first-child>th:first-child
	{
	border-left: 0;
}

.recon table.table>thead:first-child>tr:first-child>th:last-child
	{
	border-right: 0;
}

.recon table.table .table-select {
	text-align: center;
	width: 43.75px;
}

.recon table.table#staged_txns .table-select,
.recon table.table#account_txns .table-select,
.recon table.table#sale_payments .table-select,
.recon table.table#purchase_payments .table-select,
#pending_ticket table.table .table-select,
#reconciled_ticket table.table .table-select {
	display: none;
}

.recon table.table .table-amount {
	text-align: right;
}

.recon table.table tbody tr {
	cursor: pointer
}

.recon table#pending_ticket_txns.table.table-striped>tbody>tr {
	cursor: default;
}

.recon table.table.table-striped>tbody>tr:hover td {
	background-color: #d9edf7;
}

.recon table#pending_ticket_txns.table.table-striped>tbody>tr:hover td {
	background-color: inherit;
}

.recon table.table.table-striped>tbody>tr.bg-warning td {
	background-color: #f7ecb5;
}

.recon table.table td.table-balance, .recon .table-responsive td.table-amount
	{
	text-align: right;
}

.recon.recon_tickets table.table td.table-amount .text-danger,
.recon #pending_ticket_txns td.table-amount .text-danger {
	margin-right: 120px;
}