.main_market {
  width: 100%;
  margin: 24px 0;
}
.main_market .market_coin {
  margin-top: 24px;
  width: 100%;
  display: grid;
  box-sizing: border-box;
  grid-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.main_market .market_coin .market_coin_item {
  width: 224px;
  height: 112px;
  border-radius: 4px;
  border: 1px solid #e4e6e9;
  box-sizing: border-box;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.main_market .market_coin .market_coin_item .market_coin_top {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.main_market .market_coin .market_coin_item .market_coin_top img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
  cursor: pointer;
}
.main_market .market_coin .market_coin_item .market_coin_top .box {
  width: 148px;
}
.main_market .market_coin .market_coin_item .market_coin_top .box .title {
  width: 100%;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}
.main_market .market_coin .market_coin_item .market_coin_top .box .title a {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}
.main_market .market_coin .market_coin_item .market_coin_top .box .detail {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  color: #00b98c;
}
.main_market .market_coin .market_coin_item .market_coin_down {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.main_market .market_coin .market_coin_item .market_coin_down .name {
  font-size: 14px;
}
.main_market .market_coin .market_coin_item .market_coin_down .name span {
  color: #00b98c;
  font-size: 14px;
}
.main_market .market_layui {
  margin-top: 24px;
  width: 100%;
}
/* 定义动画 */
@keyframes hideBackground {
  0% {
    opacity: 1;
  }
  /* 开始时完全可见 */
  100% {
    opacity: 0;
  }
  /* 结束时完全隐藏 */
}
.market_layui {
  width: 100%;
  font-size: 14px;
}

.market_layui .layui-table td,
.market_layui .layui-table th {
  border-color: transparent;
}
.market_layui .layui-table tr th:nth-child(3) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(3) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(4) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(4) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(5) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(5) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(6) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(6) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(7) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(7) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(8) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(8) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(9) {
  text-align: right;
}
.market_layui .layui-table tr td:nth-child(9) {
  text-align: right;
}
.market_layui .layui-table tr th:nth-child(2) {
  width: 150px;
}
.market_layui .layui-table tr th:last-child {
  width: 120px;
}
.market_layui .layui-table td {
  border-bottom: 1px solid #f2f2f2;
  text-align: center;
  height: 64px;
  box-sizing: border-box;
}
.market_layui .layui-table td,
.market_layui .layui-table th {
  padding: 9px 13px;
}
.market_layui .layui-table tbody tr {
  position: relative;
  z-index: 100;
}
.market_layui .layui-table tbody tr:hover {
  box-shadow: 0 0 15px 4px rgba(152, 156, 161, 0.15);
}
.market_layui .layui-table tbody td {
  position: relative;
  z-index: 100;
}
.market_layui .layui-table tbody .qjtd {
  /* position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; */
  box-sizing: border-box;
}
.market_layui .layui-table tbody .green_bg {
  background: url(/web-v2/img/greed.png) no-repeat;
  animation: hideBackground 2s forwards;
  background-size: cover;
}
.market_layui .layui-table tbody .red_bg {
  background: url(/web-v2/img/red.png) no-repeat;
  animation: hideBackground 2s forwards;
  background-size: cover;
}
.market_layui .layui-table th {
  height: 40px;
  box-sizing: border-box;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #eff2f5;
  /* border-top: 1px solid #EFF2F5; */
  color: #878b99;
}
.market_layui .center {
  text-align: center;
}
.market_layui .right {
  text-align: right;
}
.market_layui .left {
  text-align: left;
}
.market_layui .box {
  display: flex;
  align-items: center;
}
.market_layui .box img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.market_layui .box .table_box {
  margin-left: 6px;
  width: 128px;
}
.market_layui .box .table_box .title {
  width: 100%;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  text-align: left;
  font-weight: 500;
}
.market_layui .box .table_box .detail {
  color: #89939e;
  text-align: left;
  line-height: 16px;
}
.market_layui .deal .num {
  line-height: 20px;
  text-align: right;
}
.market_layui .deal .coin {
  color: #89939e;
  line-height: 16px;
  text-align: right;
}
.disclaimer {
  width: 100%;
  font-size: 12px;
  color: #59636d;
  line-height: 17px;
  margin-top: 48px;
}
.fall {
  color: #f23f58 !important;
  font-size: 14px;
}
.zero {
  font-size: 14px;
  color: #89939e !important;
}
.rise {
  color: #00b98c !important;
  font-size: 14px;
}
.echarts_box,
#echarts {
  width: 96px;
  height: 24px;
}
.candlestick_tab {
  display: flex;
}
.candlestick_tab > div {
  width: 56px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  color: #24292e;
  font-size: 12px;
  background: #eaecef;
  cursor: pointer;
}
.candlestick_tab > div:nth-child(1) {
  border-radius: 2px 0px 0px 2px;
}
.candlestick_tab > div:nth-child(2) {
  border-radius: 0px 2px 2px 0px;
}
.candlestick_tab > div.active {
  background: #f7d049;
}
.time_select {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 2px;
  border: none;
  height: 32px;
  box-sizing: border-box;
  background: #eaecef;
  border-radius: 2px;
}
.time_select span {
  padding: 3px;
  border-right: none;
  width: 56px;
  color: #24292e;
  font-size: 12px;
}

.time_select span.active {
  border-radius: 2px;
  background: #fff;
  color: #24292e;
}
.time_select a {
  display: block;
  padding: 3px;
  border-right: none;
  width: 56px;
  color: #24292e;
  font-size: 12px;
  line-height: 22px;
  float: left;
  text-align: center;
  cursor: pointer;
}
.time_select a.active {
  border-radius: 2px;
  background: #fff;
  color: #24292e;
}
.time_select a:hover {
  color: #24292e;
}
.boxed > a > img {
  width: 1200px;
  height: 128px;
}
.timeSwitch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.layui-form-mid > img {
  width: 16px;
  height: 16px;
  vertical-align: sub;
}
.flex_end {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.flex_end #test6 {
  border: 1px solid #e4e6e9;
}
.flex_end .layui-form-item {
  margin: 0;
}
.flex_end .layui-form-item .layui-input-inline {
  width: 100px;
}
.flex_end .layui-inline {
  margin: 0;
}
.flex_end .layui-inline .layui-input {
  height: 32px;
  border-color: transparent;
}
.flex_end .layui-inline .layui-input:hover,
.flex_end .layui-inline .layui-input:focus {
  border-color: transparent !important;
}
.flex_end .layui-inline .layui-form-mid {
  padding: 0 !important;
  display: flex;
  align-items: center;
  height: 32px;
}
.exchange {
  width: 100%;
  font-size: 14px;
  margin-top: 24px;
  min-height: calc(100vh - 517px);
}
.exchange .layui-table td,
.exchange .layui-table th {
  border-color: transparent;
}
.exchange .layui-table td {
  border-bottom: 1px solid #f2f2f2;
  text-align: center;
}
.exchange .layui-table td:last-child {
  text-align: right;
  padding-right: 0;
}
.exchange .layui-table th:nth-child(2) {
  text-align: left;
}
.exchange .layui-table th {
  height: 40px;
  box-sizing: border-box;
  background: #f5f5f5;
  border-radius: 4px;
  border-color: #f5f5f5;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}
.exchange .deal .num {
  line-height: 20px;
  text-align: right;
  font-size: 14px;
}
.exchange .deal .coin {
  color: #89939e;
  line-height: 16px;
  font-size: 12px;
  text-align: right;
}
.exchange .box {
  display: flex;
  align-items: center;
}
.exchange .box img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
}
.exchange .box .table_box {
  margin-left: 6px;
  width: 128px;
}
.exchange .box .table_box .title {
  width: 100%;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  text-align: left;
}
.exchange .box .table_box .detail {
  color: #89939e;
  text-align: left;
  line-height: 16px;
}
.bz_l_option {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bz_l_option .left {
  display: flex;
  align-items: center;
}
.bz_l_option .left img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.bz_l_option .left .time_data {
  height: 20px;
  font-weight: 400;
  font-size: 14px;
  color: #050f19;
  line-height: 20px;
  text-align: left;
}
.bz_l_option .right {
  display: flex;
}
.bz_l_option .right .hb_option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  width: 200px;
  height: 36px;
  background: #eef0f2;
  border-radius: 8px 8px 8px 8px;
}
.hc_custom_tooltip {
  box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 10px;
  background-color: rgb(255, 255, 255);
  border-width: 1px;
  border-radius: 4px;
  color: rgb(102, 102, 102);
  padding: 10px;
  font: 14px / 21px "Microsoft YaHei";
}
.hc_tooltip_box {
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
}
.hc_tooltips_txt {
  color: #24292e;
  font-size: 12px;
  font-family: "Inter";
  font-weight: 400;
}
