﻿/*星座配对*/
.sign_match
{
    width: 100%;
    margin-top: 0.18rem;
    margin-bottom: 0.42rem;
    background: url(img/sign_match_bg.png?v1) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
}
.sign_match:after
{
    content: "";
    display: block;
    padding-bottom: 84%;
}
.sign_match h1
{
    position: absolute;
    top: -300px;
}
.sign_match p
{
    position: absolute;
    top: -300px;
}
.sign_match .sign_logo
{
    width: 35%;
    height: 60%;
    text-align: center;
    position: absolute;
    top: 12%;
}
.sign_match .sign_logo.nv
{
    left: 6%;
}
.sign_match .sign_logo.nan
{
    right: 6%;
}
.sign_match .sign_logo span
{
    display: block;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: #e9daf2;
    background-image: url(img/astro.png);
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-position: -0.6% 78%;
    margin-bottom: 1%;
}
.sign_match .sign_logo span:after
{
    content: "";
    display: block;
    padding-bottom: 110%;
}
.sign_match .sign_logo.by span { background-position: -0.6% 78%; }
.sign_match .sign_logo.jn span { background-position: 8.63% 78%; }
.sign_match .sign_logo.sz span { background-position: 17.95% 78%; }
.sign_match .sign_logo.jx span { background-position: 27.0% 78%; }
.sign_match .sign_logo.shz span { background-position: 36.69% 78%; }
.sign_match .sign_logo.cn span { background-position: 45.38% 78%; }
.sign_match .sign_logo.tc span { background-position: 54.54% 78%; }
.sign_match .sign_logo.tx span { background-position: 63.88% 78%; }
.sign_match .sign_logo.ss span { background-position: 72.75% 78%; }
.sign_match .sign_logo.mj span { background-position: 81.80% 78%; }
.sign_match .sign_logo.sp span { background-position: 91.50% 78%; }
.sign_match .sign_logo.sy span { background-position: 100.42% 78%; }

.sign_match .sign_logo.nv span
{
    border: 4px solid #fb807a;
}
.sign_match .sign_logo.nan span
{
    border: 4px solid #8e63fc;
}
.sign_match .sign_logo em
{
    display: block;
    color: #fafafa;
    font-style: normal;
    font-size: 0.4rem;
    padding-left: 0.26rem;
}
.sign_match .sign_logo .iconfont
{
    font-size: 0.24rem;
    margin-left: 0.02rem;
}
.sign_match form
{
    position: absolute;
    top: 73%;
    left: 50%;
    margin-left: -1.5rem;
    border: none;
}
.sign_match button
{
    width: 3rem;
    height: 1rem;
    line-height: 1rem;
    font-size: 0.4rem;
    border: none;
    color: #f8f8f8;
    background: url(img/sign_match_btn.png) no-repeat;
    background-size: 100% 100%;
}

/*星座姻缘*/
.yinyuan_box
{
    height: 1rem;
    line-height: 0.96rem;
    background-color: #FB807A;
    text-align: center;
    font-weight: bold;
    font-size: 0.36rem;
    color: #541380;
}
.yinyuan_box a
{
    display: inline-block;
    width: 100%;
    height: 1rem;
    color: #541380;
}

/*文章*/
.match_link
{
    background-color: #fefefe;
    padding: 0.3rem 0.26rem 0.2rem;
    margin-top: 0.18rem;
}
.match_link h3
{
    text-align: center;
    font-size: 0.38rem;
    margin-bottom: 0.2rem;
}
.match_link ul:after
{
    clear: both;
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
}
.match_link ul li
{
    float: left;
    display: block;
    width: 50%;
    border-top: 1px solid #f5f5f5;
}
.match_link ul li a
{
    display: block;
    font-size: 0.34rem;
    padding: 0.24rem 0.1rem 0.24rem 0;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match_link ul li a:before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #909090;
    margin-right: 6px;
    position: relative;
    left: 0;
    bottom: 0.08rem;
}
.match_link .pink
{
    color: #E85BFF;
}
.match_link ul.col_1 li
{
    width: 100%;
}

/*配对form*/
.match_form
{
    text-align: center;
    margin-top: 0.18rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    background-color: #fefefe;
}
.match_form h1
{
    text-align: center;
    font-size: 0.46rem;
}
.match_form form
{
    width: 70%;
    text-align: center;
    margin: 0.3rem auto 0;
    font-size: 0.1rem;
}
.match_form form:after
{
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.match_form form select
{
    float: left;
    display: inline-block;
    width: 30%;
    height: 0.8rem;
    text-align: center;
    font-size: 0.32rem;
    padding-left: 6%;
    box-sizing: border-box;
    border: 1px solid #402478;
    border-radius: 0.2rem;
    -webkit-appearance: none;
}
.match_form form select.lt
{
    border-right: none;
    border-radius: 0.2rem 0 0 0.2rem;
}
.match_form form select.ct
{
    border-left: none;
    border-right: none;
    border-radius: 0;
}
.match_form form button
{
    float: left;
    display: inline-block;
    width: 40%;
    height: 0.8rem;
    text-align: center;
    font-size: 0.32rem;
    color: #f7d1b3;
    background-color: #402478;
    box-sizing: border-box;
    border: none;
    border-radius: 0 0.2rem 0.2rem 0;
}

/*查询说明*/
.chaxun_article
{
    padding: 0 0.26rem 0.26rem;
    background-color: #fefefe;
}
.chaxun_article p
{
    font-size: 0.32rem;
    line-height: 1.5em;
    text-align: justify;
    text-indent: 0;
    padding-bottom: 0.3rem;
    word-wrap:break-word;
}
.chaxun_article a
{
    color: #942cdc;
}