@charset "utf-8";

/* Retina 适配 */
@media only screen and (-webkit-min-device-pixel-ratio: 2.0),
only screen and (min--moz-device-pixel-ratio: 2.0),
only screen and (-o-min-device-pixel-ratio: 200/100),
only screen and (min-device-pixel-ratio: 2.0) {
.nav li:after,.nav li a:after{-webkit-transform: scaleY(0.5);transform: scaleY(0.5);}
}

/* 三倍屏 适配 */
@media only screen and (-webkit-min-device-pixel-ratio: 2.5),
only screen and (min--moz-device-pixel-ratio: 2.5),
only screen and (-o-min-device-pixel-ratio: 250/100),
only screen and (min-device-pixel-ratio: 2.5) {
.nav li:after,.nav li a:after{-webkit-transform: scaleY(0.5);transform: scaleY(0.5);}
}

/* 工具页面相关链接 */
.relateLinks{padding-top:14px;text-align:center;}
.relateLinks a{display:inline-block;width:100px;height:29px;line-height:29px;text-align:center;color:#813d20;margin-right:10px;margin-bottom:10px;background:url(http://www.d02.cn/suanming/templates/images/suanming/v2/sm_new_btn.png) no-repeat 0 -30px; font-size:1.4rem}
.relateLinks a:hover,.relateLinks a.current{background-position:0 0;color:#fff; text-decoration:none;}
/* 黄历工具页面相关链接 */
.nrzhanshitab{width:100%; font-size:1.5rem;border-collapse:separate;}
.nrzhanshi .ys1 {text-align: center;width:20%;}
.nrzhanshi .ys2 {border-left: 1px solid #e2e1da;padding-left: 5px;text-align: left;}
.lvbg {color:#ffffff}
.huisebg {background: #f7f5f5 ;}
.nrzhanshitab tr td {line-height: 33px;}
.result_title {background-color: #fff;color:#910911;font-size:20px;font-weight: bold;line-height: 16px;margin: 0;padding: 10px;text-align: center;}
.result_title_left {background: url(http://m.threetong.com/style//images/result_left.gif) no-repeat 0 0 / 100% auto;display: inline-block;height: 12px;width: 37px;}
.result_title_right {background: url(http://m.threetong.com/style//images/result_right.gif) no-repeat 0 0 / 100% auto;display: inline-block;height: 12px;width: 37px;}
.libox{margin-left:2px;margin-right:2px;background:#fff;border:1px solid #eae4e2;/* border-top:none; */-webkit-box-shadow:0px 0px 8px #eae4e2;-moz-box-shadow:0px 0px 0px #eae4e2;box-shadow:0px 0px 4px #eae4e2;overflow:hidden;}
.pd5 {background: #f5e9d4;margin: 0 0 5px;padding: 5px 0;width: 100%;overflow:hidden;}
.box1 .index_year {display: block;float: left;width: 30%;}
.box1 .index_mdh {display: block;float: left;width: 16%;}
.box1.index_mdh2 {display: block;float: left;width: 22%;}
.box1 .index_btn {display: block;float: left;width: 16%;}
.ymdh_select {display: block;margin: 0 3px;}
.box1 .ymdh_select select {background: #fff url(http://m.threetong.com/style//images/tri_down.gif) no-repeat  right center / auto 5px;border: 1px solid #cdcdcd;border-radius: 3px;color: #888;display: block;font-family: "微软雅黑";width: 100%;font-size:1.4rem}
em {font-style: normal}
.index_xmcs_btn {
    background-color: #f35860;
    border: 1px solid #f35860;
    -webkit-appearance: none;
    border-radius: 3px;
    color: #fff;
    display: block;
    font-family: "微软雅黑";
    font-size: 15px;
    height: 26px;
    padding: 0;
    text-align: center;
    width: 100%;
}
.god_child i, .god_money i, .god_happy i,.god_luck i {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(http://www.d02.cn/suanming/templates/images/life/laohuangli_sprites.png) no-repeat;
    vertical-align: -5px;
    margin-right: 5px;
}
.god_money i {
    background-position: 0 -475px;
}
.god_child i {
    background-position: 0 -450px;
}
.god_happy i {
    background-position: 0 -498px;
}
 .god_luck i {
    background-position: 0 -525px;
}