@keyframes title_animation {
  0%    {font-size: 2em; opacity: 1.0;}
  50%   {opacity: 1.0;}
  85%   {opacity: 0.0;}
  100%  {font-size: 0px; opacity: 0.0;}
}

#header .initial {
  font-weight: bold;
  font-size: 2em;
  animation-name: title_animation;
  animation-duration: 2.5s;
  animation-delay: 2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

#header .final {
  font-weight: bold;
  font-size: 3em;
}

#title {
  display: inline-block;
  width: 175px;
  max-width: 175px;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
}

.alc-badge {
  position: relative;
}

.alc-badge[data-badge]:after{
  content: attr(data-badge);
  position: absolute;
  top: -10px;
  right: 0px;
  font-size: 0.7em;
  background: red;
  background: linear-gradient(rgb(255, 128, 128), rgb(160, 0, 0));
  color: white;
  /* width: 1.25em; */
  height: 1.0em;
  text-align: center;
  line-height: 1.0em;
  border-radius: 0.625em;
  padding-left: 0.2em;
  padding-right: 0.2em;
  box-shadow: 1px 1px 0px #333;
  text-shadow: 0px -1px 1px rgb(77, 77, 77);
/*
  border-top: 1px solid rgb(255, 0, 0);
  border-left: 1px solid rgb(255, 0, 0);
  border-bottom: 1px solid rgb(160, 0, 0);
  border-right:  1px solid rgb(160, 0, 0);
*/
}

.menus {
  display: inline-block;
  width: calc(100% - 225px);
  margin-left: 25px;
  vertical-align: top;
}

.nav_bar {
  background: rgb(80, 80, 80);
  background: linear-gradient(rgb(96, 96, 96), rgb(64, 64, 64));
  border-radius: 10px;
  padding: 3px;
  width: calc(100% - 500px);
  /* margin-left: 25px; */
  /* display: inline-block; */
  vertical-align: top;
}

.nav_bar ul {
  background: rgb(128, 128, 128);
  background: linear-gradient(rgb(160, 160, 160), rgb(96, 96, 96));
  border-radius: 10px;
  border-top: 1px solid rgb(192, 192, 192);
  border-left: 1px solid rgb(192, 192, 192);
  border-bottom: 1px solid rgb(64, 64, 64);
  border-right:  1px solid rgb(64, 64, 64);
  list-style: none inside;
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0 0 0 0;
  text-align: center;
}

.nav_bar ul li {
  display: inline-block;
  text-align: center;
  color: white;
  text-shadow: 0px -1px 1px rgb(77, 77, 77);
  font-size: 1.5em;
  font-variant: small-caps;
  /* padding: 0.25em 2em 0.25em 2em; */
  width: 16%;
  min-width: 16%;
  /* background: red; */
  border-left: 1px solid rgb(64, 64, 64);
}

.nav_bar ul li:first-of-type {
  border-left: none;
}

.row {
  position: relative;
}

#menu_bar {
  position: absolute;
  left: 0px;
  width: 8.33%;
  background-color: red;
}

.window {
  position: absolute;
  width: 80%;
  left: 10%;
  /* background-color: green; */
}

html, body {
  height: 100%;
}

#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -2em;
}

#push, #footer {
  height: 2em;
}

#footer {
  /* background-color: #f5f5f5; */
  background-color: #e6e6e6;
}

a {
  cursor: pointer;
}

.scm-hidden {
  display: none !important;
}

.scm-no-results-refresh p {
  margin-bottom: 0px;
}

.scm-no-results-refresh a {
  font-style: italic;
}



/* /////////////////////////////////////////////////////// */
/*                                                         */
/* ORDER VIEW                                              */
/*                                                         */
/* /////////////////////////////////////////////////////// */

.scm-order-location {
  font-size: 1.5em;
}

.order_sheet .delete.disabled {
  opacity: 0.25;
}

#x-order_form .title {
  font-size: 2em;
  font-weight: bold;
}

.scm-order-form {
  border-collapse: collapse;
}

.scm-order-form tr {
  vertical-align: top;
}

.scm-order-form, .scm-order-form th, .scm-order-form td {
  border: 1px solid black;
  margin: 0px;
}

.scm-order-form input {
  border: none;
  background-color: transparent;
  padding-left: 5px;
  width: 100%;
}

.scm-order-form {
  width: 100%;
  margin-top: 1em;
  margin-bottom: 1em;
}

.scm-order-form textarea {
  border: none;
  background-color: transparent;
  resize: none;
  overflow-y: hidden;
  height: 1em;
  width: 100%;
}

.scm-order-form th {
  text-align: center;
}

td.scm-order-desc {
  /* width: 240px; */
  text-align: left;
}

td.scm-order-qty {
  width: 60px;
  text-align: right;
}

td.scm-order-uom {
  width: 70px;
  text-align: left;
}

td.scm-order-prio {
  width: 70px;
  text-align: center;
}

td.scm-order-comments {
  /* width: 240px; */
  text-align: left;
}

td.scm-order-action {
  width: 30px;
  text-align: center;
}

.scm-order-desc input {
  text-overflow: ellipsis;
}

.scm-order-comments textarea {
  text-overflow: ellipsis;
}

.scm-order-row {
  min-height: 1.2em;
}

.scm-order-invalid {
  margin: -1px !important;
  border: 1px solid rgba(240, 48, 48, 1.0) !important;
  box-shadow: 0 0 5px rgba(240, 48, 48, 1.0);
}

/* /////////////////////////////////////////////////////// */
/*                                                         */
/* APPROVE VIEW                                            */
/*                                                         */
/* /////////////////////////////////////////////////////// */

td.scm-approve-action {
  font-size: 1.5em;
}

.scm-approve-action .glyphicon-refresh {
  -webkit-animation: scm-spin 2s linear infinite;
  -moz-animation: scm-spin 2s linear infinite;
  animation: scm-spin 2s linear infinite;
}

.scm-approve-order td, .scm-approve-order th {
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-approve-desc {
  width: 200px;
  text-align: left;
}

.scm-approve-qty {
  width: 50px;
  text-align: right;
}

.scm-approve-uom {
  width: 50px;
  text-align: left;
}

.scm-approve-prio {
  width: 70px;
  text-align: center;
}

.scm-approve-comments {
  width: 200px;
  text-align: left;
}

td.scm-approve-comments {
  font-size: 80%;
}

.scm-approve-status {
  width: 70px;
  text-align: center;
}

.scm-approve-action {
  width: 70px;
  text-align: center;
}

.scm-approve-comment-box {
  width: 100%;
}

.scm-approve-add-comment {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

/* /////////////////////////////////////////////////////// */
/*                                                         */
/* PROCURE VIEW                                            */
/*                                                         */
/* /////////////////////////////////////////////////////// */

td.scm-procure-action {
  font-size: 1.5em;
}

.scm-procure-action .glyphicon-refresh {
  -webkit-animation: scm-spin 2s linear infinite;
  -moz-animation: scm-spin 2s linear infinite;
  animation: scm-spin 2s linear infinite;
}

.scm-procure-order td, .scm-procure-order th {
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-procure-desc {
  width: 200px;
  text-align: left;
}

.scm-procure-qty {
  width: 50px;
  text-align: right;
}

.scm-procure-uom {
  width: 50px;
  text-align: left;
}

span.scm-procure-qty, span.scm-procure-uom {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-procure-qty-uom {
  width: 140px;
  text-align: center;
}

.scm-procure-save-qty.btn, .scm-procure-cancel-qty.btn {
  margin-top: 5px;
}

.scm-procure-prio {
  width: 70px;
  text-align: center;
}

.scm-procure-comments {
  width: 200px;
  text-align: left;
}

td.scm-procure-comments {
  font-size: 80%;
}

.scm-procure-status {
  width: 70px;
  text-align: center;
}

.scm-procure-action {
  width: 70px;
  text-align: center;
}

.scm-procure-comment-box {
  width: 100%;
}

.scm-procure-add-comment {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.scm-procure-new-qty input {
  background-color: transparent;
  padding-left: 5px;
  width: 100%;
  border: 1px solid black;
  text-overflow: ellipsis;
}

.scm-procure-qty-invalid {
  margin: -1px !important;
  border: 1px solid rgba(240, 48, 48, 1.0) !important;
  box-shadow: 0 0 5px rgba(240, 48, 48, 1.0);
}


/* /////////////////////////////////////////////////////// */
/*                                                         */
/* SHIP VIEW                                               */
/*                                                         */
/* /////////////////////////////////////////////////////// */

td.scm-ship-action {
  font-size: 1.5em;
}

.scm-ship-action .glyphicon-refresh {
  -webkit-animation: scm-spin 2s linear infinite;
  -moz-animation: scm-spin 2s linear infinite;
  animation: scm-spin 2s linear infinite;
}

.scm-ship-order td, .scm-ship-order th {
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-ship-desc {
  width: 200px;
  min-width: 200px;
  text-align: left;
}

.scm-ship-qty {
  width: 50px;
  min-width: 50px;
  text-align: right;
}

.scm-ship-uom {
  width: 50px;
  min-width: 50px;
  text-align: left;
}

span.scm-ship-qty, span.scm-ship-uom {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-ship-qty-uom {
  width: 140px;
  min-width: 140px;
  text-align: center;
}

.scm-ship-save-qty.btn, .scm-ship-cancel-qty.btn {
  margin-top: 5px;
}

.scm-ship-prio {
  width: 70px;
  min-width: 70px;
  text-align: center;
}

.scm-ship-comments {
  width: 200px;
  min-width: 200px;
  text-align: left;
}

td.scm-ship-comments {
  font-size: 80%;
}

td.scm-ship-status {
  width: 150px;
  min-width: 150px;
  text-align: left;
  font-size: 80%;
}

.scm-ship-action {
  width: 40px;
  min-width: 40px;
  text-align: center;
}

.scm-ship-comment-box {
  width: 100%;
}

.scm-ship-add-comment {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.scm-ship-new-qty input {
  background-color: transparent;
  padding-left: 5px;
  width: 100%;
  border: 1px solid black;
  text-overflow: ellipsis;
}

.scm-ship-invalid, .scm-ship-qty-invalid {
  margin: -1px !important;
  border: 1px solid rgba(240, 48, 48, 1.0) !important;
  box-shadow: 0 0 5px rgba(240, 48, 48, 1.0);
}

tr.scm-ship-selected {
  /* margin: -1px !important; */
  border: 1px solid rgba(48, 48, 240, 1.0) !important;
  box-shadow: 0 0 10px rgba(48, 48, 240, 1.0); 
  overflow: visible;
  color: rgb(48, 48, 240);
}

.scm-ship-partial div:first-child {
  font-size: 80%;
  font-weight: bold;
  margin-bottom: -2px;
}

.scm-ship-controls {
  margin-top: 25px;
  margin-bottom: 15px;
}

.scm-ship-order tr:not(.scm-ship-selected) {
  border-left: hidden;
  border-right: hidden;
  border-top: none;
  border-bottom: none;
  /* border: 1px solid rgba(255, 0, 255, 1.0); */
  /* margin: -1px !important; */
  overflow: visible;
}

.scm-ship-carrier {
  margin-bottom: 10px;
}

/* /////////////////////////////////////////////////////// */
/*                                                         */
/* RECEIVE VIEW                                            */
/*                                                         */
/* /////////////////////////////////////////////////////// */

td.scm-receive-action {
  font-size: 1.5em;
}

.scm-receive-action .glyphicon-refresh {
  -webkit-animation: scm-spin 2s linear infinite;
  -moz-animation: scm-spin 2s linear infinite;
  animation: scm-spin 2s linear infinite;
}

.scm-receive-shipment td, .scm-receive-shipment th {
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-receive-dest {
  width: 100px;
  min-width: 100px;
  text-align: left;
}

.scm-receive-desc {
  width: 200px;
  min-width: 200px;
  text-align: left;
}

.scm-receive-qty {
  width: 50px;
  min-width: 50px;
  text-align: right;
}

.scm-receive-uom {
  width: 50px;
  min-width: 50px;
  text-align: left;
}

span.scm-receive-qty, span.scm-receive-uom {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-receive-qty-uom {
  width: 140px;
  min-width: 140px;
  text-align: center;
}

.scm-receive-save-qty.btn, .scm-receive-cancel-qty.btn {
  margin-top: 5px;
}

.scm-receive-prio {
  width: 70px;
  min-width: 70px;
  text-align: center;
}

.scm-receive-comments {
  width: 200px;
  min-width: 200px;
  text-align: left;
}

td.scm-receive-comments {
  font-size: 80%;
}

td.scm-receive-status {
  width: 150px;
  min-width: 150px;
  text-align: left;
  font-size: 80%;
}

.scm-receive-accept {
  width: 40px;
  min-width: 40px;
  text-align: center;
}

.scm-receive-comment-box {
  width: 100%;
}

.scm-receive-add-comment {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

tr.scm-receive-selected {
  /* margin: -1px !important; */
  border: 1px solid rgba(48, 48, 240, 1.0) !important;
  box-shadow: 0 0 10px rgba(48, 48, 240, 1.0); 
  overflow: visible;
  color: rgb(48, 48, 240);
}

.scm-receive-controls {
  margin-top: 25px;
  margin-bottom: 15px;
}

.scm-receive-shipment tr:not(.scm-receive-selected) {
  border-left: hidden;
  border-right: hidden;
  border-top: none;
  border-bottom: none;
  /* border: 1px solid rgba(255, 0, 255, 1.0); */
  /* margin: -1px !important; */
  overflow: visible;
}

.scm-receive-action .modal-body {
  text-align: left !important;
  font-size: 12pt
}


/* /////////////////////////////////////////////////////// */
/*                                                         */
/* REPORT VIEW                                             */
/*                                                         */
/* /////////////////////////////////////////////////////// */

.scm-report-search fieldset {
  border: 1px groove #ddd !important;
  padding: 0 1.4em 1.4em 1.4em !important;
  margin: 0 0 1.5em 0 !important;
  -webkit-box-shadow: 0px 0px 0px 0px #000;
  box-shadow: 0px 0px 0px 0px #000;
}

.scm-report-search fieldset legend {
  font-size: 1.2em !important;
  font-weight: bold !important;
  text-align: left !important;
  width: auto;
  padding: 0 10px;
  border-bottom: none;
  /* vertical-align: middle; */
  margin-top: 1.0em;
}

.scm-report-search-basic {
  padding-top: 1em;
}

.scm-report-search-caption {
  font-weight: bold;
}

.scm-report-search input:not(:checked) + span {
  font-weight: normal !important;
}

.scm-report-search input:checked + span {
  font-weight: bold !important;
}

.scm-report-order td, .scm-report-order th {
  vertical-align: top;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-report-order-desc {
  width: 200px;
  text-align: left;
}

.scm-report-order-qty {
  width: 50px;
  text-align: right;
}

.scm-report-order-uom {
  width: 50px;
  text-align: left;
}

span.scm-report-order-qty, span.scm-report-order-uom {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
}

.scm-report-order-qty-uom {
  width: 140px;
  text-align: center;
}

.scm-report-order-prio {
  width: 70px;
  text-align: center;
}

.scm-report-order-comments {
  width: 200px;
  text-align: left;
}

td.scm-report-order-comments {
  font-size: 80%;
}

td.scm-report-order-status {
  width: 150px;
  min-width: 150px;
  text-align: left;
  font-size: 80%;
}

.scm-report-order-action {
  width: 70px;
  text-align: center;
}


/* /////////////////////////////////////////////////////// */
/*                                                         */
/* ADMIN VIEW                                              */
/*                                                         */
/* /////////////////////////////////////////////////////// */

table.scm-permissions {
  margin-left: 3em;
}

table.scm-permissions tr th {
  width: 70px;
}

table.scm-permissions tr th, table tr td {
  text-align: center;
}

table.scm-permissions tr th:first-child {
  width: 150px;
  text-align: left;
}

table.scm-permissions tr td:first-child {
  text-align: left;
  padding-left: 1em;
}

/* /////////////////////////////////////////////////////// */
/*                                                         */
/* FULL-SCREEN SPENDING FREEZE OVERLAY                     */
/*                                                         */
/* /////////////////////////////////////////////////////// */

.scm-overlay-spending-freeze {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 998;
  /* cursor: wait; */
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scm-overlay-spending-freeze p {
  text-align: center;
  font-family: 'umbrageregular', Arial, sans-serif;
  font-size: 5em;
  line-height: 85%;
  transform: rotate(330deg);
  -webkit-transform: rotate(330deg);
  -moz-transform: rotate(330deg);
  color: rgba(127, 0, 0, 0.15);
}
/* /////////////////////////////////////////////////////// */
/*                                                         */
/* FULL-SCREEN SPINNER (WAIT) OVERLAY                      */
/*                                                         */
/* /////////////////////////////////////////////////////// */

.scm-wait-spinner {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  cursor: wait;
  overflow: hidden;
}

.scm-wait-spinner img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  margin-top: -37px;
  margin-left: -37px;
  -webkit-animation: scm-spin 2s linear infinite;
  -moz-animation: scm-spin 2s linear infinite;
  animation: scm-spin 2s linear infinite;
  display: inline-block;
}

@-webkit-keyframes scm-spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes scm-spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}

@keyframes scm-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scm-disable-scroll {
  overflow: hidden;
}
