/* 交易日历和交易公告 */
.trade-wrap {
  overflow: hidden;
}
.trade-calendar-wrap {
  float: left;
  width: 800px;
}
/* title */
.jump-title {
  display: inline-block;
  font-size: 36px;
  color: #181818;
  line-height: 50px;
  font-weight: 600;
  padding-top: 80px;
  padding-bottom: 32px;
}
a.jump-title:hover {
  color: #f05a23;
}
.jump-title::after {
  content: "";
  display: inline-block;
  width: 22px;
  margin-left: 8px;
  height: 28px;
  vertical-align: middle;
  background: url(/app_inc/pingan/v40/futures/images/arrows/academy-more-icon.svg) no-repeat;
  background-size: 100% 100%;
}
a.jump-title:hover::after {
  background: url(/app_inc/pingan/v40/futures/images/arrows/academy-more-icon_hover.svg) no-repeat;
  background-size: 100% 100%;
}
.trade-notice-wrap {
  float: left;
  margin-left: 16px;
}
.trade-notice-content {
  width: 384px;
  height: 428px;
  background: #ffffff;
  border-radius: 8px;
  padding: 18px 24px 24px 20px;
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 和 Edge */
}
.trade-notice-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.notice-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  align-items: center;
  box-sizing: border-box;
}
.notice-item .date-info {
  width: 64px;
  height: 52px;
  background: #f6f6f6;
  border-radius: 4px;
  padding: 5px 6px;
  box-sizing: border-box;
}
.date-info .day {
  font-size: 28px;
  color: #343434;
  text-align: center;
  line-height: 28px;
  font-weight: 600;
}
.date-info .yearM {
  font-size: 12px;
  color: #898989;
  text-align: center;
}
.notice-info {
  margin-left: 8px;
  width: 268px;
  box-sizing: border-box;
}
.notice-title {
  font-size: 14px;
  color: #181818;
  line-height: 24px;
  word-break: break-all;
}
.notice-item:hover .notice-title {
  color: #f05a23;
}
.notice-desc {
  margin-top: 4px;
  font-size: 12px;
  color: rgb(24, 24, 24, 0.66);
}
/* 首页 交易日历 */
.calendar-wrap {
  display: flex;
  height: 428px;
  background-image: linear-gradient(270deg, #ffede6 0%, #ffffff 51%);
  padding: 20px 28px 20px 20px;
  border-radius: 8px;
  box-sizing: border-box;
}
.calendar {
  flex-shrink: 0;
  width: 420px;
  height: 388px;
  padding: 0 28px 10px 0;
  background: #fff;
  border-radius: 10px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  box-sizing: border-box;
}

.calendar-header {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  color: #181818;
  font-weight: 600;
}

.calendar-header h2 {
  font-size: 20px;
  color: #181818;
  font-weight: 600;
}

.calendar-header-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 28px;
  cursor: pointer;
}
.calendar-header-btns img {
  width: 22px;
  height: 28px;
}
.calendar-header-btns img.calendar-btn-prev {
  transform: rotate(180deg);
}
.calendar-days,
.calendar-dates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.calendar-day-name {
  width: 50px;
  height: 50px;
  margin: 0 3px;
  line-height: 50px;
  text-align: center;
  font-size: 14px;
  color: #f05a23;
  font-weight: 500;
}

.calendar-dates .date {
  width: 50px;
  height: 50px;
  margin: 0 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #181818;

  font-weight: 600;
  box-sizing: border-box;
}
.calendar-dates .date span {
  display: block;
  width: 4px;
  height: 4px;
}
.calendar-dates span.dot {
  border-radius: 50%;
  background: #ff4c00;
  margin-top: 4px;
}
/* 高亮选中的日期 */
.calendar-dates .date.selected, .calendar-dates .date:hover{
  background: #fdeee9;
  border-radius: 28px;
  color: #f05a23;
  border-radius: 50%;
}

/* 标记今天的日期 */
.calendar-dates .date.today {
  position: relative;
}
.calendar-dates .date.today::after {
  content: "今";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  line-height: 12px;
  font-weight: 400;
  padding: 2px;
  background: #ff4c00;
  border-radius: 4px;
}

/* 灰色显示非当前月的日期 */
.calendar-dates div.other-month {
  font-size: 16px;
  color: rgba(24, 24, 24, 0.44);
  text-align: center;
  font-weight: 600;
}
/* 日历数据 */
.calendar-tabs {
  padding-left: 20px;
  border-left: 1px solid rgba(240, 90, 35, 0.1);
}
.calendar-tabs .calendar-tabs-nav {
  display: flex;
  align-items: center;
  padding: 0 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.calendar-tabs-item {
  position: relative;
  list-style: none;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.66);
  line-height: 32px;
  font-weight: 500;
  cursor: pointer;
}
.calendar-tabs-item:not(:last-child) {
  margin-right: 45px;
}
.calendar-tabs-item:hover,
.calendar-tabs-item.active {
  color: #f05a23;
}
.calendar-tabs-item.active::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -4px;
  width: 100%;
  border-bottom: 2px solid rgba(240, 90, 35, 1);
}
.calendar-tabs .calendar-tabs-content .calendar-tab-pane {
  display: none;
}
.calendar-tabs .calendar-tabs-content .calendar-tab-pane.active {
  display: block;
}
.calendar-tab-pane .no-data {
  margin-top: 100px;
  font-size: 13px;
  text-align: center;
  color: #343434;
}
/* 交易提示 */
.trade-category,
.market-data {
  width: 100%;
  height: 352px;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 和 Edge */
}
.trade-category::-webkit-scrollbar,
.market-data::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.trade-category .category-item {
  margin-top: 10px;
}
.trade-category .category-item .category-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 30px;
  padding: 0 8px 0 14px;
  background: rgba(0, 0, 0, 0.06);
  cursor: pointer;
  box-sizing: border-box;
}
.trade-category .category-item .item-title {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  color: #343434;
  font-weight: 500;
}
.trade-category .category-item .item-title .notice-tip {
  display: block;
  background: #c6c6c6;
  text-align: center;
  color: #343434;
  font-weight: 600;
  width: 15px;
  height: 15px;
  font-size: 12px;
  line-height: 15px;
  margin-left: 4px;
  border-radius: 50%;
  cursor: pointer;
}
.trade-category .category-item .icon {
  display: block;
  width: 16px;
  height: 16px;
  background: url(/app_inc/pingan/v40/futures/images/arrows/tip-arrow.svg) no-repeat;
  background-size: 100% 100%;
}
.trade-category .category-item .icon.active {
  transform: rotate(180deg);
}
.deal-list .deal-item {
  margin-top: 16px;
  padding-left: 12px;
  box-sizing: border-box;
}
.deal-list .deal-item .deal-exchange {
  font-size: 14px;
  color: #f05a23;
  line-height: 20px;
  font-weight: 600;
}
.deal-list .deal-item a {
  color: #343434;
}
.deal-list .deal-item a:hover {
  color: #f05a23;
}
.deal-list .deal-item .deal-notice-info {
  margin-top: 6px;
  font-size: 13px;
  color: #343434;
  line-height: 18px;
}
.deal-list .deal-item .deal-notice-info a {
  color: #f05a23;
}
/* 市场数据 */
.market-data .market-data-item {
  margin-top: 18px;
  padding: 0px 14px;
  box-sizing: border-box;
}
.market-data .market-data-item .item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.market-data .market-data-item .item-info {
  font-size: 12px;
  color: rgba(24, 24, 24, 0.66);
  font-weight: 600;
}
.market-data .market-data-item .item-star {
  display: flex;
}
.market-data .market-data-item .item-star i {
  display: inline-block;
  width: 16px;
  height: 16px;
}
.market-data .market-data-item .icon-star-yellow {
  background: url("/app_inc/pingan/v40/futures/images/service/icon-star-yellow.svg") no-repeat;
  background-size: 100% 100%;
}
.market-data .market-data-item .icon-star-gray {
  background: url("/app_inc/pingan/v40/futures/images/service/icon-star-gray.svg") no-repeat;
  background-size: 100% 100%;
}
.market-data .market-data-item .news-title {
  margin-top: 7px;
  font-size: 13px;
  line-height: 18px;
  color: #343434;
}
/* 官网首页交易公告样式 */
.trade-wrap.home {
  width: 100%;
  min-width: 1200px;
  padding: 80px 0 60px;
  background: #fff;
  box-sizing: border-box;
}
.trade-wrap.home .calendar-wrap,.trade-wrap.home .trade-notice-content {
  border: 1px solid rgba(230,231,232,1);
}
.trade-wrap.home .calendar-tabs-item:not(:last-child) {
  margin-right: 44PX;
}
/* 交易日历的tips弹窗 */
.tooltip-wrap {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  width: 220px;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #fff;
  box-sizing: border-box;
}