:root {
  --nav-height: 3.5rem;
}

html {
  height: 100vh;
}

.text-sm {
  font-size: 0.8rem !important;
}

hr {
  width: 100%;
}
header {
  height: var(--nav-height);
  user-select: none;
}

main {
    padding: 20px;
}

form {
  margin: 0;
}

.left-bar {
    box-sizing: border-box;
    border-right: 1px solid rgba(0,0,0,0.1);
    position: sticky;
    top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    padding: 0;
    z-index: 1;
    user-select: none;
}

.thead-custom {
	background: #343a40;
}
.thead-custom th {
	color: white;
	font-weight: normal;
	border-color: #343a40;
}

.dataTable tbody tr {
	color: rgba(0,0,0,0.75);
}
.dataTable tbody tr:not(.child):hover {
	background-color: #cce5ff;
	color: black;
}
.dataTable tbody tr.selected:not(.child):hover {
	background-color: #005fc4;
	color: white;
}
.dataTable tbody tr.selected.odd:not(.child) {
	background-color: #005abb;
}

.dataTable tbody tr td.select-checkbox::before {
  border-color: #666;
}

.dataTable tbody tr.disabled td.select-checkbox::before {
  border: none;
  content: '\1F7A9';
  margin-top: -11px;
  margin-left: -6px;
}

.dataTable tbody tr.selected td.select-checkbox::before {
  border: none;
}

.dataTable tbody tr.selected td.select-checkbox::after {
  text-shadow: none;
  content: '\2713';
  margin-left: -6px;
}
.table-select tbody tr {
  user-select: none;
}
.table-select tbody tr:not(.disabled):hover {
  cursor: pointer;
}
.table-select tbody tr.disabled:hover {
  cursor: not-allowed;
}

.modal-dialog.modal-full {
  	max-width: 1200px;
  	max-height: 75vh;
  	top: 4em;
}

.modal-content.modal-full {
  	max-height: 75%;
  	border-radius: 0;
}

table input:not([type=checkbox]), table select, table textarea {
    width: 100%;
    height: 100%;
    background: inherit;
    border: none;
}
table input:hover, table select:hover {
    cursor: pointer;
}
table input:focus, table select:focus {
    background: white;
}

tbody .table-btn i{
  color: rgba(0,0,0,0.25);
  transition: 0.2s;
}
tbody .table-btn:hover {
  cursor: pointer;
}
tbody .table-btn:hover i{
  color: rgba(0,0,0,0.9);
}

.hidden {
    display: none !important;
}

.options {
  padding: 20px;
}

button {
  margin: 8px 0;
}

input[type="number"].text-right {
    text-align: right;
    padding-right: 5px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

.postalMask, .businessMask {
  text-transform: uppercase;
}

.toast {
  z-index: 100;
  position: absolute;
  bottom: 20px;
  right: 20px;
  min-width: 200px;
  text-align: center;
}

.toast-body {
  margin: 0;
}

.btn-xs {
  padding: .18rem .35rem;
  font-size: .7rem;
  line-height: 1.2;
  border-radius: .2rem;
}

.disabled:hover {
  cursor: not-allowed !important;
}