body {
    background-color: #ffffff;
}

a {
	color: #333;
	text-decoration: none;
}

a:hover {
	color: #6d3dd9;
}

.shengri-list {
	padding: 0 1rem;
}

.show_title {
	font-size: 1.5rem;
	font-weight: bold;
	padding-bottom: 0;
	text-align: center;
}

.show_title h1 {
	font-size: 1.5rem;
    font-weight: bold;
    margin-top: 42px;
}

.show_desc {
    margin-bottom: 20px;
	padding: 0 0.2rem;
}

.show_desc p {
    color: #333333;
    font-size: 17px;
    line-height: 35px;
    text-align: justify;
}

.show_desc a {
	color: #9933cc;
	text-decoration: none;
}

.show_desc a:hover {
	text-decoration: underline;
}

.shengri-riqi {
	display: grid;
	grid-template-columns: 1fr;
	gap: 35px;
	justify-content: start;
    margin-bottom: 20px;
    padding-top: 12px;
}

.shengri-riqi.danshengshi {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	justify-content: center;
}

.chaxun_tab {
	min-width: auto!important;
	width: 100%;
}

.chaxun_tab.riqi {
	border-collapse: collapse;
}

.chaxun_tab.riqi thead td {
	font-weight: bold;
	background: #f5f5f5;
	font-size: 17px;
	padding: 10px 0;
}

.chaxun_tab.riqi td {
	border: 1px solid #ddd;
	padding: 0.72rem;
	text-align: center;
	font-size: 15px;
}

.chaxun_tab.riqi td a {
	color: #333;
	text-decoration: none;
}

.chaxun_tab.riqi td a:hover {
	color: #d67d00;
	text-decoration: underline;
}

.danshengshi .chaxun_tab {
	width: 100%;
	max-width: 860px;
	margin: 40px auto 0px auto;
	border-collapse: collapse;
	font-family: "Arial", sans-serif;
	font-size: 16px;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.danshengshi .chaxun_tab:first-child {
	margin: 0px auto;
}

.danshengshi .chaxun_tab thead {
	display: flex;
}

.danshengshi .chaxun_tab thead tr {
	flex: 1;
	width: 100%;
}

.danshengshi .chaxun_tab thead td {
	flex: 1;
	width: 100%;
	text-align: center;
	padding: 0;
	height: 47px;
	font-weight: bold;
	font-size: 18px;
	border: 1px solid #ddd;
	background-color: #f8f8f8;
	box-sizing: border-box;
}

.danshengshi .chaxun_tab thead td a {
	text-decoration: none;
	color: #333;
	display: block;
	width: 858px;
}

.danshengshi .chaxun_tab tbody {
	display: flex;
	flex-wrap: wrap;
}

.danshengshi .chaxun_tab tbody tr {
	width: 100%;
	box-sizing: border-box;
}

.danshengshi .chaxun_tab tbody td {
	display: block;
	border: 1px solid #eee;
	padding: 12px 14px;
	box-sizing: border-box;
	background-color: #fff;
	width: 50%;
	float: left;
}

.danshengshi .chaxun_tab a {
	text-decoration: none;
	color: #333;
	display: block;
	width: 100%;
}

.danshengshi .chaxun_tab a:hover {
	color: #007BFF;
}

.te-list {
	max-width: 860px;
	margin: 0 auto;
	font-family: "Arial", sans-serif;
	grid-template-columns: 1fr;
    gap: 15px;
}

.te-list h4 {
    font-size: 19px;
    margin: 0;
    color: #333;
    background-color: #eaeaea;
    padding: 10px 19px;
}

.te-list ul {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-wrap: wrap;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    justify-content: start;
}

.te-list ul:last-child {
	margin: 0;
}

.te-list ul li {
	width: 100%;
	box-sizing: border-box;
}

.te-list ul li a {
	display: block;
	text-decoration: none;
	color: #333;
	background-color: #f9f9f9;
	padding: 10px 10px 10px 16px;
	transition: background 0.3s, color 0.3s;
}

.te-list ul li a:hover {
	background-color: #eddbff;
}

.te-title h1 {
    margin: 1.2rem 0 0rem 0;
}

/*生日占卜：表单*/
.shengri-form {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 396;
    background: url(https://xgdnm.youbanya.com/xgdn/shengri/mima_bg.png) no-repeat center top / 100% auto;
}

.shengri-form div {
	display: block;
    margin: auto;
    text-align: center;
    position: absolute;
    left: 2.5rem;
    bottom: 2rem;
}

.shengri-form.huayu div,.shengri-form.shengrishu div,.shengri-form.shengrixingge div {
    left: 2.5rem;
    bottom: 1.4rem;
}

.shengri-form.shengrimingren div,.shengri-form.sheng-ri-shu div,.shengri-form.danshengshi div,.shengri-form.qiaokeli div {
    left: 2.5rem;
    bottom: 1.4rem;
}

.shengri-form span {
	display: block;
	width: 100px;
	height: 24px;
	line-height: 24px;
	font-size: 16px;
	color: #B1B3B4;
	margin: auto;
	margin-top: 8px;
	margin-bottom: 4px;
}

.shengri-form select {
    width: 5em;
    height: 2rem;
    font-size: 1rem;
    color: #555;
    border: 1px solid #C8A27D;
    border-radius: 6px;
    text-align: center;
}

.shengri-form button {
	width: 8rem;
    height: 2.4rem;
    font-size: 1rem;
    color: #fff;
    margin-top: 0.6rem;
    background-color: #B3492F;
    border: 1px solid #E3C9C5;
    border-radius: 6px;
}

.shengri-form button:hover {
	background-color: #CC583C;
}

.shengri-form.shengrixingge {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/xingge_bg.png);
}

.shengri-form.shengrixingge button {
	background-color: #C45C19;
}

.shengri-form.shengrixingge button:hover {
	background-color: #E67D37;
}

.shengri-form.shengrishu {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/shengrishu_bg.png);
}

.shengri-form.shengrishu button {
	background-color: #D45E2C;
}

.shengri-form.shengrishu button:hover {
	background-color: #DA7549;
}

.shengri-form.huayu {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/huayu_bg.png);
}

.shengri-form.huayu button {
	background-color: #9A3311;
}

.shengri-form.huayu button:hover {
	background-color: #BF4015;
}

.shengri-form.qiaokeli {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/qiaokeli_bg.png);
}

.shengri-form.qiaokeli button {
	background-color: #AA0218;
}

.shengri-form.qiaokeli button:hover {
	background-color: #CA021C;
}

.shengri-form.danshengshi {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/danshengshi_bg.png);
}

.shengri-form.danshengshi button {
	background-color: #B37D40;
}

.shengri-form.danshengshi button:hover {
	background-color: #C28E54;
}

.shengri-form.sheng-ri-shu {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/tree_bg.png);
}

.shengri-form.sheng-ri-shu button {
	background-color: #C0783C;
}

.shengri-form.sheng-ri-shu button:hover {
	background-color: #C78249;
}

.shengri-form.shengrimingren {
	background-image: url(https://xgdnm.youbanya.com/xgdn/shengri/mingren_bg.png);
}

.shengri_list {
	margin: 0 0.7rem;
}

/*栏目导航*/
.subnav-wrapper {
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	background-color: #fff;
	-webkit-overflow-scrolling: touch;
}

.subnav-scroll {
	display: inline-flex;
	padding: 1.1rem 0.7rem;
	border-bottom: solid 1px #eee;
}

.subnav-scroll a {
	display: inline-block;
	margin-right: 15px;
	font-size: 16px;
	line-height: 15px;
	color: #888;
}

.subnav-scroll a:hover, .subnav-scroll a.on {
	color: #FF3333;
}

.subnav-wrapper::-webkit-scrollbar {
	height: 2px;
	background: transparent;
}

.subnav-wrapper::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 1px;
	visibility: hidden;
}

.subnav-wrapper:hover::-webkit-scrollbar-thumb {
	visibility: visible;
}

.subnav-wrapper {
	/*scrollbar-width: none;*/
}

.subnav-wrapper:hover {
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/*广告*/
.auto-ad1 {
	margin-bottom: -1rem;
}

.auto-ad2 {
	margin: 1rem 0;
}

.auto-ad3 {
	margin: 1.5rem 0.7rem;
}
