/*公用*/
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,input,textarea,p,th,td,a,a:after,i,img{margin:0;padding:0;}
body{font-family:"Microsoft Yahei";font-size:16px;min-width:320px;}
li{list-style: none;}
em,i{font-style:normal;}
a,a:hover{text-decoration:none;}
img{vertical-align:top;}
span{color:#797263;}

.body_bg{background-color: #F4F2F3; }

.bottom-fixed{height:72px; position:fixed; background-color:#515151;width:100%;bottom:0;}
.bottom-fixed .close-btn{ margin-top:24px; margin-left:20px;display:inline-block; float:left}
.bottom-fixed .close-btn img.close{width:28px;}
.bottom-fixed img.logo{float:left; margin-top:10px;margin-left:16px;width:52px;height:52px;}
.bottom-fixed span.text{font-size:18px;font-weight:500;color:#fff;line-height:72px;display:inline-block;margin-left:10px;}
.bottom-fixed span.text1{float:right;margin-right:18px;}

.wrap{max-width:720px;margin:auto;}
.top{height: 40px; background-color: #AF2D31; line-height:40px; text-align:center;}
.top .title{font-size:20px;color:#fff;font-family:Helvetica;}
.top .change-text{ position:absolute; right: 10px; color: #fff;}

.header{height:60px;background:#D4473D;}

.ad{margin-bottom:90px;display:block;float:left;width:100%; background-color: #fff;}
.ad.appstyle{margin-bottom: 0;}
.ad ul li{width:25%;text-align:center;padding-top:24px;display:inline-block;border-bottom:1px solid #E6E6E6;float:left;border-right:1px solid #E6E6E6;box-sizing: border-box;}
.ad ul li img{width:40px;}
.ad ul li .text{width:100%;text-align:center;font-size:12px;color:#141414;padding-top:7px;font-weight:400;margin-bottom:24px;}
.ad ul li:nth-child(4n){border-right:0}
.ad ul li:nth-child(9){clear: both;}

.kalendar{overflow:auto;position:relative; padding-bottom: 10px; padding-top: 13px; background-color: #fff; font-size: 12px;}
.kalendar_left{float:left; width: 45px;} 
.kalendar_left li{width:20px;margin-top:10px; padding-left: 10px;}
.kalendar_right{float:right;width:40px; margin-right: 0;}
.kalendar_right li{width:20px;float:left;margin:10px 0 0 0;}
.kalendar_mid{width:100%;text-align:center;}
.kalendar_mid em{font-size:12px; font-weight: 600; line-height: 20px;}
.hm{font-size:65px;color:#D4473D;font-weight:bold; padding:10px 0;}
.index_leftarrow,.index_rightarrow{position:absolute;display:block;width:30px;height:30px;}
.index_leftarrow{background:url(img/index_leftarrow.png) no-repeat;background-size:30px auto;top:68px;left:80px;}
.index_rightarrow{background:url(img/index_rightarrow.png) no-repeat;background-size:30px auto;top:68px;right:80px;}

.index_content{width:100%;padding-top:10px;position:relative;}
.huabiantop,.huabianfoot{position:absolute;width:100%;height:50px;}
.huabiantop{background:url(img/huabian_01.png) no-repeat;background-size:100% auto;top:0;left:0;}
.huabianfoot{background:url(img/huabian_02.png) no-repeat;background-size:100% auto;bottom:-40px;left:0;}
.huabianleft,.huabianright{background:url(img/huabian_03.png) repeat-y;position:absolute;width:1px;height:92%;}
.huabianleft{left:0px;top:20px;}
.huabianright{right:0px;top:20px;}
.index_content_yj{width:97%;overflow:auto;padding:5px 0;}
.index_content_yjleft{width:11%;float:left;}
.index_content_yjleft span{display:block;width:30px;height:30px;background:#54A154;text-align:center;border-radius:15px;line-height:30px;color:#FFF;font-size:16px;}
.index_content_yjright{float:left;width:87%; padding-top: 4px;}
.index_content_yjright li{float:left;margin-left:5px;color:#000;line-height:22px; font-size: 12px;}
.index_jileft span{background:#AF2D2D;}

.index_content_jx{border-bottom:1px solid #CCC;overflow:auto;margin-top:20px;position:relative;}
.index_content_jx dl{float:left;width:49.5%; padding-right: 0.8%; padding-bottom: 5px;} 
.index_content_jx dl:last-child{padding-right: 0;}
.index_content_jx dl.index_content_jx_border{position:relative;}
.index_content_jx dl dt,.h6{height:40px;background:url(img/bgm_01.png) repeat;line-height:40px;text-align:center;}
.index_content_jx dl dd{line-height:24px;padding:0 4px;float:left;color:#797263; padding-top: 5px;}
.index_content_jx .index_jx_border{position:absolute;width:1px;height:100%;background:#DDD;top:0;left:50%;}

.index_content_foot{margin:10px 0;}
.index_content_foot p{margin-left:10px;line-height:26px;}
.index_content_foot p span{margin-left:5px;}



.footer_list{border-bottom:1px solid #e2e2e2;overflow:auto;position:relative; padding-left: 75px;}
.footer_shichen{width:75px;height:50px;position: absolute; left: 0; height: 100%;}
.footer_shichen em{display:block;width:100%;position:absolute;top:50%;left:0;  transform: translate(0, -185%); font-size: 12px; -webkit-transform: translate(0, -185%);-moz-transform: translate(0, -185%); text-align: center; padding-bottom: 5px;}
.footer_right{border-left:1px solid #e2e2e2;position:relative; height: 100%; font-size: 12px; padding-top: 5px;}
.footer_right_time{padding:5px 5px 5px 10px;}
.footer_right_time .sx{width: 10%; float: left;}
.footer_right_xcs{margin:0 0 10px 10px;}
.footer_yj{padding:5px 0 0 35px;overflow:hidden; position: relative; min-height: 24px;}
.footer_yj:last-child{padding-bottom:5px}
.footer_yjleft{position: absolute;left: 10px;top: 5px;}
.footer_yjleft span{display:block;width:26px;text-align:center;border-radius:13px;color:#FFF;font-size:12px;}
.footer_yj .footer_yjleft span{color: #54A154;}
.footer_yjright{width:95%;}
.footer_yjright li{float:left;margin-left:5px;line-height:24px;color:#797263;}

.footer_yj .footer_jileft span{color: #E04E4B;}
.footer_jx{width:20px;height:20px;color:#FFF;text-align:center;line-height:20px;border-radius:13px;font-size:12px;position:absolute; transform: translate(-50%, 35%); -webkit-transform: translate(-50%, 35%);-moz-transform: translate(-50%, 35%); left:50%; top: 50%; margin-top: 5px;}
.footer_ji{background:#54A154;}
.footer_xiong{background:#E04E4B;}


.footer_yj .footer_yjright.yi{color: #54A154;}
.footer_yj .footer_yjright.ji{color: #E04E4B;}

.footer_shichen .time{position: absolute;transform: translate(0, -85%); -webkit-transform: translate(0, -85%);-moz-transform: translate(0, -85%); left:0; text-align: center; top: 50%; font-size: 12px; width: 100%;}

/*滚轮*/
.scroll{width:40px;height:40px;background:#D4473D;border-radius:30px;position:fixed;bottom:60px;right:10px;display:none;}
.scroll i{display:block;width:17px;height:15px;margin:3px auto 0 auto;}
.scroll .scroll_1{background:url(img/arre.png) no-repeat center;background-size:17px auto;}
.scroll p{text-align:center;color:#FFF;font-size:12px;}


/*点击切换前后一天*/
.arrow{display:none;}
.arrow_left,.arrow_right{position:fixed;width:30px;height:50px; background-color:#000;}
.arrow_left{ background-image:url(img/leftarrow1.png);background-repeat:no-repeat;background-size:30px auto;top:50%;left:0;background-position:center;}
.arrow_right{background-image:url(img/rightarrow1.png);background-size:30px auto;top:50%;right:0;background-repeat:no-repeat;background-position:center;}

.appdownload{position:fixed;bottom:0;left:0;width:100%;height:50px;background:#FFF;border-top:1px solid #DDD;}
.appdownload .app_logo{float:left;background:url(img/logo.png) no-repeat;background-size:35px auto;width:35px;height:36px;margin:7px 0 0 15px;}
.appdownload span{float:left;margin-left:10px;line-height:50px;color:#333;font-size:14px;font-weight:bold;}
.appdownload .appopen{float:right;margin-right:10px;font-size:14px;color:#333;padding:4px 12px;border:1px solid #CCC;margin-top:10px;display:block;}
.appdownload .app_error{float:left;margin-left:10px;width:20px;height:20px;background-color:#999;margin-top:15px;background-image:url(img/error.png);background-size:10px auto;border-radius:20px;background-repeat: no-repeat;background-position:center center;}

/*发现*/
.discovery{background:#FFF;overflow:hidden;margin-bottom:10px;border-top:1px solid #EEE;border-bottom:1px solid #EEE;margin-top:10px;}
.discovery_header{overflow:hidden;border-bottom:1px solid #DDD;padding:5px 0;}
.discovery_integral{float:right;margin-right:10px;display:block;border:1px solid #BBB;border-radius:20px;margin-top:6px;padding:0 12px;color:#666;font-size:1rem;text-align:center;line-height:30px;}
.discovery_integral i{display:inline-block;width:20px;height:20px;background:url(img/integral.png) no-repeat;background-size:20px auto;margin-right:5px;vertical-align:middle;margin-top:-2px;}


.discovery_title{height:40px;line-height:40px;border-bottom:1px solid #EEE;font-size:16px;padding:0 10px;color:#666;font-weight:bold;}
.discovery_title a{float:right;font-size:12px;color:#999;}
.discovery_menu{overflow:hidden;padding-bottom:20px;}
.discovery_menu li{float:left;width:33.333%;text-align:center;margin-top:20px;}
.discovery_menu li a{display:block;}
.discovery_menu li img{width:50px;height:50px;}
.discovery_menu li p{color:#333;margin-top:8px;font-size:14px;}
.discovery_dsqs{overflow:hidden;padding-bottom:20px;}
.discovery_dsqs li{float:left;width:25%;text-align:center;}
.discovery_dsqs li a{display:block;margin-top:20px;}
.discovery_dsqs li img{width:30px;height:30px;}
.discovery_dsqs li p{color:#666;font-size:14px;margin-top:8px;}
.discovery_bs{background:#FFF;margin-top:10px;border-bottom:1px solid #EEE;border-top:1px solid #EEE;}
.bangshou{position:relative;text-align:center;margin:15px 0;font-size:20px;font-weight:bold;}
.bangshou::after{position:absolute;content:"";height:1px;background:#CCCCCC;width:33%;top:50%;right:2%;}
.bangshou::before{position:absolute;content:"";height:1px;background:#CCCCCC;width:33%;top:50%;left:2%;}
.discovery_subtitle{text-align:center;color:#666;}
.discovery_qiming{width:40%;margin:20px auto;}
.discovery_bs img{width:100%;}
.discovery_jieshao{padding:0 20px;line-height:28px;color:#666;font-size:14px;}
.discovery_jieshao span{color:#F00;}
.discovery_btn{width:80%;height:38px;background:#DD990B;border-radius:5px;display:block;margin:15px auto;text-align:center;line-height:38px;color:#FFF;}
.header_login{float:left;display:block;}
.header_login_img{width:35px;height:35px;overflow:hidden;float:left;border-radius:35px;margin:5px 10px 0 10px;border: 1px solid #DDD;}
.header_login img{width:35px;height:35px;}
.header_login span{color:#333;line-height:45px;}


.cus_box1{background-color:#fff;padding: 7px 10px 7px 20px;}
.cus_box2{background-color:#fff; margin-top:10px; height:44px;}
.cus_box2 span{float:left; width:50%; color: #2E2E39; text-align: center; box-sizing:border-box; border-right:1px solid #e2e2e2; line-height: 44px;}
.cus_box2 span:last-child{border:none;}
.cus_box2 span em{ color: #AF2D2D; margin-right:8px; font-weight:600px; font-size:15px;}
.cus_box2 span{font-size:12px;}

.cus_box3{background-color:#fff; margin-top:10px;overflow:hidden;display: table; width: 100%;}
.cus_box3 ul{display: table-row;}
.cus_box3 ul li{padding:12px 8px 22px 8px;border-bottom:1px solid #e2e2e2; text-align:center; width:33.3%;border-right:1px solid #e2e2e2; box-sizing:border-box; display: table-cell;}
.cus_box3 ul li.b{padding-left:0; padding-right:0;}
.cus_box3 ul li.c{border-right:none; text-align:right;padding-right:20px; padding-left: 8px;}
.cus_box3 ul li.a{ text-align:left;padding-left:20px; padding-right: 8px;}
.cus_box3 ul li h3{font-weight:500;font-size:15px; color:#AF2D2D; margin-bottom:5px;}
.cus_box3 ul li p{font-size:12px; color: #2E2E39;}
.cus_box3 ul li p span{color:#2E2E39;}
.cus_box3 ul li.a p span{margin-right:5px; float: left; white-space: nowrap;}
.cus_box3 ul li.c p span{margin-left:5px;float: right; white-space: nowrap;}
.cus_box3 .n2 li{border-bottom: none;}

.cus_title{height: 44px; line-height: 44px; font-size: 15px; border-bottom: 1px solid #e2e2e2; font-weight: 600px; color: #AF2D31; padding-left: 20px;}
.cus_box4{background-color: #fff; margin-top: 10px;}
.cus_box3 ul li.b p{width: 110px;margin: 0 auto;}

/* ===== 扩展页面（月历/择吉/文章等，原站无对应页，沿用同风格） ===== */
.copyright{text-align:center;color:#999;font-size:13px;padding:14px 0 20px;line-height:1.8em;border-top:1px solid #e2e2e2;background:#fff}
.copyright a{color:#666;margin:0 4px}
.info-table{width:100%;background:#fff;border-bottom:1px solid #e2e2e2}
.info-table tr{border-bottom:1px solid #eee}
.info-table tr:last-child{border-bottom:0}
.info-table th{width:85px;padding:10px;text-align:left;font-size:14px;color:#AF2D31;font-weight:normal}
.info-table td{padding:10px 10px 10px 0;font-size:14px;color:#333}
.mini-cal{background:#fff;padding:8px 0 12px}
.mini-cal .cal-title{text-align:center;font-size:15px;color:#AF2D31;height:40px;line-height:40px;font-weight:600}
.mini-cal .cal-week{display:flex;border-bottom:1px solid #eee}
.mini-cal .cal-week span{flex:1;text-align:center;color:#797263;padding:8px 0;font-size:13px}
.mini-cal .cal-grid{display:flex;flex-wrap:wrap}
.mini-cal .cal-cell{width:14.28%;text-align:center;padding:6px 0}
.mini-cal .cal-cell .d{display:block;font-size:15px;line-height:1.3em;color:#333}
.mini-cal .cal-cell .l{display:block;font-size:11px;line-height:1.3em;color:#999}
.mini-cal .cal-cell .l.term{color:#099900}
.mini-cal .cal-cell .l.fest{color:#d4473d}
.mini-cal .cal-cell.wend .d{color:#d4473d}
.mini-cal .cal-cell.today .d{color:#fff;font-weight:bold;background:#D4473D;border-radius:4px}
.mini-cal .cal-cell.today .l{color:#fff}
.zeri-form{display:flex;gap:8px;padding:10px;align-items:center;background:#fff}
.zeri-form input[type=date]{flex:1;height:38px;border:1px solid #ddd;padding:0 8px;font-size:14px}
.zeri-form button{width:96px;height:38px;border:0;background:#D4473D;color:#fff;font-size:14px}
.tool-strip{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#fff}
.tool-strip a{flex:1 1 30%;text-align:center;height:36px;line-height:36px;background:#fdf3f2;border:1px solid #f0d4d1;color:#D4473D;font-size:13px}
.zeri-events{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#fff}
.zeri-events a{flex:1 1 30%;text-align:center;height:36px;line-height:36px;background:#f7f7f7;border:1px solid #e2e2e2;color:#333;font-size:13px}
.zeri-events a.on{background:#D4473D;color:#fff;border-color:#D4473D}
.zeri-results li{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee;padding:10px 6px;background:#fff}
.zeri-results .d{text-align:center;flex-shrink:0;width:75px}
.zeri-results .d .num{display:block;font-size:20px;color:#D4473D;font-weight:bold;line-height:1.3em}
.zeri-results .d .wk{display:block;font-size:12px;color:#999}
.zeri-results .mid{flex:1;padding:0 10px}
.zeri-results .mid .lg{display:block;color:#333;font-size:14px}
.zeri-results .mid .cs{display:block;color:#999;font-size:12px;margin-top:2px}
.zeri-results .lv{flex-shrink:0;font-size:14px}
.zeri-results .lv .j{color:#d4473d}
.zeri-results .lv .x{color:#54a154}
.news-list li{border-bottom:1px solid #eee;background:#fff}
.news-list a{display:block;padding:12px 8px}
.news-list .t{display:block;color:#333;line-height:1.5em;font-size:15px}
.news-list .d{display:block;color:#999;font-size:12px;margin-top:4px}
.article-head{background:#fff;padding:12px 10px;border-bottom:1px solid #eee}
.article-head h1{font-size:18px;color:#333;line-height:1.5em;font-weight:normal}
.article-head p{color:#999;font-size:12px;margin-top:4px}
.article-body{background:#fff;padding:12px 10px;font-size:15px;color:#444;line-height:1.9em;margin-top:10px}
.article-body h2,.article-body h3{color:#AF2D31;font-size:16px;margin:10px 0 6px}
.article-body p{margin-bottom:9px}
.article-body img{max-width:100%}
.empty-tip{padding:16px 8px;text-align:center;color:#999;font-size:14px;background:#fff}
.p404{padding:60px 16px;text-align:center}
.p404 .code{font-size:56px;color:#D4473D;font-weight:bold}
.p404 .msg{color:#999;margin:10px 0 20px;font-size:14px}
.p404 a{display:inline-block;margin:0 8px;padding:8px 18px;background:#D4473D;color:#fff}

/* 原站宜忌词为黑字（链接不改色） */
.index_content_yjright li a{color:#000}

/* 站群泛解析轮链 */
.relink{text-align:center;padding:10px 10px 0;font-size:13px;line-height:1.9em}
.relink a{color:#666;margin:0 6px;white-space:nowrap}
