﻿/*首页导航*/
.nav_home
{
    width: 100%;
    max-width: 800px;
    min-width: 320px;
    height: 0.9rem;
    position: fixed;
    z-index: 99;
    background: #4E3064 url(img/nav_bg.jpg);
    background-size: 100%;
    overflow: hidden;
}
.nav_home h1
{
    float: left;
    display: block;
    width: 2.4rem;
    height: 100%;
}
.nav_home h1 a
{
    display: block;
    height: 100%;
    line-height: 10rem;
    background: url(img/logo.png) no-repeat center;
    background-size: auto 68%;
}
.nav_home h3
{
    float: right;
    display: block;
    height: 100%;
    line-height: 0.9rem;
    font-weight: normal;
}
.nav_home h3 a
{
    display: block;
    float: left;
    width: 1rem;
    height: 100%;
    line-height: 0.9rem;
    color: #E7C995;
    font-size: 0.34rem;
    text-align: center;
}
.nav_home .more_btn 
{
    background-size: 28%;
}
/*头部导航*/
.nav_box h1,
.nav_box h3
{
    line-height: 0.9rem;
}
.nav_box h1 a,
.nav_box h3 a
{
    line-height: 0.98rem;
}

/*十二星座图标导航*/
.nav_astro
{
    padding: 0.18rem 0 0.18rem 0.06rem;
    height: 1.16rem;
    overflow: hidden;
    background: linear-gradient( to right, rgba(248,232,253, 1) 0%, rgba(248,232,253, 0) 30%, rgba(248,232,253, 0) 70%, rgba(248,232,253, 1) 100% );
    background-color: #f7f7f7;
}
.nav_shengxiao
{
    background: linear-gradient( to right, rgba(255,243,238, 1) 0%, rgba(255,243,238, 0) 30%, rgba(255,243,238, 0) 70%, rgba(255,243,238, 1) 100% );
    background-color: #f7f7f7;
}
.nav_astro ul:after
{
    height: 100%;
    height: 1.16rem;
}
.nav_astro ul:after
{
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.nav_astro li
{
    float: left;
    width: 1.234rem;
    height: 1.16rem;
    overflow: hidden;
}
.nav_astro li a
{
    display:block; 
    width: 0.994rem;
    height: 1.16rem;
    margin-left: 0.12rem;
    margin-right: 0.12rem;
}
.nav_astro li:last-child
{
    padding-right: 0.06rem;
}
.nav_astro li img
{
    display:block;
    width: 0.994rem;
    height: 1.16rem;
}

/*焦点图*/
.focus_box
{
    width: 100%;
    height: 3.5rem;
    position: relative;
    overflow: hidden;
}
.focus_box li
{
    display: block;
    width: 100%;
    height: 3.5rem;
    position: relative;
    overflow: hidden;
}
.focus_box a img
{
    display: block;
    width: 100%;
}
.focus_box ul h3
{
    display: block;
    width: 100%;
    height: 1.2rem;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(33,33,33,0.9), rgba(33,33,33,0));
}
.focus_box ul h3 span
{
    display: block;
    width: 85%;
    height: 1.2rem;
    line-height: 1.5rem;
    text-indent: 0.26rem;
    color: #FFFFFF;
    font-size: 0.38rem;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 1px #000;
}
.focus_box .page
{
    display: block;
    width: 16%;
    height: 1.2rem;
    line-height: 1.4rem;
    font-size: 0.28rem;
    position: absolute;
    right: 0;
    bottom: 0;
    color: #ccc;
    text-align: right;
    padding-right: 0.26rem;
    z-index: 10;
}
.focus_box .swiper-pagination-current
{
    font-size: 0.5rem;
    font-weight: bold;
}

/*首页头条*/
.head_box 
{
    padding: 0.16rem 0.26rem;
    background-color: #fefefe;
    overflow: hidden;
}
.head_box ul li
{
    height: 0.92rem;
    line-height: 0.92rem;
    border-bottom: 1px solid #efefef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ccc;
}
.head_box ul li:last-child
{
    border-bottom: none;
}
.head_box ul li a
{
    font-size: 0.38rem;
}
.head_box ul li a.fst
{
    color: #c76af6;
    padding-left: 0.06rem;
    padding-right: 0.34rem;
}
.head_box ul li a.fst:after 
{
    content: "";
    bottom: 0;
    left: 0.21rem;
    top: 0.02rem;
    width: 1px;
    height: 0.3rem;
    background: #cfcfcf;
    display: inline-block;
    position: relative;
}
.head_box ul li em:first-child
{
    color: #c76af6;
    padding-left: 0.06rem;
    padding-right: 0.34rem;
}

/*icon图标导航*/
.icon_box
{
    margin-top: 0.18rem;
    padding: 0.3rem 0.2rem 0;
    background: #fefefe;
    overflow: hidden;
}
.icon_box ul
{
    width: 100%;
}
.icon_box ul:after
{
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.icon_box ul li
{
    float: left;
    width: 20%;
    text-align: center;
    margin-bottom: 0.3rem;
}
.icon_box ul a
{
    display: block;
    max-width: 70%;
    margin: auto;
    font-size: 0.28rem;
    color: #505050;
}
.icon_box ul img
{
    display: block;
    max-width: 88%;
    min-width: 37px;
    min-height: 37px;
    margin: auto;
}
.icon_box li.new a {
    color: #00f;
    font-weight: bold;
}

.dashi_wrapper {
    padding: 0 0.26rem 0.36rem;
}

/*box title*/
.tit_home
{
    display: block;
    padding: 0.2rem 0;
    border-bottom: 1px solid #efefef;
}
.tit_home a
{
    display: inline-block;
    font-size: 0.34rem;
    margin-right: 0.38rem;
    color: #606060;
}
.tit_home a.cur
{
    font-size: 0.46rem;
    color: #c76af6;
    font-weight: bold;
}
.tit_home a:last-child
{
    margin-right: 0;
}
.tit_home .off:before
{
    content: "";
    bottom: 0;
    left: -0.25rem;
    top: 0.02rem;
    width: 1px;
    height: 0.3rem;
    background: #cfcfcf;
    transform: rotate(20deg);
    -webkit-transform: rotate(20deg);
    display: inline-block;
    position: relative;
}

/*更多好文*/
.good_more
{
    display: block;
    text-align: center;
    background: #fefefe;
}
.good_more a
{
    display: block;
    height: 0.7rem;
    line-height: 0.7rem;
    font-size: 0.3rem;
    color: #B6B6B6;
}
/*友情链接*/
.link_box {
    font-size: 0.26rem;
    padding: 0.3rem 0.26rem 0.26rem;
    margin-top: 0.18rem;
    margin-bottom: -0.18rem;
    line-height: 1.6em;
    background-color: #fefefe;
    box-sizing: border-box;
}
.link_box a,
.link_box b {
    display: inline-block;
    color: #8d8d8d;
    margin-right: 8px;
}