@charset "utf-8";

/* CSS Document */

body {
	min-width: 3.2rem;
	max-width: 7.5rem;
	margin: 0 auto !important;
	overflow-x: hidden;
	background: #fff;
	font: .28rem/1.5 "microsoft yahei", Arial, Helvetica, sans-serif;
	color: #333;
}
section, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, th, td, input, textarea, select, img {
	margin: 0;
	padding: 0;
	border: 0;
}
ul, ol, li {
	list-style: none;
}
h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: lighter;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
em, i {
	display: inline-block;
	font-weight: normal;
	font-style: normal;
}
textarea, select, input {
	font-family: "Microsoft Yahei";
	font-size: .3rem;
	color: #666;
}
a {
	color: #333;
	text-decoration: none;
}
a:hover {
	/*color:#333; */
	text-decoration: none;
}
input[type="text"], input[type="password"], input[type="button"], input[type="submit"], button, textarea {
	-webkit-appearance: none;
}
.cfx:after, nav.mini:after, .h:after, .hn:after, .PH:after {
	content: ' ';
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
	line-height: 0;
}
* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

/**** 公共css ****/


/**** 首页 ****/

.wrapper {
	float: left;
	width: 100%;
	background-color: #508f83;
	background-repeat: no-repeat;
	background-size: 100% auto;
	min-height: 100vh;
}
.wrapper.index {
	background-image: url(../images/wrap-index.png);
}
.wrapper.result {
	padding-top: 2.7rem;
	background-image: url(../images/wrap-result.png);
}

/*banner图动画*/

.indexBann {
	position: relative;
	float: left;
	width: 100%;
	height: 4.7rem;
	overflow: hidden;
}
.indexBann li {
	position: absolute;
	width: 1.34rem;
	height: 1.34rem;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	animation: textMove 3s linear infinite;
}
.indexBann li:nth-child(1) {
	left: 1.2rem;
	top: 3.2rem;
	background-image: url(../images/text1.png);
}
.indexBann li:nth-child(2) {
	left: 3.2rem;
	top: 2.6rem;
	background-image: url(../images/text2.png);
	animation-delay: 1s;
}
.indexBann li:nth-child(3) {
	left: 5.1rem;
	top: 3rem;
	background-image: url(../images/text3.png);
	animation-delay: 2s;
}
@keyframes textMove {
	50% {
		transform: translateY(.2rem);
	}
	100% {
		transform: translateY(0);
	}
}

/*banner图动画*/

.main {
	float: left;
	width: 100%;
	padding: 0 .2rem .5rem .2rem;
}
.bigbox {
	float: left;
	width: 100%;
	padding: 0 .29rem .3rem .29rem;
	margin: .45rem 0 0 0;
	background: #fff;
	border: 1px solid #509282;
	border-radius: .05rem;
	box-shadow: 0 .06rem .1rem rgba(178, 135, 57, 0.47);
}

/** 资料输入版块 **/

.forminput {
	float: left;
	width: 100%;
	margin: .1rem 0 -.1rem 0;
}
.forminput_hang {
	float: left;
	width: 100%;
	border-bottom: 1px solid #cecece;
}
.forminput_hang_bt {
	float: left;
	width: 1.6rem;
	line-height: .7rem;
}

/*.forminput_hang_name {
	overflow: hidden;
}
.forminput_hang_name input {
	width: 100%;
	height: .8rem;
	border: none;
	background: none;
	outline: none;
}*/

.forminput_hang_radio {
	overflow: hidden;
}
.forminput_hang_radio a {
	margin: 0 .4rem 0 0;
	line-height: .7rem;
	color: #666;
}
.forminput_hang_radio a.current {
	color: #9d2c16;
}
.forminput_hang_birth {
	overflow: hidden;
	line-height: .7rem;
	color: #666;
	cursor: pointer;
}
.forminput_hang_birth span {
	display: block;
}

/** 资料输入版块 **/

.button {
	float: left;
	width: 100%;
	margin: .4rem 0 0 0;
}
.button a {
	display: block;
	width: 5.8rem;
	margin: 0 auto;
	background: linear-gradient(#eb7028, #de4c12);
	border-radius: .1rem;
	line-height: .9rem;
	font-size: .4rem;
	color: #fff;
	font-weight: bold;
	text-align: center;
	letter-spacing: .05rem;
}

/*.button.zoom a {
	animation: btnZoom 1s linear infinite alternate;
}
@keyframes btnZoom {
	from {}
	to {
		transform: scale(.8);
	}
}*/

.picture {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
}
.picture img {
	display: block;
	width: 100%;
}
.indexText {
	float: left;
	width: 100%;
	margin: .25rem 0 0 0;
	text-align: justify;
}
.indexText.book {
	padding: 0 0 0 2rem;
	background: url(../images/book.png) no-repeat left center;
	background-size: 1.96rem auto;
}
.indexText.logo {
	padding: 0 0 0 1.8rem;
	background: url(../images/logo.png) no-repeat left center;
	background-size: 1.7rem auto;
}
.indexText.logo ul li {
	padding: 0 0 0 .4rem;
	background: url(../images/icon01.png) no-repeat left top .1rem;
	background-size: .3rem auto;
}
.indexText i {
	color: #d98814;
}
.indexText p {
	margin: .1rem 0 0 0;
}
.indexText p:first-child {
	margin: 0;
}
.indexText span {
	color: #9d2c16;
}
.indexText a {
	color: #f00;
}
.indexText em {
	position: relative;
	top: .05rem;
	width: .3rem;
	height: .3rem;
}

/**** 首页 ****/


/**** 结果页 ****/

.resultData {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
}
.resultMenu {
	position: sticky;
  	top: 0; 
	float: left;
	width: calc(100% + .4rem);
	margin: .45rem 0 0 -.2rem;
	background: #226f60;
	transition: top .3s ease-in-out;
	z-index: 9;
}
.resultMenu a {
	float: left;
	width: 16.66%;
	padding: .1rem 0;
	border-right: 1px solid #508f83;
	line-height: 1.3;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.resultMenu a:last-child {
	border: none;
}
.resultMenu a.current {
	background: linear-gradient(#eb9f52, #ef7015);
	text-shadow: -.02rem -.02rem 0 #ce2d28, .02rem -.02rem 0 #ce2d28, -.02rem .02rem 0 #ce2d28, .02rem .02rem 0 #ce2d28;
}
.resultChart {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
}
.resultTitle {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
	background: url(../images/title-bg.png) no-repeat center;
	background-size: auto 100%;
	line-height: .6rem;
	font-size: .38rem;
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.resultStar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	float: left;
	width: 100%;
	margin: .25rem 0 0 0;
}
.resultStar dt {
	width: 2rem;
	font-size: .4rem;
	text-align: center;
}
.resultStar dt b {
	display: block;
	margin: 0 0 .1rem 0;
	border-bottom: 1px solid #7c8180;
	line-height: .9rem;
	color: #544594;
}
.resultStar dd {
	width: calc(100% - 2.3rem);
}
.resultStar dd table {
	width: 100%;
	border-collapse: collapse;
}
.resultStar dd table tr td {
	border: .02rem solid #f3b153;
	line-height: .6rem;
	text-align: center;
}
.resultStar dd table tr td.current {
	background: #f3b153;
	color: #fff;
}
.resultSihua {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
	background: #fefefe;
	border: 1px solid #fcdcb7;
	border-radius: .1rem;
	box-shadow: inset 0 0 .5rem #fdebd6;
}
.resultSihua dl {
	position: relative;
	float: left;
	width: 100%;
	border-bottom: 1px solid #fcdcb7;
	line-height: .8rem;
	font-weight: bold;
	text-align: center;
}
.resultSihua dl:last-child {
	border: none;
}
.resultSihua dl dt, .resultSihua dl dd {
	float: left;
	width: 50%;
}
.resultSihua dl dd {
	background: #fef7f0;
	box-shadow: inset 0 0 .2rem #fcdcb7;
}
.resultSihua dl:first-child dd {
	border-radius: 0 .1rem 0 0;
}
.resultSihua dl:last-child dd {
	border-radius: 0 0 .1rem 0;
}
.resultSihua dl:nth-child(1) span {
	color: #ce2828;
}
.resultSihua dl:nth-child(2) span {
	color: #2c8136;
}
.resultSihua dl:nth-child(3) span {
	color: #244cb1;
}
.resultSihua dl:nth-child(4) span {
	color: #6b36c1;
}
.resultSihua dl::after {
	position: absolute;
	left: 50%;
	top: 50%;
	content: "►";
	margin: -.4rem 0 0 -.1rem;
}
.resultWord {
	float: left;
	width: 100%;
	height: 5.08rem;
	padding: .45rem 0 0 0;
	margin: .3rem 0 0 0;
	background: url(../images/word-bg.png) no-repeat center;
	background-size: auto 100%;
	color: #cf2a24;
}
.resultWord dt {
	float: left;
	width: 100%;
	line-height: .55rem;
	font-size: .32rem;
	text-align: center;
}
.resultWord dd {
	float: left;
	width: 100%;
	height: 2.1rem;
	margin: .3rem 0 0 0;
	line-height: 2rem;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}
.resultTable {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
}
.resultTable table {
	width: 100%;
	background: #fffef2;
	border-collapse: collapse;
}
.resultTable table tr th, .resultTable table tr td {
	border: 1px solid #d85c11;
	line-height: .6rem;
	text-align: center;
}
.resultTable table tr th {
	background: #e77e31;
	color: #fff;
}
.resultCard {
	position: relative;
	float: left;
	width: 100%;
	margin: .2rem 0 0 0;
	font-size: .24rem;
}
.resultCard ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
}
.resultCard ul li {
	position: relative;
	width: 23%;
	height: 1.8rem;
	padding: .1rem;
	margin: .1rem 0 0 0;
	background: #ffedda;
	border-radius: .05rem;
	box-shadow: inset 0 0 .3rem #f7c28b;
}
.resultCard ul li span {
	float: left;
	width: 100%;
	line-height: 1.3;
	color: #dd9c5a;
}
.resultCard ul li span em {
	position: absolute;
	top: .8rem;
	width: 90%;
	line-height: .25rem;
	font-size: .22rem;
	color: #8f1601;
}
.resultCard ul li .palace {
	position: absolute;
	left: 0;
	bottom: 0;
	width: .8rem;
	background: linear-gradient(#f48c30, #f6ac66);
	border-radius: .05rem;
	line-height: .36rem;
	color: #fff;
	text-align: center;
}
.resultCard ul li .stem {
	position: absolute;
	right: .05rem;
	bottom: 0;
	width: .3rem;
	line-height: 1.2;
	color: #f2bf8a;
	text-align: center;
}
.resultCard .info {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 49%;
	height: 3.7rem;
	padding: .4rem .15rem;
	transform: translate(-50%, -49%);
	background: #f5d69b;
	border-radius: .05rem;
	box-shadow: inset 0 0 .3rem #d29461;
	color: #643939;
	text-align: left;
}
.resultCard .info em {
	color: #f00;
}

/**** 结果页 ****/


/*命盘图*/

.chart_year {
	float: left;
	width: 100%;
	margin: .3rem 0 0 0;
	background-color: #e9e1d2;
	border: 1px solid #b09866;
	font-size: .26rem;
}
.chart_year a {
	cursor: default;
}
.chart_year .box a.g {
	display: block;
	background-color: #fff5c7;
}
.chart_year .one {
	clear: both;
	width: 100%;
	height: 2.2rem;
	margin: 0 auto;
}
.chart_year .one li {
	float: left;
	width: 25%;
	height: 2.2rem;
	margin: 0 auto;
}
.chart_year .two {
	clear: both;
	height: 2.2rem;
	margin: 0 auto;
}
.chart_year .two .two01 {
	float: left;
	clear: both;
	width: 25%;
	height: 4.4rem;
	margin: 0 auto;
}
.chart_year .two .two02 {
	width: 50%;
	height: 4.4rem;
	margin: 0 auto;
	margin-left: 25%;
}
.chart_year .two .two02 .box02 {
	width: 99%;
	height: 4.39rem;
	margin: 0 auto;
	background-color: #fff;
	position: relative;
	padding-top: 1rem;
}
.chart_year .two .two03 {
	float: right;
	width: 25%;
	height: 4.4rem;
	margin: 0 auto;
}
.chart_year .box {
	width: 100%;
	height: 2.2rem;
	margin: 0 auto;
}
.chart_year .box a {
	position: relative;
	display: block;
	width: 100%;
	height: 2.2rem;
	margin: 0 auto;
}
.chart_year .box a.y {
	display: block;
	background-color: #fff5c7;
	border-bottom: 1px solid #8f1c69;
}
.chart_year .box .time {
	width: 90%;
	height: .5rem;
	position: absolute;
	background-color: #a86db1;
	left: 5%;
	right: 5%;
	bottom: 5%;
	color: #fff;
	text-align: center;
	line-height: .5rem;
}
.chart_year .box .time02 {
	background-color: #e9e1d2;
	color: #a86db1;
	border: 1px solid #a86db1;
}
.chart_year .box .lord {
	width: 90%;
	height: 1rem;
	position: absolute;
	left: 5%;
	top: 3%;
}
.chart_year .box .lord .lt01 {
	width: 100%;
	height: .5rem;
	text-align: left;
	line-height: .5rem;
	color: #333;
}
.chart_year .l_icon {
	display: inline-block;
	width: .5rem;
	height: .5rem;
	background-size: .5rem .5rem;
	margin-bottom: -.16rem;
	margin-left: .06rem;
	text-indent: -999px;
}
.chart_year .box .status {
	width: 50%;
	height: 1.2rem;
	position: absolute;
	right: .04rem;
	bottom: .4rem;
}
.chart_year .box .status .st01 {
	width: 100%;
	height: .4rem;
	text-align: right;
	line-height: .4rem;
	color: #9b5800;
}
.chart_year .ziwei_c_t06 {
	font-size: .36rem;
	color: #b07900;
	font-weight: bold;
}
.chart_year .ziwei_c_t07 {
	font-size: .36rem;
	color: #6f25a7;
	font-weight: bold;
}

/*.chart_year .chart_bt {
	display: block;
	width: 50%;
	height: 30px;
	margin: 0 auto;
}
.chart_year .chart_bt a {
	display: block;
	width: 100%;
	height: .6rem;
	color: #000;
	text-align: center;
	line-height: .6rem;
	background: linear-gradient(linear, left top, left bottom, from(#ffffff), to(#cbcbcb));
	border-radius: 5px;
	border: 1px solid #848484;
}*/


/*命盘图*/