@charset "utf-8";

/* CSS Document */
.top-logo {
  border-bottom: 1px solid #e6e6e6;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.row1 {
  width: 100%;
  text-align: center;
}

.row1:after {
  display: block;
  content: "";
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  top: -1px;
  z-index: -1;
}

.row1-title {
  display: inline-block;
  border-bottom: 1px solid #996a40;
  font-size: 24px;
  font-weight: 600;
  color: #996a40;
  line-height: 60px;
}

/*开始算命*/
.row2 {
  width: 96%;
  margin: 20px auto;
}

.row2-cont {
  line-height: 23px;
}

.row2-cont a {
  color: #996a40;
}

.row2-box {
  width: 100%;
  margin: 20px auto;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.row2-box ul {
  width: 90%;
  margin: 20px auto;
}

.row2-box ul li {
  padding: 8px 0;
}

.row2-box span {
  color: #996a40;
}

.label1 input {
  width: 100px;
  height: 30px;
  border: 1px solid #e5e5e5;
  padding: 0 5px;
}

.label1 label,
.label2 label,
.label3 label {
  margin-right: 8px;
}

.label2 input {
  margin-right: 3px;
}

.label3 select,
.label4 select {
  height: 30px;
  border: 1px solid #e5e5e5;
}

.label3 em,
.label4 em {
  font-style: normal;
  color: #996a40;
}

.star-btn {
  width: 150px;
  background: #996a40;
  color: #fff;
  border-radius: 2px;
  font-size: 18px;
  padding: 5px 30px;
}

.label5 {
  padding-left: 45px !important;
  margin-top: 10px;
}

.yixue {
  background: #996a40;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  top: 6px;
  right: -30px;
  height: 30px;
  line-height: 30px;
  width: 100px;
  overflow: hidden;
  text-align: center;
  transform: rotate(45deg);
}

/*热门文章*/
.news-line {
  width: 96%;
  margin: 0 auto;
}

.news-line-type {
  width: 100%;
  border: 1px solid #e5e5e5;
  height: 45px;
  line-height: 45px;
  border-radius: 4px;
  overflow: hidden;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.news-line-type h2 {
  background: #996a40;
  color: #fff;
  padding: 0 20px;
  float: left;
  font-weight: 600;
}

.news-line-top {
  float: right;
  text-align: right;
}

.news-line-top a {
  padding: 0 8px;
  color: #996a40;
}

.news-line ul {
  position: relative;
}

.news-line ul::before {
  width: 1px;
  height: 100%;
  background: #ecf0f4;
  content: "";
  position: absolute;
  left: 2px;
}

.news-line ul li {
  padding-left: 10px;
  padding-top: 15px;
}

.news-row1::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50px;
  position: relative;
  left: -11px;
}

.news-line ul li .news-row1::before {
  background: #d3b596;
}

.news-line ul li:nth-child(2n) .news-row1::before {
  background: #b4b4b4;
}

.news-sort {
  display: inline-block;
  padding: 2px 10px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #fff;
  margin-right: 10px;
}

.news-line ul li .news-sort {
  background: #d3b596;
}

.news-line ul li:nth-child(2n) .news-sort {
  background: #b4b4b4;
}

.news-title {
  padding: 10px 0;
  font-weight: 600;
  font-size: 16px;
}

.news-about {
  color: #3e4a59;
  font-size: 14px;
}

/*今日老黄历*/
.box-line {
  width: 96%;
  margin: 10px auto;
  border: 1px solid #e5e5e5;
  float: left;
}

.box-line-type {
  width: 100%;
  height: 45px;
  line-height: 45px;
  border-radius: 4px;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.box-line-type h2 {
  background: #996a40;
  color: #fff;
  padding: 0 20px;
  float: left;
  font-weight: 600;
}

.box-line-right {
  float: right;
  text-align: right;
}

.box-line-right a {
  padding: 0 8px;
  color: #996a40;
}

.box-line-ul {
  padding: 10px;
}

.hl-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin: 20px auto;
}

.hl-title h3,
.hl-title h4 {
  font-weight: 600;
  font-size: 20;
}

.box-line-ul ul {
  border-top: 1px dashed #e5e5e5;
}

.box-line-ul li {
  border-bottom: 1px dashed #e5e5e5;
  padding: 10px 0;
  color: #996a40;
  overflow: hidden;
}

.hl-icon {
  width: 32px;
  height: 32px;
  float: left;
  margin-right: 5px;
}

.hl-yi {
  background: url("../images/yi.png") no-repeat 0 0;
  background-size: 100% 100%;
}

.hl-ji {
  background: url("../images/ji.png") no-repeat 0 0;
  background-size: 100% 100%;
}

.hl-chong {
  background: url("../images/chong.png") no-repeat 0 0;
  background-size: 100% 100%;
}

.hl-item span {
  padding: 0 5px;
  word-wrap: break-word;
  display: inline-block;
}

.box-link {
  margin-top: 10px;
}

.box-link a {
  display: inline-block;
  width: calc(25% - 6px);
  background: #f1e8e0;
  margin: 5px 0;
  border: 1px solid #dfc8b3;
  border-radius: 2px;
  margin-right: 8px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  position: relative;
  overflow: hidden;
  float: left;
}

.box-link a:nth-child(4n) {
  margin-right: 0;
}

.box-link i {
  display: inline-block;
  color: #996a40;
  position: absolute;
  top: -15px;
  right: 5px;
  font-size: 30px;
}

.box-link-3 {
  margin-top: 10px;
}

.box-link-3 a {
  display: inline-block;
  width: calc(33% - 5px);
  background: #f1e8e0;
  margin: 5px 0;
  border: 1px solid #dfc8b3;
  border-radius: 2px;
  margin-right: 8px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  float: left;
}

.box-link-3 a:nth-child(3n) {
  margin-right: 0;
}

/*在线测试*/
.test-online {
  width: 96%;
  margin: 20px auto;
}

.test-online li {
  padding: 5px 0;
  float: left;
  width: 100%;
}

.test-online li input,
.test-online li select {
  display: inline-block;
  width: calc(33.333% - 2px);
  height: 45px;
  border: 1px solid #e0e0e0;
  border-right: 0;
  padding: 0 5px;
  margin: 0;
  float: left;
}

.test-online li input.test-btn {
  display: inline-block;
  width: 33.3333%;
  height: 45px;
  line-height: 45px;
  background: #d3b596;
  color: #fff;
  text-align: center;
}

.test-online li .input-2 {
  width: calc(66.666% - 3px);
}

/*资讯*/
.home-news {
  width: 96%;
  margin: 10px auto;
}

.home-news-dl {
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

.home-news-dl dt {
  width: 37%;
  float: left;
}

.home-news-dl dd {
  width: 60%;
  float: right;
}

.home-news-dl dd h3 {
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-about {
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 5px 0;
}

.news-time {
  font-size: 10px;
  color: #999;
}

.home-news-ul li {
  padding: 10px 0;
  border-bottom: 1px dashed #e5e5e5;
  overflow: hidden;
  width: 100%;
  overflow: hidden;
}

.icon1 {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #333;
  border-radius: 20px;
  margin-right: 5px;
  position: relative;
  top: -3px;
}

.home-news-ul li a {
  display: inline-block;
  width: calc(100% - 75px);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-ul li span {
  display: inline-block;
  color: #999;
  float: right;
  width: 70px;
  font-size: 12px;
  position: relative;
  top: 2px;
}

/*内页链接*/
.det-link {
  width: 96%;
  margin: 0 auto;
}

.det-link .box-link a {
  background: #fff;
}

.det-link .box-link a.on {
  background: #dfc8b3;
}

.det-link .box-link a:active {
  background: #f1e8e0;
}

/*八字算命*/
.det-cont {
  width: 96%;
  margin: 0 auto;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  margin-top: 30px;
  padding: 5px;
  position: relative;
  overflow: hidden;
}

.det-row1-title h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
  line-height: 30px;
  color: #996a40;
}

.det-row1-title a {
  color: #996a40;
}

.det-cont .yixue {
  background: #996a40;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  top: 6px;
  left: -30px;
  height: 30px;
  line-height: 30px;
  width: 100px;
  overflow: hidden;
  text-align: center;
  transform: rotate(-45deg);
}

/*内页*/
.det-list-box {
  width: 100%;
  margin: 30px auto;
  float: left;
}

.det-list-type {
  display: block;
  /* width: 100%; */
  border: 1px solid #e5e5e5;
  background: #f6f6f6;
  font-size: 20px;
  font-weight: bold;
  /* height: 40px; */
  line-height: 40px;
  /* border-left: 5px solid #996a40; */
  color: #996a40;
  /* padding-left: 10px; */
}

.det-list-type a {
  float: right;
  padding-right: 5px;
  font-size: 14px;
  font-weight: normal;
  color: #996a40;
}

.det-list-text p {
  margin-top: 15px;
  line-height: 23px;
}

.det-list-text p img{
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.det-list-type2:after {
  width: 100%;
  content: "";
  display: block;
  border-bottom: 1px solid #e5e5e5;
}

.det-list-type2 {
  height: 40px;
  line-height: 40px;
  margin-bottom: 20px;
}

.det-list-type2 span {
  font-size: 16px;
  font-weight: 600;
  color: #996a40;
  border-bottom: 2px solid #996a40;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  position: relative;
  top: 2px;
}

.det-list-type2 a {
  float: right;
  color: #996a40;
}

.det-list-type3 {
  display: block;
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #f6f6f6;
  font-size: 20px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  color: #996a40;
}

.det-list-type3 span {
  background: #996a40;
  color: #fff;
  padding: 0 10px;
  display: inline-block;
}

.row2-box2 {
  background: #fff;
}

/*表格*/
.det-table {
  margin: 15px 0;
}

.det-table th,
.det-table td {
  text-align: center;
  color: #fff;
  padding: 5px 0;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.det-table th {
  background: #996a40;
}

.det-table tr td {
  background: #b9b9b9;
}

.det-table tr:nth-child(odd) td {
  background: #d9d9d9;
}

.det-list-box .box-link-3 a {
  background: #fff;
  border: 1px solid #cdcdcd;
  margin-right: 4px;
}

/*新闻*/
.news-type {
  width: 96%;
  /* margin: 10px auto; */
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
  float: left;
}

.news-type dl {
  overflow: hidden;
}

.news-type dt {
  width: 48px;
  float: left;
}

.news-type dt a {
  background: #996a40;
  color: #fff;
}

.news-type dd {
  width: calc(100% - 48px);
  float: left;
}

.news-type a {
  display: inline-block;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #efefef;
  border-radius: 2px;
}

.news-type dd a {
  margin-left: 5px;
  margin-bottom: 5px;
}

.news-type dd a.on {
  background: #dfc8b3;
}

.news-list {
  width: 96%;
  margin: 0 auto;
  float: left;
}

.news-list h2 {
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.qa-title {
  font-weight: bold;
  font-size: 18px;
}

.qa-content {
  line-height: 23px;
  font-size: 14px;
  margin-top: 5px;
  color: #999;
}

.news-list li {
  border-bottom: 1px dashed #e8e8e8;
  padding: 15px 0;
  border-radius: 6px;
  margin-bottom: 10px;
}

.lgray-btn {
  background: #f1e8e0;
  color: #996a40;
  padding: 2px 5px;
}

.news-icon span {
  display: inline-block;
  margin-right: 8px;
}

/*详情页*/
.news-detail {
  background: #fff;
  padding-bottom: 15px;
  float: left;
}


.curdetedit .iconfont {
  font-size: 12px;
}

.detail-dis p {
  margin-top: 10px;
  /* text-indent: 2em; */
}

.curdetedit {
  border-bottom: 1px solid #efefef;
  padding-bottom: 10px;
  text-align: center;
}

.curdetedit span {
  padding: 0 5px;
}

.detail-dis {
  line-height: 23px;
}

.news-u-n li {
  padding: 5px 0;
}

.wx-share {
  width: 96%;
  margin: 10px auto;
  padding: 10px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.wx-ul li {
  float: left;
  line-height: 40px;
  position: relative;
}

.wx-ul li a {
  background: #996a40;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 10px;
}

.wx-show {
  text-align: center;
  line-height: 0;
  position: absolute;
  bottom: 40px;
  left: 0;
}

.wx-ewm {
  border: 4px solid #b2b2b2;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
}

.wx-ewm-up {
  margin-top: 3px;
  display: inline-block;
  color: #b2b2b2;
}

.close-wx {
  display: inline-block;
  position: absolute;
  bottom: 155px;
  right: 5px;
}

.down-qian {
  margin-top: 0;
}

.qiming .tianzige {
  /* height: 330px; */
}

.qiming .tianzige .col-3 {
  margin-top: 20px;
}

.qiming .tianzige li {
  width: 41px;
  height: 41px;
  line-height: 41px;
  font-size: 18px;
  font-weight: bold;
  background: url(../images/tianzige.png);
  margin-left: 5px;
  margin-bottom: 5px;
  float: left;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.qiming .namelist {
  /* height: 420px; */
}

.qiming .namelist .col-3 {
  margin-top: 20px;
}

.qiming .namelist li {
  width: calc(30% - 5px);
  height: 42px;
  line-height: 42px;
  font-size: 18px;
  float: left;
  border: #996a40 1px solid;
  margin: 5px;
  text-align: center;
}

.detail-dis {
  overflow: hidden;
}

.detail-dis img {
  width: 100%;
}

.zonghe-list li {
  width: calc(32% - 5px);
  height: 42px;
  line-height: 42px;
  font-size: 18px;
  float: left;
  border: #996a40 1px solid;
  margin: 5px;
  text-align: center;
}

.zuijin-ceshi li {
  list-style: none;
  display: inline-block;
  padding: 0 5px;
  background: #f1e8e0;
  margin: 5px 0;
  margin-right: 0px;
  border: 1px solid #dfc8b3;
  border-radius: 2px;
  margin-right: 8px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
}

.qiming .desc {
  width: 100%;
  margin: 30px auto;
}

.qiming .desc .red-title {
  display: block;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: rgb(229, 229, 229);
  background: #f6f6f6;
  font-size: 20px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  border-left: 5px solid #ff0000;
  color: #ff0000;
  padding-left: 10px;
}

.qiming .desc .content p {
  margin-top: 15px;
  line-height: 23px;
}
