body {
    color: #333333 !important;
}

.navbar-brand img {
    max-width: 170px;
}

.am-splash-screen {
	background-color: #F0F0F0;
}

.loginbox .card {
	border-radius: 30px;
}


.am-top-header .navbar-collapse .navbar-nav.nav-title {
	order: 1;
	flex-grow: 1;
}

.am-toggle-right-sidebar {
	order: 2;
}

#dashboard .widget.widget-tile.widget-tile-wide .data-info .title {
	line-height: 46px;
}

.btn-rounded {
	border-radius: 5px !important;
}

table.dataTable tbody td.select-checkbox, table.dataTable tbody th.select-checkbox {
    position: relative;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody td.select-checkbox::after, table.dataTable tbody th.select-checkbox::before, table.dataTable tbody th.select-checkbox::after {
    display: block;
    position: absolute;
    top: 50%;
    /* left: 50%; */
    width: 16px;
    height: 16px;
    box-sizing: border-box;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody th.select-checkbox::before {
    content: ' ';
    margin-top: -8px;
    margin-left: -6px;
    border: 1px solid black;
    border-radius: 3px;
}

table.dataTable tr.selected td.select-checkbox::after, table.dataTable tr.selected th.select-checkbox::after {
    content: '\2714';
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: 1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9;
	font-size: 16px;
}

.select-checkbox {
    max-width: 25px;
}

th.select-checkbox input:first-of-type {
    visibility: hidden;
}

.select-info {
	margin-left: 20px;
}

.nav-logo {
  float: left;
  background-color: #fff;
  color: #FFFFFF;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: -15px;
  line-height: 80px;
  height: 80px;
  width: 100px;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 20px;
  background-size: 100%;
  }

.breadcrumb-item + .breadcrumb-item::before {
	line-height: unset;
}

.sidebar-elements .fas {
    font-size: 24px;
}

.table.table-striped.dataTable tr.selected {
    background-color: #e0e0e0;
}

#discountList tbody tr td:nth-child(4), #discountList tbody tr td:nth-child(5), #invoicesList tbody tr td:nth-child(5), #invoiceLinesList tbody tr td:nth-child(4), #invoiceLinesList tbody tr td:nth-child(5){
    text-align: right;
}

#priceHistory tbody tr td:nth-child(4), #priceHistory tbody tr td:nth-child(5), #priceHistory-compare tbody tr td:nth-child(3), #priceHistory-compare tbody tr td:nth-child(4){
	text-align: right;
}

#productsList tbody tr td:nth-child(4), #productsList tbody tr td:nth-child(5) {
	text-align: right;
}


#invoicesList.dataTable tbody td {
  vertical-align: top;
}

.invoicepreview {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    z-index: 1020;
	border: 1px solid #d1d1d1;
	border-radius: 5px;
}

.invoice-button {
	display: none;
}

.tableunit {
	width: 100px;
}

.am-left-sidebar .sidebar-elements > .parent {
    border-bottom: unset;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    background: unset;
    border: unset;
    color: #5AA9CB;
    text-decoration: underline;
}

.nav-tabs .nav-link:active:hover, .nav-tabs .nav-link.active:hover {
	color: #00C9D6;
}

.nav-tabs .nav-link {
	border: unset;
	padding: 30px 15px;
}

.dis-divider {
	border-bottom: 1px solid #e5e4e2;
	margin: 0 15px;
	background-color: white;
}

/* Edit Invoice Select */
.mdselect .select2-container--bootstrap4 .select2-selection--single {
    height: 44px !important;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: unset;
}
.mdselect .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    top: 85% !important;
}
.mdselect .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 21px !important;
	padding-left: 0;
	font-size: 1.07692rem;
	color: #777;
}
.mdselect .select2-container--bootstrap4 .select2-selection--single {
    border: 2px solid #eaeaea !important;
    box-shadow: unset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
} 

.units .select2-container--bootstrap4 .select2-selection--single {
    height: 54px !important;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: unset;
}
.units .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    top: 85% !important;
}
.units .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
	padding-left: 0;
	font-size: 1.231rem;
	color: #777;
}
.units .select2-container--bootstrap4 .select2-selection--single {
    border: 2px solid #eaeaea !important;
    box-shadow: unset;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

/* Global overrides  */ 

.bg-light-gray {
    background-color: #f3f3f3;
}

.dt-buttons {
    margin-bottom: 10px;
}

.table-fw-widget thead tr th {
    padding-top: 10px;
    padding-bottom: 5px;
}

.am-datatable-header {
    padding: 21px 10px 8px;
}

.am-datatable-body {
    min-height: 360px;
}

.table-fw-widget .form-control.form-control-sm, .dataTables_filter .form-control.form-control-sm, #addform .form-control.form-control-sm, #editform .form-control.form-control-sm, #supplierinfo .form-control.form-control-sm, #pricingdiscounts .form-control.form-control-sm, #editinvoice .form-control.form-control-sm, #internal_productList .form-control.form-control-sm, #internalList .form-control.form-control-sm {
    font-size: 1rem;
    height: 36px;
}

#editinvoice label {
    white-space: nowrap;
}

.sorting, .sorting_asc, .sorting_desc {
    white-space: nowrap;
}

.table-warning, .table-warning > th, .table-warning > td {
    background-color: #fff0c5;
    color: inherit;
}

.table-hover .table-warning:hover {
    background-color: #ffe9ac;
    color: inherit;
}

.table-hover .table-warning:hover > td, .table-hover .table-warning:hover > th {
    background-color: #ffe9ac;
    color: inherit;
}

input[class^="form-control form-control-sm searchbar"] {
    padding-left: 0.384615rem !important;
    padding-right: 0.384615rem !important;
}

[class^="d-xl-flex invoice-entry-row-errors-"] .parsley-errors-list {
    margin-right: 10px;
}

.parsley-error {
    border: 2px solid #D24C00;
}

.parsley-success {
    border: 2px solid #3ed358;
}

.modal-xl .modal-content {
    max-width: none;
    min-width: none;
}

.table {
    color: #262626;
}


/* End Global overrides  */

.invoice-entry-row .mark-ie {
    align-self: end;
    margin-bottom: 0.769231rem;
}

.invoice-entry-row .mark-ie .btn.active, .invoice-entry-row .mark-ie .btn.focus.active {
    color: #FFFFFF;
    background-color: #FFCB2F;
    border-color: #FFCB2F;
}

.invoice-entry-row .mark-ie .btn.active:hover {
    color: #FFFFFF;
    background-color: #ffd149;
    border-color: #ffd149;
}

.invoice-entry-row .product-name {
    width: 100%;
}

.invoice-entry-row .delete-ie-b {
    display: none;
}

.invoice-preview-div.split {
    display: none;
}

.invoice-details-div.split {
    flex: 0 0 100%;
    max-width: 100%;
}

.invoice-details-row.split .form-group {
    flex: 0 0 10%;
    max-width: 10%;
}

.invoice-details-row.split .form-group:nth-child(5) {
    flex: 0 0 20%;
    max-width: 20%;
}

.invoice-entry-row.split .form-group {
    flex: 0 0 5%;
    max-width: 5%;
}

.invoice-entry-row.split .form-group {
    flex: 0 0 5%;
    max-width: 5%;
}

.invoice-entry-row.split .col-12:nth-child(1) {
    flex: 1 0 24.25%;
    /* max-width: 25%; */
}

.invoice-info-div .card-body:first-of-type .invoice-entry-row.split .col-12:first-child {
    flex: 1 0 28%;
    /* max-width: 28%; */
}

.invoice-info-div .card-body {
    padding-top: 15px;
    padding-bottom: 0;
}

.invoice-info-div.split .card-body {
    padding-top: 0;
}

.invoice-entry-row.split .form-group:nth-child(2), .invoice-entry-row.split .form-group:nth-child(3) {
    flex: 0 0 10%;
    max-width: 10%;
}

.invoice-entry-row.split .form-group:nth-child(8), .invoice-entry-row.split .form-group:nth-child(9){
    flex: 0 0 7%;
    max-width: 7%;
}

.invoice-entry-row.split .form-group:nth-child(11) {
    flex: 0 0 7.5%;
    max-width: 7.5%;
}

.invoice-entry-row.split .delete-ie-a {
    display: none;
}

.invoice-entry-row.split .delete-ie-b {
    display: flex;
    align-self: end;
    margin-bottom: 0.769231rem;
}

/* Split Window Function */



/* End Split Window Function */


@media (max-width: 767px) {
	.am-top-header .navbar-collapse .navbar-nav.nav-title {
		display: none;
	}
	
	.invoice-button {
		display: none;
		cursor: pointer;
		position: fixed;
		bottom: 70px;
		right: 10px;
		color: #FFFFFF;
		background-color: rgba(0, 0, 0, 0.6);
		padding: 14px;
		/*padding: 4px 9px; */
		transition: background-color .2s ease;
		border-radius: 4px;
	}
}