.idx_cont {
  padding: 15px;
  margin-top: 10px;
  background: #fff;
}

.idx_title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(230, 230, 230, 0.3);
  margin-bottom: 12px;
}

.idx_title img {
  height: 18px;
  margin-right: 8px;
}

/* banner */
.idx_banner {
  width: 100%;
  min-height: 136px;
}

.idx_banner img {
  max-width: 100%;
}

/* 修改swipr样式 */
.swiper-container,
.swiper-wrapper,
.swiper-slide {
  width: 100%;
  min-height: 136px;
}

.swiper-pagination-bullet {
  width: 5px;
  height: 5px;
  background: #fff;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  width: 10px;
  background: #fff;
  opacity: 1;
  border-radius: 5px;
}

/* nav */
.idx_nav {
  display: flex;
  flex-flow: wrap;
  padding: 0 10px;
  justify-content: space-between;
  background: #fff;
}

.idx_nav a {
  text-align: center;
  width: 25%;
  color: #323232;
  line-height: 1;
  padding: 15px 0;
}

.idx_nav a img {
  max-height: 48px;
  margin-bottom: 5px;
}

/* today */
.idx_today {
  margin: 10px;
}

.idx_today_bg {
  display: flex;
  align-items: center;
  height: 150px;
  border-radius: 5px;
  border: 1px solid rgba(254, 123, 72, 0.31);
  background: #FFFBF6;
  background-size: 100% 100%;
}

.idx_today_bg .left {
  height: 130px;
  color: #DC6F3E;
  text-align: center;
  border-right: 1px dashed #ffb166;
  min-width: 142px;
  box-sizing: border-box;
}

.idx_today_bg .left .weight {
  font-size: 60px;
  line-height: 1;
  padding: 15px 0;
}

.idx_today_bg .right {
  padding: 0 17px;
  height: 130px;
}

.idx_today_bg .right p {
  display: flex;
  align-items: center;
  height: 30px;
  overflow: hidden;
  color: #665955;
  font-size: 13px;
  line-height: 15px;
  margin-bottom: 13px;
}

.idx_today_bg .right p img {
  display: none;
  width: 25px;
  height: auto;
  margin-right: 10px;
}

.idx_today_bg .right p span {
  max-height: 30px;
  overflow: hidden;
}

.idx_today_bg .right p span.icon {
  width: 20px;
  min-width: 20px;
  height: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 20px;
  border-radius: 20px;
  margin-right: 10px;
}

.idx_today_bg .right p:nth-child(1) span.icon {
  background: #5E9053;
}

.idx_today_bg .right p:nth-child(2) span.icon {
  background: #BE462E;
}

.idx_today_bg .right a {
  display: block;
  width: 170px;
  height: 40px;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  line-height: 40px;
  border-radius: 20px;
  background: #FF6912;
  margin: 0 auto;
}

/* 八字算命 */
.idx_suanming .nav {
  display: flex;
  justify-content: space-between;
  background: #ffbd80;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  align-items: center;
  height: 44px;
  line-height: 44px;
}

.idx_suanming .nav p {
  flex: 1;
  text-align: center;
  color: #f07735;
  font-size: 16px;
  position: relative;
}

.idx_suanming .nav p .xian {
  position: absolute;
  width: 30px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  display: block;
  opacity: 0;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 6px;
}

.idx_suanming .nav p.on {
  color: #fff;
}

.idx_suanming .nav p.on .xian {
  opacity: 1;
}

.idx_suanming .list {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.idx_suanming dd.form {
  background: #fff5e5;
}

.idx_suanming dd.form .formbox {
  display: flex;
  align-items: center;
  height: 55px;
  margin: 0 15px;
  border-bottom: 1px solid #ffb166;
}

.idx_suanming dd.form:last-child .formbox {
  border: none;
}

.idx_suanming dd.form .left {
  color: #665955;
  width: 60px;
  font-size: 15px;
  margin-right: 10px;
  display: inline-block;
  min-width: 60px;
}

.idx_suanming dd.form input {
  color: #999;
}

.idx_suanming dd.form select {
  min-width: 55px;
  width: 55px;
  color: #4b4b4b;
  margin-right: 0 !important;
}

.idx_suanming dd.form select option {
  width: 55px;
}

.idx_suanming .form_sex .sexbox {
  position: relative;
}

.idx_suanming .form_sex .sexbox input {
  position: absolute;
  width: 34px;
  height: 34px;
  opacity: 0;
}

.idx_suanming .form_sex .sexbox input[type="radio"]:checked+label {
  background: #ff8558;
  color: #fff;
}

.idx_suanming .form_sex label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 34px;
  border: 1px solid #ffb166;
  box-sizing: border-box;
  color: #ff8558;
  font-size: 16px;
}

.idx_suanming .button {
  width: 49%;
  height: 44px;
  line-height: 44px;
  background: linear-gradient(78deg, #fea92a, #ff8558);
  border-radius: 44px;
  color: #fff;
  text-align: center;
  font-size: 17px;
  margin-top: 15px;
}

.idx_suanming .whole_button {
  width: 98%;
  height: 44px;
  line-height: 44px;
  background: linear-gradient(78deg, #fea92a, #ff8558);
  border-radius: 44px;
  color: #fff;
  text-align: center;
  font-size: 17px;
  margin-top: 15px;
  border: none;
}

.idx_suanming .form_riqi {
  position: relative;
}

.idx_suanming .form_riqi .right {
  position: absolute;
  right: 10px;
  width: 12px;
}

/* 星座 */
.idx_xingzuo ul {
  color: #403a36;
  display: flex;
  justify-content: space-around;
}

.idx_xingzuo ul li {
  text-align: center;
  line-height: 1;
  flex: 1;
  color: #000000;
  font-weight: bolder;
}

.idx_xingzuo ul li img {
  margin-bottom: 15px;
  width: 60px;
}

/* 最新文章 */
.idx_article ul li {
  display: flex;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ffe4b2;
}

.idx_article ul li:last-child {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.idx_article ul li img {
  width: 115px;
  height: 75px;
  background: orange;
  margin-right: 20px;
}

.idx_article ul li .right .weight {
  color: #665955;
  font-size: 15px;
  font-weight: bolder;
  margin-bottom: 14px;
}

.idx_article ul li .right .time {
  font-size: 12px;
  color: #ccc4c2;
  display: flex;
  justify-content: space-between;
}

/* 解梦大全 */
.idx_jiemeng ul {
  color: #99857f;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.idx_jiemeng ul li {
  width: 33.33%;
  font-size: 13px;
  margin: 10px 0;
  line-height: 1;
  height: 15px;
  overflow: hidden;
}

.idx_jiemeng #se_wrap {
  background: #fff;
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.idx_jiemeng #se_wrap #se_inner {
  position: relative;
  flex: auto;
}

.idx_jiemeng #se_wrap .se-input {
  width: 100%;
  height: 39px;
  border: 2px solid #ffe1ad;
  border-right: none;
  box-sizing: border-box;
  text-indent: 40px;
  border-top-left-radius: 19px;
  border-bottom-left-radius: 19px;
  color: #ffd790;
}

.idx_jiemeng #se_wrap #se_inner img {
  position: absolute;
  width: 16px;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 15px;
}

.idx_jiemeng #se_wrap #se_bn {
  width: 100px;
  height: 39px;
  background: linear-gradient(78deg, #fea92a, #ff8558);
  border: 1px solid #ffd790;
  border-top-right-radius: 19px;
  border-bottom-right-radius: 19px;
}

/* 热门专题 */
.idx_remen ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.idx_remen ul li {
  width: 49%;
  border-radius: 4px;
  padding: 12px 0;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
  font-size: 15px;
}

.idx_remen ul li:nth-child(1n) {
  background: #ffbd80;
}

.idx_remen ul li:nth-child(2n) {
  background: #ff8d8d;
}

.idx_remen ul li:nth-child(3n) {
  background: #ad80ff;
}

.idx_remen ul li:nth-child(4n) {
  background: #8db8ff;
}

.idx_remen ul li:nth-child(5n) {
  background: #3ca59a;
}

.idx_remen ul li:nth-child(13),
.idx_remen ul li:nth-child(19),
.idx_remen ul li:nth-child(31) {
  background: #8db8ff;
}

.idx_remen ul li a {
  width: 100%;
  color: #fff;
}

/* 底部搜索 */
.idx_foot_search {
  display: flex;
  justify-content: center;
  margin: 15px;
  flex: 1;
}

.idx_foot_search .inputbox {
  position: relative;
  display: flex;
  flex: 1;
}

.idx_foot_search .inputbox .ipt_text {
  flex: auto;
  height: 39px;
  border: 2px solid #ffe1ad;
  border-right: none;
  box-sizing: border-box;
  text-indent: 40px;
  border-top-left-radius: 19px;
  border-bottom-left-radius: 19px;
  color: #ffd790;
}

.idx_foot_search .inputbox img {
  position: absolute;
  width: 16px;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 15px;
}

.idx_foot_search .ipt_sub {
  width: 100px !important;
  height: 39px;
  line-height: 39px;
  background: linear-gradient(78deg, #fea92a, #ff8558);
  border-top-right-radius: 19px;
  border-bottom-right-radius: 19px;
  font-size: 17px;
  color: #fff;
  text-align: center;
}

/* 国学易经弹窗 */
.idx_yy_pop {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 104;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
}

.idx_yy_pop div {
  position: relative;
}

.idx_yy_pop div .bg {
  display: block;
  width: 290px;
  margin: 0 auto;
}

.idx_yy_pop div .btn {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: auto;
  width: 240px;
}

.idx_yy_icon {
  position: fixed;
  top: 70%;
  right: 10px;
  z-index: 103;
  width: 90px;
  height: 92px;
}

.idx_yy_icon p {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  margin: auto;
  width: 90px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: #C6632E;
  font-size: 12px;
  font-weight: bolder;
  border-radius: 20px;
  background: linear-gradient(#FFEBA5, #FFCA5F);
}