* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: url("../img/pageBg.png") #EAE3D9 no-repeat;
  background-size: auto;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
#shengxiao nav,
#shengxiao section {
  width: 75rem;
  margin: 0 auto;
}
#shengxiao .pageheader .container {
  width: 75rem;
  margin: 0 auto;
}
#shengxiao .pageheader .container .myheader {
  height: 11.625rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#shengxiao .pageheader .container .myheader .logo {
  display: block;
  background: url("../img/logo.png") no-repeat;
  background-size: 100% 100%;
  width: 26.875rem;
  height: 6.625rem;
}
#shengxiao .pageheader .container .myheader .header-text {
  position: relative;
  width: 40.375rem;
  height: 5.5rem;
  font-size: 1.25rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 2.125rem;
  color: #b1470c;
  opacity: 1;
  text-align: left;
}
#shengxiao .pageheader .container .myheader .header-text:before {
  position: absolute;
  top: .625rem;
  left: -4.375rem;
  margin-right: 4.375rem;
  width: .125rem;
  height: 5rem;
  background: rgba(199, 140, 25, 0.39);
  opacity: 0.1;
  content: "";
}
#shengxiao nav {
  width: 100%;
  height: 4.375rem;
  background: #9d6e2a;
}
#shengxiao nav .container {
  width: 75rem;
  margin: 0 auto;
}
#shengxiao nav .container .tag {
  height: 4.375rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#shengxiao nav .container .tag .tag-item {
  padding: 0rem .75rem;
  height: 100%;
  position: relative;
  font-size: 1.375rem;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 4.375rem;
  color: #ffffff;
  opacity: 1;
  text-decoration: none;
}
#shengxiao nav .container .tag .tag-item i {
  position: absolute;
  top: 1.5rem;
  right: -0.0625rem;
  width: .125rem;
  height: 1.375rem;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}
#shengxiao nav .container .tag .tag-item:last-child::after {
  width: 0rem;
}
#shengxiao nav .container .tag .active {
  background: #a1240e;
}
#shengxiao .check {
  margin-top: 3.125rem;
  display: flex;
  justify-content: space-between;
}
#shengxiao .check .left,
#shengxiao .check .right {
  width: 37rem;
  height: 6.375rem;
  background: #f4f4f4;
  font-size: 3.125rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 6.375rem;
  color: #999999;
  position: relative;
  cursor: pointer;
}
#shengxiao .check .left img,
#shengxiao .check .right img {
  display: inline-block;
  width: 4.625rem;
  height: 4.625rem;
  position: absolute;
  top: .875rem;
  left: 1.5rem;
}
#shengxiao .check .left .text,
#shengxiao .check .right .text {
  margin-left: 8.125rem;
  display: inline-block;
}
#shengxiao .Active {
  background: #d29412 !important;
  color: #ffffff !important;
}
#shengxiao .banner {
  height: 9.125rem;
  background: #ffffff;
  padding: 2.5rem;
  margin: 1rem auto;
}
#shengxiao .banner p {
  margin: 0;
  font-size: 1.5rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 2.625rem;
  color: #888888;
}
#shengxiao .banner2 {
  height: 9.125rem;
  background: #FFFDEB;
  padding: 2.5rem;
  margin: 1rem auto;
}
#shengxiao .banner2 p {
  margin: 0;
  font-size: 1.5rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 2.625rem;
  color: #888888;
}
#shengxiao .gary {
  position: fixed;
  top: 0;
  left: 0;
  width: 200vw;
  height: 200vh;
  background: rgba(0, 0, 0, 0.08);
}
#shengxiao .zodiac .zodiac-ul,
#shengxiao .horoscope .zodiac-ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li,
#shengxiao .horoscope .zodiac-ul .zodiac-li {
  position: relative;
  width: 18.375rem;
  height: 25rem;
  margin-top: .25rem;
  margin-right: .25rem;
  margin-bottom: .25rem;
  background: #ffffff;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li img,
#shengxiao .horoscope .zodiac-ul .zodiac-li img {
  display: block;
  width: 11.875rem;
  height: 10.625rem;
  margin: 1.5rem auto;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li .title,
#shengxiao .horoscope .zodiac-ul .zodiac-li .title {
  text-align: center;
  color: #888888;
  margin: 1.5rem auto;
  font-size: 1.375rem;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li .year ul,
#shengxiao .horoscope .zodiac-ul .zodiac-li .year ul {
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 2rem;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li .year ul li,
#shengxiao .horoscope .zodiac-ul .zodiac-li .year ul li {
  margin-bottom: .75rem;
  width: 4.125rem;
  height: 1.625rem;
  background: #f7ebdc;
  opacity: 1;
  border-radius: .25rem;
  font-size: 1.125rem;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 1.625rem;
  color: #cf9137;
  text-align: center;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li .textbutton,
#shengxiao .horoscope .zodiac-ul .zodiac-li .textbutton {
  position: absolute;
  right: 5rem;
  bottom: 1.125rem;
  vertical-align: middle;
  font-size: 1.375rem;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 1.875rem;
  color: #ea4e4e;
  cursor: pointer;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li .textbutton .icon,
#shengxiao .horoscope .zodiac-ul .zodiac-li .textbutton .icon {
  position: absolute;
  left: -1.875rem;
  bottom: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-block;
  background: url("../img/sx-liIcon.png") no-repeat;
  background-size: contain;
  margin-right: .3125rem;
}
#shengxiao .zodiac .zodiac-ul .zodiac-li:nth-child(4n),
#shengxiao .horoscope .zodiac-ul .zodiac-li:nth-child(4n) {
  margin-right: 0rem;
}
#shengxiao .zodiac .detail,
#shengxiao .horoscope .detail {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 37.5rem;
  height: 37.5rem;
  background: #ffffff;
  box-shadow: 0rem .1875rem .375rem rgba(0, 0, 0, 0.16);
  padding: 0 1.625rem;
  z-index: 2;
}
#shengxiao .zodiac .detail .detail-title,
#shengxiao .horoscope .detail .detail-title {
  padding: 1.25rem 12.4375rem 1rem 12.4375rem;
  font-size: 1.875rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 1.875rem;
  text-align: center;
  color: #cf9137;
  border-bottom: .0625rem solid #dddddd;
}
#shengxiao .zodiac .detail .subtitle,
#shengxiao .horoscope .detail .subtitle {
  margin-top: 1.5625rem;
  margin-bottom: 1.5625rem;
  font-size: 1.125rem;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 1.5625rem;
  color: #666666;
}
#shengxiao .zodiac .detail .subtitle .red,
#shengxiao .horoscope .detail .subtitle .red {
  background: #ff6969;
  color: #fff;
  border-radius: .25rem;
  padding: .125rem .25rem;
}
#shengxiao .zodiac .detail .poem,
#shengxiao .horoscope .detail .poem {
  position: relative;
}
#shengxiao .zodiac .detail .poem img,
#shengxiao .horoscope .detail .poem img {
  display: inline-block;
  width: 11.875rem;
  height: 10.375rem;
}
#shengxiao .zodiac .detail .poem .poem-text,
#shengxiao .horoscope .detail .poem .poem-text {
  position: absolute;
  top: 0;
  left: 14.5rem;
  width: 10rem;
  height: 10rem;
  display: inline-block;
  color: #c9821a;
  font-size: 1.25rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 1.875rem;
  color: #d68e25;
}
#shengxiao .zodiac .detail .poem .poem-text .title,
#shengxiao .horoscope .detail .poem .poem-text .title {
  margin-left: 3rem;
  width: 3rem;
  height: 1.5rem;
  font-size: 1.5rem;
  font-family: Source Han Sans CN;
  font-weight: bold;
  line-height: 1.5rem;
  color: #c9821a;
  margin-top: 0rem;
  margin-bottom: .875rem;
}
#shengxiao .zodiac .detail .detail-content,
#shengxiao .horoscope .detail .detail-content {
  width: 33.75rem;
  position: absolute;
  bottom: 3.125rem;
  font-size: 1.125rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 2.25rem;
  color: #666666;
}
#shengxiao .zodiac .detail .detail-content .yellow,
#shengxiao .horoscope .detail .detail-content .yellow {
  color: #F4A600;
}
#shengxiao .zodiac .detail .detail-content .red,
#shengxiao .horoscope .detail .detail-content .red {
  color: #FF6969;
}
#shengxiao .zodiac .detail .close,
#shengxiao .horoscope .detail .close {
  position: absolute;
  top: .75rem;
  right: .875rem;
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  background: url("../img/close.png") no-repeat;
  background-size: contain;
  cursor: pointer;
}
#shengxiao .zodiac .detail2,
#shengxiao .horoscope .detail2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 53.75rem;
  height: 52.5rem;
  background: #ffffff;
  box-shadow: 0rem .1875rem .375rem rgba(0, 0, 0, 0.16);
  padding: 0 1.8125rem;
  z-index: 2;
}
#shengxiao .zodiac .detail2 .detail-title,
#shengxiao .horoscope .detail2 .detail-title {
  padding: 1.25rem 18.125rem 1rem 18.75rem;
  font-size: 1.875rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  line-height: 1.875rem;
  text-align: center;
  color: #cf9137;
  border-bottom: .0625rem solid #dddddd;
}
#shengxiao .zodiac .detail2 .close,
#shengxiao .horoscope .detail2 .close {
  position: absolute;
  top: .75rem;
  right: 1.875rem;
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  background: url("../img/close.png") no-repeat;
  background-size: contain;
  cursor: pointer;
}
#shengxiao .zodiac .detail2 .subtitle,
#shengxiao .horoscope .detail2 .subtitle {
  display: flex;
  margin-top: 2.5rem;
}
#shengxiao .zodiac .detail2 .subtitle .left,
#shengxiao .horoscope .detail2 .subtitle .left {
  background: #FFFDEB;
  width: 13.75rem;
  height: 20rem;
  margin-right: 1.25rem;
}
#shengxiao .zodiac .detail2 .subtitle .left img,
#shengxiao .horoscope .detail2 .subtitle .left img {
  width: 12.625rem;
  height: 12.625rem;
  display: block;
}
#shengxiao .zodiac .detail2 .subtitle .left .big,
#shengxiao .horoscope .detail2 .subtitle .left .big {
  font-size: 1.75rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 1.75rem;
  color: #E3B65B;
  text-align: center;
  margin: 1.25rem auto .5rem;
}
#shengxiao .zodiac .detail2 .subtitle .left .small,
#shengxiao .horoscope .detail2 .subtitle .left .small {
  font-size: 1.125rem;
  font-family: PingFang SC;
  font-weight: 300;
  line-height: 1.5625rem;
  color: #E3B65B;
  text-align: center;
  margin: 0;
}
#shengxiao .zodiac .detail2 .subtitle .right p,
#shengxiao .horoscope .detail2 .subtitle .right p {
  margin: 0;
  color: #555555;
  font-size: 1.25rem;
  font-weight: 500;
  font-family: Source Han Sans CN;
}
#shengxiao .zodiac .detail2 .subtitle .right .text,
#shengxiao .horoscope .detail2 .subtitle .right .text {
  margin-top: 3.125rem;
  font-size: 1.25rem;
  line-height: 2.5rem;
  color: #555555;
}
#shengxiao .zodiac .detail2 .content,
#shengxiao .horoscope .detail2 .content {
  margin-top: 2.125rem;
}
#shengxiao .zodiac .detail2 .content .yel,
#shengxiao .horoscope .detail2 .content .yel {
  color: #BE7914;
  font-size: 1.875rem;
}
#shengxiao .zodiac .detail2 .content p,
#shengxiao .horoscope .detail2 .content p {
  margin: 1.5rem 0rem 1.5rem 3.875rem;
  font-family: Source Han Sans CN;
  line-height: 2rem;
  font-size: 1.25rem;
  position: relative;
}
#shengxiao .zodiac .detail2 .content p .red,
#shengxiao .horoscope .detail2 .content p .red {
  position: absolute;
  top: 0;
  left: -3.875rem;
  color: #EA6B6B;
}
#shengxiao .zodiac .detail2 .content p .blue,
#shengxiao .horoscope .detail2 .content p .blue {
  position: absolute;
  top: 0;
  left: -3.875rem;
  color: #5380E9;
}
#shengxiao .zodiac .detail2 .content p .green,
#shengxiao .horoscope .detail2 .content p .green {
  position: absolute;
  top: 0;
  left: -3.875rem;
  color: #54B867;
}
#shengxiao .zodiac .topup,
#shengxiao .horoscope .topup {
  top: 29.125rem;
}
#shengxiao .zodiac .todown,
#shengxiao .horoscope .todown {
  top: 48.125rem;
}
#shengxiao .zodiac .top,
#shengxiao .horoscope .top {
  top: 24.375rem;
}
#shengxiao .zodiac .middle,
#shengxiao .horoscope .middle {
  top: 49.875rem;
}
#shengxiao .zodiac .bottom,
#shengxiao .horoscope .bottom {
  top: 75.375rem;
}
#shengxiao .horoscope .zodiac-ul .zodiac-li {
  background: #FFFDEB;
}
#shengxiao .horoscope .zodiac-ul .zodiac-li img {
  width: 12.625rem;
  height: 12.625rem;
}
#shengxiao .horoscope .zodiac-ul .zodiac-li .title {
  font-size: 1.875rem;
  font-weight: 500;
  color: #333333;
  margin: .75rem auto .5rem;
}
#shengxiao .horoscope .zodiac-ul .zodiac-li .month {
  font-size: 1.375rem;
  color: #E3B65B;
  text-align: center;
}
#shengxiao .horoscope .zodiac-ul .zodiac-li .textbutton .icon {
  background: url("../img/sx-star.png") no-repeat;
  background-size: contain;
}
#shengxiao .down {
  margin: 7.875rem auto 12.5rem;
  height: 1rem;
}
#shengxiao .down img {
  width: 100%;
  height: 100%;
}
#shengxiao .zodiac-footer {
  margin: 0rem auto 26.375rem;
}
#shengxiao .zodiac-footer .title {
  font-size: 1.375rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 1.375rem;
  color: #666666;
}
#shengxiao .zodiac-footer .text {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-family: Source Han Sans CN;
  font-weight: 300;
  line-height: 1.625rem;
  color: #999999;
}
#shengxiao .zodiac-footer .text a {
  font-size: 1.125rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 1.625rem;
  color: #efbc57;
}

@media screen and (max-width: 1180px) {
  html {
    font-size: 10px !important;
  }

  .container .tag .tag-item{
    font-size: 1.3rem !important;
  }
  input{
    -webkit-appearance : none ;
  }
  #shengxiao .zodiac .detail .detail-title, #shengxiao .horoscope .detail .detail-title{
    padding: 1.25rem 0rem 1rem 0rem;
  }
  #shengxiao .zodiac .detail2 .detail-title, #shengxiao .horoscope .detail2 .detail-title{
    padding: 1.25rem 0rem 1rem 0rem;
  }
}
