@import url("common.css");
@import url("rili.css");
/*工具*/
.tool { background: url(../images/pc/bg_bt.png) bottom repeat-x; }
/*十二生肖*/
.sx_12 { padding: 30px 0; }
.sx_li { text-align: center; margin: 10px 0 10px 4px; border: 2px solid #faf8f4; }
.sx_li:hover {border: 2px solid #e1d6c4;}
.sx_li:nth-child(1) { margin-left: 0;}
.sx_li a { padding: 10px 4px; }
.sx_12_icon { width: 84px; height: 84px; background: url(../images/pc/icon.png) no-repeat; }
.sx_l1 .sx_12_icon { background-position: 0 -95px; }
.sx_l2 .sx_12_icon { background-position: -96px -92px; }
.sx_l3 .sx_12_icon { background-position: -191px -92px; }
.sx_l4 .sx_12_icon { background-position: -284px -92px; }
.sx_l5 .sx_12_icon { background-position: -373px -92px; }
.sx_l6 .sx_12_icon { background-position: -466px -92px; }
.sx_l7 .sx_12_icon { background-position: -563px -92px; }
.sx_l8 .sx_12_icon { background-position: -664px -92px; }
.sx_l9 .sx_12_icon { background-position: -770px -92px; }
.sx_l10 .sx_12_icon { background-position: -870px -92px; }
.sx_l11 .sx_12_icon { background-position: -969px -92px; }
.sx_l12 .sx_12_icon { background-position: -1069px -92px; }
.sx_l1:hover .sx_12_icon { background-position: 0 -172px; }
.sx_l2:hover .sx_12_icon { background-position: -96px -172px; }
.sx_l3:hover .sx_12_icon { background-position: -191px -172px; }
.sx_l4:hover .sx_12_icon { background-position: -284px -172px; }
.sx_l5:hover .sx_12_icon { background-position: -373px -172px; }
.sx_l6:hover .sx_12_icon { background-position: -466px -172px; }
.sx_l7:hover .sx_12_icon { background-position: -563px -172px; }
.sx_l8:hover .sx_12_icon { background-position: -664px -172px; }
.sx_l9:hover .sx_12_icon { background-position: -770px -172px; }
.sx_l10:hover .sx_12_icon { background-position: -870px -172px; }
.sx_l11:hover .sx_12_icon { background-position: -969px -172px; }
.sx_l12:hover .sx_12_icon { background-position: -1069px -172px; }
.sx_li p strong { font-size: 18px; margin-right: 5px; }
.sx_li:hover { box-shadow: 0px 4px 20px rgba(0,0,0,0.1);  }
/*免费起名*/
.named { width: 370px; background: url(../images/pc/bg_n1.png) left center no-repeat; padding-left: 60px; height: 400px; }
/*五行*/
.con_wx {position: relative; padding: 10px 0; }
.con_wx:after { width: 100%; height: 30px; content: "";display: block; position: absolute; top: 12px; left: 0px; background: url(../images/pc/bg_n2.png) no-repeat top center; }
.con_wx:before { width: 100%; height: 30px; content: "";display: block;position: absolute; left: 0px; background: url(../images/pc/bg_n2.png) no-repeat top center; background-position: 0 -32px; bottom: 12px; left: 12px; }
.con_wx ul { height: 160px; padding: 30px; }
.con_wx .wx_li { width: 19%; padding: 0 .5%; }
.con_wx .wx_li .icon { width: 38px; height: 38px; display: block; background: url(../images/pc/icon.png) no-repeat;  margin-bottom: 20px;}
.con_wx .wx_l1 .icon {background-position:-1px -301px; }
.con_wx .wx_l2 .icon {background-position:-43px -301px; }
.con_wx .wx_l3 .icon {background-position:-85px -301px; }
.con_wx .wx_l4 .icon {background-position:-127px -301px; }
.con_wx .wx_l5 .icon {background-position:-169px -301px; }
.wx_li p { margin-bottom: 10px; line-height: 24px; height: 72px; }
.con_wx .more { color: #a07f4b; }
.con_wx .more:hover { color: #ff0201; }
/* 最新推荐 */
.ban_news { padding:0 30px ; width: 1140px; margin: 20px auto 0 auto; }
.ban_news h4 { border-bottom: 1px dashed #e8e1d7; padding: 10px 0; }
.ban_news .lb_2 { float: left; width: 30%; margin-left: 2.5%; }
.ban_news .lb_2:nth-child(3n+1) { margin-left: 0; }
/*栏目*/
.con_lm .lm { width: 860px; }
.lm .lb_2 { width: 45%; *width: 44%; float: left; margin-right: 2%; }
.lm .lb_2:nth-child(2n+2) { margin-right: 0%;margin-left: 2%; }
/*起名常用字*/
.word { width: 270px; height: 445px; padding: 15px;  }
.word_head { height: 40px; }
.zi { position: relative; width: 38px; margin-left: 20px; height: 38px; text-align: center; line-height: 38px; margin-bottom: 20px;  *margin-left: 10px; background: url(../images/pc/bjx_bg.png) no-repeat; }
.word_nr .zi:nth-child(5n+1) {margin-left: 0;}
.zi a { position: absolute; *position: static; z-index: 2; width: 38px; height: 38px; display: block; font-family: "宋体"; font-weight: bold; font-size: 28px; overflow: hidden; }
.zi em { font-size: 38px;z-index: 1; line-height: 38px; color: #ecdec7; position: absolute;left: 0; top: 11px; *display: none; }
.word_nr {width: 100%!important;}
.word_nr ul { height: 350px; overflow: hidden; padding-top: 2px; display: none; width: 100%!important; }
.word_nr ul:nth-child(1) { display: block; }
.word_nr ul:first-child {display: block;}
.word_more { height: 26px; line-height: 26px; background:url(../images/pc/bg_bt.png) repeat-x center; }
.word_more .more { width: 80px; margin: 0 auto; text-align: center; }
