/* ===== Base Styles ===== */
html, body {
  font-family: STHeiti, 'Microsoft YaHei', Helvetica, Arial, sans-serif;
  color: #000;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

html {
  background: #e7e7e7 fixed;
}

body {
  max-width: 720px;
  margin: 0 auto;
  background-color: #fff;
}

/* ===== Global Reset ===== */
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
}

ol, ul, li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

a {
  color: #000;
  text-decoration: none;
}
a:focus, a.hidefocus {
  outline: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

input, button {
  outline: 0;
}
input[type="button"], 
input[type="submit"], 
input[type="text"] {
  -webkit-appearance: none;
}
button {
  cursor: pointer;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

/* ===== Utility Classes ===== */
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}
.clearfix::after {
  clear: both;
}

.pad2 { padding: 2px; }
.pad4 { padding: 4px; }
.nullbox44 { height: 44px; }


/* ===== Header Styles ===== */
.top {
  position: fixed;
  z-index: 99;
  height: 44px;
  width: 100%;
  max-width: 720px;
  background: #4B6D77;
  text-align: center;
}

.top .logo {
  position: absolute;
  top: 0;
  left: 48px;
  right: 48px;
}

.top .logo span {
  display: inline-block;
  width: 220px;
  height: 44px;
  background: url("logo.png") no-repeat center 0;
  background-size: 220px;
  box-sizing: border-box;
}

.top .icon span {
  position: absolute;
  width: 36px;
  height: 40px;
  color: #fff;
  background-repeat: no-repeat;
  overflow: hidden;
  display: block;
}

.top .icon span.menu {
  top: 1px;
  right: 8px;
  background-image: url("menuicon.png");
  background-size: 36px auto;
  -webkit-background-size: 36px auto;
  background-position: 0 -56px;
}

.top .icon span.prev {
  top: 1px;
  left: 5px;
  background-image: url("menuicon.png");
  background-size: 32px auto;
  -webkit-background-size: 32px auto;
  background-position: 0 -110px;
}

.logoLeft {
  left: 5px;
  text-align: left;
}

.prevHide {
  z-index: 1001;
  display: none;
}

/* ===== Menu Dialog ===== */
.menuDialog {
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  display: none;
}

.menu_nav {
  max-width: 720px;
  margin: 0 auto;
  height: 100%;
}

.menu_nav ul {
  float: right;
  width: 150px;
  background: rgba(255,255,255,0.9);
  height: 100%;
}

.menu_nav li {
  text-align: left;
}

.menu_nav li a {
  display: block;
  padding-left: 60px;
  height: 38px;
  line-height: 38px;
  font-size: 13px;
  position: relative;
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  margin-top: -1px;
}

.menu_nav li a:first-child {
  border-top: none;
}

.menu_nav li .icon {
  display: inline-block;
  height: 23px;
  width: 23px;
  background: url("menunavicon.png") no-repeat 0 0;
  background-size: 23px;
  position: absolute;
  top: 8px;
  left: 29px;
}

.menu_nav li .icon.i03 { background-position-y: -92px; }
.menu_nav li .icon.i09 { background-position-y: -368px; }
.menu_nav li .icon.i11 { background-position-y: -460px; }
.menu_nav li .icon.i12 { background-position-y: -506px; }
.menu_nav li .icon.i16 { background-position-y: -690px; }
.menu_nav li .icon.i19 { background-position-y: -759px; }

/* ===== Box Container ===== */
.box {
  margin: 5px 0;
  background-color: #fff;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

.box.phvad {
  padding: 4px;
  display: none;
}

/* Subnav Styles */
.subnav ul {
  margin: 8px 0;
}

.subnav li {
  display: block;
  float: left;
  width: 25%;
  text-align: center;
}

.subnav li a {
  display: inline-block;
  width: 60px;
}

.subnav li a img {
  display: block;
  width: 53px;
  height: 53px;
  margin: 0 auto;
  vertical-align: middle;
}

/* Table Styles */
.box .table {
  width: 100%;
}

.box .table table tr {
  text-align: center;
  padding: 0 5px;
  line-height: 18px;
}

.box .table ul li {
  border-bottom: 1px solid #f9f9f9;
  padding: 8px 0;
  text-align: center;
  font-size: 1.2rem;
}

.box .table ul li font {
  color: #0000FF;
}

.box .table ul li span {
  color: #FF0000;
}

.box .table .title {
  height: 40px;
  line-height: 40px;
  background: linear-gradient(to top, #65300a, #c07946);
  border-radius: 2px;
}

.box .table .title h3 {
  height: 40px;
  padding: 0 50px 0 12px;
  color: #fff;
  font-size: 1.3rem;
  display: inline-block;
  background: linear-gradient(to top, #b80d0d, #e80303);
  position: relative;
  border-radius: 2px;
}

.box .table .title h3 span {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 40px;
  background: url("title_icon.png") top right no-repeat;
  background-size: 42px 40px;
}

/* KJKJ Styles */
.kjkj ul li {
  float: left;
  margin: 2px;
  padding: 4px 0;
  width: calc(20% - 4px);
  border-radius: 4px;
  box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
  background-image: linear-gradient(to top, #FF8000, #FFC184);
}

.kjkj ul li a {
  color: #FFF;
  font-size: 1.1rem;
  font-weight: bold;
}

/* PTWX Styles */
.ptwx ul li span {
  font-size: 1.4rem;
  font-weight: bold;
}

.ptwx ul li span font {
  font-weight: 400;
}

.ptwx ul li span font.cuo {
  color: #ccc;
}

.ptwx ul li u {
  background: #ffff00;
  text-decoration: none;
}

/* Mark Styles */
.mark ul li {
  padding: 8px 5px;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mark ul li .icon {
  margin-right: 6px;
  padding: 4px 5px;
  font-size: 1rem;
  color: #fff;
  border-radius: 5px;
  background: #FF9900;
  display: inline-block;
}

.mark ul li .zz {
  float: right;
  margin-left: 10px;
  font-size: 1.1rem;
  color: #999;
}

/* NMZL Styles */
.nmzl table {
  table-layout: auto;
  border: solid 1px #EEE;
}

.nmzl table tr.title th {
  background: #EEE;
  color: #333;
  text-align: center;
  height: 38px;
  line-height: 38px;
  font-size: 1.2rem;
}

.nmzl table tr.title th font {
  color: #ff0000;
  font-size: 1.2rem;
}

.nmzl table tr {
  border-bottom: solid 1px #EEE;
  height: 35px;
  line-height: 35px;
  font-size: 1.1rem;
}

.nmzl table td.l {
  width: 60%;
  text-align: left;
  padding-left: 5px;
  border-right: 1px solid #EEE;
}

.nmzl table td.r {
  width: 39%;
  text-align: right;
  padding-right: 5px;
}

.nmzl td span {
  color: red;
  font-size: 1.2rem;
}

.nmzl table td u {
  background: #ffff00;
  text-decoration: none;
}

/* YXYM Styles */
.yxym table {
  table-layout: auto;
}

.yxym table tr.title th {
  background: #93D1A9;
  color: #fff;
  text-align: center;
  height: 38px;
  line-height: 38px;
  font-size: 1.2rem;
}

.yxym table tr.title th font {
  color: #ff0000;
  font-size: 1.3rem;
}

.yxym table td {
  background: #B4E7C6;
  border-bottom: solid 1px #fff;
  padding: 8px 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.yxym table td.l {
  width: 86px;
}

.yxym table td.c {
  width: auto;
  background-color: #D5F5E1;
  color: #ff0000;
  font-size: 1.4rem;
}

.yxym table td.huan {
  padding: 0;
}

.yxym table td.r {
  width: 86px;
}

.yxym table td span {
  color: #0000ff;
}

.yxym table td.c u {
  background: #ffff00;
  text-decoration: none;
}

/* SQSX Styles */
.sqsx table td {
  border: 1px solid #f9f9f9;
  padding: 5px 0;
  font-size: 1.2rem;
}

.sqsx table td.l {
  width: 86px;
}

.sqsx table td.c {
  width: auto;
  font-size: 2.2rem;
  font-weight: bold;
  color: #FF0000;
}

.sqsx table td.r {
  width: 86px;
}

.sqsx table td u {
  background-color: #ffff00;
  text-decoration: none;
}

.sqsx table td span {
  color: #0000FF;
}

/* WZZY Styles */
.wzzy ul li {
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 1.2rem;
}

.wzzy ul li dt {
  padding: 8px 5px;
}

.wzzy ul li .r {
  float: right;
  color: #333;
}

.wzzy ul li p {
  border-radius: 4px;
  background: #EEE;
  padding: 4px 5px;
  color: #008000;
}

/* JXCT Styles */
.jxct ul {
  margin-top: 3px;
}

.jxct ul li {
  float: left;
  border: 1px solid #FF8000;
  margin: 1px;
  padding: 5px 0;
  width: calc(16.66% - 2px);
  border-radius: 4px;
  font-size: 1rem;
  color: #0000FF;
}

.jxct ul li font {
  color: #333;
}

/* Choice Styles */
.choice.pad4 {
  padding-bottom: 0;
}

.choice ul.kjnf {
  padding: 5px 0;
  text-align: center;
  background: #E7E7E7;
  color: #fff;
}

.choice ul.kjnf li {
  float: left;
  display: block;
  margin: 2px;
  padding: 4px 0;
  width: calc(16.66% - 4px);
  border: 1px solid #fff;
  background: #fe9f01;
  border-radius: 6px;
}

.choice ul.kjnf li a {
  color: #fff;
}

.choice ul.kjnf li.active {
  background: #fff;
  font-weight: bold;
}

.choice ul.kjnf li.active a {
  color: #333;
}

.choice .yearDialog {
  position: fixed;
  max-width: 720px;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  display: none;
}

.choice .yearDialog ul.kjnf {
  background: #fff;
}

.choice .yearDialog ul.kjnf li {
  border-color: #eee;
  border-radius: 3px;
}

.choice dl {
  line-height: 26px;
  text-align: center;
  padding-bottom: 8px;
  background: #ffffcc;
}

.choice dl.sx {
  font-size: 1.2rem;
  border-bottom: 1px solid #ccc;
}

.choice dl h3 {
  float: left;
  width: 10%;
  line-height: 30px;
  color: #ff0000;
  font-size: 1.2rem;
}

.choice dl ul {
  float: left;
  width: 90%;
}

.choice dl ul li {
  float: left;
  width: 7.69%;
  padding: 2px 0;
}

.choice dl ul li .position_superior {
  width: 35px;
  margin: 0 auto;
  text-align: center;
  border-radius: 3px;
  clear: none;
  cursor: pointer;
  border: 1px solid #ccc;
}

.choice dl ul li .active {
  background: #ec6337;
  color: #fff;
  border-color: #ec6337;
}

.choice dl ul li button.position_superior {
  height: 26px;
  background: #41b45f;
  border-color: #41b45f;
  color: #fff;
}

/* History Styles */
.history.pad4 {
  padding-top: 0;
}

.history ul li dl .opacityOne {
  opacity: 0.1;
}

.history .checked {
  padding: 5px;
  background: #ffffcc;
  color: #999;
  font-size: 14px;
}

.history ul li {
  margin: 3px 0;
  background: #fafafa;
  color: #666;
}

.history ul li::after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.history ul li dt {
  padding-left: 6px;
  height: 1.6rem;
  line-height: 1.6rem;
  font-size: 1.1rem;
}

.history ul li dl {
  text-align: center;
  font-size: 1.2rem;
}

.history ul li dl .ball {
  width: 13%;
  float: left;
}

.history ul li dl .te {
  width: 9%;
  float: left;
}

.history ul li dl .ball p {
  margin: 0 auto;
  background: #fff;
  width: 96%;
  border: 1px solid #e3e3e3;
  border-radius: 1px;
}

.history ul li dl .ball span {
  height: 1.8rem;
  line-height: 1.8rem;
  display: block;
  font-weight: 700;
  border-radius: 2px;
}

.history ul li dl .ball span.blue {
  color: #fff;
  background: #2389E9;
}

.history ul li dl .ball span.green {
  color: #fff;
  background: #1FB61D;
}

.history ul li dl .ball span.red {
  color: #fff;
  background: #E71607;
}

.history ul li dl .ball b {
  display: block;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
}

/* Article Styles */
.article {
  border-radius: 3px;
  font-size: 14px;
  background: #fff;
  color: #333;
  text-align: center;
  font-weight: bold;
}

.article h3 {
  font-size: 1.2rem;
  padding: 15px 8px 8px;
  overflow: hidden;
}

.article h3,
.article dl {
  display: block;
}

.article dl {
  padding: 8px 8px;
  border-top: 1px #ffeda4 dashed;
  border-bottom: 1px #ffeda4 dashed;
  font-weight: 400;
  color: #d2b335;
}

.article ul.content {
  padding: 5px 8px;
  font-size: 1.1rem;
}

.article ul.content li {
  padding: 10px 0;
}

.article ul.content li p {
  padding: 2px 10px;
}

.article ul.content li u {
  color: #ff0000;
  text-decoration: none;
}

.article ul.content li span {
  color: #0000ff;
}

.article ul.content li font {
  color: #ff0000;
}

.article ul.content.tl li {
  text-align: left;
}

.article ul.content li:last-child {
  border-bottom: 0;
}

.article .ts {
  text-align: center;
  padding: 8px 0;
  border-top: 1px #ffeda4 dashed;
}

.article .ts p {
  padding: 6px 0;
}

.article .ts p.ym {
  font-size: 1.26rem;
}

/* TMZS Styles */
.tmzs {
  padding: 6px;
}

.tmzs .anBtn {
  background: #fffef9;
}

.tmzs .anBtn .tmzsResult {
  height: 163px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  padding: 3px;
}

.tmzs .anBtn .tmzsResult .ball_box {
  display: inline-block;
  width: 10%;
  text-align: center;
  float: left;
  padding: 2px;
}

.tmzs .tmzsTable table {
  border-collapse: collapse;
  text-align: center;
  width: 100%;
  margin: 10px 0 2px 0;
  border: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr.borTop {
  border-top: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr.borBtm {
  border-bottom: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr td {
  text-align: center;
  padding: 0 5px;
}

.tmzs .tmzsTable table tr.borBtm td > div {
  margin-bottom: 8px;
}

.tmzs .tmzsTable table tr td h3 {
  font-size: 16px;
  color: #ff0000;
}

.tmzs .tmzsTable table tr td span {
  display: inline-block;
  border: 1px solid #ccc;
  height: 27px;
  line-height: 27px;
  width: 100%;
  border-radius: 4px;
  font-size: 13px;
  color: #fff;
  margin: 8px 0;
  background: #FF9900;
}

.tmzs .tmzsTable table tr td div {
  border: 1px solid #ccc;
  height: 27px;
  line-height: 27px;
  width: 100%;
  border-radius: 4px;
  font-size: 13px;
  margin-top: 8px;
  background: #f6f6f6;
}

.tmzs .tmzsTable table tr td.borRgt {
  border-right: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr td.borRgt div {
  margin-top: 6px;
  margin-bottom: 6px;
}

.tmzs .tmzsTable table tr td .hover {
  border: 1px solid #e57149;
  color: #fff;
  background-color: #e57149;
}

/* Ball Styles */
.blueBall,
.greenBall,
.redBall {
  display: inline-block;
  width: 27px;
  height: 27px;
  background: url("ball.png-v=udf6c913d") no-repeat 0 0;
  background-size: 55px 55px;
  line-height: 23px;
  font-size: 14px;
  color: #303030;
  font-weight: 700;
  text-align: center;
}

.greenBall {
  background-position: -28px 0;
}

.redBall {
  background-position: 0 -28px;
}

/* Footer Styles */
.footer {
  padding: 4px 8px;
  text-align: center;
}

.footer p {
  padding: 4px 0;
}

/* ===== Media Queries ===== */
@media screen and (max-width: 720px) {
  .top .logobox .logo {
    margin-left: 5px;
  }
  
  .top .nav span {
    font-size: 1.1rem;
  }
  
  .box {
    margin: 4px;
  }
  
  .box .choice .yearDialog {
    left: 3px;
    right: 3px;
  }
  
  .box .choice dl.sx h3 {
    line-height: 60px;
  }
  
  .box .choice dl ul li {
    float: left;
    width: 12.5%;
    padding: 2px 0;
  }
  
  .box .choice dl.sx ul li button.position_superior {
    width: 78px;
  }
  
  .box .ptwx ul li {
    font-size: 1.3rem;
  }
  
  .box .ptwx ul li span font {
    font-size: 1.1rem;
  }
  
  .box .yxym table td.c {
    font-size: 1.2rem;
  }
  
  .box .yxym table td.huan dt {
    width: 110px;
    margin: 0 auto;
    text-align: center;
  }
  
  .box .jxct ul li {
    width: calc(25% - 2px);
  }
  
  .box .article ul.content li dt.f8 {
    margin: 0 auto;
    width: 180px;
  }
  
  .box .article ul.content li dt.f14 {
    margin: 0 auto;
    width: 310px;
  }
}