/* orders */
.single-order-container {
  overflow: hidden;
  max-width: 100%;
  border-top: 1px solid #dddd;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 80px;
  align-items: center;
  justify-content: flex-start;
  background-color: white;
}

.single-order-container:first-child{
  border-top: 1px solid #dddd;
}
.single-order-container > .total {
  width: 130px;
}

#yith-wcwl-form table.shop_table{
  border-radius: 3px 3px 3px 3px;
  border-style: solid;
  border-width: 1px 1px 1px 1px!important;
  border-color: #CCCCCC;
  box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 10%);
}

.wishlist-name .wishlist-title br{
  display: none;
}

.single-order-container > .total,
.delivery {
  padding-left: 18px;
}

.single-order-container > .number {
  min-width: 15%;
  padding-left: 12px;
}

.single-order-container > .delivery,
.status {
  width: 25%;
}

.single-order-container > .actions {
  width: 20%;
  margin-left: auto;
}

.status {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0 8px;
}

.status.pending {
  background-color: #e5e5e5;
  color: #727575;
}

.status.failed {
  background-color: #eba2a2;
  color: #761818;
}

.status.refunded {
  background-color: #e5e5e5;
  color: #727575;
}
.status.on-hold {
  background-color: #f8dca6;
  color: #95670c;
}
.status.processing {
  background-color: #c6e0c7;
  color: #5f8620;
}
.status.completed {
  background-color: #c8d6e0;
  color: #2e4552;
}
.status.cancelled {
  background-color: #e5e5e5;
  color: #727575;
}

.on-hold,
.completed,
.processing,
.cancelled,
.refunded,
.failed,
.draft,
.ordered,
.sent,
.pending {
  text-align: center;
  width: max-content;
  padding: 6px 16px;
  border-radius: 3px;
  font-weight: bold;
  color: white;
  min-width: 120px;
}

.total > p {
  font-size: 22px;
  font-weight: 600;
  color: #0364b9;
  margin: 0;
  padding: 0;
}

.total > small {
  font-size: 12px;
  color: #999999;
}

.number > small, .quantity-of-product > small, .list-item-total-cost > small {
  font-size: 12px;
  color: #999999;
  font-weight: 600;
}
.quantity-of-product > small {
  display: block;
}

.number > p {
  padding-right: 4px;
  font-size: 22px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.number > a {
  padding-right: 4px !important;
  font-size: 22px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0364b9;
  text-decoration: underline !important;
  line-height: 1 !important;
  display: block;
}

.actions,
.list-item-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding-right: 12px;
}

.actions > a,
.actions > div,
.actions > a > div {
  min-width: 34px;
  height: 34px;
  background-color: #eef5ff;
  margin: 0 2px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.date {
  text-transform: uppercase;
}

/* my account sidebar */

.account-sidebar-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-weight: 600;
  padding: 4px;
  align-items: center;
}

.account-sidebar-link > p {
  color: #111111;
}

.account-sidebar-link.active {
  background-color: #eef5ff;
}

.account-sidebar-link.active > p {
  color: #0364b9;
}

.total-orders {
  background-color: white;
  padding: 1px 4px;
  border-radius: 2px;
}

.small-link {
  font-size: 14px;
}

.large-link {
  font-size: 18px;
}

/* account header */

.account-header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: right;
  align-items: center;
  padding: 20px;
}

.account-header > h1 {
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.account-search-input > input {
  padding: 0 !important;
  border: none !important;
  width: 100%;
}

.account-search-input {
  display: flex;
  flex-direction: row;
  border: 1px solid #dddddd;
  border-radius: 4px;
  align-items: center;
  padding: 9px 16px;
}

.account-search-input > svg {
  cursor: pointer;
}

.account-filter {
  min-width: 200px;
  display: flex;
  flex-direction: row;
  padding: 0 8px;
  align-items: center;
}

.account-filter > .account-filter-text {
  margin-right: 8px;
  color: #888888;
}

.account-filter > .account-filter-active {
  color: #0066ff;
  cursor: pointer;
}

.order-filter {
  padding: 2px;
  width: auto;
  border: none;
  color: #0364b9;
}

.account-action-btn {
  padding: 9px 16px;
  background-color: #0364b9;
  color: white !important;
  border-radius: 4px;
  margin-left: 6px;
  cursor: pointer;
  font-weight: 600;
  border: none;
}

/* Quotes*/
.company-details {
  min-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-details > p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-price {
  min-width: 200px;
}

/* my account secondary sidebar links */

.account-balance-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.account-balance > small {
  text-transform: uppercase;
  color: #999999;
}

.account-balance > p {
  font-size: 22px;
  font-weight: 600;
  color: #0364b9;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.account-balance-container > a {
  padding: 6px 20px;
  background-color: #eef5ff;
  font-weight: 600;
  font-size: 13px;
  color: #0364b9;
}

/* pagination */

.pagination,
.pages {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.pagination {
  width: 100%;
  margin: 0 !important;
  padding: 20px;
  border-radius: 3px;
  background: white;
  border: 1px solid #cccccc;
  box-shadow: 0px 0px 6px 0px rgb(0 0 0 / 10%);
}

.pages {
  flex-grow: 1;
}

.pages > p,
.pages > a,
.results {
  color: #888888;
}

.page-link {
  margin: 0 12px;
  text-decoration: underline !important;
  color: #888888;
}

.page-link.active {
  color: #0364b9;
  text-decoration: none !important;
}
.account-order-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.account-order-pagination .button {
  font-size: 13px;
  padding: 5px 10px;
  border: none;
}
/* My Profile */

.input {
  width: 380px;
  font-weight: 600;
  font-size: 14px;
  margin-right: 25px;
  margin: 24px 0px 0 0;
}

.input > input,
.input > select {
  border: 2px solid #eeeeee !important;
  color: #888888;
  margin-top: 4px;
}

.input.street-address {
  width: 100%;
}

div.business-logo-container {
  width: 100%;
  flex-grow: 1;
}

label.business-logo {
  width: 380px;
  color: #888888;
  text-transform: uppercase;
  font-size: 22px;
  padding: 18px 0;
  background-color: #f5f5f5;
  border: 1px dashed #bfbfbf;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
}

.my-account-profile {
  padding: 0 20px 20px 20px;
}

.my-account-profile > div > header {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 14px;
  margin: 18px 0;
}

.my-account-profile > div > header > p {
  font-size: 18px;
  font-weight: 600;
}

.my-account-profile > .form-container {
  max-width: 780px;
}

.form-container {
  width: 100%;
}

.form-container > form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.form-container > form > input[type='submit'] {
  margin-left: auto;
  padding: 6px 20px;
  background-color: #eef5ff;
  font-size: 16px;
  color: #0364b9;
  border: none;
  font-weight: 600;
  margin-top: 18px;
}

/* Single list item view */

.account-header.single-list-item-header {
  justify-content: space-between;
}

header.account-header.single-list-item-header > .info {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.account-header.single-list-item-header > .info > svg {
  cursor: pointer;
}

.account-header.single-list-item-header > .info > a {
  margin-right: 28px;
}
.account-header.single-list-item-header > .info > svg:last-child {
  margin-left: 6px;
}
.account-header.single-list-item-header > .info > h1 {
  line-height: 1;
  margin: 0;
}

.list-item-actions {
  flex-wrap: wrap;
  width: max-content;
}

.list-item-actions > a {
  padding: 9px 16px;
  border-radius: 4px;
  margin-left: 6px;
  cursor: pointer;
  font-weight: 600;
}

.list-item-actions > a:first-child {
  padding: 0;
}

.list-item-actions > a:first-child > div.delete {
  padding: 9px;
  background-color: #eef5ff;
  border-radius: 3px;
  display: flex;
  justify-content: center;
}

a.account-secondary-btn {
  color: #0364b9;
  background-color: #eef5ff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 3px;
}

.list-item-actions > a.account-secondary-btn > svg {
  margin: 0 3px;
}

input[type='number'].quantity-select {
  width: 60px;
  border-color: #dddddd;
  margin: 0 28px 0 0;
  padding: 5px 10px;
}

.single-order-list-item > div.title {
  flex-grow: 1;
  padding-left: 10px;
}
.single-order-list-item > div.title > p {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
  line-height: 1;
  overflow: hidden;
}

.single-order-list-item > div.title > small:first-child {
  color: #0364b9;
  font-weight: 600;
}

.single-order-list-item > div.title > small:last-child {
  color: #888888;
}

.single-order-list-item > div.list-item-price {
  min-width: 70px;
  margin: 0 12px 0 0;
}

.single-order-list-item > div.list-item-price > p {
  font-weight: 600;
  color: #0364b9;
  line-height: 1;
}

.single-order-list-item > div.list-item-price > small {
  font-weight: 600;
  color: #888888;
}

.single-list-item-footer {
  padding: 20px;
  border-top: 1px solid #dddd;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.single-list-item-footer > div {
  width: 250px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  padding: 16px 0;
  align-items: center;
}

.single-list-item-footer > div.subtotal {
  border-bottom: 1px solid #dddd;
}

.single-list-item-footer > div.list-total > small:last-child {
  font-size: 24px;
  font-weight: 600;
  color: #0364b9;
}

/* single quote view */
.single-order-container > div.title > div.quote-item-meta {
  display: flex;
  flex-direction: row;
}

.single-order-container > div.title > div.quote-item-meta > small {
  display: flex;
  align-items: center;
  color: #888888;
}

.single-order-container > div.title > div.quote-item-meta > small:last-child {
  display: flex;
  align-items: center;
  color: #0364b9;
  margin-left: 0px;
  font-weight: 600;
}

.single-order-container > div.title > div.quote-item-meta > small > select {
  border: none;
  width: max-content;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #888888;
}

.draggable {
  margin: 0 26px;
}

.single-order-container > div > div.seller-price-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 2px solid #dddd;
  width: 100px;
  padding: 12px 9px;
  border-radius: 3px;
  color: #0364b9;
  font-weight: 600;
  font-size: 17px;
}

.single-order-container > div.seller-price-input > input[type='number'] {
  border: none;
  flex-grow: 1;
  padding: 0;
  color: #0364b9;
  font-weight: 600;
  font-size: 17px;
}

.single-order-container > div.toggle-sub-items {
  margin: 0 28px;
  font-weight: 600;
}
.single-order-container > div.toggle-sub-items > input {
  margin: 0 8px;
}

.sub-item > svg:first-child {
  margin-left: 28px;
}

.custom-item-action {
  width: 100%;
  padding: 0 10px 20px 0;
  color: #888888;
  font-size: 22px;
  text-align: center;
  cursor: pointer;
}


.custom-item-action > p {
  border: 2px dashed #bfbfbf;
  background-color: #f5f5f5;
  padding: 7px 0;
  border-radius: 3px;
}

/* send quote */
.send-quote {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: black;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.send-quote > div.modal {
  background-color: white;
  border-radius: 3px;
  min-width: 30%;
  min-height: 50%;
  max-width: 830px;
  opacity: 1;
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.send-quote > div.modal > main {
  padding: 20px;
}

.send-quote > div.modal > header,
.send-quote > div.modal > footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}

.send-quote > div.modal > footer.customer-footer > a:nth-child(2) {
  margin-left: auto;
}

.send-quote-form > header {
  font-weight: 600;
  padding-bottom: 20px;
  border-bottom: 1px solid #eeeeee;
  font-size: 18px;
  margin-bottom: 8px;
}

/* Account history */

.history-ammount {
  margin-left: auto;
  padding: 0 8px;
  font-weight: 600;
  font-size: 22px;
}

.history-ammount.money-in > p {
  color: #0364b9;
}

.history-delivery {
  flex-grow: 1;
  text-align: center;
}

/* invoices */
.single-order-container.invoice,
.single-order-container.statement,
.single-order-container.sales-quotes > .actions {
  width: auto;
  margin-left: 6px;
}

.single-order-container.invoice > .number > .missing-po {
  font-size: 16px;
  font-weight: 600;
}

.invoice-ammount,
.statement-ammount {
  margin-left: auto;
  padding: 0 8px;
  font-weight: 600;
  font-size: 22px;
  color: #0364b9;
}

.quoter > p {
  font-size: 22px;
  color: black !important;
  font-weight: 400 !important;
}

/* sales quotes */

.sales-quote-status {
  border: 1px solid #dddddd;
  border-radius: 3px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 6px 16px;
  margin-left: auto;
}
.sales-quote-status > p {
  font-weight: 600;
}

.result {
  display: flex;
}
.hidden-result {
  display: none;
}

/* sprtable */

#sortable {
  list-style: none;
  margin: 0;
  padding: 0;
  padding: 24px 0;
}

/* Order details */
.order-details {
  border-top: solid #ddd 1px;
  background: #FFF;
  padding: 0px 10px;
  display: block;
  visibility: hidden;
  height: 0px;
  border-bottom: solid #DDD thin;
  background: #fbfbfb;
  font-size: 0.9em;
}
.order-details > section:not(.orders-order-details) {
  display: grid;
  grid-template-columns: 80% 20%;
  padding: 5px 20px;
  align-items: center;
}
.orders-product-list {
  border-bottom: solid #DDD 1px;
}
.order-details .orders-order-details {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 5px 20px;
  margin-top: 20px;
}
.order-details h6 {
  line-height: 1.2em;
  margin: 0;
}
.order-details h6 > span {
  font-size: 14px;
  color: #727575;
}
.order-details h5 {
  color: #0364b9;
  text-align: right;
  margin: 0;
}
.view.active {
  opacity: 0.2;
}
.order-details-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: solid #ddd 1px;
}
.order-details-footer button {
  font-size: 16px !important;
  background: #727575 !important;
  border: none;
}
.order-details-footer button.button-primary {
  background-color: #0364b9 !important;
}
.order-details-footer h5 {
  font-size: 14px;
  font-weight: medium;
  line-height: 1.4em;
}
.order-details-footer h4 {
  text-align: right;
}

.single-order-container.quote-object {
  display: grid;
  grid-template-columns: 18% 33% 20% 10% 20%;
}
#create_new_wishlist {
  display: block !important;
  background: #FFF;
  padding: 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}
.wishlist-privacy-radio {
  display: none;
}
.yith-wcwl-popup-content .create-wishlist-button {
  width: auto !important;
  font-size: 16px !important;
}

.single-order-quote-list-item {
  display: grid;
  grid-template-columns: 34% 14% 10% 10% 15% 16%;
}

.view-order-total {
  text-align: right;
}
.view-order-total h4 {
  margin-bottom: 0px;
}
.single-order-list-item-custom .quantity-of-product input {
  border-color: #DDD;
}

.quote-add-buttons {
  display: flex;
  flex-flow: row;
  justify-content: space-evenly;
}
.quote-add-buttons > div {
  padding-right: 0px;
}
.list-item-quote-markup input {
  border-color: #DDD !important;
  width: 60px !important;
  padding: 5px 10px !important;
}
.list-item-total-cost p {
  margin: 0;
  color: #0364b9;
  font-weight: 600;
  line-height: 1em;
}
.single-order-list-item-custom .quantity-of-product {
  padding-right: 20px;
}
.single-order-list-item-custom .quantity-of-product input {
  padding: 5px 10px;
}
.single-order-key {
  background: #FFF;
  display: grid;
  grid-template-columns: 34% 14% 10% 10% 15% 16%;
  padding: 10px 6px;
}
.single-order-key > div {
  font-size: 12px;
  color: #727575;
  font-weight: 600;
}
.single-order-key > div:nth-last-of-type(1) {
  text-align: right;
}
.single-order-list-item label {
  display: none;
}

.single-order-container.invoice {
  display: grid;
  grid-template-columns: 10% 24% 26% 8% 20% 12%;
}
.single-order-container.invoice .invoice-ammount {
  margin-left: 0px;
}
.invoice .number > p {
  font-size: 20px;
}

@media only screen and (max-width: 425px) {
  .single-order-list-item > img {
    display: none;
  }

  .single-order-list-item > div.title {
    width: 60%;
    margin: 0 0 0 12px;
    overflow: hidden;
  }

  input[type='number'].quantity-select {
    display: none;
  }

  .single-order-list-item > div.list-item-price {
    display: none;
  }

  .single-order-container > .actions {
    width: 40%;
  }
  .order-details > section:not(.orders-order-details) {
    grid-template-columns: 1fr;
  }
  .order-details .orders-order-details {
    grid-template-columns: 1fr;
  }
  .order-details h5 {
    text-align: left;
  }
  .order-details-footer h4 {
    text-align: left;
  }
  .single-order-container.quote-object {
    grid-template-columns: 1fr 1fr;
  }
  .status {
    display: none;
  }
  .single-order-key {
    display: none;
  }
  .single-order-quote-list-item {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding: 0px;
    overflow: visible;
    height: auto;
  }
  #sortable .single-order-quote-list-item > div {
    padding: 0px 10px 10px 10px;
    text-align: left;
    overflow: visible;
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin: 0;
  }
  .quote-add-buttons {
    flex-flow: column;
  }
  #sortable .single-order-quote-list-item > div.title {
    overflow: visible;
    width: 100%;
    text-align: left;
    padding-top: 0px;
    background: #0364b9;
    color: #FFF;
    padding: 15px 10px;
    margin: 0 -10px 5px -10px;
  }
  .single-order-key > div:nth-last-of-type(1) {
    text-align: left;
  }
  .single-order-quote-list-item [type='number'].quantity-select {
    display: block;
  }
  #sortable .single-order-list-item-custom .list-item-price {
    display: none;
  }
  #sortable .single-order-list-item-custom .list-item-quote-markup {
    display: none;
  }
  .single-order-list-item-custom .custom-quantity-select {
    width: 60px;
  }
  .single-order-list-item-custom .seller-price-input {
    width: auto;
  }
  .single-order-list-item label {
    display: block;
    text-align: left;
    padding: 5px 10px;
    margin: 0 -10px 4px -10px;
    color: #727575;
    font-weight: 600;
  }
  #sortable .single-order-quote-list-item > div:not(.actions) {
    flex-flow: column;
  }
  .custom-item-action {
    padding-right: 0px;
  }
  .single-order-quote-list-item > div.title > div.quote-item-meta > small:last-child {
    color: #FFF;
  }
  #sortable .single-order-quote-list-item > div.actions {
    background: #Fcfcfc;
    padding: 10px;
    margin: 0 -10px 0 -10px;
  }
}

@media only screen and (max-width: 640px) {
  .single-order-list-item > img {
    display: none;
  }

  .single-order-list-item > div.title {
    width: 250px;
    margin: 0 0 0 12px;
    overflow: hidden;
  }

  .single-order-container > .actions {
    width: max-content;
  }
}

@media only screen and (max-width: 767px) {
  /* single orders */
  .single-order-container > .total {
    display: none;
  }

  .single-order-container > .delivery {
    display: none;
  }

  .single-order-container > .number,
  .total {
    min-width: 25%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .single-order-container > .delivery,
  .status {
    width: auto;
  }

  .single-order-container > .actions {
    margin-left: auto;
  }

  .account-action-btn,
  .list-item-actions > a.account-secondary-btn {
    width: 100%;
    margin: 8px 0 0 5px !important;
    text-align: center;
  }

  .account-search-input {
    width: 100%;
    margin: 8px 0;
  }

  .account-filter {
    width: 100%;
    margin: 8px 0;
    text-align: center;
  }

  .single-order-list-item > div.list-item-price {
    display: none;
  }
}

@media only screen and (max-width: 1100px) {
  /* my profile form */
  .input {
    width: 100%;
  }

  /* single list items */
  .list-item-actions {
    justify-content: center;
    margin-top: 12px;
    width: 100%;
  }

  header.account-header.single-list-item-header > .info {
    width: 100%;
    justify-content: space-around;
  }

  .account-action-btn,
  .list-item-actions > a.account-secondary-btn {
    width: 100%;
    margin: 8px 0;
    text-align: center;
  }

  .list-item-actions > a:first-child {
    width: 100%;
  }
}
