/* 生肖对照 iframe — 对齐源站 sx_data/sx.css */

.sx-chart-page {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 800px;
  font-size: 12px;
  font-family: STHeiti, "Microsoft YaHei", Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
}

.sx-chart-page .box {
  margin: 5px 0;
  border-radius: 4px;
  background-color: #fff;
}

.sx-chart-page .box img {
  vertical-align: middle;
}

.sx-chart-page .sesx dl img {
  width: 40px;
  height: auto;
}

.sx-chart-page .clearfix:after,
.sx-chart-page .clearfix:before {
  display: table;
  content: "";
}

.sx-chart-page .clearfix:after {
  clear: both;
}

/* 十二生肖对照 */
.sx-chart-page .sesx.sx,
.sx-chart-page .sx.grey-line {
  border: 1px solid #e6e6e6;
}

.sx-chart-page .sesx .title,
.sx-chart-page .sx.grey-line > table:first-child th {
  height: 30px;
  border-bottom: 1px solid #e6e6e6;
  background: #f1f1f1;
  text-align: center;
  font-weight: 700;
  line-height: 30px;
}

.sx-chart-page ul.sx1 {
  padding: 8px 0;
  text-align: center;
  list-style: none;
  margin: 0;
}

.sx-chart-page ul.sx1 li {
  float: left;
  width: 33.33%;
  padding: 5px 0;
  border-left: 1px solid #f9f9f9;
  box-sizing: border-box;
}

.sx-chart-page ul.sx1 li:nth-child(3n+1) {
  border-left: none;
}

.sx-chart-page ul.sx1 dl {
  margin: 0;
  font-size: 12px;
  word-wrap: break-word;
}

.sx-chart-page ul.sx1 dt {
  margin-bottom: 4px;
}

.sx-chart-page ul.sx1 dt img {
  width: 40px;
  height: auto;
  vertical-align: middle;
}

.sx-chart-page ul.sx1 dd {
  margin: 0;
}

/* 波色/五行等表格 */
.sx-chart-page .box table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.sx-chart-page .box table th.title {
  height: 30px;
  border: 1px solid #e6e6e6;
  background: #f1f1f1;
  text-align: center;
  font-weight: 700;
  line-height: 30px;
}

.sx-chart-page .box table.pair-table {
  table-layout: fixed;
}

.sx-chart-page .box table.pair-table col.col-label {
  width: 50px;
}

.sx-chart-page .box table td {
  padding: 6px;
  border: 1px solid #e6e6e6;
}

.sx-chart-page .box table.pair-table td.left {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  padding-right: 0;
  padding-left: 0;
  box-sizing: border-box;
  color: navy;
  text-align: center;
  font-size: 14.4px;
  line-height: 1.2;
}

.sx-chart-page .box table.pair-table td.left font {
  font-size: 14.4px;
}

.sx-chart-page .box td span.ball {
  display: inline-block;
  margin: 0 2px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

.sx-chart-page .box span.bg_green {
  background: #093;
}

.sx-chart-page .box span.bg_blue {
  background: #36f;
}

.sx-chart-page .box span.bg_red {
  background: #f00;
}

.sx-chart-page .sesx {
  border: 1px solid #e6e6e6;
}

.sx-chart-page .sesx .title {
  height: 30px;
  border-bottom: 1px solid #e6e6e6;
  background: #f1f1f1;
  text-align: center;
  font-weight: 700;
  line-height: 30px;
}

.sx-chart-page .sesx ul {
  padding: 8px 0;
  text-align: center;
  list-style: none;
  margin: 0;
}

.sx-chart-page .sesx ul li {
  float: left;
  padding: 5px 0;
  width: 33.33%;
  border-left: 1px solid #f9f9f9;
  box-sizing: border-box;
}

.sx-chart-page .sesx ul li:nth-child(3n+1) {
  border-left: none;
}

.sx-chart-page .sesx dl {
  margin: 0;
  word-wrap: break-word;
  font-size: 12px;
}

.sx-chart-page .sesx dl img {
  width: 40px;
  height: auto;
  vertical-align: middle;
}

.sx-chart-page .sesx dd {
  margin: 0;
}

.sx-chart-page .sesx dd span {
  display: inline-block;
  margin: 0 2px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #f00;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

.sx-chart-page .sesx dd span.red,
.sx-chart-page .sx span.red {
  background: #f00;
}

.sx-chart-page .sesx dd span.blue,
.sx-chart-page .sx span.blue {
  background: #36f;
}

.sx-chart-page .sesx dd span.green,
.sx-chart-page .sx span.green {
  background: #093;
}

.sx-chart-page .sx table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.sx-chart-page .sx th {
  height: 30px;
  border: solid 1px #ccc;
  background: #f1f1f1;
  text-align: center;
  font-weight: 700;
}

.sx-chart-page .sx td {
  padding: 5px 0;
  border: solid 1px #d8ccb4;
  background: #fff;
  text-align: center;
  word-wrap: break-word;
}

.sx-chart-page .sx td.a-left {
  text-align: left;
  padding-left: 5px;
  padding-right: 5px;
}

.sx-chart-page .sx span {
  display: inline-block;
  margin: 0 2px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #f00;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
}

.sx-chart-page .sx span.green {
  background: #093;
}

.sx-chart-page .sx span.blue {
  background: #36f;
}

.sx-chart-page table.attribute {
  table-layout: fixed;
  width: 100%;
}

.sx-chart-page table.attribute th.title {
  height: 30px;
  border: 1px solid #e6e6e6;
  background: #f1f1f1;
  text-align: center;
  font-weight: 700;
  line-height: 30px;
}

.sx-chart-page .attribute td {
  text-align: center;
  font-size: 13.2px;
  line-height: 1.5;
  padding: 8px 6px;
  border: 1px solid #e6e6e6;
}

.sx-chart-page .attribute td span {
  color: #00f;
}

.sx-chart-page .attribute td i {
  display: inline-block;
  width: 8px;
  font-style: normal;
}

@media screen and (max-width: 750px) {
  .sx-chart-page .box {
    margin: 5px 3px;
  }
}
