/*--------red----------------*/
body {
  font-family: 'Helvetica', sans-serif;
}

body, #app {
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#app {
  display: grid;
  grid-template-rows: 100%;
}

@media (min-width: 900px) {
  #app {
    grid-template-columns: 59% 41%;
  }
}

h1, h2, h3, h4 {
  font-family: 'Helvetica', sans-serif;
  margin: 0;
}

h1 {
  font-size: 1.25em;
  font-weight: 200;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 1em;
  font-weight: 200;
  letter-spacing: 0.03em;
}

h3 {
  font-size: 0.8em;
  font-weight: 100;
}

h4 {
  font-size: 1.75em;
  font-weight: 100;
}

p {
  color: #333;
  margin: 0 0 1em 0;
}

sup {
  vertical-align: text-top;
  font-size: 0.75em;
  padding: 0 0.15em 0 0;
}

label, .label {
  color: #838383;
}

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

input, select, textarea {
  padding: 0.5em;
  font-size: 1em;
}

input.error, select.error, textarea.error {
  border: 1px solid #CF000F !important;
}

input.small, select.small, textarea.small {
  width: 3em;
}

input.medium, select.medium, textarea.medium {
  width: 50%;
}

input.full, textarea.full {
  width: calc(100% - 1.25em);
}

input[disabled], .disabled {
  background-color: #E5E5E5 !important;
  cursor: not-allowed !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="date"] {
  font-family: 'Helvetica', sans-serif;
}

select {
  height: 2.33em;
  padding: 6px 4px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 3px;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
}

[v-cloak] {
  display: none;
}

.no-results {
  max-width: 24em;
  margin: 2em auto;
}

.no-results p {
  font-size: 1.25em;
}

.no-results .button {
  font-size: 1em;
  width: 20em;
  margin: 2em auto;
}

.clearfix {
  clear: both;
}

.clickable-item {
  padding: 0.25em;
}
.clickable-item:hover {
  cursor: pointer;
  background-color: #E5E5E5;
}

.loading {
  align-self: center;
  width: 100%;
  height: 60%;
  position: absolute;
  align-items: center;
  justify-items: center;
  display: grid;
}

.overlay {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.overlay.updating {
  cursor: wait;
}

.close-button {
  cursor: pointer;
  padding: 7px;
  position: absolute;
  right: 1em;
  top: 0.5em;
  opacity: 0.5;
  transition: opacity 0.6s;
}

.close-button:hover {
  opacity: 1;
  transition: opacity 0.4s;
}

.close-button img {
  width: 1.5em;
}

.close-button .fa {
  font-size: 1.5em;
}

.message {
  color: #CF000F;
}

.message.info {
  color: blue;
}

.note {
  font-size: 0.8em;
  margin: 0.25em 0;
  color: #838383;
}

.instructions {
  max-width: 22em;
  margin: 2em auto;
  font-size: 1em;
  color: #999;
}

.inline-note {
  display: inline-block;
  font-size: 0.8em;
  margin: 0 0.5em;
  color: #838383;
}

.float-left {
  float: left;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1em;
}

.three-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 1em;
}

.four-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 1em;
}

.one-two-columns {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-column-gap: 1em;
}

.two-one-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-column-gap: 1em;
}

.three-one-columns {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-column-gap: 1em;
}

.one-three-columns {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-column-gap: 1em;
}

label.block {
  display: block;
  margin: 1em 0 0 0;
}

.pointer {
  cursor: pointer;
}

.button-group {
  margin-bottom: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30px, 45%));
  grid-column-gap: 0.5em;
}

.button, button {
  border: none;
  position: relative;
  cursor: pointer;
  display: grid;
  align-items: center;
  justify-items: center;
  color: #fff;
  padding: 0.66em 1em;
  background: #CF000F;
}

.button a, button a, a.button {
  text-decoration: none;
  color: #fff;
}

.button:hover, button:hover {
  background: #f70010;
}

.button.secondary, button.secondary {
  background: #838383;
}

.button.disabled, button.disabled {
  background: #838383 !important;
  cursor: not-allowed !important;
}

.button.action-button, button.action-button {
  background: #a2000c;
  color: #fff;
}

.button.customer-button, button.customer-button {
  background: #838383;
  color: #fff;
}

.button.customer-button:hover, button.customer-button:hover {
  background: #f70010;
}

.button.neutral, button.neutral {
  background-color: #838383;
  color: #fff;
}

.button.sale-button, button.sale-button {
  background: #838383;
  color: #fff;
}

.button.sale-button:hover, button.sale-button:hover {
  background: #CF000F;
}

.button.active, .button.router-link-active, button.active, button.router-link-active {
  background: #CF000F;
  color: #fff;
}

.button.neutral, button.neutral {
  background: #6a6a6a;
  color: #fff;
}

.button.neutral:hover, button.neutral:hover {
  background: #838383;
}

.button.cancel, button.cancel {
  background: #838383;
}

.button img.loading-image, button img.loading-image {
  position: absolute;
  right: 10%;
  height: 75%;
}

.small-button {
  font-size: 0.85em;
}

.prev.disabled, .next.disabled {
  background-color: initial !important;
  color: #ccc;
}

.main {
  display: grid;
  grid-template-rows: 3em 3em 1fr;
}

.left-body {
  grid-row: 3;
  overflow: hidden;
  background-color: #FAFAFA;
  border-right: 1px solid #5A5A5A;
  position: relative;
}

.header {
  height: 100%;
  padding: 0 0.75em;
  background-color: #CF000F;
  color: #fff;
  border-right: 1px solid #5A5A5A;
  border-bottom: 1px solid #5A5A5A;
  display: grid;
  grid-template-columns: 1.5em 1fr 5em 1.5em;
  align-items: center;
  z-index: 70;
}

.header .hamburger {
  margin: 0.5em 0 0 0;
  position: relative;
  height: 2em;
  width: 2em;
  cursor: pointer;
}

.header .hamburger .top-bun {
  width: 2em;
  height: 0.25em;
  background-color: #fff;
  transform: rotateZ(0deg) translate(auto);
  transition: transform 0.7s;
}

.header .hamburger .patty {
  width: 2em;
  height: 0.25em;
  background-color: #fff;
  margin: 0.33em 0;
  opacity: 1;
  transition: opacity 0.7s;
}

.header .hamburger .bottom-bun {
  width: 2em;
  height: 0.25em;
  background-color: #fff;
  transform: rotateZ(0deg) translate(auto);
  transition: transform 0.7s;
}

.header .identity {
  margin-left: 1.5em;
}

.header .brand {
  font-size: 0.5em;
  text-align: right;
  text-transform: uppercase;
  font-weight: 100;
}

.header img.brand {
  height: 1.75em;
  padding: 0 0 0 0.5em;
}

.warning {
  background-color: #CF000F !important;
  color: #fff !important;
}

.search-bar {
  position: relative;
  width: 100%;
  height: 2.5em;
  display: grid;
  grid-template-columns: 1fr 2.5em;
  align-items: center;
}

.search-bar.product, .search-bar.order {
  grid-template-columns: 3em 1fr 2.5em;
}

.search-bar.order {
  grid-template-columns: 1fr 2.5em;
}

.search-bar .quantity-control {
  height: 100%;
  font-size: 1em;
  text-align: center;
  display: grid;
  align-items: center;
  border-radius: 3px 0 0 3px;
  cursor: pointer;
  background-color: #838383;
  color: #fff;
}

.search-bar .quantity-input {
  height: 1.8em;
  border: 1px solid #b5b5b5;
  border-radius: 3px 0 0 3px;
  display: grid;
  align-items: center;
}

.search-bar .quantity-input input {
  width: 2em;
}

.search-bar input.search-field {
  height: 100%;
  font-size: 1em;
  padding: 0 0.5em;
  background-color: #fff;
  border: 1px solid #b5b5b5;
  border-right: none;
}

.search-bar .search-button {
  height: 100%;
  border-radius: 0 3px 3px 0;
  background-color: #CF000F;
  cursor: pointer;
  position: relative;
}

.search-bar .search-button.disabled {
  background-color: #838383 !important;
}

.search-bar .search-button img {
  width: 1.5em;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.customer-controls {
  display: grid;
  grid-row: 2;
  grid-template-columns: 8em 1fr;
  align-items: center;
  height: 3em;
  border-bottom: 1px solid #5A5A5A;
  border-right: 1px solid #5A5A5A;
  z-index: 60;
}

.customer-controls .customer-selected, .customer-controls .customer-button {
  height: 1.66em;
  z-index: 80;
}

.customer-controls .customer-selected {
  height: 3em;
  padding: 0 0 0 1em;
  background-color: #E6E6E6;
  position: relative;
  display: grid;
  align-items: center;
}

.customer-controls .customer-selected img {
  justify-self: center;
}

.customer-controls .customer-selected h2 .remove {
  display: none;
  margin-left: 1em;
  color: #838383;
  font-size: 14px;
}

.customer-controls .customer-selected h2 .customer-name {
  display: inline-block;
}

.customer-controls .customer-selected:hover h2 .remove {
  display: inline-block;
}

.customers {
  background: #FAFAFA;
  overflow: hidden;
}

.customers .customer-head {
  display: grid;
  grid-template-columns: 1fr 10em 2em;
  grid-column-gap: 1em;
  align-items: center;
  padding: 0.5em 1em;
  height: 5em;
  border-bottom: 1px solid #5A5A5A;
}

.customers .customer-head .button {
  font-size: 0.8em;
  padding: 0.75em 1em;
}

.customers .customer-head .close-button {
  position: inherit;
  right: auto;
  top: auto;
  padding: 0;
}

.customers .message {
  text-align: center;
  margin: 2em 0 0 0;
}

.customers .button-group {
  grid-row: 2;
  padding: 2em 0;
}

.customers .pagination {
  align-items: center;
  padding: 1em 0;
}

.customer-select, .active-range-grid {
  overflow: scroll;
  padding: 1em 0;
  height: 60%;
}

.customer-select .customer-grid, .active-range-grid .customer-grid {
  margin-top: 0;
}

.customer-select h1, .active-range-grid h1 {
  text-align: center;
  margin-bottom: 1em;
}

.customer-select {
  height: 80%;
}

.customer-grid, .active-range-grid {
  width: 95%;
  margin: 2em auto;
  height: auto;
  display: grid;
  grid-auto-rows: auto;
  align-items: center;
}

.customer-grid h1, .active-range-grid h1 {
  text-align: center;
  margin: 0 0 1em 0;
}

.customer-grid-item, .active-range-grid-item {
  padding: 0.5em;
  height: auto;
  display: grid;
  grid-template-columns: 2em 1.5fr 3fr 0.5fr 0.25fr;
  grid-column-gap: 0.5em;
  border-bottom: 1px solid #838383;
  padding: 1em 0.8em 1em 0.5em;
  align-items: center;
}
.customer-grid-item {
  grid-template-columns: 1fr 1fr 5em;
  label { font-size: 0.8em; padding: 0 0.5em 0 0; }
}
.customer-grid-item h2, .active-range-grid-item h2 {
  cursor: pointer;
}

.customer-grid-item:hover, .active-range-grid-item:hover {
  background-color: #E5E5E5;
}

.customer-selected img, .membership-flag img {
  display: inline-block;
  width: 21px;
}

.customer-profile {
  grid-row: 3 / 8;
  text-align: center;
  border-right: 1px solid #5A5A5A;
  position: relative;
}

.customer-profile .customer-profile-header {
  padding: 0 2em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  margin: 1em 0;
  grid-gap: 0.25em;
}

.customer-profile .loading {
  width: 90%;
  height: 70%;
}

.customer-profile .button-group .message {
  padding: 0.75em 0 0 0;
}

.customer-profile .button-group {
  margin: 1em 0;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1em;
}

.customer-profile h1.title {
  text-align: left;
  margin: 2em auto 1em auto;
  width: 85%;
}

.customer-profile .customer-info {
  padding: 0 2em;
  margin: 0 auto 0 auto;
  text-align: left;
}

.customer-profile .customer-info label {
  font-size: 14px;
  margin-left: 0.3em;
}

.customer-profile .customer-info input {
  padding: 0.75em 0 0.75em 0.75em;
  border-radius: 3px;
  border: 1px solid #E5E5E5;
  font-size: 0.9em;
}

.customer-profile .customer-info select {
  height: 3em;
  border: 1px solid #E5E5E5;
  border-radius: 3px;
  background-color: #fff;
  font-size: 0.9em;
}

.customer-profile .customer-info input, .customer-profile .customer-info select {
  margin: 0 0 0.5em 0;
}

.customer-profile .customer-info .input-long {
  grid-column: 1 / 3;
}

.customer-profile .customer-info .grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 0.1em;
  grid-column-gap: 0.5em;
}

.customer-profile .customer-info .grid-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 0.1em;
  grid-column-gap: 0.5em;
}

.customer-profile .orders, .customer-profile table {
  grid-column: 1 / 3;
  width: 100%;
  margin-bottom: 1.5em;
}

.customer-profile .orders th, .customer-profile table th {
  color: #838383;
  border-bottom: 1px solid #838383;
  text-align: left;
}

.customer-profile .orders tr, .customer-profile table tr {
  cursor: pointer;
}

.customer-profile .orders tr:hover td, .customer-profile table tr:hover td {
  background-color: #E5E5E5;
}

.customer-profile .orders td, .customer-profile table td {
  border-bottom: 1px dotted #838383;
}

.customer-profile .orders .detail, .customer-profile table .detail {
  background-color: #E5E5E5;
  cursor: default;
}

.customer-profile .orders th, .customer-profile .orders td, .customer-profile table th, .customer-profile table td {
  padding: 0.5em;
}

.customer-profile .orders th:first-child, .customer-profile .orders td:first-child, .customer-profile table th:first-child, .customer-profile table td:first-child {
  max-width: 400px;
  padding-left: 0;
}

.customer-profile .orders th.center, .customer-profile .orders td.center, .customer-profile table th.center, .customer-profile table td.center {
  text-align: center;
}

.customer-profile .orders th.right, .customer-profile .orders td.right, .customer-profile table th.right, .customer-profile table td.right {
  text-align: right;
}

.customer-profile .orders th.left, .customer-profile .orders td.left, .customer-profile table th.left, .customer-profile table td.left {
  text-align: left;
}

.customer-profile .order-detail {
  padding: 0 2em;
  grid-column: 1 / 3;
}

.customer-profile .order-detail h1 {
  display: inline-block;
  margin-right: 3em;
}

.customer-profile .order-detail .button-group h1 {
  margin-right: auto;
}

.customer-profile .order-detail .details {
  width: 48%;
  display: inline-block;
  vertical-align: top;
  margin-top: 2em;
}

.customer-profile .order-detail .details div {
  margin: 0.5em 0;
}

.customer-profile .order-detail .details div span:last-of-type {
  float: right;
}

.customer-profile .order-detail .details .large {
  font-size: 1.5em;
}

.customer-profile .order-detail button {
  border: none;
  color: #fff;
  background-color: #CF000F;
  outline: none;
  padding: 0.25em 0;
  margin: 0.25em 0;
  width: 7em;
  cursor: pointer;
}

.customer-profile .order-detail .inactive {
  background-color: #838383;
}

.customer-profile .upc-message {
  color: #CF000F;
  grid-column: 1 / 4;
  justify-self: center;
  padding-top: 1em;
}

.products .pagination {
  margin: 0 auto 2em auto;
}

.products.products-component {
  overflow: scroll;
  grid-row: 3 / 5;
  padding-top: 2em;
  height: 60%;
}

@media (min-height: 640px) {
  .products.products-component {
    height: 66%;
  }
}

@media (min-height: 800px) {
  .products.products-component {
    height: 75%;
  }
}

@media (min-height: 1000px) {
  .products.products-component {
    height: 80%;
  }
}

.product-grid {
  width: 85%;
  margin: 0 auto;
  padding-bottom: 2em;
  height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1.25em;
  grid-row-gap: 1.25em;
  grid-template-rows: auto;
  grid-auto-flow: row;
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.product-grid .page-loading {
  grid-column: 2 / 2;
  justify-self: center;
}

.product-grid .product-tile {
  width: 100%;
  height: 18em;
  border: 1px solid #5A5A5A;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 100%;
  grid-template-rows: 1.5fr 0.8fr 0.5fr;
}

.product-grid .product-tile .product-thumb {
  width: 100%;
  height: auto;
  background-color: #fff;
  text-align: center;
  padding: 1em 0;
  display: grid;
  position: relative;
  justify-items: center;
  align-items: center;
  cursor: pointer;
}

.product-grid .product-tile .product-thumb img {
  width: auto;
  max-height: 100px;
}

.product-grid .product-tile .product-available {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  font-size: 0.85em;
  font-weight: 100;
  padding: 0.15em 0.25em 1em 1.25em;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.product-grid .product-tile .product-info {
  width: 100%;
  height: auto;
  background-color: #E5E5E5;
  text-align: center;
  padding: 1em 0;
  cursor: pointer;
}

.product-grid .product-tile .product-button {
  width: 100%;
  height: auto;
  background-color: #CF000F;
  text-align: center;
  padding: 1em 0;
  color: #fff;
  cursor: pointer;
}

.product-grid .product-tile h2.product-tile-description {
  overflow: hidden;
  height: 40px;
  font-size: 0.9em;
}

.product-grid .product-tile .price {
  font-size: 1.25em;
}

.in-stock {
  background-color: green;
}

.warehouse-stock {
  background-color: goldenrod;
}

.out-of-stock {
  background-color: #CF000F;
}

.product-detail, .override-product {
  padding: 2em;
  border-right: 1px solid #5A5A5A;
  position: relative;
}

.product-detail h3, .product-detail input, .override-product h3, .override-product input {
  display: inline-block;
}

.product-detail {
  overflow: scroll;
}

.product-detail .product-detail-main {
  display: grid;
  grid-column-gap: 3em;
  grid-template-columns: 36% 1.5fr;
  grid-template-rows: auto;
  grid-row: 3 / 8;
}

.product-detail .product-detail-main .product-image {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
  width: 100%;
  height: auto;
}

.product-detail .product-detail-main .product-image img {
  background-color: #fff;
  padding: 1em;
  width: 100%;
}

.product-detail .product-detail-main .product-purchaseinfo {
  display: grid;
  grid-column: 2 / 3;
  text-align: left;
  margin: 1em 0 0 0;
}

.product-detail .product-detail-main .product-purchaseinfo h1 {
  margin: 0.5em 0;
}

.product-detail .product-detail-main .product-purchaseinfo .product-quantity, .product-detail .product-detail-main .product-purchaseinfo .serial-number, .product-detail .product-detail-main .product-purchaseinfo .mgr-code {
  display: grid;
  align-items: center;
}

.product-detail .product-detail-main .product-purchaseinfo .product-quantity {
  margin: 0.5em 0 2em 0;
  grid-template-columns: 30% 1fr 1fr;
}

.product-detail .product-detail-main .product-purchaseinfo .serial-number {
  grid-template-columns: 30% 1fr;
  margin: 0.5em 0 1em 0;
}

.product-detail .product-detail-main .product-purchaseinfo .serial-number input {
  width: 15em;
}

.product-detail .product-detail-main .product-purchaseinfo .mgr-code {
  grid-template-columns: 30% 1fr 1fr;
  margin: 2em 0 1em 0;
}

.product-detail .product-detail-main .product-purchaseinfo .mgr-code input {
  width: 3em;
}

.product-detail .product-detail-main .product-purchaseinfo .mgr-code div {
  grid-column: 1 / 4;
  padding: 0.5em 0;
}

.product-detail .product-detail-main .product-purchaseinfo .mgr-code .error {
  color: red;
}

.product-detail .product-spec {
  width: 100%;
  margin: 0.5em 0;
  display: grid;
  grid-column-gap: 2em;
  grid-template-columns: 1fr 6fr;
  align-items: top;
}

.product-detail .product-inventoryinfo, .product-detail .product-warehouseinfo {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1em;
  grid-row-gap: 0.5em;
  grid-template-rows: auto;
  margin-top: 2em;
}

.product-detail .product-inventoryinfo .product-sectionhead, .product-detail .product-warehouseinfo .product-sectionhead {
  grid-column: 1 / 3;
  background-color: #E5E5E5;
  padding: 0.75em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.product-detail .product-inventoryinfo .product-quantity, .product-detail .product-inventoryinfo .mgr-code, .product-detail .product-warehouseinfo .product-quantity, .product-detail .product-warehouseinfo .mgr-code {
  margin: 0.5em 0;
}

.override-product div.form-line {
  display: grid;
  grid-template-columns: 13% 35% 35%;
  grid-column-gap: 1em;
  align-items: center;
  margin: 1.5em 0;
}

.override-product input {
  padding: 1em;
}

#range {
  text-align: center;
}

#range .controls {
  margin-bottom: 2em;
}

#range .controls .button {
  margin: 2em;
  display: inline-block;
}

#range h2 {
  font-size: 1.8em;
}

#range .active-range-grid {
  overflow: auto;
  padding-bottom: 0;
}

#range .active-range-grid-item, #range .expired-range-grid-item {
  grid-template-columns: 1fr 3fr;
  cursor: pointer;
}

#range .lane {
  text-align: left;
  display: grid;
  grid-template-columns: 0.5fr 1.5fr 1fr;
}

#range .lane .expired-start-time {
  color: red;
}

#range_grid .range-wrapper {
  position: relative;
  align-self: self-start;
  overflow: hidden;
  margin-bottom: 2em;
}

#range_grid .range-scroller {
  overflow-x: scroll;
  margin-left: 62px;
}

#range_grid .range-grid {
  width: 100%;
}

#range_grid .meta {
  font-size: 14px;
}

#range_grid .meta h1, #range_grid .meta div.date-select, #range_grid .meta select {
  display: inline-block;
  width: 49%;
  margin: 1rem 0;
}

#range_grid .meta h1 {
  text-align: left;
}

#range_grid .meta div.date-select {
  text-align: center;
}

#range_grid .meta select {
  max-width: 250px;
}

@media (max-width: 1024px) {
  #range_grid .meta {
    margin-bottom: 1em;
  }
  #range_grid .date-select {
    grid-column: 1 / 4;
  }
}

@media (min-width: 1280px) {
  #range_grid .meta {
    grid-template-columns: 43% 19% 19% 19%;
  }
}

#range_grid span.dot {
  border: 1px solid;
  margin-right: 10px;
  border-radius: 100px;
  padding: 0px 8px;
}

#range_grid .date-select input {
  padding: 5px 10px;
}

#range_grid .date-select .arrow {
  font-size: 24px !important;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
}

#range_grid .date-select .prev {
  margin-right: 5px;
  margin-left: 5px;
}

#range_grid .date-select .prev.disabled {
  cursor: not-allowed;
}

#range_grid .date-select .next {
  margin-right: 5px;
}

#range_grid .range-controls, #range_grid .lane, #range_grid .date-select input {
  font-size: 14px;
  color: #555;
}

#range_grid tr.lane:first-of-type td {
  padding-top: 20px !important;
}

#range_grid tr.lane:first-of-type td.time-label {
  height: 32px;
}

#range_grid tr.range-controls th {
  border: solid black;
  border-width: 1px 0;
  padding: 8px 9px;
  background: white;
}

#range_grid tr.range-controls th:last-child {
  border-right-width: 1px !important;
}

#range_grid th.range-column {
  min-width: 63px;
}

#range_grid th.range-column.time-label {
  border-left-width: 1px;
  padding: 8px 0 8px 0;
  width: 0;
  height: initial;
}

#range_grid .time-label {
  vertical-align: middle;
  position: absolute;
  width: 75px;
  left: 0;
  height: 48px;
  display: grid;
  align-items: center;
}

#range_grid .range-slot {
  text-align: center;
  padding: 8px 0;
}

#range_grid .range-slot div {
  border: 1px solid;
  padding: 7px 23px 7px 14px;
  background: white;
  cursor: pointer;
  width: 32px;
  position: relative;
}

#range_grid .range-slot.adding div {
  opacity: 0.5;
  cursor: wait !important;
}

#range_grid img.adding-time {
  height: 21px;
  position: absolute;
  top: 4px;
}

#range_grid .dot.unavailable, #range_grid .unavailable div {
  background: #E5E5E5 !important;
  cursor: not-allowed !important;
}

#range_grid .dot.selected, #range_grid .selected div {
  background: #CF000F !important;
  color: white;
}

.fullscreen {
  padding: 2em;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: white;
  height: calc(100vh - 2em);
  padding-top: 0.5em;
}

.order-detail {
  overflow: scroll;
  height: calc(100% - 9.5em);
  position: relative;
}

.order-detail-main {
  padding: 1em 2em 0 2em;
}

.pos-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-right: 1px solid #5A5A5A;
  position: relative;
  z-index: 50;
}

.pos-buttons a {
  display: block;
  text-decoration: none;
  border-right: 1px solid #E5E5E5;
  text-align: center;
  padding: 1.1em 0 1em 0;
}

.pos-buttons a:hover {
  background: #838383;
}

.pos-buttons.with-range {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.pop-down-message {
  display: grid;
  grid-column-gap: 1em;
  grid-template-columns: 1fr 0.5fr 0.5fr;
  align-items: center;
  position: absolute;
  color: #CF000F;
  left: -0.1%;
  padding: 1em;
  height: 5em;
  background: white;
  border-bottom: 1px solid #CF000F;
  border-top: 1px solid white;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.pop-down-message .confirm {
  background-color: #CF000F;
}

.pop-down-message .cancel {
  background-color: #838383;
}

.route-leave-message {
  top: -1.5em;
  width: 100.3%;
  z-index: 40;
}

.route-leave-message.open {
  top: 3.5em;
}

.customer-save-message {
  top: -2.1em;
  width: 100.1%;
  z-index: 60;
}

.customer-save-message.open {
  top: 3em;
}

.customer-select-message {
  top: 0;
  width: 100.3%;
  z-index: -10;
}

.customer-select-message.open {
  top: 5.1em;
  z-index: 0;
}

.checkout {
  overflow: scroll;
  padding: 0 0 2em 0;
}

.checkout .heading {
  font-weight: 200;
  font-size: 1.25em;
  margin: 1em 0 1em 0.75em;
}

.checkout .current-payments {
  margin: 1em 5em 1em 3em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 0.5em;
}

.checkout .current-payments .payment-remove {
  opacity: 0.5;
}

.checkout .current-payments .payment-remove:hover {
  opacity: 1;
}

.checkout .current-payments span {
  border-bottom: 1px dotted #ccc;
}

.checkout .current-payments span:nth-of-type(3) {
  text-align: right;
}

.checkout .current-payments .payment-control-close {
  cursor: pointer;
  margin: 0 0.25em 0 0;
}

.checkout .balance-due {
  margin: 1em;
}

.checkout .payment-options {
  margin: 1em 1em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1em;
}

.checkout .save-cart-options {
  margin: 1em 1em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1em;
  align-items: top;
}

.checkout .save-cart-options .save-cart-tile .description {
  margin: 0.5em 0 2em 0;
  text-align: left;
  color: #6a6a6a;
}

.checkout .large {
  font-size: 1.25em;
}

.checkout .details {
  margin: 1em 3em;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-column-gap: 3em;
}

.checkout .details .label {
  font-size: 0.9em;
  color: #666;
  padding: 0 1em 0 0;
}

.checkout .details .details-right {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  margin: 0 2em 1em 0;
}

.checkout .charge-amount {
  margin: 1em 3em;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-column-gap: 20px;
  align-items: center;
}

.checkout .charge-amount input {
  font-size: 1em;
  padding: 0.75em;
  text-align: right;
}

.checkout .charge-amount input:read-only {
  border: 0 none;
  padding: 0.75em 0.85em;
  color: #333;
  background-color: #FAFAFA;
  cursor: pointer;
}

.checkout .charge-amount .right {
  text-align: right;
}

.checkout .charge-amount .center {
  text-align: center;
}

.checkout .charge-amount .arrow {
  display: inline-block;
  width: 2em;
  padding: 0.5em;
  background-color: #CF000F;
  text-align: center;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.checkout .charge-amount .arrow.reverse {
  transform: scaleX(-1);
}

.checkout .charge-amount .charge-controls {
  display: grid;
  grid-template-columns: 1fr 1.5em;
  grid-column-gap: 1em;
  align-items: center;
}

.checkout .charge-amount .charge-controls .charge-control-close {
  width: 1.25em;
  cursor: pointer;
}

.payment-type {
  margin: 1em 3em;
}

.payment-type h1 {
  margin: 1em 0 0.5em 0;
}

.payment-type h2 {
  display: inline-block;
  margin: 1em 0;
  width: 25%;
}

.payment-type input {
  padding: 0.75em 0 0.75em 0.75em;
  border-radius: 3px;
  border: 1px solid #E5E5E5;
  font-size: 0.9em;
  margin: 0.5em 0;
}

.payment-type .gift-card-input {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-column-gap: 20px;
  align-items: center;
}

.payment-type .gift-card-input input {
  width: 90%;
}

.sale-complete {
  text-align: center;
}

.sale-complete h1 {
  font-size: 2em;
  text-align: left;
}

.sale-complete h2 {
  font-size: 1.5em;
  text-align: center;
  width: 50%;
  border: 2px solid #5A5A5A;
  padding: 0.5em 0;
}

.sale-complete .button {
  width: 50%;
  margin: 1em auto;
}

.sale-complete .button.close-sale {
  margin-top: 3em;
}

.sale-complete input {
  width: 50%;
  box-sizing: border-box;
  margin: 1em 0 0 0;
}

.busted-terminal {
  background-color: #E6E6E6;
  padding: 0 0 0 1em;
}

.busted-terminal .control {
  font-size: 0.85em;
  padding: 0.75em 0;
  margin: 0 0 1em 0;
  color: #666;
  cursor: pointer;
}

.credit-card .card-info {
  padding-bottom: 1em;
  width: 96%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 0.1em;
  grid-column-gap: 0.5em;
}

.credit-card .card-info select {
  height: 3em;
  border: 1px solid #E5E5E5;
  border-radius: 3px;
  background-color: #fff;
  font-size: 0.9em;
}

.pagination {
  text-align: center;
}

.pagination div {
  display: inline-block;
}

.pagination .prev {
  padding-right: 0.5em;
}

.pagination .next {
  padding-left: 0.5em;
}

.pagination .prev, .pagination .next {
  cursor: pointer;
}

.cart {
  display: grid;
  grid-template-rows: 3em 1fr 11em 7.5em;
}

.cart.with-other-tax {
  grid-template-rows: 3em 1fr 13em 7.5em;
}

.cart .cart-disabled {
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5) !important;
}

.right-body {
  grid-row: 2;
  background-color: #fff;
  position: relative;
  display: grid;
  grid-template-rows: repeat(auto-fill, 50px);
  overflow-y: scroll;
  margin: 2.5em 0 0 0;
}

.header-totals {
  background-color: #CF000F;
  color: #fff;
  height: 100%;
  padding: 0 0 0 0.75em;
  display: grid;
  grid-template-columns: 1fr 1fr 2em;
  align-items: center;
  font-size: 1.5em;
  font-weight: 100;
  border-bottom: 1px solid #5A5A5A;
}

.header-totals.open_order {
  grid-template-columns: 2fr 1fr;
  padding: 0 0.5em 0 0.75em;
}

.header-totals div.total-price {
  text-align: right;
}

.header-totals div.clear-cart {
  text-align: center;
  cursor: pointer;
}

.header-totals div.clear-cart img {
  height: 0.75em;
  filter: invert(100%);
  opacity: 0.5;
}

.header-totals div.clear-cart:hover img {
  opacity: 1;
}

.item-header {
  display: grid;
  grid-template-columns: 1fr 8fr 1fr 2fr 3fr 2fr;
  margin: 1em 0 0 0;
  padding: 0 0.5em 0.25em 0.5em;
  border-bottom: 1px solid #838383;
  color: #838383;
  font-size: 0.8em;
}

.item-header div:nth-of-type(3) {
  text-align: center;
}

.item-header div:nth-of-type(n+4) {
  text-align: right;
}

.item-header div:nth-of-type(5) {
  padding: 0 10px 0 0;
}

.cart-items {
  background-color: #fff;
  position: relative;
  display: grid;
  grid-template-rows: repeat(auto-fill, 50px);
  overflow: scroll;
  margin: 2em 0 0 0;
}

.cart-item {
  display: grid;
  grid-template-rows: 100%;
  grid-template-columns: 1fr 8fr 1fr 2fr 3fr 2fr;
  align-items: center;
  padding: 1em 0.5em;
  position: relative;
  font-size: 0.85em;
}

.cart-item div:nth-of-type(3) {
  text-align: center;
}

.cart-item div:nth-of-type(n+4) {
  text-align: right;
}

.cart-item .description {
  cursor: pointer;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cart-item .backorder-item {
  background: #E5E5E5;
  font-size: 11px;
  padding: 0 2px;
}

.cart-item .item-remove {
  cursor: pointer;
  justify-self: left;
  color: white;
  padding: 2px 5px;
  align-self: center;
  opacity: 0.6;
}

.cart-item .item-remove:hover {
  opacity: 1;
}

.cart-item .quantity {
  border: 1px solid #b5b5b5;
  width: 1.75em;
  padding: 5px 3px;
  cursor: pointer;
  text-align: center;
}

.cart-item .price {
  padding: 4px 6px 4px 0;
}

.cart-item .price input {
  font-size: 1em;
  width: 4.5em;
  padding: 5px 3px;
  text-align: right;
}

.cart-item .price.focused {
  background-color: #E6E6E6;
}

.quantity-input {
  position: relative;
  background: white;
  padding: 0 5px 0 0;
}

.quantity-input input {
  text-align: center;
  font-size: 1em;
  width: 1.75em;
  padding: 0.25em 0;
}

.quantity-input .quantity-legend {
  position: absolute;
  font-size: 0.85em;
  width: 100px;
  left: -30px;
  bottom: -18px;
  text-align: center;
  color: #b5b5b5;
}

h3.available.error, .quantity-legend.error {
  color: red;
  transition: color 0.3s linear;
}

.cart-totals {
  display: grid;
  grid-template-rows: repeat(auto-fill, 1.25em);
  grid-row-gap: 0.5em;
  grid-template-columns: 50% 50%;
  position: relative;
  padding: 0.5em 0.5em 2em 0.5em;
  border-top: 1px solid #5A5A5A;
  background-color: #fff;
}

.cart-totals div.label {
  font-size: 0.85em;
  border-bottom: 1px dotted #838383;
  padding-bottom: 21px;
}

.cart-totals div.amount {
  text-align: right;
  font-size: 1.1em;
  border-bottom: 1px dotted #838383;
  padding-bottom: 21px;
}

.cart-totals div:nth-last-of-type(-n+2) {
  border-bottom: 0 none;
}

.cart-buttons {
  position: relative;
  height: 119.25px;
  border-top: 1px solid #5A5A5A;
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 50% 50%;
}

.cart-buttons .small-button {
  background-color: #CF000F;
  border-left: 1px solid #838383;
  border-right: 1px solid #838383;
}

.cart-buttons .charge-button {
  grid-row: 2;
  grid-column: 1 / span 4;
  background-color: #a2000c;
  border-top: 1px solid #838383;
}

.cart-button-dialog {
  position: absolute;
  bottom: 7em;
  height: auto;
  z-index: 0;
  background: white;
  width: 100%;
  border: solid #5A5A5A;
  border-width: 1px 0 0 0;
  padding: 1.5em 2em 1em 2em;
  box-sizing: border-box;
}

.cart-button-dialog label {
  padding: 1em 0 0.5em 0;
  display: block;
  font-size: 0.85em;
  color: #838383;
}

.cart-button-dialog input {
  padding: 0.5em;
  width: 96%;
}

.cart-button-dialog select {
  padding: 0.5em;
  width: 100%;
  height: 2.33em;
}

.cart-button-dialog .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 1em;
}

.cart-button-dialog .grid .full-width {
  grid-column: 1 / 4;
}

.cart-button-dialog .grid h2 {
  margin-bottom: 1em;
}

.cart-button-dialog .grid .button h2 {
  margin-bottom: 0;
}

.cart-button-dialog .grid.fee-list {
  grid-template-columns: 12px 48px 1fr;
  align-items: baseline;
}

.cart-button-dialog .grid.fee-list .remove {
  padding-left: 0;
}

.cart-button-dialog .small-button {
  padding: 1em 0;
  margin: 1em 0;
}

.cart-button-dialog .remove {
  align-self: center;
  padding-left: 2em;
  color: #838383;
  cursor: pointer;
}

.cart-button-dialog .message {
  align-self: center;
  grid-column: 3;
}

.cart-button-dialog .fees {
  display: grid;
  grid-template-columns: 1fr 1fr 3fr 1fr;
  grid-column-gap: 2em;
  align-items: center;
}

.cart-button-dialog .fees .add {
  cursor: pointer;
  background: #a2000c;
  color: white;
  width: 2em;
  text-align: center;
  padding: 0.5em 0;
  float: right;
}

.add-discount .grid .inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 1em;
}

.add-discount .grid .reason-code {
  grid-column: 2 / 4;
}

.add-taxexempt .reason-code {
  grid-column: 1 / 3;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

.swipein-enter-active, .swipein-leave-active {
  transition: 0.3s cubic-bezier(0.47, 0.23, 0.27, 1.41);
}

.swipein-enter, .swipein-leave-to {
  transform: translate(0, 100%);
}

.swipeinfrombottom-enter-active, .swipeinfrombottom-leave-active {
  transition: 0.3s ease;
}

.swipeinfromtop-enter, .swipeinfromtop-leave-to {
  transform: translate(0, -100%);
}

.menu, #menu_container {
  transition: 0.3s;
}

.swipein-left-enter#menu_container .menu, .swipein-left-leave-to#menu_container .menu {
  transform: translate(-100%, 0);
}

.swipein-left-enter#menu_container, .swipein-left-leave-to#menu_container {
  background: rgba(0, 0, 0, 0);
}

.leftmenupage-enter-active {
  transition: all 0.3s ease;
}

.leftmenupage-leave-active, .leftmenupage-leave {
  transition: all 0.1s;
}

.leftmenupage-enter {
  transform: translateX(-10px);
  opacity: 0;
}

.leftmenupage-leave-to {
  opacity: 0;
  transform: translateX(100px);
}

#signature_pad, .show-signature-pad {
  transition: all 0.2s;
}

.slideupdown-leave-active .m-signature-pad--footer, .slideupdown-leave .m-signature-pad--footer {
  opacity: 0;
  transition: all 0s;
}

.slideupdown-enter-active .m-signature-pad--footer {
  opacity: 0;
  transition: all 1s;
}

.slideupdown-leave-to.show-signature-pad {
  transition: 0s;
}

.slideupdown-enter#signature_pad, .slideupdown-leave-to#signature_pad {
  height: 0;
}

.slideupdown-enter.show-signature-pad, .slideupdown-leave-to.show-signature-pad {
  opacity: 0;
}

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  position: absolute;
  z-index: 2;
}

.dropdown-menu li {
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  background-color: white;
}

.dropdown-menu li:hover {
  cursor: pointer;
  background-color: #fff;
}

.dropdown-menu li.active {
  background-color: #E5E5E5;
}

#menu_container {
  position: absolute;
  display: grid;
  grid-template-columns: 18em 1fr;
  width: 100vw;
  height: 100vh;
  z-index: 101;
  background: rgba(0, 0, 0, 0.5);
}

#menu_container input {
  font-size: 1.1em;
  padding: 0.5em;
}

#menu_container div.close {
  position: absolute;
  top: 0.75em;
  z-index: 103;
}

#menu_container div.close img {
  cursor: pointer;
  width: 30px;
  height: 30px;
  opacity: 0.5;
  transition: opacity 0.6s;
}

#menu_container div.close img:hover {
  opacity: 1;
  transition: opacity 0.4s;
}

#menu_container .close.active-menu-page-close {
  right: 1em;
}

#menu_container .menu {
  background: white;
  height: 100vh;
  display: grid;
  grid-template-rows: 4em 1fr;
  border-right: 1px solid #5A5A5A;
  z-index: 102;
}

#menu_container .menu div.menu-header {
  font-weight: bold;
  font-size: 1.5em;
  padding: 0.75em 0.5em;
  border-bottom: 1px solid #838383;
  text-transform: uppercase;
  position: relative;
}

#menu_container .menu div.menu-header div.close {
  right: 0.5em;
}

#menu_container .menu ul {
  display: flex;
  flex-direction: column;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  scrollbar-width: thin;
}

#menu_container .menu ul li {
  padding: 1em 1.5em;
  border-bottom: 1px solid #838383;
  cursor: pointer;
}
#menu_container .menu ul li:last-child {
  cursor: default;
}

#menu_container .menu ul li:hover, #menu_container .menu ul li.active {
  background-color: #E5E5E5;
}

#menu_container .menu .menu-info-wrapper {
  flex-grow: 1;
  display: flex;
  padding-top: 0;
  justify-content: center;
  gap: 1rem;
  height: 100%;  
}

#menu_container .menu .menu-info {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  margin-bottom: 1em;
  width: 90%;
}

#menu_container .menu .menu-info label {
  display: block;
  font-size: 0.85em;
  margin: 1em 0 0 0;
  color: #838383;
}

#menu_container .menu .menu-info .button {
  margin: 1.5em 0 0 0;
}

#menu_container h1 {
  margin-bottom: 1em;
}

#menu_container .active-menu-page {
  background: white;
  padding: 4% 10%;
  box-sizing: border-box;
  width: 100%;
  z-index: 101;
  position: relative;
}

#menu_container .active-menu-page .note {
  font-size: 0.9em;
  margin: 0 0 1em 0;
}

#menu_container .active-menu-page label {
  font-size: 0.85em;
  margin: 0;
  color: #838383;
  align-self: center;
}

#menu_container .active-menu-page .button {
  display: inline-block;
  width: auto;
  margin: 0;
  text-align: center;
}

#menu_container .active-menu-page img.waiting {
  height: 2em;
}

#menu_container .active-menu-page .grid-two {
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 1em;
  align-items: center;
}

#menu_container .active-menu-page .grid-two .left {
  grid-column: 1;
}

#menu_container .active-menu-page .grid-two .right {
  grid-column: 2;
}

#menu_container .active-menu-page .grid-two label {
  justify-self: right;
  font-weight: bold;
}

#menu_container .active-menu-page .grid-two p {
  grid-column: 1 / 5;
}

#menu_container .active-menu-page .grid-two p.right {
  justify-self: right;
}

#menu_container .active-menu-page .grid-three {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-column-gap: 1em;
  align-items: center;
}

#menu_container .active-menu-page .grid-three label {
  justify-self: right;
  font-weight: bold;
}

#menu_container .active-menu-page .grid-four {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 0.5em;
  align-items: center;
  margin: 0 0 1em 0;
}

#menu_container .active-menu-page .grid-four .left {
  grid-column: 1;
}

#menu_container .active-menu-page .grid-four .right {
  grid-column: 3;
}

#menu_container .active-menu-page .grid-four label {
  justify-self: right;
  font-weight: bold;
}

#menu_container .active-menu-page .grid-four div.label {
  grid-column: 1 / 5;
}

#menu_container .active-menu-page .grid-four div.button {
  grid-column: 4;
  width: auto;
}

#menu_container .active-menu-page .grid-four p {
  grid-column: 1 / 5;
}

#menu_container .active-menu-page .grid-four p.right {
  justify-self: right;
}

#menu_container .active-menu-page .grid-four .message {
  grid-column: 1 / 3;
  margin: 0;
  justify-self: right;
}

#menu_container .active-menu-page .controls {
  grid-column: 1 / 3;
  position: relative;
}

#menu_container .active-menu-page.card-terminal-setup img.saving, #menu_container .active-menu-page.receipt-printer-setup img.saving, #menu_container .active-menu-page.extra-settings img.saving {
  position: relative;
  top: 13px;
  padding-left: 10px;
}

#menu_container .active-menu-page.extra-settings .message {
  grid-column: 2;
}

#menu_container .active-menu-page.extra-settings img.saving {
  top: 0 !important;
}

#menu_container .active-menu-page.extra-settings .grid-four div.button {
  grid-column: 1;
}

#signature_pad {
  width: 50%;
  margin: 0 auto;
}

.m-signature-pad {
  position: relative;
  font-size: 10px;
  height: 200px;
  width: 98%;
  margin: 2% auto;
  border: 1px solid #e8e8e8;
  background-color: #fff;
  border-radius: 30px;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.m-signature-pad--body
canvas {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.m-signature-pad--footer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 1px;
  height: 60px;
}

.m-signature-pad--footer
.description {
  color: #C3C3C3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 1.8em;
  border-top: 1px solid #CCC;
}

.m-signature-pad--footer
.button {
  position: absolute;
  bottom: 0;
  height: 30px;
  width: 80px !important;
  bottom: 2px;
  font-size: 1em;
}

.m-signature-pad--footer
.button.cancel {
  top: 15px;
  right: 20px;
}

.m-signature-pad--footer
.button.clear {
  top: 15px;
  left: 20px;
}

@media screen and (max-width: 1024px) {
  .m-signature-pad {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    min-width: 250px;
    min-height: 140px;
    margin: 3% 1%;
  }
  #github {
    display: none;
  }
  .modal-dialog.finalize-dialog {
    margin-top: 0;
  }
}

@media screen and (max-height: 320px) {
  .m-signature-pad--body {
    left: 0;
    right: 0;
    top: 0;
    bottom: 32px;
  }
  .m-signature-pad--footer {
    left: 20px;
    right: 20px;
    bottom: 4px;
    height: 28px;
  }
  .m-signature-pad--footer
.description {
    font-size: 1em;
    margin-top: 1em;
  }
}

.form-group {
  display: grid;
}

div.modal {
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}

div.modal .pane {
  font-size: 1.25em;
  width: 23em;
  margin: 20% auto;
  background-color: white;
  border: 1px solid #ccc;
  text-align: center;
}

div.modal .pane .modal-heading {
  font-size: 1.25em;
  margin: 0 0 0.5em 0;
  padding: 0.25em;
  background-color: #999;
  color: white;
  text-transform: uppercase;
}

div.modal .pane .modal-content {
  padding: 1em;
}

div.modal .pane .modal-icon {
  font-size: 2em;
  color: #666;
  margin: 0.5em 0;
}

div.modal .pane .modal-controls {
  border-top: 1px solid #5A5A5A;
  margin: 0.5em 0 0 0;
  padding: 0.5em 0 0 0;
}

div.modal .pane .modal-controls .button {
  display: inline-block;
  font-size: 0.75em;
  width: 7em;
  margin: 0 0.5em 0.5em 0.5em;
}

.empty-list {
  font-size: 1.25em;
  text-align: center;
  color: #999;
}
