// 初始化
#main-sellersprite-extension {
  font-size: 12px;
  font-weight: 500;
  ul,
  li {
    line-height: auto;
    list-style: none;
  }
  li {
    font-size: 12px;
  }
  img {
    border: none !important;
  }
  ul,
  li,
  div,
  p,
  span,
  input,
  select,
  img {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  .u-form__input {
    background: none;
  }
  .u-form__input::placeholder {
    color: #b8c1cb;
  }
  a {
    height: auto;
    text-decoration: none !important;
  }
  a:hover {
    color: #ff9001;
    text-decoration: none !important;
  }
  a img:hover {
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
  }
  a:focus {
    outline: none;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 100%;
  }
  p {
    text-align: justify;
    text-justify: distribute;
  }
  /*图表自定义样式 */
  .my-tooltip {
    min-width: 240px;
    padding: 0 5px 5px !important;
    font-size: 12px;
    &.my-tooltip-itembox {
      padding: 0 5px 5px !important;
    }
    &.my-tooltip-itembox > div {
      margin: 5px 0 0 0;
    }
  }
  .my-tooltip .my-tooltip-mark1 {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 5px !important;
  }
  .my-tooltip .my-tooltip-mark2 {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 5px !important;
  }
  .my-tooltip .my-tooltip-value {
    float: right;
    display: inline-block;
    padding: 0 0 0 5px;
  }
  .tooltip-long-title .my-tooltip {
    width: 100%;
  }
  .text-danger {
    color: #ff3d0b !important;
  }
  .text-primary {
    color: #fb8c1e !important;
  }
}
// size css
.font-ext-12 {
  font-size: 12px !important;
}
.font-ext-13 {
  font-size: 13px !important;
}
.font-ext-14 {
  font-size: 14px !important;
}
.font-ext-16 {
  font-size: 16px !important;
}
.font-ext-18 {
  font-size: 18px !important;
}
.font-ext-20 {
  font-size: 20px !important;
}
.font-ext-22 {
  font-size: 22px !important;
}
// margin css
.mt-ext-4 {
  margin-top: 4px !important;
}
.mt-ext-1 {
  margin-top: 14px !important;
}
.mr-ext-1 {
  margin-right: 10px !important;
}
.mr-ext-20 {
  margin-right: 20px !important;
}
.mt-ext-24 {
  margin-top: 24px !important;
}
.mb-ext-1 {
  margin-bottom: 14px !important;
}
.ml-ext-5 {
  margin-left: 5px !important;
}
.ml-ext-10 {
  margin-left: 10px !important;
}
.mr-ext-5 {
  margin-right: 5px !important;
}
.mr-ext-8 {
  margin-right: 8px !important;
}
.mr-ext-15 {
  margin-right: 15px !important;
}
.ml-ext-12 {
  margin-left: 12px !important;
}
.pl-ext-15 {
  padding-left: 15px !important;
}
.pl-ext-20 {
  padding-left: 20px !important;
}
.pl-ext-5 {
  padding-left: 5px !important;
}
.pr-etx-5 {
  padding-right: 5px !important;
}
.pr-etx-30 {
  padding-right: 30px !important;
}
.pr-etx-20 {
  padding-right: 20px !important;
}
.pr-etx-10 {
  padding-right: 10px !important;
}

.ext-mr-3 {
  margin-right: 3px !important;
}
// color css
.ext-h4-muted {
  color: #696f75 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}
// btn css
.btn-ext {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 6px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  color: #fff;
  span,
  .iconfont-ext {
    display: inline-block;
    vertical-align: middle;
    color: #fff !important;
  }
}
.text-ext-danger {
  color: red !important;
}
.text-ext-gray {
  color: #86898c !important;
}
.text-ext-lightred {
  color: #ff3d0b !important;
}
.exts-color-gray {
  color: #9fa3a8 !important;
}
.exts-color-black {
  color: #3f4245 !important;
}
.exts-color-blue {
  color: #146cbe !important;
}
.exts-color-green {
  color: #50ad55 !important;
}
.text-ext-center {
  text-align: center !important;
}
.u-link-ss-grey {
  color: #8c98a4 !important;
}
.u-link-ss {
  color: #f28c00 !important;
}
.btn-ext-primary {
  background-color: #ff9001 !important;
}
.btn-ext-green {
  background-color: #00c9a7 !important;
  border-color: #00c9a7 !important;
}
.btn-ext-green[href]:active,
.btn-ext-green[href]:focus,
.btn-ext-green[href]:hover,
.btn-ext-green[type]:active,
.btn-ext-green[type]:focus,
.btn-ext-green[type]:hover {
  box-shadow: 0 4px 11px rgba(0, 201, 167, 0.35);
  background-color: #25a779 !important;
  border-color: #25a779 !important;
}
//ext input
input,
input:focus {
  outline: none;
}
.etx-w100 {
  width: 100% !important;
}
.form-ext-control {
  display: block;
  width: 100%;
  font-size: 14px;
  height: 44px;
  color: #1e2334;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #e6e8ec;
  border-radius: 5px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.custom-ext-select:focus,
.form-ext-control:focus {
  box-shadow: 0 0 25px rgba(251, 140, 30, 0.1);
  border-color: rgba(251, 140, 30, 0.5);
}
.justify-content-start {
  -ms-flex-pack: start !important;
  justify-content: start !important;
}
.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}
.justify-content-end {
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}
input:focus,
.btn-ext:focus {
  outline: none;
}
.align-items-top {
  align-content: baseline !important; //主轴居中对齐
  align-items: baseline !important; //交叉轴的中点对齐
}
.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}
.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}
.d-flex-1 {
  flex: 1;
}
.d-block {
  display: block;
}
.btn-ext-primary[href]:active,
.btn-ext-primary[href]:focus,
.btn-ext-primary[href]:hover,
.btn-ext-primary[type]:active,
.btn-ext-primary[type]:focus,
.btn-ext-primary[type]:hover {
  box-shadow: 0 4px 11px rgba(251, 140, 30, 0.35);
  background-color: #ec7906 !important;
  border-color: #ec7906 !important;
}
.btn-ext:not(:disabled):not(.disabled) {
  cursor: pointer;
}
//
.fn-clear::after,
.fn-clear::after {
  content: '';
  display: block;
  clear: both;
}
.fn-fr {
  float: right !important;
}
.fn-fl {
  float: left !important;
}
.fn-text-right {
  text-align: right !important;
}
.fn-text-left {
  text-align: left !important;
}
.fn-text-center {
  text-align: center !important;
}
.show-hand-shape {
  cursor: pointer !important;
}
// /*修改滚动条样式*/
// #content-ext-main .is-scroll-bar {
//   height: 100%;
//   overflow: auto;
//   overscroll-behavior: contain !important;
//   -ms-scroll-chaining: contain !important;
// }
// .el-table--scrollable-y .el-table__body-wrapper {
//   overflow-x: hidden !important;
// }
// .el-table--scrollable-x .el-table__body-wrapper {
//   overflow-x: hidden !important;
// }
#content-ext-main .el-scrollbar__wrap {
  overflow-x: hidden;
  scrollbar-width: none; /* firefox */
  scrollbar-color: transparent transparent;
  scrollbar-track-color: transparent;
  -ms-scrollbar-track-color: transparent;
  -ms-overflow-style: none;
}
// #content-ext-main .is-scroll-bar::-webkit-scrollbar,
// #content-ext-main .el-table__body-wrapper::-webkit-scrollbar {
//   /*滚动条整体样式*/
//   width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
//   height: 1px;
// }
// #content-ext-main .is-scroll-bar::-webkit-scrollbar-track,
// #content-ext-main .el-table__body-wrapper::-webkit-scrollbar-track {
//   /*滚动条里面轨道*/
//   border-radius: 10px;
//   background: transparent;
// }
// #content-ext-main .is-scroll-bar::-webkit-scrollbar-thumb,
// #content-ext-main .el-table__body-wrapper::-webkit-scrollbar-thumb {
//   /*滚动条里面小方块*/
//   border-radius: 10px;
//   background: rgba(18, 23, 39, 0.1);
// }
// #content-ext-main .is-scroll-bar::-webkit-scrollbar-thumb:hover,
// #content-ext-main .el-table__body-wrapper::-webkit-scrollbar-thumb:hover {
//   background: rgba(18, 23, 39, 0.1);
// }
// #content-ext-main .is-scroll-bar::-webkit-scrollbar-corner,
// #content-ext-main .el-table__body-wrapper::-webkit-scrollbar-corner {
//   background: rgba(18, 23, 39, 0.1);
// }

// .el-table__body-wrapper::-webkit-scrollbar {
//   /*width: 0;宽度为0隐藏*/
//   width: 2px;
// }
// .el-table__body-wrapper::-webkit-scrollbar-thumb {
//   border-radius: 2px;
//   height: 50px;
//   background: #eee;
// }
// .el-table__body-wrapper::-webkit-scrollbar-track {
//   box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
//   border-radius: 2px;
//   background: rgba(0, 0, 0, 0.4);
// }
//
.icon-svg-ext {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
}
.defualt-icon {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
}
.hide-nickname-more {
  display: inline-block;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.show-ellipsis-nowrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.show-ellipsis-twoline {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.fn-block {
  display: block !important;
}
table .fixed-table-header-ext {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  z-index: 100;
}

.central-element-table-ext,
.fixed-table-header-ext {
  table {
    width: 100%;
    display: table;
    border-collapse: collapse;
    border-spacing: 2px;
    border-color: grey;
    text-align: left;
    max-width: 100%;
    min-width: 100%;
    table-layout: fixed;
    margin-bottom: 0 !important;
    thead {
      display: table-header-group;
      vertical-align: middle;
      border-color: inherit;
    }
    tbody {
      display: table-row-group;
      vertical-align: middle;
      border-color: inherit;
    }
    tr {
      display: table-row;
      vertical-align: inherit;
      border-color: inherit;
    }
    th {
      height: 42px;
      background: rgba(245, 247, 248, 1);
      font-size: 12px !important;
      color: #7b7e81;
      padding: 0 10px !important;
      line-height: 42px;
      border: none;
      font-weight: 500;
      vertical-align: middle;
      div {
        line-height: 16px;
      }
    }
    th.plr-etx-5 {
      padding: 0 5px !important;
    }
  }
}
.central-element-table-ext {
  thead {
    overflow: hidden;
    th,
    tr,
    div,
    & {
      height: 0;
      opacity: 0;
      padding: 0 !important;
      margin: 0 !important;
      line-height: 0 !important;
    }
  }
  th {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px !important;
    font-weight: 500;
  }
  td {
    color: #3f4245;
    padding: 0 10px !important;
    height: 42px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-bottom: 1px #efeef1 solid;
    vertical-align: middle;
    font-family: WorkSans, Helvetica Neue, Arial, PingFang SC, Microsoft YaHei, sans-serif;
    div {
      line-height: 14px;
    }
  }
  td.plr-etx-5,
  th.plr-etx-5 {
    padding: 0 5px !important;
  }
}

.popext-chart-boxs {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999999;
  .mask-pop-ext {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
  .popext-chart-content {
    position: absolute;
    width: 1000px;
    height: 574px;
    top: 50%;
    left: 50%;
    margin-left: -500px !important;
    margin-top: -287px !important;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 2px 10px 0px rgba(40, 40, 44, 0.08);
    border-radius: 4px;
    border: 1px solid rgba(239, 241, 244, 1);
    text-align: left;
    z-index: 9999;
  }
  .popext-header {
    height: 59px;
    border-bottom: 1px #eff1f4 solid;
    padding: 0 14px !important;
    text-align: left;
    .iconfont-ext {
      color: #a6aab3 !important;
      cursor: pointer;
    }
  }
  .title-popext {
    flex: 1;
    h4 {
      font-size: 14px !important;
      font-weight: 500;
      color: rgba(112, 115, 118, 1);
      line-height: 20px;
    }
  }
}
.loading-more {
  text-align: center;
  color: rgb(159, 163, 168);
  padding: 15px 0 !important;
  .ext-line-isLoaing {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: 15px;
  }
  p {
    text-align: center !important;
    line-height: 14px;
  }
}
.central-element-table-ext,
.el-table__body {
  tr:first-child,
  tr:nth-child(2) {
    .chart-list > div {
      div:last-child {
        top: auto !important;
      }
    }
  }
}

// echart
.position-relative-ext {
  position: relative;
}
.prompt-empty-ext {
  position: absolute;
  top: 46%;
  text-align: center;
  width: 71%;
  left: 12%;
  color: #86929e;
  font-size: 12px;
}
// 自定义ext-popover-custom
.el-tooltip__popper.ext-popover-custom,
.el-select-dropdown.ext-popover-custom,
.el-popover.ext-popover-custom {
  z-index: 9999999 !important;
}
.el-tooltip__popper.ext-popover-custom {
  max-width: 700px;
  background: rgba(60, 60, 60, 0.9);
  line-height: 24px !important;
  color: #f8f9fa !important;
  word-break: normal;
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
  font-family: WorkSans, Helvetica Neue, Arial, PingFang SC, Microsoft YaHei, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-break: auto;
}
.el-tooltip__popper.custom-width-ext600 {
  max-width: 600px;
}
.el-tooltip__popper.text-center-popover {
  text-align: center;
  min-width: 92px;
}
.el-tooltip__popper[x-placement^='top'] .popper__arrow::after {
  border-top-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='top'] .popper__arrow {
  border-top-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='right'] .popper__arrow::after {
  border-right-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='right'] .popper__arrow {
  border-right-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='left'] .popper__arrow::after {
  border-left-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='left'] .popper__arrow {
  border-left-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='bottom'] .popper__arrow::after {
  border-bottom-color: rgb(79, 79, 79);
}
.el-tooltip__popper[x-placement^='bottom'] .popper__arrow {
  border-bottom-color: rgb(79, 79, 79);
}

//
.ext-vertical-middle {
  vertical-align: middle !important;
}
.ext-vertical-5px {
  vertical-align: -5px !important;
}
.prompt-content-ext a,
.loading-more p a {
  color: #fb8c1e !important;
  border-bottom: 1px #fb8c1e dashed;
  vertical-align: 1px;
}
.loading-more p a {
  vertical-align: 0px;
}
.u-xl-avatar {
  .el-image__inner {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 100% !important;
    display: block;
  }
}
.middle-two-px {
  vertical-align: -2px !important;
}
.close-popup-btn {
  color: #a6aab3;
  &:hover {
    color: #91959f;
  }
}
.version-upgrading {
  .text-ext-lightred {
    color: #f3552d;
    border-bottom: 1px #f3552d solid;
    margin-left: 2px !important;
    vertical-align: 1px;
  }
  &:focus,
  &:active {
    outline: none;
  }
}
.el-tooltip__popper.ext-popover-custom a {
  color: #fb8c1e;
  border-bottom: 1px #fb8c1e solid;
  vertical-align: middle;
  &:hover {
    text-decoration: none;
  }
}
.icon-link-amazon,
.icon-google-trends {
  color: #bfc6cd;
  font-size: 12px;
  vertical-align: 1px !important;
  &:hover {
    color: #fb8c1e;
  }
}
.main-ext .el-table__header .gutter {
  background: rgb(245, 247, 248);
}
.main-ext .el-table tbody tr:hover > td {
  background-color: transparent !important;
}
.exts-color-blue {
  cursor: pointer;
  max-width: 96%;
  vertical-align: middle;
  height: 16px;
  line-height: 16px;
  border-bottom: 1px transparent dashed;
  &:hover {
    color: #0c579d !important;
    border-bottom-color: #0c579d;
  }
}
.main-ext .caret-wrapper {
  width: 12px;
  transform: scale(0.8);
}
.main-ext .el-table .sort-caret {
  left: 2px;
}
.el-table__expand-icon {
  display: none;
}

.btn-ext {
  height: 30px;
  line-height: 1;
  min-width: 76px;
  box-sizing: border-box;
}
.btn-group {
  margin-top: 5px !important;
}
.text-ext-gray {
  font-size: 14px;
  font-weight: 500;

  .text-danger {
    color: #ff3d0b;
  }
}

.RequestReviewItem {
  max-width: 250px;
  height: 32px;
  padding: 0 10px;
  background: rgb(255, 158, 62);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid #ef7904;
  transition: all 0.5s;
  &:hover {
    background: #ef7904;
    transition: all 0.5s;
  }
}

.RequestReviewNone {
  max-width: 250px;
  height: 32px;
  background: rgb(255, 190, 140);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  border: 1px solid #eff3ff;
  transition: all 0.5s;
}
