.sejowoo-affiliate-links .affiliate-link {
  padding: 0.6rem 1rem;
  margin-bottom: 0rem;
}
.sejowoo-affiliate-links .affiliate-link label, .sejowoo-affiliate-links .affiliate-link span {
  display: block;
}
.sejowoo-affiliate-links .affiliate-link label {
  font-weight: bold;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border-right: 0;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field:not(:first-child) {
  border-left: 0;
  border-right: 0;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field .InputAddOn-item {
  background-color: rgba(147, 128, 108, 0.1);
  color: #666666;
  font: inherit;
  font-weight: normal;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field,
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-item {
  border: 1px solid rgba(147, 128, 108, 0.25);
  padding: 0.5em 0.75em;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field:first-child,
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-item:first-child {
  border-radius: 2px 0 0 2px;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field:last-child,
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-item:last-child {
  border-radius: 0 2px 2px 0;
}
.sejowoo-affiliate-links .affiliate-link span.InputAddOn .InputAddOn-field {
  background-color: #fafafa;
}
.sejowoo-affiliate-links .affiliate-link:nth-child(2n+1) {
  background-color: #f0f0f0;
}

.sejowoo-affiliate-network .jstree-container-ul .jstree-node {
  margin-bottom: 0;
}
.sejowoo-affiliate-network .jstree-container-ul .jstree-node .jstree-anchor {
  padding: 10px;
  height: auto;
  background-color: #fff;
  box-shadow: 0px 10px 15px rgba(235, 215, 241, 0.22);
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, .125);
  text-transform: capitalize;
}
.sejowoo-affiliate-network .jstree-container-ul .jstree-node .jstree-anchor .jstree-icon {
  margin-right: 8px;
  background-size: cover !important;
}
.sejowoo-affiliate-network .jstree-container-ul .jstree-node .jstree-children .jstree-node {
  position: relative;
}
.sejowoo-affiliate-network .jstree-container-ul .jstree-node .jstree-children .jstree-node::before {
  position: absolute;
  left: 0;
  top: -10px;
  display: block;
  content: " ";
  background-position: -292px -4px;
  background-repeat: repeat-y;
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/jstree/3.3.10/themes/default/32px.png");
  min-height: 10px;
  line-height: 10px;
  min-width: 24px;
}

.sejowoo-popup:before {
  display: none !important;
}
.sejowoo-popup .woocommerce-table {
  margin-bottom: 0;
}

.woocommerce-order-details .close-modal {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.5em 0.5em;
  cursor: pointer;
}

table#sejowoo-coupon,
table#sejowoo-order,
table#sejowoo-wallet { border: none; }

@media screen and (max-width:767px) {

  body.woocommerce-account .woocommerce table.shop_table_responsive tr, body.woocommerce-account .woocommerce-page table.shop_table_responsive tr {
      display: grid !important;
  }

  body.woocommerce-account table#sejowoo-order,
  body.woocommerce-account table#sejowoo-coupon,
  body.woocommerce-account table#sejowoo-leaderboard,
  body.woocommerce-account table#sejowoo-wallet.dataTable tfoot {
    width: 100% !important;
    display: block;
  }

  body.woocommerce-account table#sejowoo-leaderboard .user-with-avatar {
    display: inline-flex;
  }

  body.woocommerce-account .sejowoo-table-holder td.full-label .label {
    display: inline-block;
  }

  body.woocommerce-account table#sejowoo-order.dataTable tfoot th {
    text-align: right !important;
    width: 100% !important;
    max-width: 87% !important;
  }

  body.woocommerce-account table#sejowoo-coupon.dataTable tfoot th,
  body.woocommerce-account table#sejowoo-leaderboard.dataTable tfoot th,
  body.woocommerce-account table#sejowoo-wallet.dataTable tfoot th {
    text-align: right !important;
    width: 100% !important;
    max-width: 87% !important;
  }

}

