.wnl_box {
  width: 1200px;
  margin: 30px auto 0;
  position: relative;
  border-top: none;
  box-sizing: border-box;
  background-color: #fcf8ef;
}

.wnl_box:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.wnl_box h1 {
  width: 217px;
  height: 41px;
  background-image: url(image/wnl_logo.png);
  background-repeat: no-repeat;
  overflow: hidden;
  position: absolute;
  top: 25px;
  left: 65px;
}

.wnl_box h1 a {
  display: block;
  width: 218px;
  height: 40px;
  line-height: 500px;
  overflow: hidden;
}

.wnl_box p.jianjie {
  height: 24px;
  position: absolute;
  line-height: 100px;
  overflow: hidden;
}

.wnl_head {
  width: 100%;
  height: 90px;
  background-color: #cb7a43;
  background-image: url(image/wnl_bg.png);
  background-repeat: repeat-x;
  padding-left: 408px;
  padding-top: 24px;
  box-sizing: border-box;
  border-radius: 6px 6px 0 0;
}

.wnl_head .select_year {
  float: left;
  display: block;
  width: 108px;
  height: 42px;
  line-height: 42px;
  font-size: 20px;
  background-color: #fcf8ef;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  color: #cb7a43;
  font-weight: bold;
}

.wnl_head .select_year_box {
  display: none;
  width: 400px;
  position: absolute;
  background-color: #fcf8ef;
  padding: 30px 20px 20px;
  top: 66px;
  left: 434px;
  z-index: 89;
  box-shadow: 8px 8px 8px 0 rgba(0, 0, 0, 0.38);
}

.wnl_head .select_year_box.wnl_year_open {
  display: block;
}

.wnl_head .select_year_box:after {
  clear: both;
  display: block;
  content: "";
}

.wnl_head .select_year_box p {
  height: 34px;
  padding-bottom: 10px;
}

.wnl_head .select_year_box button {
  width: 88px;
  height: 30px;
  font-size: 16px;
  border-radius: 4px;
}

.wnl_head .select_year_box button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.wnl_head .select_year_box button:first-child {
  float: left;
}

.wnl_head .select_year_box button:nth-child(2) {
  float: right !important;
}

.wnl_head .select_year_box .select_year_body {
  display: block;
  padding: 16px 0 0 0;
  margin: auto;
  box-sizing: border-box;
  clear: both;
}

.wnl_head .select_year_box .select_year_body:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.wnl_head .select_year_box .select_year_body li {
  float: left;
  display: block;
  width: 100px;
  height: 50px;
  line-height: 50px;
  color: #cb7a43;
  border-top: 1px solid #efd7a6;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}

.wnl_head .select_year_box .select_year_body li:hover {
  color: #915605;
  background-color: #f0f0f0;
}

.wnl_head .select_year_box .select_year_body li.cur {
  color: #fff;
  background-color: #E24E4C;
}

.wnl_head .select_month {
  float: left;
  width: 80px;
  height: 42px;
  line-height: 42px;
  font-size: 20px;
  box-sizing: border-box;
  color: #cb7a43;
  font-weight: bold;
  text-align: center;
  background-color: #fcf8ef;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
}

.wnl_head button {
  float: left;
  width: 26px;
  height: 42px;
  color: #f9efd7;
  font-size: 14px;
  font-weight: normal;
  background-color: #915605;
  border-radius: 5px;
}

.wnl_head button:hover {
  background-color: #794a09;
}

.wnl_head button:active {
  background-color: #876b45;
}

.wnl_head button.year_next {
  margin-right: 28px;
}

.wnl_head button.lt {
  border-radius: 5px 0 0 5px;
}

.wnl_head button.rt {
  border-radius: 0 5px 5px 0;
}

.wnl_head .select_holiday {
  float: left;
  width: 108px;
  height: 42px;
  line-height: 43px;
  font-size: 17px;
  box-sizing: border-box;
  color: #f9efd7;
  font-weight: bold;
  text-align: center;
  background-color: #915605;
  cursor: pointer;
  margin-left: 28px;
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23f9efd7" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: 84px 12px;
  background-size: 20px;
  padding-right: 4px;
}

.wnl_head .select_holiday:hover {
  background-color: #794a09;
}

.wnl_head .bktoday {
  width: 108px;
  font-size: 17px;
  box-sizing: border-box;
  font-weight: bold;
  margin-left: 28px;
}

.wnl_head .bkhuangli {
  float: left;
  display: block;
  width: 108px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  font-size: 17px;
  box-sizing: border-box;
  font-weight: bold;
  margin-left: 28px;
  color: #f9efd7;
  background-color: #915605;
  border-radius: 5px;
}

.wnl_head .bkhuangli:hover {
  background-color: #794a09;
}

.wnl_left {
  float: left;
  width: 350px;
  height: 560px;
  box-sizing: border-box;
  background-color: #f9efd7;
  padding: 0 20px;
  border-left: 2px solid #efd7a6;
  border-bottom: 2px solid #efd7a6;
  border-radius: 0 0 0 6px;
  position: relative;
}

.wnl_left h4 {
  color: #cb7a43;
  font-size: 22px;
  text-align: center;
  margin-top: 24px;
}

.wnl_left p.day {
  font-size: 128px;
  text-align: center;
  color: #e24e4c;
  font-weight: bold;
  font-family: "STHeiti", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  height: 138px;
  line-height: 170px;
  overflow: hidden;
}

.wnl_left p.day.h138 {
  line-height: 138px;
}

.wnl_left p.jie {
  color: #e24e4c;
  font-size: 18px;
  height: 24px;
  text-align: center;
  margin-bottom: 6px;
}

.wnl_left p.jie em {
  color: #27ac54;
  font-style: normal;
}

.wnl_left h3 {
  color: #cb7a43;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}

.wnl_left p.ganzhi {
  color: #cb7a43;
  font-size: 16px;
  text-align: center;
  margin-top: 6px;
}

.wnl_left .yiji {
  border-top: 1px solid #efd7a6;
  height: 132px;
  margin-top: 18px;
  overflow: hidden;
}

.wnl_left .yiji:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.wnl_left .yiji img {
  display: block;
  float: left;
  margin: 42px 14px 0 4px;
}

.wnl_left .yiji p {
  height: 132px;
  font-size: 18px;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
  overflow: hidden;
  box-sizing: border-box;
  display: table-cell;
  vertical-align: middle;
}

.wnl_left .yiji span {
  display: inline-block;
  padding: 3px 4px;
  color: #27ac54;
}

.wnl_left .yiji span.left {
  width: 100%;
}

.wnl_left .yiji.ji {
  margin-top: 0;
}

.wnl_left .yiji.ji span {
  color: #e24e4c;
}

.wnl_left .hl_btn {
  display: block;
  width: 80px;
  height: 26px;
  line-height: 27px;
  text-align: center;
  color: #f9efd7;
  font-size: 14px;
  position: absolute;
  bottom: -1px;
  left: 130px;
  border-radius: 10px 10px 0 0;
  background-color: #915605;
}

.wnl_left .hl_btn:hover {
  background-color: #794a09;
}

.wnl_left .jiantou {
  display: block;
  color: #fcf8ef;
  font-size: 44px;
  position: absolute;
  top: 72px;
  right: -4px;
  transform: scaleY(2.2);
  transform-origin: top;
}

.wnl_left.gongji h4,
.wnl_left.gongji .day,
.wnl_left.gongji .jie,
.wnl_left.gongji h3,
.wnl_left.gongji .ganzhi {
  color: #303030;
}

.wnl_right {
  float: left;
  width: 850px;
  height: 560px;
  padding: 20px 20px 0;
  box-sizing: border-box;
  border-right: 2px solid #efd7a6;
  border-bottom: 2px solid #efd7a6;
  border-radius: 0 0 6px 0;
}

.wnl_right table {
  width: 100%;
  border-collapse: separate;
}

.wnl_right thead tr {
  border-top: none;
}

.wnl_right thead th {
  width: 14.2857%;
  height: 40px;
  font-size: 18px;
  text-align: center;
  font-weight: normal;
}

.wnl_right thead th:nth-last-child(-n + 2) {
  color: #e24e4c;
}

.wnl_right table td {
  position: relative;
  color: #aaa;
  width: 14.2857%;
  height: 78px;
  font-size: 28px;
  text-align: center;
  border-top: 1px solid #efd7a6;
  cursor: pointer;
}

.wnl_right table td span {
  display: block;
  width: 100%;
  height: 20px;
  font-size: 16px;
  font-weight: normal;
  overflow: hidden;
}

.wnl_right table td em {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 16px;
  font-style: normal;
}

.wnl_right table td.isDate {
  font-weight: bold;
  color: #cb7a43;
}

.wnl_right table td.isDate span {
  color: #666;
}

.wnl_right table td.today {
  font-size: 25px;
}

.wnl_right table td.curDate {
  border: 2px solid #E24E4C !important;
  border-radius: 6px;
}

/* 今日格「今」与公历数字：主题红；子级 span 仍用各自行配色（含 OTHER_FESTIVAL 棕色） */
.wnl_right table td.isDate.curDate.today {
  color: #e24e4c;
}

.wnl_right table td.isDate.zhou,
.wnl_right table td.curDate.zhou {
  color: #e24e4c;
}

.wnl_right table td.xiu {
  color: #e24e4c;
  background-color: #fddddd;
}

.wnl_right table td.xiu span {
  color: #ff1111;
}

.wnl_right table td.ban {
  color: #4040ef;
  background-color: #e5e5ef;
}

.wnl_right table td.ban span {
  color: #4040ef;
}

.wnl_right table td.isDate.jieri span {
  color: #ff1111;
}

.wnl_right table td.isDate.jieri_other span {
  color: #8b5a2b;
}

.wnl_right table td.isDate.jieqi span {
  color: #27ac54;
}

.wnl_right table td:hover {
  background-color: #f0f0f0;
}

.wnl_right table td.gongji {
  color: #ffffff !important;
  background-color: #000000 !important;
  border-radius: 6px;
}

.wnl_right table td.curDate.gongji {
  border: 2px solid #7d7d7d !important;
}

.wnl_right table td.gongji span {
  color: #ffffff !important;
}

/* 万年历：节气在上、节日在下时分行；每行着色 */
.wnl_right table td span.wnl_fest_line {
  display: block;
  width: 100%;
  height: auto;
  min-height: 17px;
  line-height: 17px;
  font-size: 14px;
  font-weight: normal;
  overflow: hidden;
}

.wnl_right table td span.wnl_fest_line.wnl_line_jieqi,
.wnl_right table td span.wnl_line_jieqi {
  color: #27ac54;
}

.wnl_right table td span.wnl_fest_line.wnl_line_jieri,
.wnl_right table td span.wnl_line_jieri {
  color: #ff1111;
}

.wnl_right table td span.wnl_fest_line.wnl_line_jieri_other,
.wnl_right table td span.wnl_line_jieri_other {
  color: #8b5a2b;
}

/* 左侧节气行：其它节日（OTHER_FESTIVAL） */
.wnl_left #wnl_jie .wnl-other-fest {
  color: #8b5a2b;
  font-weight: normal;
}
