body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: inherit;
  overflow-x: hidden;
  --size: 0.9rem;
  --gap: calc(0.9rem * 0.75);
  font-size: var(--size);
  font-family: 'Montserrat', sans-serif;
  color: hsl(15, 1%, 38%);
  /*color: #606060;*/
  background-color: #EDF0F2;
  font-weight: 300;
}

.login-container {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: space-around;
}

.login-form {
 -moz-border-radius: 15px;
 -webkit-border-radius: 15px;
  border-radius: 15px;
  background: #FFFFFF;
  padding: 20px;
  box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.4);
}

.login-logo {
	position: fixed;
	top: 1rem;
	left: 1rem;
}

.multiple-upload-form {
    display: none !important;
}

.center {
	max-width: 26rem;
}

.center-stretch {
	width: 45rem;
}

.login-head {
	display: flex;
	align-items: flex-end;
	color: hsl(15, 1%, 38%);
}

.cntrimg {
    width:100%;
    text-align: center;
}

#loading-spinner {
	display: grid;
	margin-top:35vh;
	justify-content: center;
	position:relative;
	border-radius:3px;
}

#loading-spinner-img {
	width:3.5rem;
	height:3.5rem;
	margin-bottom: 5rem;
}

a>img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 1.25rem 0 0;
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
  outline: 0 !important;
}

/* button, */

.btn {
  font-family: inherit;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border: 1px solid transparent;
  outline: 0;
  overflow: hidden;
  white-space: nowrap;
}

.btn-brand {
  box-shadow: inset 0 0 0 2px transparent;
  background-color: #006ab7;
  color: #fff;
}

::-moz-selection { /* Code for Firefox */
  color: #fff;
  background: #006ab7;
}

::selection {
  color: #fff;
  background: #006ab7;
}

.fullwidth {
    width:100% !important;
}

.fullheight {
    height:100% !important;
}

.btn-brand[disabled] {
  cursor: default !important;
  background-color: hsl(15, 1%, 83%);
  color: #fff;
  box-shadow: inset 0 0 0 2px hsl(15, 1%, 83%);
}

.btn-secondary {
  border: 1px solid #006ab7;
  box-shadow: inset 0 0 0 1px #006ab7;
  background-color: hsl(15, 1%, 96%);
  color: #006ab7;
}

.btn-brand svg>path {
  fill: #fff;
}

.btn-brand[disabled] svg>path {
  fill: hsl(15, 88%, 96%);
}

.btn-secondary svg>path {
  fill: hsl(15, 1%, 45%);
}

/* button:hover, */
.btn:hover,
.bsi:hover,
/* button:focus, */
.btn:focus,
.bsi:focus,
/* button:active, */
.btn:active,
.bsi:active {
  cursor: pointer;
  border: 1px solid transparent;
 -moz-border-radius: 3px;
 -webkit-border-radius: 3px;
  border-radius: 3px;
  outline: 0;
}

.bsi:hover:not([disabled]),
.bsi:focus:not([disabled]),
.bsi:active:not([disabled]) {
  background-color: #fff;
  box-shadow: 0 0 0 2px #006ab7;
}

.btn-brand:hover:not([disabled]),
.btn-brand:focus:not([disabled]),
.btn-brand:active:not([disabled]) {
  box-shadow: inset 0 0 0 1px #006ab7;
  border: 1px solid #006ab7;
  background-color: #FFFFFF;
  color: #006ab7;
}

.btn-brand:hover:not([disabled]) svg>path,
.btn-brand:focus:not([disabled]) svg>path,
.btn-brand:active:not([disabled]) svg>path {
  fill: #006ab7;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  box-shadow: inset 0 0 0 1px #006ab7;
  border: 1px solid #006ab7;
  color: #006ab7 !important;
}

.btn-secondary:hover:not([disabled]) svg>path,
.btn-secondary:focus:not([disabled]) svg>path,
.btn-secondary:active:not([disabled]) svg>path {
  fill: #006ab7;
}

.any-btn:hover,
.any-btn:focus {
  cursor: pointer;
  fill: #006ab7 !important;
}

.btn-link {
  font-family: inherit;
  font-size: 0.7rem !important;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 1rem;
  border: none;
  outline: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #006ab7;
  background-color: transparent;
}

.btn-link:hover {
  color: #006ab7 !important;
  background-color: transparent;
  border: none;
  outline: 0;
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  color: #006ab7;
  background-color: transparent;
  border: none;
  outline: 0;
}

.btn-symbol {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0;
  color: #006ab7 !important;
  background-color: transparent;
}

.btn-arrow {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0;
  color: #006ab7;
  background-color: transparent;
}

.btn-symbol:hover,
.btn-symbol:focus,
.btn-symbol:active {
  color: #006ab7 !important;
  border-color: transparent;
  box-shadow: none;
  outline: 0;
}

.btn-symbol>img {
  height: 1rem;
  filter: none;
}

.btn-symbol:hover>img {
	-webkit-filter: invert(25%) sepia(83%) saturate(1854%) hue-rotate(186deg) brightness(96%) contrast(101%);
    filter: invert(25%) sepia(83%) saturate(1854%) hue-rotate(186deg) brightness(96%) contrast(101%);
}

.save:disabled,
.save:disabled:hover {
  color: hsl(15, 88%, 96%);
  background-color: hsl(15, 88%, 72%);
}

select,
input,
textarea {
  filter: none;
 -moz-border-radius: 3px;
 -webkit-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  padding: .5rem .5rem;
  width: 100%;
  color: hsl(15, 1%, 38%);
}

.input_numeric {
	text-align: right;
											  
}

.input_numeric_center {
	text-align: center;
											  
}

.input_numeric_center:focus,
.input_numeric_center:active {
	text-align: right;
}

select[disabled], select:focus[disabled], select:active[disabled],
textarea[disabled], textarea:focus[disabled], textarea:active[disabled],
input[disabled]:not([type=radio]):not([type=checkbox]), input:focus[disabled],
input:active[disabled] {
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid hsl(15, 1%, 83%);
  box-shadow: none;
  background-image: none !important;
  background-color: hsl(204, 15%, 94%);
}

input:focus, input:active,
textarea:focus, textarea:active,
select:focus, select:active {
  -webkit-box-shadow: 0px 0px 1px 1px #006ab7;
  -moz-box-shadow: 0px 0px 1px 1px #006ab7;
  box-shadow: 0px 0px 1px 1px #006ab7;
  border: 1px solid transparent;
  outline: 0;
}

@-moz-document url-prefix() {
  select {
    font-family: inherit;
    font-weight: 300;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid hsl(15, 1%, 83%);
    background-color: #fff;
    padding: 0 !important;
    width: 100%;
    color: currentColor;
  }
}

.select2 {
    width:100% !important;
}

.select2-container .select2-dropdown {
    filter: none;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
    border: 1px solid hsl(15, 1%, 83%) !important;
    background-color: #fff !important;
}

.select2-container--default .select2-selection--single{
    border: none !important;
    height:100% !important;
}

.select2-results__option{
  background-color: #fff !important;
  color: hsl(15, 1%, 38%) !important;
  line-height: 1.5 !important;
  padding: .5rem .5rem !important;
}

.select2-results__option:hover{
  background-color: #006ab7 !important;
  color: #fff !important;
}

.select2-search__field {
    filter: none;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
    border: 1px solid hsl(15, 1%, 83%) !important;
    background-color: #fff !important;
    padding: .5rem .5rem !important;
    padding-right: 20px !important;
    color: hsl(15, 1%, 38%) !important;
    line-height: 1.5 !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered, .select2-container--default .select2-selection--single .select2-selection__rendered{
    filter: none;
    -moz-border-radius: 3px !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
    border: 1px solid hsl(15, 1%, 83%) !important;
    background-color: #fff !important;
    padding: .5rem .5rem !important;
    padding-right: 20px !important;
    color: hsl(15, 1%, 38%) !important;
    line-height: 1.5 !important;
    -o-user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
    user-select: text;
}

.select2-container *:focus {
    outline: none;
}

.marko_disabled + .select2-container .select2-selection--single .select2-selection__arrow b, .marko_disabled + .select2-container--default .select2-selection--single .select2-selection__arrow b{
    display:none !important;
}

.marko_disabled + .select2-container .select2-selection--single .select2-selection__rendered, .marko_disabled + .select2-container--default .select2-selection--single .select2-selection__rendered {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    border: 1px solid hsl(15, 1%, 83%) !important;
    box-shadow: none !important;
    background-image: none !important;
    background-color: hsl(204, 15%, 94%) !important;
    -o-user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
    user-select: text;
}

.marko_disabled + .select2-container .select2-selection--single .select2-selection__placeholder, .marko_disabled + .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: hsl(204, 15%, 94%) !important;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: hsl(15, 1%, 83%);
  font-weight: 400;
  opacity: 1;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: hsl(15, 1%, 83%);
  font-weight: 400;
  opacity: 1;
}

:-ms-input-placeholder {
  /* IE 10+ */
  color: hsl(15, 1%, 83%);
  font-weight: 400;
  opacity: 1;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: hsl(15, 1%, 83%);
  font-weight: 400;
  opacity: 1;
}

input[type=date]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
}

input[type=date]::-webkit-clear-button {
  display: none;
  -webkit-appearance: none;
}

img,
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.noo:focus,
.noo:active {
  outline: 0;
  box-shadow: 0;
}

.bbox {
  -moz-border-radius: 3px;   
  -webkit-border-radius: 3px;   
  border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  padding: calc(22px * 0.25);
  cursor: pointer;
}

.bboxu {
  -moz-border-radius: 3px;   
  -webkit-border-radius: 3px;   
  border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  padding: calc(22px * 0.25);
}

.box-details {
    pointer: default;
}

.bbox-small {
  -moz-border-radius: 3px;   
  -webkit-border-radius: 3px;   
  border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  padding: calc(14px * 0.25);
  cursor: pointer;
}

.bbox-nohover {
  -moz-border-radius: 3px;   
  -webkit-border-radius: 3px;   
  border-radius: 3px;
  border-top: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  padding: calc(22px * 0.25);
  cursor: default;
}

.bbox:not(.box-header):not(.box-details):hover {
  background-color: #F8F8F8;
}

.npbbox {
  -moz-border-radius: 3px;   
  -webkit-border-radius: 3px;   
  border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  display: flex; 
  flex-flow: column; 
  margin-left: .5rem !important;
  margin-right: .5rem !important;
}

.tab-container {
	flex: 1 1 auto !important;
}

.box-table {
  -moz-border-radius: 3px;   
  -webkit-border-radius: 3px;   
  border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  background-color: #fff;
  padding: calc(16px * 0.75);
}

.box-header {
    background-color: #F0F0F0;
    cursor: default;
}

.text-invalid {
  color: #006ab7;
  font-weight: 400;
  text-align: center;
}

/* label input group */
.lig {
  margin: .75rem 0;
}

.lig-label {
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .25rem;
}

.ibg {display: flex}
.ibg-input {-moz-border-radius: 3px;   -webkit-border-radius: 3px;   border-radius: 3px 0 0 3px;}
.ibg-button {
  background-color: hsl(15, 1%, 96%);
  color: hsl(15, 1%, 68%);
  text-transform: uppercase;
  font-size: .75rem;
  border: 1px solid hsl(15, 1%, 83%);
  border-left: 0;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}
.ibg-button:hover, .ibg-button:focus, .ibg-button:active {
  outline: 0;
  box-shadow: none;
}
.ibg-button:hover {
  color: #006ab7;
}
/* .ibg-input:focus + .ibg-button {
  box-shadow: 0 0 0 .15rem #006ab7;
  border: 1px solid transparent;
  outline: 0;
} */

.top-shadow {
  -webkit-box-shadow: inset 0px 5px 5px -5px #333 !important;
  -moz-box-shadow: inset 0px 5px 5px -5px #333 !important;
  box-shadow: inset 0 5px 5px -5px #333 !important;
}

.rep-inv-det {
  margin-top: 0.0rem !important;
}

.increasing {
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-image: url("/images/icons/increase.svg");
  background-size: 2.8rem;
  color: #006ab7;
}

.decreasing {
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-image: url("/images/icons/decrease.svg");
  background-size: 3rem;
}

.active-fill {
  fill: #006ab7;
}

.inactive-fill {
  fill: hsl(15, 1%, 83%);
}

.breadcrumb-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0
}

.breadcrumb {
  cursor: pointer;
}

.breadcrumb:hover {
  color: #006ab7;
  text-decoration: underline;
}

.breadcrumb-mid {
  cursor: pointer;
}

.breadcrumb-mid:hover {
  color: #006ab7;
  text-decoration: underline;
}

.breadcrumb-mid::after {
    content: '›';
    display: inline;
    padding: 0 .5rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    display: inline;
    padding: 0 .5rem;
}

.breadcrumb-item:last-child {
  font-weight: 600;
}

.ordinal {
  /*font-family: monospace;*/
  border-radius: 50%;
  background-color: hsl(15, 1%, 96%);
  font-weight: normal;
  font-size: .75rem;
  text-align: center;
  width: 3rem;
  height: 3rem;
  line-height: 3rem;
  flex-shrink: 0;
}

.ordinal-header {
  /*font-family: monospace;*/
  font-size: .75rem;
  text-align: center;
  width: 3rem;
  flex-shrink: 0;
}

.ordinal-small {
  font-family: monospace;
  border-radius: 50%;
  background-color: hsl(15, 1%, 96%);
  font-weight: 600;
  text-align: center;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  flex-shrink: 0;
}

.done {
  background-image: url('images/base/checked.svg');
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 1rem;
  color: hsl(15, 1%, 83%);
  list-style-type: none;
  padding-left: 1rem;
}

.list-rm {
  list-style-position: inside;
  padding: 0;
  margin: 0;
  padding-inline-start: 0;
  margin-inline-start: 0;
}

.image-upload-label {
  border-radius: 50%;
  -webkit-box-shadow: 0px 2px 2px -1px rgba(128,128,128,1);
  -moz-box-shadow: 0px 2px 2px -1px rgba(128,128,128,1);
  box-shadow: 0px 2px 2px -1px rgba(128,128,128,1);
  background-color: hsl(15, 1%, 96%);
  flex-shrink: 0;
}

.image-upload-group input[type=file] {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  height: 1px;
  width: 1px;
}

.tooltip {
  position: absolute;
  width: max-content;
  max-width: 24rem;
  background-color: hsl(15, 1%, 38%);
  color: hsl(15, 1%, 96%);
  text-transform: uppercase;
  padding: .5rem;
  box-shadow: 0 0 4px 0 hsl(15, 1%, 38%);
  -moz-border-radius: 3px;   -webkit-border-radius: 3px;   border-radius: 3px;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2100;
}

.text-icon {
  height: 1rem;
  /* width: 1rem; */
}

/* text input with icon */
.tii {
  padding-left: 2rem !important;
  background-size: 1rem;
  background-position: .5rem .5rem;
  background-repeat: no-repeat;
}

/* underline input imitation */
.uii {
  background-color: transparent;
  border-radius: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid hsl(15, 1%, 68%);
  flex: auto;
  text-align: left;
  color: inherit;
  padding: .25rem .5rem;
}

.uii:active, 
.uii:focus {
  box-shadow: none;
  border: none;
  border-bottom: 1px solid hsl(15, 1%, 68%);
}
/* button select input imitation */
.bsi {
  -webkit-appearance: none;
  -moz-appearance: none;
  color: currentColor;
  -moz-border-radius: 3px;   -webkit-border-radius: 3px;   border-radius: 3px;
  border: 1px solid hsl(15, 1%, 83%);
  outline: 0;
  box-shadow: none;
  background: #fff url('/images/icons/arrow_down.png') no-repeat 95% 50%;
  background-size: .75rem !important;
  text-align: left;
  padding: .25rem .5rem;
  padding-right: 1.25rem;
}

.bsi[disabled] {
  background: hsl(15, 1%, 96%) url('/images/icons/arrow_down.png') no-repeat 95% 50%;
}


/* keep image aspect ratio */
.kiar {
  height: 5rem;
  white-space: nowrap;
  text-align: center;
}

.kiar:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.kiar img {
  max-height: 5rem;
  width: auto;
  height: auto;
  vertical-align: middle;
}

.basis-mobile {
  flex: 1 1 275px;
}

.basis-half {
  flex: 1 1 150px;
}

.min-half {
  width: 12rem;
}

.half-height {
  height: 11rem;
}

.subcat-height {
    height: 7rem;
	margin-top: 1.5rem !important;
	margin-bottom: 1.5rem !important;
	margin-left: 2.5rem !important;
	margin-right: 2.5rem !important;
}

/* mixed button group */
.mbg {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
}

.mbg-lead {
  flex: 1 0 auto;
}

.mbg-mixed {
  flex: 0 1 auto;
}

.brand-shadow {
  box-shadow: 0 0 0 .15rem #006ab7;
}

.text-watermark {
  font-size: 1.5rem;
  color: hsl(204, 15%, 90%);
  line-height: 1.5;
  text-transform: uppercase;
}

.text-jumbo {
  font-size: 5rem;
  color: hsl(204, 15%, 90%);
  line-height: 1;
}

.countdown-active {
  font-weight: normal;
  color: #7d7d7d !important;
}

.countdown-indefinite {
  font-weight: normal;
  color: #006ab7 !important;
}

.countdown-deadline {
  font-weight: normal;
  color: #EE1B2A !important;
}

.countdown-danger {
  font-weight: normal;
  color: #EE1B2A !important;
}

.countdown-cancelled {
  font-weight: normal;
  color: #EE1B2A !important;
}

.allowed {
  display: inline-block;
  background-image: url('/images/base/check.svg');
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: 1.15rem;
  color: #008000 !important;
  padding-left: 1.6rem;
}

.denied {
  display: inline-block;
  background-image: url('/images/base/warning.svg');
  background-position: 0 50%;
  background-repeat: no-repeat;
  background-size: 1.15rem;
  padding-left: 1.6rem;
}

.abr {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* ************************************************************************* */
/* COMPONENTS */
/* ************************************************************************* */

/* MENUBAR */
.menubar {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: column;
  background-color: #fff;
  border-top: 1px solid hsl(15, 1%, 83%);
  font-size: inherit;
  font-weight: 300;
  text-align: center;
  z-index: 1000;
  -ms-grid-row:1; 
  -ms-grid-column:1; 
  grid-area: nav;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  height: min-content;
  padding: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

.nav-logo,
.nav-user-logo,
.nav-user,
.nav-text {
  display: none;
}

.nav-user {
  margin-top: 1.5rem !important;
}

.nav-user-img {
  display: block;
  margin-top: 1.5rem !important;
  word-wrap: break-word;
}

.navlist-container {
  margin-top: 1rem !important;
}

.nav-user-logo {
  margin-top: 2rem !important;
}

.nav-user {
	word-wrap: break-word;
}

.navlist {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  justify-content: space-evenly;
  padding: 0;
  margin: 0;
}

.nav-item {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0 0.3rem;
}

.nav-item svg {
  height: 1.5rem;
}

.nav-item.active .nav-link {
  color: #006ab7;
}

.nav-item.active .svg-path-fill path {
  fill: #006ab7;
}

.nav-item.active .svg-g-fill g {
  fill: #006ab7;
}

.nav-item .nav-link:hover,
.nav-item .nav-link:active {
  color: #006ab7;
}

.nav-item .nav-link:hover .svg-path-fill path {
  fill: #006ab7;
}

.nav-item .nav-link:hover .svg-g-fill g {
  fill: #006ab7;
}

.logout.active .nav-link,
.logout .nav-link:hover,
.logout .nav-link:active {
  color: #cce1f0;
}

.logout.active .svg-path-fill path,
.logout .nav-link:hover .svg-path-fill path {
  fill: #006ab7;
}

.logout.active .svg-g-fill g,
.logout .nav-link:hover .svg-g-fill g {
  fill: #006ab7;
}

/* ---------- */
/* SEARCH BAR */
/* clients & reports page */
/* ---------- */

.sbc {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-flow: row wrap;
  flex: 1 0 auto;
  align-items: flex-end;
}

.search-input {
  flex-grow: 4;
}

#filter-result {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  min-width: 5rem;
}

/* ---------------  */
/* CUSTOM CHECKBOX  */
/* ---------------  */
.cb-container {
  display: inline-block;
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* font-weight: 600; */
  line-height: 1.25;
  white-space: nowrap;
}

.cb-container_invoice {
  display: inline-block;
  position: relative;
  padding-left: 1.6rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* font-weight: 600; */
  line-height: 1.25;
  white-space: nowrap;
}

/* Hide the browser's default checkbox */
.cb-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  left: .125rem;
  height: 1.1rem;
  width: 1.1rem;
  -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
  background-color: #fff;
  border: 1px solid hsl(15, 1%, 83%);
}

.checkmark.inactive {
	background-color: #F0F0F0;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.cb-container input:checked~.checkmark:after {
  display: none;
}

/* checkbox group */
.cbg {
  margin: .5rem 0;
}

/* CUSTOM RADIO */

.custom-control {
  position: relative;
}

.custom-radio {
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.cb-container input:checked~.checkmark{
  background-color: transparent;
  border: none;
  background-image: url("../images/base/checked.svg");
  background-repeat: no-repeat;
  background-size: 100%;
  overflow: visible;
}

.cb-container.inactive {
	pointer-events: none !important;
}

.checkbox_inactive {
	color: #D4D3D3 !important;
}

.custom-radio:checked+.custom-radio-label::before {
  border: .125rem solid #006ab7;
  background: -moz-radial-gradient(#006ab7 .25rem, #fff .375rem);
  background: -webkit-radial-gradient(#006ab7 .25rem, #fff .375rem);
  background: -o-radial-gradient(#006ab7 .25rem, #fff .375rem);
  background: radial-gradient(#006ab7 .25rem, #fff .375rem);
}

.custom-radio:disabled:checked+.custom-radio-label::before {
  border: .125rem solid hsl(15, 88%, 96%);
  background: -moz-radial-gradient(hsl(15, 88%, 96%) .25rem, #fff .375rem);
  background: -webkit-radial-gradient(hsl(15, 88%, 96%) .25rem, #fff .375rem);
  background: -o-radial-gradient(hsl(15, 88%, 96%) .25rem, #fff .375rem);
  background: radial-gradient(hsl(15, 88%, 96%) .25rem, #fff .375rem);
}

.custom-radio:disabled+.custom-radio-label::before {
  border: .125rem solid hsl(15, 1%, 83%);
}

.custom-radio:disabled+.custom-radio-label {
  pointer-events: none !important;
}

.pe_disable {
  pointer-events: none !important;
}

.custom-radio-label {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  align-items: center;
  padding: .25rem 0;
  cursor: pointer;
}

.custom-radio-label::before {
  display: inline-block;
  content: "";
  height: 1.125rem;
  width: 1.125rem;
  margin-right: 0.625rem;
  border: .15rem solid hsl(15, 1%, 68%);
  border-radius: 50%;
}

.purchase_question {
  text-transform: uppercase;
  color: #7d7d7d;
  font-size: 0.9px;
  font-weight: 700;
}


/* SLIDERS */
.switch {
  position: relative;
  width: 3rem;
  height: 1.5rem;
  margin-top: .25rem;
  margin-bottom: .5rem;
}

.switch input[type=checkbox] {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsl(15, 1%, 96%);
  transition: 250ms;
  border: .15rem solid hsl(15, 1%, 45%);
}

.slider:before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  left: .125rem;
  bottom: .1rem;
  background-color: hsl(15, 1%, 45%);
  transition: .25s;
}

input:checked+.slider {
  background-color: hsl(15, 88%, 96%);
  border: .15rem solid #006ab7;
}

input:checked+.slider:before {
  -webkit-transform: translateX(1.5rem);
  -ms-transform: translateX(1.5rem);
  transform: translateX(1.5rem);
  background-color: #006ab7;
}

input:disabled[type="checkbox"] + .slider, 
input:disabled[type="checkbox"] + .slider::before {
  border: .15rem solid hsl(15, 1%, 83%);
  background-color: hsl(15, 1%, 96%);
  pointer-events: none;
}

input:checked:disabled[type="checkbox"] + .slider, 
input:checked:disabled[type="checkbox"] + .slider::before {
  border: .15rem solid hsl(15, 88%, 72%);
  background-color: hsl(15, 88%, 96%);
  pointer-events: none;
}

/* Rounded sliders */
.slider-round {
  border-radius: 2rem;
}

.slider-round:before {
  border-radius: 50%;
}


/* ------ */
/* TONERS */
/* ------ */

.toners {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: row;
  overflow: hidden;
  justify-content: space-evenly;
  text-align: center;
  width: 11rem;
}

.toners .percentage {
  padding: 0 .25rem;
  justify-content: center;
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: column;
  width: 2.75rem;
  font-weight: 600;
  font-size: 0.8rem;
}

.toners .percentage>img {
  height: 11.25rem;
  margin-bottom: .25rem;
}

/* -------- */
/* DROPDOWN */
/* -------- */

.dropdown {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: column;
}

.dropdown-top {
  flex-direction: column-reverse;
}

.dropdown-menu-container {
  position: relative;
}

.dropdown-menu {
  margin: 0;
  position: absolute;
  min-width: 100%;
  max-height: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #fff;
  z-index: 1010;
  column-fill: auto;
  padding: 0 .75rem;
  border: 1px solid hsl(15, 1%, 96%);
  box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.4);
}

.dropdown-top .dropdown-menu {
  bottom: 0;
}

.dropdown-right .dropdown-menu {
  right: 0;
}

/*--------------------------------------*/
/* #TABS */
/*--------------------------------------*/

.tabs {
  /*margin: .5rem 0;*/
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: row;
  align-items: flex-start;
  overflow: visible;
  /*margin-top: 0.75rem;*/
  border-bottom: 1px solid hsl(15, 1%, 83%);
}

.tab-btn {
  color: inherit;
  background-color: transparent;
  font-size: 0.9rem;
  padding: 1rem 2rem;
  border: 0;
  box-sizing: border-box;
  outline: 0;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 400;
  min-width: 12rem !important;
}

.tab-btn-item {
  color: inherit;
  background-color: transparent;
  font-size: 0.9rem;
  padding: .75rem 1.5rem;
  border: 0;
  box-sizing: border-box;
  outline: 0;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 400;
  min-width: 12rem !important;
}

/* button:hover, */
.tab-btn:hover,
/* button:focus, */
.tab-btn:focus,
/* button:active, */
.tab-btn:active,
.tab-btn.active {
  /* font-weight: 600; */
  outline: 0;
  border-bottom: 3px solid #006ab7;
}

/* button:hover, */
.tab-btn-item:hover,
/* button:focus, */
.tab-btn-item:focus,
/* button:active, */
.tab-btn-item:active,
.tab-btn-item.active {
  /* font-weight: 600; */
  outline: 0;
  border-bottom: 3px solid #006ab7;
}

.tab-btn.active {
  color: #006ab7;
}

.tab-btn-item.active {
  color: #006ab7;
}

/* ****** */
/* DIALOG */
/* ****** */
.dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: hsla(15, 1%, 18%, 0.75);
  z-index: 1050;
  overflow: auto;
}

.dialog-open {
  /* overflow: hidden; BY MARKO*/
  overflow: inherit; /* Potential fix for 
  scrollbar visibility on dialog-open*/
}

.dialog-open .dialog {
  /* overflow-x: hidden; */
  overflow-y: auto;
}

.dialog-head {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 2000;
}

.dialog-head h4 {
  margin-bottom: 0
}

.dialog-body {
  position: relative;
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-clip: padding-box;
  background-color: #fff;
  outline: 0;
  opacity: 1;
  margin: calc(16px * 0.75);
}

.dialog-controls {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
}

.dialog-controls button:only-child {
  margin-left: auto;
}

.dialog-controls-fixed {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: max-content;
}

.tab-content {
    position: relative;
}

.loading-abs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 2000;
}

.dialog-close {
  position: absolute;
  top: .15rem;
  right: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: hsl(15, 1%, 38%) !important;
  background-color: transparent;
}

/* FLEX TABLE */
.ftcolumn-controls {
  margin-left: .5rem;
}

.ftcolumn-controls svg {
  height: .75rem;
}

.fthead {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* position: sticky; */
  /* top: 0; */
  /* background-color: #fff; */
}

.ftbody {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-flow: column;
}

.ftrow {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid hsl(15, 1%, 96%);
}

.ftcol {
  text-align: center;
  flex: 1;
}

[role="columnheader"] {
  cursor: pointer;
  padding: 1rem 0;
  border-bottom: 2px solid hsl(15, 1%, 96%);
}

[role="columnheader"][aria-sort="asc"],
[role="columnheader"][aria-sort="desc"] {
  border-bottom: 2px solid #006ab7;
}

[aria-sort="none"] svg path {
  fill: #006ab7;
}

[aria-sort="asc"] .caret-up svg path {
  fill: #006ab7;
}

[aria-sort="asc"] .caret-down svg path {
  fill: #006ab7;
}

[aria-sort="desc"] .caret-down svg path {
  fill: #006ab7;
}

[aria-sort="desc"] .caret-up svg path {
  fill: #006ab7;
}

/* ALERTS */
#alert-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
}

.alert {
    padding: 1rem;
    width: 100vw;
    position: relative;
    display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
    flex-direction: row;
    align-items: center;
    will-change: transform;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    margin-bottom: 1px;
}

.alert-info {
  color: hsl(188, 38%, 94%);
  background-color: hsl(188, 78%, 41%);
}

.alert-warning {
  color: #fff;
  background-color: #FABD02;
}

.alert-danger {
  color: #fff;
  background-color: #EE1B2A;
}

.alert-success {
  color: #fff;
  background-color: #008000;
}

.alert-progress {
  padding: 0.25rem;
  background-color: #F0F0F0;
}

.alert-message {
  font-stretch: semi-condensed !important;
  letter-spacing: 0px;
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1 1 0;
  min-width: 0;
}

.alert-close {
  flex: 0 1 2rem;
  background-color: transparent;
  font-size: 2rem;
  padding: 0;
  line-height: 1.5;
  border: 1px solid transparent;
  color: hsl(15, 1%, 96%);
}

.alert-close:hover,
.alert-close:active {
  box-shadow: none;
  color: currentColor;
  background-color: transparent;
  outline: 0;
  cursor: pointer;
}

.fade-in {
    -webkit-animation: animate-fade-in ease-in 450ms;
    animation:         animate-fade-in ease-in 450ms;
}

@-webkit-keyframes animate-fade-in{
    0%{opacity: 0; visibility: hidden;}
    100%{opacity: 1; visibility: visible;}
}

@keyframes animate-fade-in{
    0%{opacity: 0; visibility: hidden;}
    100%{opacity: 1; visibility: visible;}
}

.fade-out {
    -webkit-animation: animate-fade-out ease-out 450ms;
    animation:         animate-fade-out ease-out 450ms;
}

@-webkit-keyframes animate-fade-out{
    0%{opacity: 1; visibility: visible;}
    100%{opacity: 0; visibility: hidden;}
}

@keyframes animate-fade-out{
    0%{opacity: 1; visibility: visible;}
    100%{opacity: 0; visibility: hidden;}
}

.drop-from-above {
    -webkit-animation: animate-drop-from-above ease-in 200ms;
    animation:         animate-drop-from-above ease-in 200ms;
}

@-webkit-keyframes animate-drop-from-above{
    0%{-webkit-transform: translateY(-100vh)}
    100%{-webkit-transform: translateY(0)}
}

@keyframes animate-drop-from-above{
    0%{transform: translateY(-100vh)}
    100%{transform: translateY(0)}
}

.pull-above {
    -webkit-animation: animate-pull-above ease-out 300ms;
    animation:         animate-pull-above ease-out 300ms;
}

@-webkit-keyframes animate-pull-above{
    0%{-webkit-transform: translateY(0)}
    100%{-webkit-transform: translateY(-100vh)}
}

@keyframes animate-pull-above{
    0%{transform: translateY(0)}
    100%{transform: translateY(-100vh)}
}

.drop-short {
  animation: animate-drop-short linear 200ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.pull-short {
  animation: animate-pull-short ease-out 250ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes animate-pull-short {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-20vh);
  }
}

@keyframes animate-drop-short {
  0% {
    transform: translateY(-20vh);
  }

  100% {
    transform: translateY(0);
  }
}

@media only screen and (min-width: 520px) {
}

@media only screen and (min-width: 768px) {

  html,
  body {
    --gap: 16px;
  }
  #reading-filter {
    width: 16rem;
  }
}

@media only screen and (min-width: 916px) {

  .menubar {
    grid-area: nav;
    position: sticky;
    top: 0;
    right: 0;
    bottom: 0;
    min-height: 100vh;
    padding: 0;
    border-top: 0;
    border-right: 1px solid hsl(15, 1%, 83%);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

  .nav-logo {
    display: block;
    padding: 1rem 0;
    /* margin-top: */
    border-bottom: 1px solid hsl(15, 1%, 83%);
  }

  .nav-logo img {
    vertical-align: middle;
  }

  /* temp hack */
  .nav-user-logo {
    min-height: 130px;
  }

  .nav-user-logo,
  .nav-user,
  .nav-text {
    display: block;
  }
  
  .logout.active .svg-path-fill path,
  .logout .nav-link:hover .svg-path-fill path {
    fill: #cce1f0;
  }

  .logout.active .svg-g-fill g,
  .logout .nav-link:hover .svg-g-fill g {
    fill: #cce1f0;
  }
  
  .navlist-container {
    display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
    justify-content: center;
    flex-grow: 1;
  }

  .navlist {
    display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }

  .nav-item:not(:last-child) {
    display: inline-flex;
    font-size: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    /* bad, bad, bad! shouldn't be fixed size but i don't know how to center 
    * the list and keep 100% width for logout button. 10rem is based on a 
    * largest item, specifically 'dashboard'
    */
    width: 15rem;
  }
  
  .nav-item:last-child {
    width: 100%;
    padding: 0.25rem 0;
  }
  
  #instructions-nav {
      margin-bottom: 1.5rem !important;
  }

  .nav-link {
    display: inline-flex;
    text-transform: uppercase;
    padding: 0.3rem 0;
    flex: 1 1 100%;
    align-items: center;
  }

  .nav-text {
    margin-left: .5rem;
  }

  .logout {
    margin: auto 0 0 0;
    color: #fff;
	background-color: #006ab7;
	padding-top: 2rem;
  }

  .logout svg g {
    fill: #fff;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
   .menubar {
        width: 220px;
   }
   
   .navlist-container, .navlist {
	   justify-content: left !important;
  }
}

@media only screen and (max-width: 600px) {
  
  html,
  body {
    font-size: 10px;
  }

  h3 {
    font-size: calc(10px * 1.5) !important;
							   
 
	  
										  
    font-weight:600 !important;
}
  
  .nav-user-logo,
  .nav-user,
  .navlist-container {	  
	margin-top: 0 !important;
  }

  .rsmall {
    font-size: .5rem;
    /* line-height: 1.5; */
  }
}

@media only screen and (max-width: 916px) {
  
  .nav-user-logo,
  .nav-user,
  .navlist-container {	  
	margin-top: 0 !important;
  }
}

@media only screen and (min-width: 768px) {
  
  html,
  body {
    font-size: 12px;
  }
  
  h3 {
    font-size: calc(12px * 1.5) !important;
    font-weight:600 !important;
}
	  
										  
							   
 
  
  .rsmall {
    font-size: .75rem;
    /* line-height: 1.5; */
  }
}

@media only screen and (min-width: 1160px) {

  html,
  body {
    font-size: 0.9rem;
  }

  h3 {
    font-size: calc(0.9rem * 1.5) !important;
    font-weight:600 !important;
}
	  
										   
							   
 

  .rsmall {
    font-size: .75rem;
    /* line-height: 1.5; */
  }
}

@media only screen and (min-width: 1601px) {

  html,
  body {
    font-size: 0.9rem;
  }

  h3 {
    font-size: calc(0.9rem * 1.5) !important;
    font-weight:600 !important;
}
	  
										   
							   
 

  .rsmall {
    font-size: .75rem;
    /* line-height: 1.5; */
  }
}

@media only screen and (min-width: 2128px) {

  html,
  body {
    font-size: 0.9rem;
  }

  h3 {
    font-size: calc(0.9rem * 1.5) !important;
    font-weight:600 !important;
}
	  
										   
							   
}
 

@media only screen and (min-width: 2656px) {

  html,
  body {
    font-size: 0.9rem;
  }

  h3 {
    font-size: calc(0.9rem * 1.5) !important;
    font-weight:600 !important;
}
	  
										   
							   
}
 

@media only screen and (min-width: 3184px) {

  html,
  body {
    font-size: 0.9rem;
  }

  h3 {
    font-size: calc(0.9rem * 1.5) !important;
    font-weight:600 !important;
}
}

@media only screen and (min-width: 3712px) {

  html,
  body {
    font-size: 0.9rem;
  }

  h3 {
    font-size: calc(0.9rem * 1.5) !important;
    font-weight:600 !important;
}
}