/* ======================== #open ======================== */
#open td span {
  color: #de4119;
}

#open td span:last-child {
  color: #2287f9;
}

/* ======================== #open_num ======================== */
#open_num table td.is span {
  background: #CF595A;
}

#lq table td.is span,
#whfb_hq table td.is span,
#whfb_lq table td.is span {
  position: relative;
  color: #ffffff;
  background: #3166cc;
}

#whfb_hq table td.is2 span::after,
#whfb_lq table td.is2 span::after {
  z-index: 1003;
  content: '2';
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  background: #218e9f;
  -webkit-transform: translate(50%, -25%);
  -moz-transform: translate(50%, -25%);
  -ms-transform: translate(50%, -25%);
  -o-transform: translate(50%, -25%);
  transform: translate(50%, -25%);
}

#whfb_hq table td.is3 span::after {
  z-index: 1003;
  content: '3';
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  background: #c05b5c;
  -webkit-transform: translate(50%, -25%);
  -moz-transform: translate(50%, -25%);
  -ms-transform: translate(50%, -25%);
  -o-transform: translate(50%, -25%);
  transform: translate(50%, -25%);
}

/* ========================预选样式======================== */
.trend .trend-table div table tbody.yxq tr td>div {
  position: relative;
  font-size: 0;
}

/* #open_num */
.trend .trend-table div#open_num table tbody.yxq tr td>div>span {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px auto;
  color: #999797;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  background: #ffffff;
}

.trend .trend-table div#open_num table tbody.yxq tr td.sel>div>span {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 16px;
  line-height: 22px;
  background: #CF595A !important;
}

.trend .trend-table div#lq table tbody.yxq tr td.sel>div>span {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 16px;
  line-height: 22px;
  background: #2287f9 !important;
}

/* #lq、#whfb_hq、#whfb_lq */
.trend .trend-table div#lq table tbody.yxq tr td>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td>div>span,
.trend .trend-table div#whfb_lq table tbody.yxq tr td>div>span {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px auto;
  color: #999797;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  background: #ffffff;
}

.trend .trend-table div#lq table tbody.yxq tr td.sel>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel1>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel2>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel3>div>span,
.trend .trend-table div#whfb_lq table tbody.yxq tr td.sel1>div>span,
.trend .trend-table div#whfb_lq table tbody.yxq tr td.sel2>div>span {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 16px;
  line-height: 22px;
}

.trend .trend-table div#lq table tbody.yxq tr td.sel>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel1>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel2>div>span,
.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel3>div>span,
.trend .trend-table div#whfb_lq table tbody.yxq tr td.sel1>div>span,
.trend .trend-table div#whfb_lq table tbody.yxq tr td.sel2>div>span {
  background: #3166cc !important;
}

.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel2>div>span::after,
.trend .trend-table div#whfb_lq table tbody.yxq tr td.sel2>div>span::after {
  z-index: 1003;
  content: '2';
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  background: #218e9f;
  -webkit-transform: translate(50%, -25%);
  -moz-transform: translate(50%, -25%);
  -ms-transform: translate(50%, -25%);
  -o-transform: translate(50%, -25%);
  transform: translate(50%, -25%);
}

.trend .trend-table div#whfb_hq table tbody.yxq tr td.sel3>div>span::after {
  z-index: 1003;
  content: '3';
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  background: #c05b5c;
  -webkit-transform: translate(50%, -25%);
  -moz-transform: translate(50%, -25%);
  -ms-transform: translate(50%, -25%);
  -o-transform: translate(50%, -25%);
  transform: translate(50%, -25%);
}

.compute-checkbox {
  z-index: 1004;
  margin: 3px;
  position: relative;
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #bbbbbb;
  background: #ffffff;
}

.compute-checkbox>.tips {
  display: none;
  pointer-events: all;
  position: absolute;
  top: 50%;
  right: 0;
  width: auto;
  padding: 0 4px;
  margin-right: -8px;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
  border: 1px solid #6eaffa;
  border-radius: 4px;
  background: #eaf3fc;
  white-space: nowrap;
  -webkit-transform: translate(100%, -50%);
  -moz-transform: translate(100%, -50%);
  -ms-transform: translate(100%, -50%);
  -o-transform: translate(100%, -50%);
  transform: translate(100%, -50%);
}

.compute-checkbox>.tips::before {
  display: block;
  z-index: 10;
  content: '';
  position: absolute;
  top: 50%;
  left: 1px;
  width: 0;
  height: 0;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid #eaf3fc;
  -webkit-transform: translate(-100%, -50%);
  -moz-transform: translate(-100%, -50%);
  -ms-transform: translate(-100%, -50%);
  -o-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

.compute-checkbox>.tips::after {
  display: block;
  z-index: 9;
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  border-bottom: 6px solid transparent;
  border-top: 6px solid transparent;
  border-left: 6px solid transparent;
  border-right: 6px solid #6eaffa;
  -webkit-transform: translate(-100%, -50%);
  -moz-transform: translate(-100%, -50%);
  -ms-transform: translate(-100%, -50%);
  -o-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

.compute-checkbox:hover .tips {
  display: block;
}

.compute-checkbox.select {
  background: #3166cc;
}

.compute-checkbox.select::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: '\2713\fe0e';
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
}

#offset_tips {
  display: none;
  position: absolute;
  z-index: 1005;
  padding: 10px;
  font-size: 14px;
  color: #010101;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 4px;
  background: #eaf3fc;
  border: 1px solid #6eaffa;
}