@charset "UTF-8";

html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #666;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

#container {
  width: 40%;
}

#close {
  position: absolute;
  display: block;
  right: 60%;
  top: 0;
  margin-right: 10px;
  margin-top: 10px;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  font-size: 15px;
  color: #999;
  border-radius: 50%;
  border: 1px solid #eee;
  z-index: 999;
}

#close:hover {
  color: #fff;
  background-color: #333;
}

#menu {
  width: 240px;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 10px;
  box-shadow: 0 0 8px 4px rgba(60, 60, 60, .1);
}

.doc {
  flex: 1;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 10px;
}

.doc .logo {
  position: relative;
  font-size: 50px;
  font-weight: 900;
  color: #409eff;
  text-align: center;
  text-shadow: 5px 11px 4px rgba(0, 0, 0, .1);
  z-index: -1;
}

.doc .logo img {
  position: absolute;
  left: 50%;
  margin-left: 30px;
  top: 1px;
}

.doc .qq {
  position: relative;
  float: right;
  background-color: #48a3e7;
  color: #fff;
  font-size: 14px;
  height: 22px;
  line-height: 22px;
  padding: 0 5px;
}

.doc .qq a {
  position: absolute;
  display: block;
  left: -95px;
}

.doc h1 {
  margin: 48px 0 16px;
  padding-top: 24px;
  letter-spacing: -.02em;
  line-height: 32px;
  font-size: 24px;
  position: relative;
}

.doc h2 {
  margin: 32px 0 0;
  letter-spacing: -.01em;
  line-height: 28px;
  font-size: 20px;
  position: relative;
}

.doc h3 {
  margin: 26px 0 0;
  letter-spacing: -.01em;
  line-height: 28px;
  font-size: 16px;
  position: relative;
}

.doc p {
  line-height: 28px;
  margin: 16px 0;
  color: rgba(60, 60, 67);
}

.doc a, #menu a {
  color: #4565d8;
  text-decoration: none;
  padding: 0 5px;
}

.doc a:hover, #menu a:hover {
  text-decoration: 2px underline dotted;
}

#menu a {
  display: block;
  position: relative;
  line-height: 32px;
  white-space: nowrap;
}

.doc .block {
  border: 1px solid #c2c2c4;
  border-radius: 8px;
  padding: 16px 16px 8px;
  line-height: 24px;
  background-color: #f6f6f7;
  color: rgba(60, 60, 67, 0.8);
}

.doc p code, .doc .block code {
  margin: 0 5px;
  border-radius: 4px;
  padding: 3px 6px;
  background-color: #476582;
  color: #fff;
}

.doc p u, .doc h1 u, .doc h2 u, .doc h3 u, #menu a u {
  margin: 0 5px;
  border-radius: 4px;
  padding: 3px 6px;
  background-color: #67c23a;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.doc h1 u, .doc h2 u, .doc h3 u, #menu a u {
  line-height: 12px;
  font-size: 12px;
  position: absolute;
  top: 20px;
}

#menu a u {
  top: 7px;
}

#demo-legal-holiday {
  margin: 20px 0;
  clear: both;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px;
  -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
}

#demo-legal-holiday p {
  margin: 0;
  line-height: 32px;
}

.month-calendar, #demo-huangli {
  display: none;
  position: relative;
  margin: 20px auto;
  width: 588px;
  clear: both;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px;
  -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
}

.month-calendar *, #demo-huangli * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.month-calendar .month {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 80px;
  width: 100%;
  height: 442px;
  text-align: center;
  line-height: 442px;
  color: #999;
  opacity: 0.1;
  filter: alpha(opacity=10);
}

.month-calendar ul {
  display: block;
  clear: both;
  padding-top: 20px;
}

.month-calendar li {
  position: relative;
  list-style: none;
  float: left;
  display: block;
  width: 84px;
  height: 54px;
  text-align: center;
}

.month-calendar div {
  position: relative;
  margin: 0 auto;
  width: 80px;
  height: 54px;
  border-radius: 10px;
}

.month-calendar div.prev, .month-calendar div.next {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  font-size: 0;
  cursor: pointer;
}

.month-calendar div.prev:before, .month-calendar div.next:before {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.month-calendar div.prev:before {
  left: 5px;
  border-right-color: #e2e2e2;
}

.month-calendar div.next:before {
  right: 5px;
  border-left-color: #e2e2e2;
}

.month-calendar div.prev {
  left: 0;
}

.month-calendar div.next {
  right: 0;
}

.month-calendar ul.week {
  padding-top: 0;
}

.month-calendar ul.week li {
  height: 32px;
  line-height: 32px;
}

.month-calendar li b {
  display: block;
  font-weight: normal;
  font-size: 24px;
}

.month-calendar li i {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: rgba(30, 31, 36, .5);
  white-space: nowrap;
}

.month-calendar ul li.weekend {
  color: #f11;
}

.month-calendar li.holiday {
  color: #eb3333;
}

.month-calendar li.holiday div {
  background: rgba(235, 51, 51, .05);
}

.month-calendar li.holiday b, .month-calendar li.holiday i {
  color: #eb3333;
}

.month-calendar li.holiday-work div {
  background: rgba(120, 120, 120, .05);
}

.month-calendar li.holiday-work b, .month-calendar li.holiday-work i {
  color: rgba(30, 31, 36, .5);
}

.month-calendar li u {
  position: absolute;
  right: -5px;
  top: -5px;
  background-color: #4e5877;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  padding: 1px 2px;
  border-radius: 4px;
  text-decoration: none;
}

.month-calendar li.holiday u {
  background-color: #eb3333;
}

.month-calendar li.holiday-work u {
  background-color: #4e5877;
}

.month-calendar li.gray {
  opacity: 0.3;
}

.month-calendar li.today div {
  background-color: #4e6ef2;
  color: #fff;
}

.month-calendar li.today i {
  color: #fff;
}

.month-calendar li.today u {
  background-color: #6b88ff;
}

.month-calendar li.today b {
  color: #fff;
}

ul.line {
  display: block;
  list-style: none;
  zoom: 1;
  overflow: hidden;
}

ul.line li {
  position: relative;
  margin-right: 5px;
  float: left;
  text-align: center;
  border-bottom: 2px solid #000;
  padding: 0 4px;
}

ul.line li::before, ul.line li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 6px;
  background-color: #000;
}

ul.line li::after {
  left: auto;
  right: 0;
}

ul.line li.node {
  border: 2px solid #000;
}

ul.line li.node::before, ul.line li.node::after {
  display: none;
}

.languages {
  position: fixed;
  right: 20px;
  top: 40px;
  background: #fff;
  z-index: 9999;
  width: 80px;
  padding: 10px;
  -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
  border-radius: 10px;
}

.languages ul {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.languages ul li {
  display: block;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 5px;
}

.languages ul li:last-child {
  margin-bottom: 0;
}

.languages ul li a {
  display: block;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 13px;
}

.languages ul li.active {
}

.languages ul li.active a {
  background-color: #4565d8;
  color: #fff;
}

.lang-other {
  display: none;
}

#demo-huangli {
  text-align: center;
  color: #888;
}

#demo-huangli i, #demo-huangli li {
  font-style: normal;
  font-size: 14px;
}

#demo-huangli .solar {
  font-size: 16px;
  margin-bottom: 10px;
}

#demo-huangli .lunar {
  font-size: 22px;
  color: #f11;
  margin-bottom: 10px;
}

#demo-huangli .gz {
  font-size: 16px;
  margin-bottom: 10px;
}

#demo-huangli table {
  width: 100%;
  border-collapse: collapse;
  border-style: none;
  border-right: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

#demo-huangli table td {
  border-left: 1px solid #e2e2e2;
  border-top: 1px solid #e2e2e2;
  padding: 3px;
}

#demo-huangli table td div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-between;
  margin: 0 10px;
}

#demo-huangli table td div u {
  flex: 1;
  text-decoration: none;
  text-align: center;
}

#demo-huangli table td.h div {
  flex-direction: row;
}

#demo-huangli table td.v b, #demo-huangli table td.v i {
  width: 1.2em;
  display: block;
  margin: 0 auto;
}

#demo-huangli table td b {
  font-weight: normal;
  color: #c69c70;
}

#demo-huangli table td ul {
}

#demo-huangli table td li {
  list-style: none;
  padding: 0 3px;
  float: left;
}

#demo-huangli .yi, #demo-huangli .ji {
  clear: both;
  overflow: hidden;
  padding-left: 30px;
  position: relative;
  line-height: 26px;
  margin-bottom: 10px;
}

#demo-huangli .yi::before, #demo-huangli .ji::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  background-color: #4e6ef2;
  color: #fff;
  font-size: 12px;
}

#demo-huangli .yi::before {
  content: '宜';
}

#demo-huangli .ji::before {
  content: '忌';
  background-color: #f11;
}

#demo-huangli .yi i, #demo-huangli .ji i {
  float: left;
  margin: 0 3px;
}

#demo-eight-char {
  position: relative;
  border-radius: 16px;
  -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .08);
  width: 1080px;
  height: 480px;
}
#demo-eight-char * {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
#demo-eight-char .eight-char {
  position: relative;
  left: 0;
  width: 300px;
}
#demo-eight-char .eight-char::before {
  content: '';
  position: absolute;
  left: 305px;
  top: 0;
  width: 0;
  height: 100%;
  border-right: 1px solid #e2e2e2;
}
#demo-eight-char ul, #demo-eight-char ol {
  list-style: none;
  overflow: hidden;
  zoom: 1;
}
#demo-eight-char ul li {
  display: block;
  width: 60px;
  float: left;
  text-align: center;
  padding: 10px 0;
  cursor: default;
}
#demo-eight-char ul li.title {
  color: #aaa;
}
#demo-eight-char ol li {
  display: block;
  padding: 0;
}
#demo-eight-char .form {
  padding: 10px;
  border-bottom: 1px solid #e2e2e2;
}
#demo-eight-char label {
  margin-right: 20px;
}
#demo-eight-char input, #demo-eight-char select {
  margin:0 3px;
  width: 50px;
  padding: 3px 0;
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  text-align: center;
  background-color: #fff;
}
#demo-eight-char b {
  font-weight: normal;
}
#demo-eight-char i {
  font-style: normal;
}
#demo-eight-char u {
  text-decoration: none;
}
#demo-eight-char .fortune {
  position: absolute;
  left: 300px;
  top: 60px;
}
#demo-eight-char .fortune b, #demo-eight-char .fortune i, #demo-eight-char .fortune u, #demo-eight-char .fortune span {
  white-space: nowrap;
  display: block;
}
#demo-eight-char .fortune i, #demo-eight-char .fortune span {
  font-size: 12px;
  color: #b2b2b2;
}
#demo-eight-char .fortune .flex {
  margin-left: 15px;
  margin-bottom: 10px;
  margin-right: 10px;
  display: flex;
  justify-content: space-between;
}
#demo-eight-char .fortune .flex span {
  color: #333;
  font-size: 14px;
}

#demo-eight-char li.selected {
  background-color: #4e6ef2;
  color: #fff;
}
#demo-eight-char li.selected i, #demo-eight-char li.selected span {
  color: #e2e2e2;
}
#demo-eight-char .fortune ul li:hover {
  background-color: #f2f2f2;
  color: #4e6ef2;
}
#demo-eight-char .fortune ul li:hover i, #demo-eight-char .fortune ul li:hover span{
  color: #4e6ef2;
}
#demo-eight-char .fortune ul li.title:hover, #demo-eight-char .fortune ul:last-child li:hover {
  background-color: transparent;
  color: #000;
}
#demo-eight-char .fortune ul li.title:hover {
  color: #aaa;
}