/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
  --main-color: #811f46;
  --main-transparent-color: #811f4630;
}

*:focus,
button:focus {
  outline: none;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.welcome-message {
  width: 800px;
  height: 60px;
  position: absolute;
  margin-top: -30px;
  margin-left: -400px;
  top: 50%;
  left: 50%;
}

.badge-aem {
  background-color: var(--main-color);
  color: white;
}

.color-aem {
  color: var(--main-color);
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

  .col-md-2-4 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  background-color: #ededed;
}

.footer {
  position: absolute;
  padding: 0 10px;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
  text-transform: uppercase;
  font-size: 12px;
}

.dropdown-menu.languages {
  min-width: 0px;
}

.dropdown-menu * {
  text-transform: uppercase;
  font-size: 12px;
}

.dropleft .dropdown-toggle::before {
  display: none !important;
}

#ddlLanguages > img {
  vertical-align: text-top;
}

#ddlLanguages.dropdown-toggle::after {
  margin-left: 0px;
}

.language-flag {
  border: 1px solid #d4d4d4;
}

.navbar-nav * {
  text-transform: uppercase;
  font-size: 12px;
}

.btn {
  text-transform: uppercase;
  font-size: 12px;
}

form label {
  text-transform: uppercase;
  font-size: 12px;
}

.nav-item a {
  margin-top: 1px;
}

.welcome-message {
  text-transform: uppercase;
  font-size: 44px;
  font-weight: 100;
}

.block {
  margin: 10px;
  padding: 10px;
  background-color: #ffffff;
  position: relative;
}

.block.head {
  background-color: var(--main-color);
  color: white;
}

.block .title {
  text-align: center;
  text-transform: uppercase;
  font-size: 24px;
}

.block .title.medium {
  font-size: 16px;
}

.block .title.head {
  background-color: var(--main-color);
  color: white;
  margin-bottom: 10px;
}

.block .title.small {
  font-size: 16px;
}

.block > p.email-confirmation-note {
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0;
  padding: 0.5rem;
}

.fas, .fa {
  font-family: 'FontAwesome-Solid';
  margin-right: 3px;
}

.far {
  font-family: 'FontAwesome-Regular';
  margin-right: 3px;
}

.bottom-actions {
  margin-top: 10px;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
}

.top-actions {
  margin-bottom: 10px;
  text-align: right !important;
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.page-item.active .page-link {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.page-link {
  color: var(--main-color);
}

.btn-aem {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-aem--blank {
  color: var(--main-color);
  background-color: transparent;
  border: none;
}

.btn-outline-aem {
  color: var(--main-color);
  background-color: transparent;
  border-color: var(--main-color);
}

.btn-outline-aem:hover {
  color: #fff;
  background-color: #a71c4a;
  border-color: #a71c4a;
}

.btn-aem:hover {
  color: #fff;
  background-color: #a71c4a;
  border-color: #a71c4a;
}

.btn-aem--blank:hover {
  color: #a71c4a;
  background-color: transparent;
  border: none;
}

.btn-orange {
  color: #fff;
  background-color: var(--orange);
  border-color: var(--orange);
}

.btn-orange:hover {
  color: #fff;
  background-color: #bf6516;
  border-color: #bf6516;
}

.modal-title {
  text-transform: uppercase;
  width: 100%;
  font-size: 18px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 21px;
}

.modal-body .control-label,
form .control-label,
.block .control-label {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
}

.modal-message {
  text-transform: uppercase;
  font-size: 12px;
}

.form-group label, .form-group .text {
  margin-top: 7px;
}

.inline-form-group .text, .form-group.form-row .text, .form-group.row .text {
  padding-top: 1px;
  padding-bottom: 0.5rem;
}

.inline-form-group label {
  padding-top: 7px;
}

.alert {
  text-transform: uppercase;
  font-size: 12px;
}

.account-block {
  width: 500px;
  margin-left: 50%;
  position: absolute;
  left: -250px;
}

.confirmation-block {
  width: 800px;
  margin-left: 50%;
  position: absolute;
  left: -400px;
}

.confirmation-block span {
  text-transform: uppercase;
  font-size: 12px;
}

.link-aem {
  text-transform: uppercase;
  font-size: 12px;
  color: var(--main-color);
  padding: 0;
}

.block.info {
  text-transform: uppercase;
  font-size: 12px;
}

.block.info a {
  text-transform: lowercase;
  font-size: 14px;
}

.block.margin-top-40 {
  margin-top: 40px;
}

.dropdown-item.active, .dropdown-item:active {
  color: #ffffff !important;
  text-decoration: none;
  background-color: var(--main-color);
}

.navbar-nav .nav-link.menu-item {
  padding: 10px 20px;
}

.menu-item span:before {
  font-size: 18px;
  vertical-align: -2px;
  width: 20px;
  display: inline-block;
  text-align: center;
  color: var(--main-color);
  margin-right: 5px;
}

span.fa-aem:before {
  color: var(--main-color);
}

.menu-item.active span:before,
.menu-item:active span:before {
  color: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #343a40;
}

.block .btn-back {
  position: absolute;
  top: 13px;
  left: 13px;
}

.list-none {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  word-break: break-word;
}

.version {
  position: absolute;
  color: #999999;
  font-size: 10px;
  top: 5px;
  margin-left: 50%;
  left: -25px;
}

ul.list-horizontal > li {
  display: inline-block;
  vertical-align: top;
}

.modal-dialog.w750 {
  max-width: 750px;
}

.modal-dialog.w900 {
  max-width: 900px;
}

.modal-dialog.w1100 {
  max-width: 1100px;
}

.modal-dialog.w1400 {
  max-width: 1400px;
}

label.is-active {
  margin-top: 2px;
  margin-bottom: 0;
  text-decoration: none;
}

label.is-active:before {
  color: var(--main-color);
  font-family: 'FontAwesome-Solid';
  content: "\f00c";
  font-size: 17px;
}

.resale-certificate-status span:before {
  margin-top: 2px;
  margin-bottom: 0;
  text-decoration: none;
  font-size: 17px;
}

.resale-certificate-status.no-certificates span:before {
  color: #cacaca;
}

.resale-certificate-status.expired span:before {
  color: #da0000;
}

.resale-certificate-status.valid span:before {
  color: green;
}

span.expired {
  color: #da0000;
}

label.is-global {
  margin-top: 2px;
  margin-bottom: 0;
  text-decoration: none;
}

label.is-global:before {
  color: var(--main-color);
  font-family: 'FontAwesome-Solid';
  content: "\f57d";
  font-size: 17px;
}

span.field-type {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  margin-right: 5px;
}

.btn-disabled {
  opacity: .4;
  cursor: default !important;
  pointer-events: none;
}

.ql-editor {
  min-height: 200px;
}

.font14 {
  font-size: 14px;
}

.copy-link,
.copy-link:link,
.copy-link:hover,
.copy-link:visited,
.copy-link:active {
  cursor: pointer;
  text-decoration: none;
  color: var(--main-color) !important;
}

.tooltip-inner {
  background-color: var(--main-color);
  text-transform: uppercase;
  font-size: 11px;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: var(--main-color) !important;
}

.bs-tooltip-bottom .arrow::before,
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: var(--main-color) !important;
}

.bs-tooltip-right .arrow::before,
.bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: var(--main-color) !important;
}

.bs-tooltip-left .arrow::before,
.bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: var(--main-color) !important;
}

.control-label.required:after {
  font-family: "FontAwesome-Solid";
  content: "\f621";
  color: #ff0000;
  font-size: 6px;
  vertical-align: top;
  margin-left: 1px;
}

.upload-container {
  text-align: center;
}

.upload-container input {
  display: none;
}

.upload-container img {
  display: inline-block;
  max-height: 300px;
  max-width: 300px;
  margin-bottom: 10px;
}

  .upload-container.resale-certificate img:not(.no-certificate) {
    max-height: 700px;
    max-width: 500px;
  }

.upload-container .upload-file-name {
  word-wrap: break-word;
}

.thumbnail-container {
  width: 36px;
  height: 36px;
  background-position: center;
  background-size: cover;
  border-radius: 4px;
}

.thumbnail-container.md-thumbnail-container {
  width: 56px;
  height: 56px;
}

.thumbnail-container.empty {
  border-radius: 0 !important;
}

.divider {
  border-bottom: 1px solid #d8d8d8;
  margin: 5px 0 15px 0;
}

.validation-summary-errors {
  background-color: #ffd5e3;
  border: 1px solid #dc3545;
  padding: 10px;
  text-transform: uppercase;
  font-size: 11px;
}

.validation-summary-errors ul {
  list-style: none;
  margin-bottom: 0;
  padding-left: 10px;
}

th > .icon {
  font-size: 20px;
  color: var(--main-color);
}

th > .custom-checkbox,
td > .custom-checkbox {
  margin-left: 4px;
}

.far.no-margin,
.fas.no-margin {
  margin-right: 0;
}

.translatable-input {
  position: relative;
}

.translatable-input:after {
  font-family: 'FontAwesome-Solid';
  content: '\f0ac';
  position: absolute;
  color: var(--main-color);
  left: 10px;
  top: 7px;
  opacity: 0.2;
}

.translatable-input > input,
.translatable-input > textarea {
  padding-left: 30px;
}

.filters-description {
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
}


.filters-description:empty {
  display: none;
}

.filters-description:before {
  font-family: 'FontAwesome-Solid';
  content: '\f0b0';
  margin-right: 5px;
}

#shippingAddressesTable th {
  padding-left: 0;
}

.bottom-button {
  margin-top: 10px;
}

.address-selection {
  text-transform: uppercase;
  font-size: 11px;
}

.address-selection .label {
  color: #bbbbbb;
}

.address-selection .text {
  color: var(--main-color);
}

.address-selection .text.bold {
  font-weight: bold;
}

li.header {
  color: #c7c7c7;
  margin: 15px 0 10px 0;
}

li.header:first-child {
  margin: 0 0 10px 0;
}

li.header div {
  text-align: center;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid #c7c7c7;
  line-height: 0.1em;
}

li.header div span {
  background: #fff;
  padding: 0 10px;
}

.product-attribute > .custom-checkbox {
  padding-left: 0;
}

.product-attribute > .custom-checkbox:before {
  font-family: 'FontAwesome-Solid';
  content: '\f542';
  margin-right: 30px;
  font-size: 12px;
  top: 4px;
  position: relative;
}

.product-attribute ul {
  padding-left: 40px;
}

.product-attribute ul li {
  margin-right: 10px;
}

.product-attribute ul:before {
  font-family: 'FontAwesome-Solid';
  content: '\f58d';
  margin-right: 10px;
  top: 4px;
  position: relative;
}

.product-attribute-value input[type=checkbox] + label {
  font-size: 10px;
  line-height: 18px;
}

ul.list-empty:before {
  color: #b5b5b5;
}

ul.list-empty li {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 32px;
  color: #b5b5b5;
}

#products-container .thumbnail-container {
  float: left;
  margin-right: 6px;
  margin-top: -8px;
}

#products-container li {
  margin-bottom: 10px;
}

td.select-checkbox.datafile-box-select:before {
  height: 20px !important;
  width: 20px !important;
}


.block.head > .title:before {
  font-family: 'FontAwesome-Solid';
  margin-right: 10px;
}

.block.head > .title.place-new-order:before {
  content: '\f543'
}

.block.head > .title.manage-products:before {
  content: '\f553'
}

.block.head > .title.manage-prices:before {
  content: '\f02b'
}

.block.head > .title.manage-referrals:before {
  content: '\f0c1';
}

.block.head > .title.manage-announcements:before {
  content: '\f0a1';
}

.block.head > .title.manage-packages:before {
  content: '\f1b3';
}

.block.head > .title.search-datafile:before {
  content: '\f002';
}

.block.head > .title.create-datafile:before {
  content: '\f0fe';
}

.block.head > .title.upload-tracking-file:before {
  content: '\f574';
}

.block.head > .title.manage-divisions:before {
  content: '\f1ad';
}

.block.head > .title.manage-customers:before {
  content: '\f500';
}

.block.head > .title.manage-vendors:before {
  content: '\f54e';
}

.block.head > .title.manage-boats:before {
  content: '\f21a';
}

.block.head > .title.manage-categories:before {
  content: '\f6ff';
}

.block.head > .title.manage-attributes:before {
  content: '\f542';
}

.block.head > .title.translations:before {
  content: '\f0ac';
}

.block.head > .title.manage-values:before {
  content: '\f58d';
}

.block.head > .title.manage-layers:before {
  content: '\f5fd';
}

.block.head > .title.audit-logs:before {
  content: '\f1da';
}

.block.head > .title.manage-users:before {
  content: '\f0c0';
}

.block.head > .title.manage-certificates:before {
  content: '\f559';
}

.block.head > .title.manage-orders:before {
  content: '\f07a';
}

.block.head > .title.manage-order-items:before {
  content: '\f290';
}

.block.head > .title.manage-purchase-orders:before {
  content: '\f218';
}

.block.head > .title.manage-swatches:before {
  content: '\f53f';
}

.block.head > .title.manage-swatch-colors:before {
  content: '\f1fc';
}

.block.head > .title.manage-customer-accounting:before {
  content: '\f51e';
}

.block.head > .title.manage-order-accounting:before {
  content: '\f1ec';
}

.block.head > .title.vendor-rating:before {
  content: '\f5c0';
}

.block.head > .title.users-report:before {
  content: '\f0c0';
}

.block.head > .title.ipd-rate:before {
  content: '\f1b2';
}

table.dataTable.hover > tbody > tr:hover,
table.dataTable.display > tbody > tr:hover {
  background-color: var(--main-transparent-color);
}

/*#region DATATABLE REPEAT ORDER*/
#repeatOrdersTable {

}

#repeatOrdersTable tr.selected {
  background-color: #a3293dcc;
}

#repeatOrdersTable tr.disabled {
  opacity: 0.75;
  pointer-events: none;
}

/*#endregion*/

/*#region INPUT */
.invoice-list-group {
  max-width: 25rem;
  margin-left: auto;
}

.invoice-list-group-item {
  display: flex;
  justify-content: space-between;
}

.list-group-item--success {
  background-color: #47aa83;
  color: #fff;
}

.list-group-item--danger {
  background-color: #d67272;
  color: #520b0b;
}

/*#endregion*/

/*#region INVOICE */
.error-subtext {
  font-size: 13px;
  color: #e63946;
  font-style: italic;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 16px;
}
/*#endregion*/

/*#region FLEX GAP */
.row-gap-1 {
  row-gap: 0.25rem;
}

.row-gap-2 {
  row-gap: 0.5rem;
}

.row-gap-3 {
  row-gap: 1rem;
}

/*#endregion*/

/*#region PRODUCTS TAB */

.form-control-label {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
}

.section-header {
  text-transform: uppercase;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
}

.product-item {
}

.product-item.card {
  flex-direction: row;
}

.product-item.card > object.card-img-top,
.product-item.card > img.card-img-top {
  width: 30%;
  background-image: url("/images/no-logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.image-no-logo {
  width: 100%;
  height: 100%;
  background-image: url("/images/no-logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.list-group-item.list-group-item--aem {
  text-transform: uppercase;
}

.list-group-item.list-group-item--aem.active {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.aem.list-group-item {
  text-transform: uppercase;
}

.aem.list-group-item.active {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

#product .value-item.disabled {
  pointer-events: none;
  opacity: 0.4;
}

/*#endregion */

/*#region BILLING INFO TAB */
.delivery-dates {
  font-size: 0.8rem;
}

.delivery-dates .list-group-item {
  background-color: #ededed;
}

.default-badge .default-label {
  text-transform: uppercase;
  background-color: #811f46;
  color: #ffffff;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
}

.cc-selection-template {
  transform: translateY(-8px);
}

.cc-selection-template .cc-icon {
  transform: translateY(6px);
  color: var(--main-color);
}

/*#endregion */

/*#region ATTRIBUTES SECTION*/
.tooltip.tooltip--sample-method .tooltip-inner {
  text-align: start;
}

.selected-swatches-wrapper {
  width: 100%;
  padding-bottom: 1.5rem;
}

.selected-swatches-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 1rem;
}

.selected-swatch-color {
  align-self: center;
  justify-self: center;
  display: flex;
}

.swatch-color-number {
}

.swatch-color-value {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  min-width: 50px;
}

.swatch-color-remove {
  color: var(--main-color);
}

.color-swatch-layer:first-of-type {
  padding-top: 0;
}

.color-swatch-layer:last-of-type .selected-swatches-wrapper {
  padding-bottom: 0;
}

.color-swatch-layer {
  padding-top: 1.5rem;
}

.layer-header {
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.selected-swatches-container.selected-swatches-container--single {
  display: block;
}

.selected-swatch-color.selected-swatch-color--single {
  background-color: var(--main-color);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.25rem 0;
}

.selected-swatch-color.selected-swatch-color--single :is(.swatch-color-number, .swatch-color-remove) {
  color: #ffffff;
}

.selected-swatch-color.selected-swatch-color--single .swatch-color-number {
  align-self: center;
  justify-self: center;
  text-transform: uppercase;
  font-weight: 500;
}

.selected-swatch-color.selected-swatch-color--single .swatch-color-remove {
  align-self: center;
  justify-self: end;
  padding-right: 1rem;
}

div.attribute-value-item[aria-selected="true"] label {
  border: 6px solid var(--main-color);
}

.product-description span {
  overflow-wrap: break-word;
  word-break: break-word;
}

/*#endregion*/

/*#region FINALIZE TAB */
td.details-control {
  cursor: pointer;
}

tr td.details-control span {
  color: var(--main-color);
}

tr.shown td.details-control span {
  display: none;
}

tr.shown td.details-control span.shown {
  display: inline-block !important;
}

/*#endregion */


/*#region PLACE ORDER TAB */
.order-details-section {
  margin-bottom: 2rem;
}

.credit-card-details {
  border: 1px solid #ededed;
  padding: 1.5rem;
  max-width: 30rem;
}

.credit-card-details.selected {
  border-color: var(--success);
  border-width: 3px;
}

.credit-card-details:not(.selected) {
  margin: 2px;
}

:is(.credit-card-details, .order-details-content) .bold-label {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  /*font-size: 0.6875rem;*/
}

.order-details-content .credit-card-details {
  margin: 0;
}

.order-details-content .credit-card-details .credit-card-number {
  margin-bottom: 2rem;
}

.order-details-content .credit-card-details .credit-card-number .cc-icon {
  margin-left: 1rem;
}

.credit-card-number .fa-closed-captioning {
  position: relative;
  top: 2px;
}

.order-notes {
  max-width: 30rem;
}

.order-notes textarea {
  min-height: 8rem;
  max-width: 30rem;
}

.order-notes textarea::placeholder {
  font-size: 1rem;
}

.btn-aem--light {
  color: var(--main-color);
  background-color: #ffffff;
}

/*#endregion */

.order-type-link {
  height: 15rem;
  width: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px var(--main-color) solid;
  text-transform: uppercase;
}

.order-type-link span:before {
  font-size: 48px;
  margin-right: 20px;
}

.link-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.link-container .fas {
  line-height: 1.5;
}

/*#region FLOATING BUTTON */
.floating-container {
  position: fixed;
  text-align: end;
  bottom: 70px;
  right: 40px;
  z-index: 10;
}

.floating-button {
  width: 140px;
  height: 60px;
  background-color: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  text-align: center;
  box-shadow: 5px 5px 10px 0 rgb(0 0 0 / 50%);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition: all 0.3s ease-in-out;
}

.floating-button:hover {
  color: #fff;
  background-color: #a71c4a;
  text-decoration: none;
  box-shadow: 2px 2px 10px 1px #999;
}

/*.floating-button:hover ~ .repeat-reset {*/
/*  display: initial;*/
/*}*/

.repeat-reset {
  /*display: none;*/
  margin-top: 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  padding: 0.2rem 0.75rem;
  margin-right: 0.7rem;
}

.datafile-floating-button {
  position: fixed;
  width: 140px;
  height: 60px;
  bottom: 70px;
  right: 40px;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition: all 0.3s ease-in-out;
}

.follow-up-floating-button {
  position: fixed;
  width: 220px;
  height: 60px;
  bottom: 70px;
  right: 40px;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition: all 0.3s ease-in-out;
}

.receivable-floating-button {
  position: fixed;
  width: 170px;
  height: 60px;
  bottom: 70px;
  right: 40px;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition: all 0.3s ease-in-out;
}

.datafile-floating-button:hover, .receivable-floating-button:hover, .follow-up-floating-button:hover {
  color: #fff;
  background-color: #a71c4a;
  text-decoration: none;
  box-shadow: 2px 2px 10px 1px #999;
}

.button-icon {
  position: relative;
}

.box-count-label {
  background-color: #444444;
  border-radius: 10px;
  width: 30px;
  height: 18px;
  position: absolute;
  margin-top: 15px;
  margin-left: -15px;
  font-weight: 500;
  font-size: 12px;
}

#previewDatafileSpacer {
  height: 60px;
}


.spacer.h60 {
  height: 60px;
}

.spacer.h90 {
  height: 90px;
}

/* Datatable */

#boxesTable_info .select-info {
  margin-left: 1rem;
}

table#boxesTable.dataTable tbody > tr.selected,
table#boxesTable.dataTable tbody > tr > .selected {
  background-color: #a3293dcc;
}

table.sorting-disabled .sort-icons:before,
table.sorting-disabled .sort-icons:after {
  content: "" !important;
  background: none !important;
}

table.sorting-disabled thead .sorting_asc,
table.sorting-disabled thead .sorting_desc {
  cursor: default;
}

/*#endregion */
/*#region LOADER */
#global-loading {
  position: fixed;
  display: none;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 5000;
}

#global-loading svg {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
}

/*#endregion */

/*#region DATA TABLES */

.dataTables_wrapper th,
.dataTables_length,
.dataTables_paginate,
.dataTables_info {
  text-transform: uppercase;
  font-size: 11px;
}

table.dataTable tbody tr {
  background-color: white;
}

table.dataTable tbody tr:nth-child(even) {
  background-color: #f1f1f1;
}

table.dataTable tbody td {
  vertical-align: middle;
}

table.dataTable th.dt-right,
table.dataTable td.dt-right {
  text-align: right;
}

table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
  text-align: center;
}

div.dataTables_wrapper div.dataTables_processing {
  width: 300px;
  margin-left: -150px;
}

.td-relative {
  position: relative;
}

.dataTables_empty {
  text-transform: uppercase;
  font-size: 12px;
}

div.dataTables_wrapper div.dataTables_filter .row input {
  margin: 0;
  width: 100%;
}

table.dataTable thead .sorting_disabled .sort-icons {
  display: none;
}

table.dataTable thead .sort-icons {
  margin-left: 5px;
  margin-right: -15px;
}

table.dataTable thead .sort-icons:before,
table.dataTable thead .sort-icons:after {
  opacity: 0.3;
  font-size: 15px;
}

table.dataTable thead .sort-icons:before {
  content: "\2191";
}

table.dataTable thead .sort-icons:after {
  content: "\2193";
}

table.dataTable thead .sorting_asc .sort-icons:before,
table.dataTable thead .sorting_desc .sort-icons:after {
  opacity: 1;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
  display: none !important;
}

/*#endregion */

/*#region PLACEHOLDERS */
::-webkit-input-placeholder {
  text-transform: uppercase;
  font-size: 12px;
}

:-moz-placeholder {
  text-transform: uppercase;
  font-size: 12px;
}

::-moz-placeholder {
  text-transform: uppercase;
  font-size: 12px;
}

:-ms-input-placeholder {
  text-transform: uppercase;
  font-size: 12px;
}

::placeholder {
  text-transform: uppercase;
  font-size: 12px;
}

/*#endregion */

/*#region CHECKBOXES AND RADIOBUTTONS */

.checkbox {
  padding-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.checkbox label {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  padding-left: 5px;
}

.checkbox.bold label {
  font-weight: bold;
}

label.custom-control-label.control-label {
  padding-top: 0.15rem;
}

.checkbox label::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 17px;
  height: 17px;
  left: 0;
  margin-left: -20px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox label::after {
  display: inline-block;
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 0;
  margin-left: -20px;
  padding-left: 3px;
  padding-top: 1px;
  font-size: 11px;
  color: #555555;
}

input[type="checkbox"] + label,
input[type="radio"] + label,
.custom-checkbox > label {
  cursor: pointer;
}

.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.checkbox input[type="checkbox"]:focus + label::before,
.checkbox input[type="checkbox"]:focus + input[type="hidden"] + label::before,
.checkbox input[type="radio"]:focus + label::before {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.checkbox input[type="checkbox"]:checked + label::after,
.checkbox input[type="checkbox"]:checked + input[type="hidden"] + label::after,
.checkbox input[type="radio"]:checked + label::after {
  font-family: "FontAwesome";
  content: "\f00c";
}

.checkbox input[type="checkbox"]:indeterminate + label::after,
.checkbox input[type="checkbox"]:indeterminate + input[type="hidden"] + label::after,
.checkbox input[type="radio"]:indeterminate + label::after {
  display: block;
  content: "";
  width: 10px;
  height: 3px;
  background-color: #555555;
  border-radius: 2px;
  margin-left: -16.5px;
  margin-top: 7px;
}

.checkbox input[type="checkbox"][disabled] + label,
.checkbox input[type="checkbox"][disabled] + input[type="hidden"] + label,
.checkbox input[type="radio"][disabled] + label {
  opacity: 0.65;
}

.checkbox input[type="checkbox"][disabled] + label::before,
.checkbox input[type="checkbox"][disabled] + input[type="hidden"] + label::before,
.checkbox input[type="radio"][disabled] + label::before {
  background-color: #eeeeee;
  cursor: not-allowed;
}

.checkbox.checkbox-circle label::before {
  border-radius: 50%;
}

.checkbox.checkbox-inline {
  margin-top: 0;
}

.checkbox-aem input[type="checkbox"] + label::before,
.checkbox-aem input[type="checkbox"] + input[type="hidden"] + label::before,
.checkbox-aem input[type="radio"] + label::before {
  top: 2px;
}

.checkbox-aem input[type="checkbox"]:checked + label::before,
.checkbox-aem input[type="checkbox"]:checked + input[type="hidden"] + label::before,
.checkbox-aem input[type="radio"]:checked + label::before {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.checkbox-aem input[type="checkbox"]:disabled:checked + label::before,
.checkbox-aem input[type="checkbox"]:disabled:checked + input[type="hidden"] + label::before,
.checkbox-aem input[type="radio"]:disabled:checked + label::before {
  background-color: var(--main-transparent-color) !important;
  border-color: var(--main-transparent-color) !important;
}

.checkbox-aem input[type="checkbox"]:checked + label::after,
.checkbox-aem input[type="checkbox"]:checked + input[type="hidden"] + label::after,
.checkbox-aem input[type="radio"]:checked + label::after {
  color: #fff;
  top: 2px;
}

.checkbox-aem input[type="checkbox"]:indeterminate + label::before,
.checkbox-aem input[type="checkbox"]:indeterminate + input[type="hidden"] + label::before,
.checkbox-aem input[type="radio"]:indeterminate + label::before {
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.checkbox-aem input[type="checkbox"]:indeterminate + label::after,
.checkbox-aem input[type="checkbox"]:indeterminate + input[type="hidden"] + label::after,
.checkbox-aem input[type="radio"]:indeterminate + label::after {
  background-color: #fff;
}

.radio {
  padding-left: 20px;
}

.radio label {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  padding-left: 5px;
}

.radio label::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 17px;
  height: 17px;
  left: 0;
  margin-left: -20px;
  border: 1px solid #cccccc;
  border-radius: 50%;
  background-color: #fff;
  -webkit-transition: border 0.15s ease-in-out;
  -o-transition: border 0.15s ease-in-out;
  transition: border 0.15s ease-in-out;
}

.radio label::after {
  display: inline-block;
  position: absolute;
  content: " ";
  width: 11px;
  height: 11px;
  left: 3px;
  top: 3px;
  margin-left: -20px;
  border-radius: 50%;
  background-color: #555555;
  -webkit-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  -o-transform: scale(0, 0);
  transform: scale(0, 0);
  -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
  -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
  -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
  transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
}

.radio input[type="radio"] {
  opacity: 0;
  z-index: 1;
}

.radio input[type="radio"]:focus + label::before {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.radio input[type="radio"]:checked + label::after {
  -webkit-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  transform: scale(1, 1);
}

.radio input[type="radio"]:disabled + label {
  opacity: 0.65;
  cursor: not-allowed;
}

.radio input[type="radio"]:disabled + label::before {
  cursor: not-allowed;
}

.radio.radio-inline {
  margin-top: 0;
}

.radio-aem input[type="radio"] + label::after {
  background-color: var(--main-color);
}

.radio-aem input[type="radio"]:checked + label::before {
  border-color: var(--main-color);
}

.radio-aem input[type="radio"]:checked + label::after {
  background-color: var(--main-color);
}

input[type="checkbox"].styled:checked + label:after,
input[type="checkbox"].styled:checked + input[type="hidden"] + label:after,
input[type="radio"].styled:checked + label:after {
  font-family: 'FontAwesome';
  content: "\f00c";
}

input[type="checkbox"] .styled:checked + label::before,
input[type="checkbox"] .styled:checked + input[type="hidden"] + label::before,
input[type="radio"] .styled:checked + label::before {
  color: #fff;
}

input[type="checkbox"] .styled:checked + label::after,
input[type="checkbox"] .styled:checked + input[type="hidden"] + label::after,
input[type="radio"] .styled:checked + label::after {
  color: #fff;
}

/*#endregion */

/*#region TABS */

.nav-tabs {
  border: 0;
  margin-bottom: 20px;
  display: block;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  border: 0;
}

.nav-tabs > li > a.active {
  font-weight: 700;
  color: black !important;
  border-bottom: 2px solid black !important;
}

.nav-tabs > li > a {
  text-transform: uppercase;
  font-size: 14px;
  border: 0 !important;
  color: #74777a;
}

.nav-tabs > li > a.nav-link.disabled {
  color: #d7dadd;
}

.nav-tabs > li {
  float: none;
}

.nav-tabs > li > a:hover {
  border: 0;
  background-color: transparent;
}

/*#endregion */

/*#region SELECT2 */

.select2.select2-container {
  max-width: 100%;
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
  width: 100%;
  z-index: 0;
  color: #000;
  outline: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  line-height: 42px;
}

.select2-container .select2-selection--single {
  height: 38px;
  text-align: left;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  margin-top: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 5px 25px 5px 12px;
  line-height: 24px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__clear {
  font-size: 30px;
  font-weight: normal;
  line-height: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
  position: absolute;
  top: 1px;
  right: 10px;
  width: 20px;
}

.select2-results__option {
  color: #333e5a;
  padding: 5px 20px;
  border: 1px solid transparent;
  border-left: none;
  border-right: none;
  min-height: 34px;
}

.select2-results__option:first-child {
  border-top: none !important;
}

.select2-results__option:last-child {
  border-bottom: none !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #f1f2f7;
  color: #333e5a;
  border-color: #e3e7f0;
}

.select2-selection--multiple .select2-search__field {
  height: 22px;
  line-height: 22px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin: 4px;
  padding: 2px 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block;
  margin-bottom: 5px;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4da;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 1px solid #ced4da;
}

.select2-selection__placeholder {
  text-transform: uppercase;
  font-size: 12px;
}

select[readonly] + .select2.select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly] + .select2 .select2-selection {
  background: #e9ecef;
  box-shadow: none;
}

select[readonly] + .select2 .select2-selection__arrow, select[readonly].select2 .select2-selection__clear {
  display: none;
}

.select2-container .select2-search--inline .select2-search__field {
  padding: 6px 12px;
}

.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-left: 0;
  margin-top: 0;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #e9ecef;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #495057;
}

.select2-results__option--disabled.select2-results__option--group {
  display: none;
}

/*#endregion */
.no-resize {
  resize: none;
}

#advancedSearch {
  border-top: 1px solid #dadada;
  padding-top: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  color: #888;
  margin-top: -5px;
  margin-right: 31px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6c757d;
}

.select2-results__option.select2-results__message {
  text-transform: uppercase;
  font-size: 12px;
}

.shipping-address.is-default {
  font-weight: bold;
}

.shipping-address.is-default .default-label {
  display: inline;
}

.shipping-address .default-label {
  display: none;
  text-transform: uppercase;
  background-color: #811f46;
  color: #ffffff;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
}

.credit-card.is-default {
  font-weight: bold;
}

.credit-card.is-default .default-label {
  display: inline;
}

.credit-card .default-label {
  display: none;
  text-transform: uppercase;
  background-color: #811f46;
  color: #ffffff;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 11px;
}


.input-desc {
  text-transform: uppercase;
  color: #b9b9b9;
  font-size: 11px;
}

.mh300 {
  max-height: 300px;
  overflow: hidden;
  overflow-y: auto;
}

.mh450 {
  max-height: 450px;
  overflow: hidden;
  overflow-y: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-underline:hover {
  text-decoration: underline;
}

/*#region tscroll*/

.tscroll {
  width: 100%;
  overflow-x: scroll;
}

.tscroll table {
  table-layout: fixed;
}

.tscroll table th, .tscroll table td {
  width: 100px;
}

.tscroll table th {
  background-color: #fff;
}

.first-sticky-col {
  position: sticky;
  width: 250px !important;
  left: 0;
  top: auto;
  background-color: inherit;
  z-index: 1;
}

.second-sticky-col {
  position: sticky;
  width: 80px !important;
  left: calc(250px + 0.6rem);
  top: auto;
  background-color: inherit;
  z-index: 1;
}

.third-sticky-col {
  position: sticky;
  width: 45px !important;
  left: calc(250px + 80px + 1.2rem);
  top: auto;
  background-color: inherit;
  z-index: 1;
}

.last-sticky-col {
  position: sticky;
  width: 100px !important;
  right: 0;
  background-color: inherit;
  z-index: 1;
}

.last-sticky-col.active {
  z-index: 2;
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.original-quantity-text {
  white-space: nowrap;
}

/*#end region*/

/*#region Customer Cards*/

.cc-icon-container {
  float: right;
  margin-top: calc(-1.5em - 0.75rem + 2px);
  margin-right: 0.75rem;
  color: var(--main-color);
}

/*endregion*/

/*#region Orders table*/

.division-line {
  border-left: 10px solid #000000;
  padding-left: 10px;
}

.fixedbar {
  background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.orderlegend .color {
  width: 23px;
  height: 23px;
  border: 1px solid #666;
  margin-right: 10px;
}

.orderlegend span {
  float: left;
}

.orderlegend .detail {
  text-align: left;
  font-size: 12px;
}

.orderlegend span {
  float: left;
}

.assignToBuyer {
  background-color: #7bc142 !important;
}

.customerApproved {
  background-color: #5acae9 !important;
}

.B58Dinhand {
  background-color: #ffe067 !important;
}

.with5Dinhand {
  background-color: #f7921e !important;
}

.repeatArt {
  background-color: #48aa83 !important;
}

.activatedOrder {
  background-color: #80F5FC !important;
}

.artProofing {
  background-color: #e688b9 !important;
}

.orderUSC {
  background-color: #6962ac !important;
  color: #FFF;
}

.orderUSC .order-number a {
  color: #FFF;
}

.problem {
  background-color: #ed1c24 !important;
}

.chinaProblem {
  background-color: #ffccff !important;
}

.usConfirmDueDates {
  background-color: #FF00FF !important;
}

.chinaConfirmDueDates {
  background-color: #22535d !important;
  color: #FFF;
}

.chinaConfirmDueDates .order-number a {
  color: #FFF;
}

.lessor30 {
  background-color: #ff6d6f !important;
}

.bwt3040 {
  background-color: #ffff99 !important;
}

.bwt4055 {
  background-color: #ffffff !important;
}

.problem-yellow-flag {
  background-color: #ff6347;
}

.china-problem-yellow-flag {
  background-color: #a2ff33;
}

#ordersTable .order-number a, #orderItemsTable .order-number a, #orderAccountingTable .order-number a,
#productRepeatsTable .order-number a, #processingOrdersTable .order-number a {
  color: #000;
}

#ordersTable th:first-child {
  min-width: 100px;
}

#ordersTable tbody tr:hover,
#orderItemsTable > tbody > tr:hover {
  background-color: var(--main-transparent-color) !important;
  color: #000;
}

#customerOrdersTable .order-item-preview-image {
  width: 50px;
  height: 50px;
  background-size: contain;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
}

.tscroll table#customerOrdersTable th, .tscroll table#customerOrdersTable td {
  width: 150px;
}

.store-type {
  background-color: #343a40 !important;
  color: #ffffff;
}

.store-type-A {
  background-color: var(--main-color) !important;
  color: white;
}

.store-type-B {
  background-color: #f6520a !important;
  color: white;
}

.store-type-C {
  background-color: #58585a !important;
  color: white;
}

table.products.dataTable tbody > tr.selected {
  background-color: #a3293dcc;
}

.auditLogsTable {
  font-size: 14px;
}

.auditLogsTable tbody td ul li {
  white-space: pre-wrap;
}

#orderAccountingTable table tr {
  background-color: transparent;
}

.edit-order-file, .create-order-file, .download-order-file, .barcode-generate-btn {
  padding-top: 8px;
  padding-bottom: 8px;
}

/*#end region*/
/*#region Order items*/

.order-item-file-preview {
  min-height: 200px;
  display: flex;
  align-items: center;
}

.order-item-file-preview img {
  object-fit: contain;
  max-height: 100%
}

#SampleImage_FilePreview .order-item-file-preview {
  min-height: unset;
}

#OriginalArt_FilePreview .order-item-file-preview {
  height: 170px;
}

#OriginalArt_FilePreview .order-item-file-preview .tooltip-container .tooltipimage-preview {
  height: 120px;
  max-width: 100%;
}

#ProofJpg_FilePreview .order-item-file-preview, #ApparelProofJpg_FilePreview .order-item-file-preview, #FinalImage_FilePreview .order-item-file-preview {
  height: 250px;
  max-width: 100%;
}

#ProofJpg_FilePreview .order-item-file-preview .tooltip-container .tooltipimage-preview, #ApparelProofJpg_FilePreview .order-item-file-preview .tooltip-container .tooltipimage-preview, #FinalImage_FilePreview .order-item-file-preview .tooltip-container .tooltipimage-preview {
  height: 200px;
  max-width: 100%;
}

.tooltip-container .tooltipimage {
  visibility: hidden;
  max-height: 400px;
  max-width: 500px;
  background-color: var(--main-color);
  text-align: center;
  padding: 10px;
  position: absolute;
  left: 105%;
  z-index: 8;
}

.tooltip-container .tooltipimage img {
  max-height: 380px;
  max-width: 480px;
}

.tooltip-container .tooltipimage::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent var(--main-color) transparent transparent;
}

.tooltip-container:hover .tooltipimage {
  visibility: visible;
}

#uploadOrderItemFileForm .upload-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/*#end region*/
/*#region Dashboard */
.dashboard-grid {
  display: grid;
  grid-gap: 3rem;
  grid-auto-rows: minmax(100px, auto);
  margin: 0 3rem;
}

@media (min-width: 850px) {
  .dashboard-grid {
    grid-template-columns: 1fr 2fr;
  }
}

@media (max-width: 700px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.customer-dashboard .dashboard-right-column {
  /* cause wierd layout. Is it correct? */
  /*grid-template-areas:*/
  /*  "processing-orders processing-orders"*/
  /*  "potential-reorders potential-reorders"*/
  /*  "customer-sales-info customer-sales-info";*/
}

.customer-dashboard .dashboard-left-column {
  display: grid;
  grid-row-gap: 3rem;
  grid-template-areas:
    "announcement announcement"
    ". customer-staff"
    ". partners";
}

.dashboard-right-column {
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr);
  grid-template-areas:
    "sales-person-metrics sales-person-metrics"
    "total-sales customers-top"
    "total-sales customers-top"
    "late-orders late-orders"
    "production-times production-times"
    "late-payments late-payments"
    "processing-orders processing-orders"
    "potential-reorders potential-reorders"
    "customer-sales-info customer-sales-info"
    ". customer-staff"
    ". partners";
}

.dashboard-card {
  padding: 10px;
}

.dashboard-card-header {
  background-color: transparent;
}

.dashboard-announcement {
  grid-area: announcement;
}

.dashboard-total-sales {
  grid-area: total-sales;
}

.dashboard-customers-top {
  grid-column: customers-top;
}

.dashboard-late-orders {
  grid-column: late-orders;
}

.dashboard-production-times {
  grid-column: production-times;
}

.dashboard-late-payments {
  grid-column: late-payments;
}

.dashboard-processing-orders {
  grid-column: processing-orders;
}

.dashboard-customer-sales-info {
  grid-column: customer-sales-info;
}

.dashboard-customer-staff {
  grid-column: customer-staff;
}

.dashboard-partners {
  grid-column: partners;
}

.dashboard-customer-potential-reorders {
  grid-column: potential-reorders;
}

.dashboard-sales-person-metrics {
  grid-column: sales-person-metrics;
}

/*#endregion*/

/*#region Dashboard announcements */
.announcement-item {
  margin: 0.5rem 0;
}

.announcement-item .ql-editor {
  min-height: 0;
}

/*#endregion*/

/*#region Dashboard Late Orders */
.late-order-past {
  background-color: #ffe067 !important;
}

.late-order-upcoming {
  background-color: #f7921e !important;
}

.tooltip-color {
  height: 10px;
  width: 10px;
}

.late-orders-tooltip {
  width: 200px;
}

/*#endregion*/

/*#region Quill images */
.ql-editor img {
  min-height: 50px;
  min-width: 50px;
}

/*#endregion*/

.checkbox-warning input[type="checkbox"] + label::before,
.checkbox-warning input[type="checkbox"]:checked + label::before {
  background-color: #f0ad4e;
  border-color: #f0ad4e;
}

.checkbox-warning input[type="checkbox"]:checked + label::after {
  color: #fff;
}

.checkbox-success input[type="checkbox"] + label::before,
.checkbox-success input[type="checkbox"]:checked + label::before {
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.checkbox-success input[type="checkbox"]:checked + label::after {
  color: #fff;
}

.checkbox-dark input[type="checkbox"] + label::before,
.checkbox-dark input[type="checkbox"]:checked + label::before {
  background-color: #343a40;
  border-color: #343a40;
}

.checkbox-dark input[type="checkbox"]:checked + label::after {
  color: #fff;
}

/*#region Add boxes dialog */
.card-box-group {
  margin-bottom: 1rem;
}

.box-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.box-description {
  font-size: 1.25rem;
}

a.collapse-arrow {
  color: black;
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
}

a.collapse-arrow:before {
  content: "▲";
  color: var(--main-color);
  float: right;
  transition: all 0.5s;
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transform: rotate(-180deg);
}


a.collapse-arrow[aria-expanded="true"]:before {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg);
}

#add-box-size {
  color: var(--main-color);
}

input:enabled + .box-input-enabled {
  box-shadow: 0 0 4px 2px var(--main-color);
}

.shipping-labels-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

.shipping-labels-groups {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

.aem-link {
  color: var(--main-color);
}

.aem-link:hover {
  color: #a71c4a;
}

.section-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.column-header {
  padding-right: 10px !important;
}

.column-header-tooltip {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.column-header-tooltip .sort-icons:before,
.column-header-tooltip .sort-icons:after {
  text-decoration: none;
  display: inline-block;
}

#product-cart .sticky-top {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.attributes-tooltip {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.attributes-tooltip .card {
  border: 2px solid var(--main-color);
  width: 100%;
}

.attributes-tooltip .card .card-header {
  color: #811f46;
  font-size: 1.2rem;
  font-weight: 500;
  background: transparent;
  border: none;
}

.dialog-header-general {
  background-color: #f9f9f9;
  margin: -1rem;
  padding: 1rem;
}

.list-group-shrink .list-group-item {
  padding: 0.2rem 1rem;
}

.card.package-order-item {
  max-width: 20rem;
  min-width: 20rem;
}

.card.package-order-item .list-group-item p {
  color: var(--main-color);
}

.card-deck {
  row-gap: 2rem;
}

/*#endregion*/

#collectionNotesTable td {
  word-break: break-all;
}

tfoot.summary-datatable-footer {
  background-color: #811f46;
  color: white;
  font-weight: 700;
}

tfoot.summary-datatable-footer tr th {
  font-size: 1.25rem;
}

/*#region Vendor rating */
.rating {
  display: flex;
  width: 100%;
  justify-content: center;
  overflow: hidden;
  flex-direction: row-reverse;
  position: relative;
}

.rating-0 {
  filter: grayscale(100%);
}

.rating > input {
  display: none;
}

.rating > label {
  cursor: pointer;
  width: 40px;
  height: 40px;
  margin-top: auto;
  margin-bottom: 0;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 76%;
  transition: .3s;
}

.rating.rating-description > label {
  width: 24px;
  height: 24px;
}

.rating-description {
  pointer-events: none;
}

.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}


.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

/*#endregion*/

.retention-card {
  max-width: 18rem;
  color: white;
  background-color: #e67e22;
  font-size: 1.4rem;
  font-weight: bold;
  align-items: center;
}

.text-aqua {
  color: #18a6e0;
}

.staff-avatar {
  max-height: 256px;
  max-width: 256px;
  margin: auto;
}

.partner-image {
  max-height: 100%;
  max-width: 100%;
}

.product-id-next-step-label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
  background-color: #e67e22;
}

#accordion .card .card-header {
  background-color: #e9ecef;
  opacity: 1;
}

/* Thumbnail Preview Tooltip */
.tooltip.tooltip--thumbnail-preview .tooltip-inner {
  min-width: 25rem;
  height: auto;
}

.tooltip.tooltip--thumbnail-preview .tooltip-inner > * {
  width: 100%;
  width: -webkit-fill-available;
}

.tooltip {
  pointer-events: none;
}

td.day.red {
  color: red;
}

.img-download img {
  z-index: 1;
  position: relative;
  display: block;
  object-fit: contain;
  max-height: 15rem;
  width: 100%;
}

.img-download:hover::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 100%);
}

.img-download .btn-download {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}

.img-download:hover .btn-download {
  display: block;
}

.dashboard-async-load .card-loader {
  display: flex;
}

.card-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;

  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.4);
}

#advanced-product-info {
  margin-top: 35px;
}

#ordersDetailsTable .order-item-file-preview {
  height: 200px;
}

.orderItemModificationHeader {
  width: 20%;
  font-weight: 600;
  font-size: 90% !important;
}

.orderItemModificationValue {
  width: 80%;
  font-weight: normal;
  font-size: 90% !important;
  text-transform: none !important;
}

.text-length-counter {
  float: right;
  padding: 0.1rem 0 0 0;
  font-size: 0.875rem;
}

.form-control.form-control-inline {
  height: 32px;
}

.retention-statistics-table td {
  line-height: 0.9em;
}

.p-7-5rem {
  padding: 0.75rem !important;
}

.parent-scroll {
  max-width: 100%;
  position: relative;
  overflow-x: auto;
}

.table {
  width: 100%;
  max-width: 100%;
}

#add-or-proceed {
  margin-top: 100px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.notes-description {
  font-size: 11px;
}

.max-width-180 {
  max-width: 180px;
}

.flex-gap-5px {
    gap: 5px;
}

.mt-n2px {
  margin-top: -2px;
}

.floating-actions-window {
  position: fixed;
  bottom: 0px;
  right: 0px;
  display: flex;
  margin: 30px;
  z-index: 2;
}

  .floating-actions-window button, .floating-actions-window .dropdown {
    box-shadow: 2px 2px 3px #999;
  }

.scale-and-transition {
  opacity: 1;
  transform: scale(1);
  transition: all 0.5s ease 0s;
}

.notes-cell {
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

.dotted-border-bottom {
  border-bottom: 1px dotted black;
}

#selectD4SAsset {
  padding: 4px;
}

  #selectD4SAsset img {
    height: 22px;
    margin: 0;
  }

/*#region Export Customer Card */
.catalog-card-setup-container {
  padding-right: 48px;
  padding-left: 48px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

  .catalog-card-setup-container.card-settings {
    margin-top: 32px;
  }

.catalog-card-header {
  background-color: #f5f5f5;
  height: 160px;
  position: relative;
}

.preview-input {
  position: absolute;
  top: 15px;
  left: 15px;
}

.art-name-input {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.export-card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}

.export-card {
  border: 1px solid #CDCBD6;
  background-color: #FEFEFE);
  box-shadow: 0px 3px 10px 1px #27214B59;
  width: 428px;
  border-radius: 8px;
  border-width: 1px;
  opacity: 1;
}

.export-card-checkbox-label {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #707081;
  padding-top: 2px;
}

.catalog-card-artName {
  border-radius: 8px;
  border: 1px solid var(--Neutral-60, #A2A2B0);
  background: var(--Neutral-100, #FEFEFE);
  padding: 4px 8px;
}

.catalog-card-product-category {
  font-weight: 700;
  color: #707081;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 1.2px;
}

.catalog-card-product-name {
  color: #3F3D49;
  font-size: 14px;
  font-style: normal;
  letter-spacing: 0.35px;
  font-weight: 500;
  line-height: 17px;
}

.catalog-card-price {
  color: #3F3D49;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.36px;
  font-weight: 500;
}

.export-items-count {
  opacity: 1;
  border-radius: 16px;
  border-width: 1px;
  padding: 16px;
  background: #F5F5F5;
  border: 1px;
  border-color: #ECECF0;
}

form.catalogCardForm label {
  text-transform: none;
}
/*#endregion*/


.flatpickr-input.form-control[readonly] {
  background-color: #fff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  background-color: #fff;
}

#states-tab {
  display: flex;
  border-radius: 5px;
  padding: 2rem;
  width: 45rem;
  justify-content: space-between;
  margin: 2em 0;
  background: #F2F2F2;
}

.list-tab > .state-list {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  height: 500px;
  width: 300px;
  padding: 1rem;
  background: #ffffff;
  border: 1px #B8BABA solid;
  border-radius: 5px;
}

  .list-tab > .state-list p {
    background: #D9DCE1;
    border-radius: 5px;
    padding: 0.5em;
    width: 250px;
    transition: all 0.2s;
  }

    .list-tab > .state-list p:hover {
      background: #AFB4BB;
      transition: all 0.2s;
      cursor: pointer;
    }

.retention-user-with-tooltip {
  display: inline-flex;
  align-items: end;
  gap: 4px;
  text-align: left;
}

.retention-user-with-tooltip-total {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
}

.sales-person-data-row {
  align-content: center;
}