body, html {
  height: 100%;
}
body ,
textarea,
input {
  font-family: 'Montserrat';
}
textarea {
  min-height: 32px;
  font-size: 15px;
}

.tm-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 266px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 12px;
  box-sizing: border-box;
  border-right: 6px solid #005a51;
  z-index: 100;
}
.tm-logo img#LogoLight {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

main.content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 266px;
  padding: 0 0px 10px 10px;
  /*
  max-width: 1200px;
  */
  margin: 0;
  /*
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: table-cell;
  width: 100%;
  height: 100%;
  */
}

#side_menu {
  position: fixed;
  overflow-y: auto;
  vertical-align: top;
  top: 130px;
  left: 0;
  margin: 0;
  width: 266px;
  height: calc(100% - 130px);
  background-color: #444444;
  box-sizing: border-box;
  border-right: 6px solid #005a51;
}
#side_menu ul {
  padding: 0 10px;
}
#side_menu ul ul {
  padding: 0;
}
#CompanyAndCurrency {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  margin-top: 12px;
  border-top: 1px solid #5a5a5a;
}
#CompanySelection,
#CurrencySelection {
  margin: 0;
  color: white;
}
#CompanySelection ul,
#CurrencySelection ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#CompanySelection li,
#CurrencySelection li {
  margin: 0;
  padding: 0;
  text-align: left;
}
#CompanySelection select,
#CurrencySelection select {
  width: 100%;
  background-color: white;
  color: #333;
}

#CompanySelection label,
#CurrencySelection label
{
  display: none;
}

#CompanySelection select,
#CurrencySelection select
{
  background-color: white;
}

#side_menu h1 {
  font-size: 16px;
  line-height: 24px;
  background-color: #005a51;
  color: white;
  width: 100%;
  text-align: center;
  margin: 0;
}


.PageTitle {
  /*
  float: right;
  position: relative;
  */
  position: sticky;
  right: 15px;
}
.PageTitle h1 {
  color: #005a51;
  font-weight: normal;
}
.PageTitle h2 {
  color: #005a51;
  font-weight: normal;
}


fieldset legend {
  color: #005a51;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 5px;
}

/*
  blue 
  color: #005a51;
  */
ul.menubar {
  background-color: transparent;
  margin: 0;
}
ul.menubar a {
  color: white;
  text-transform: uppercase;
}
ul.menubar a:hover {
  color: #005a51;
}
ul.menubar li:hover li a {
}
ul.menubar li:hover li:hover a {
}
ul.menubar li ul {
  padding: 0;
  display: none;
}
ul.menubar li.on ul {
  display: block;
  margin-left: 15px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
select {
  font-family: 'Montserrat';
  height: 32px;
  /*
  font-size: small;
  */
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
label {
  display: inline;
}
p.buttons {
  margin-left: 185px;
}

.totals td {
	border-top: 1px solid #005a51;
}
table.List, table.List th, .totals td {
  border-bottom: 1px solid #005a51;
}
.checkbox input[type="checkbox"] {
  float: none;
  margin-left: 0;
}

a.btn,
button.btn {
  line-height: 18px;
  font-size: 0.8rem;
  border-color: #005a51;
  color: white;
	background-color: #005a51;
}
a.btn:hover,
button.btn:hover {
	background-color: #003e38;
  color: white;
}

.colRow, .roweven {
  background-color: #dddddd;
  /*
  filter: grayscale(1);
  filter: saturate(10%);
  filter: brightness(15%);
  */
}

input.input-clear {
  margin-right: -14px;
}
span.input-clear {
  text-indent: -1000em;
  width: 12px;
  height: 12px;
  display: inline-block;
  background-image: url(/images/grey_cross_12x12.png);
  background-repeat: no-repeat;
  position: relative;
  left: -4px;
  top: 7px;
}

.Disclaimer h1 {
  font-size: 22px;
  color: black;
}
.Disclaimer h2 {
  font-size: 16px;
  color: black;
}
.mprice {
  display: none;
}
input[type="radio"] {
  width: 1em;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

select#ddmCustomer, select#company_id,
select#supplier_id {
  width: auto;
  max-width: calc(100% - 96px);
}

.DateTime {
  width: 175px;
  text-align: left;
}

table.List tr.processing {
  opacity: 0.5;
  background-color: #fffbe6 !important;
}
table.List tr.error {
  background-color: #fdecea !important;
}
.processing-spinner {
  display: inline-block;
  animation: kg-spin 0.9s linear infinite;
  font-size: 1.1em;
}
@keyframes kg-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
#ProcessStatus:empty {
  display: none;
}
#ProcessStatus {
  padding: 4px 8px;
  margin: 4px 0;
  background-color: #e8f4ff;
  border-left: 3px solid #005a51;
  font-size: 0.9em;
}
