﻿/*主視覺*/
.event_index {
    display: block;
    width: 100%;
    height: 680px;
    background-image: url(/images/event/2021/fengshui/index_01.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f7f2ef;
    font-size: 16px;
    text-align: center;
}

.topic {
    display: flex;
    justify-content: center;
    margin-left: 100px;
    padding-top: 120px;
}

.star {
    display: inline-block;
    background-color: #f7da36;
    font-size: 1.3em;
    border-radius: 30px;
    font-weight: 500;
    width: 280px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    margin: 0 20px;
    margin-top: 60px;
}

    .star:hover {
        background-color: #000;
        color: #f7da36;
    }

.star+.star{background-color: #d64242;color: #fff;}
.star+.star:hover{background-color: #000;}

/*問題頁*/
.exam_index {
    display: block;
    width: 100%;
    background-color: #f7f2ef;
    background-image: url(/images/event/2021/fengshui/bg_02.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 20px;
    padding: 60px 0 0 0;
    box-sizing: border-box;
}

.selected {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    background-image: url(/images/event/2021/fengshui/sheet_space.png);
    text-align: center;
    position: relative;
    background-size: contain;
    font-size: 18px;
}

    .selected i, .selected h2 {
        display: block;
        width: 80%;
        margin: 0 auto;
        font-size: 1.6em;
        font-weight: 600;
        line-height: 1.6em;
    }

.question {
    padding-bottom: 80px;
}
    .question span {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

    .question span img {
        width: 100%;
    }

.selected:before {
    display: block;
    100%;
    height: 80px;
    content: "";
    background-image: url(/images/event/2021/fengshui/sheettop.png);
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    top: -30px;
}

.selected:after {
    display: block;
    100%;
    height: 80px;
    content: "";
    background-image: url(/images/event/2021/fengshui/sheetbottom.png);
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -40px;
}

a.negative, a.sure {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    background-color: #2a2c2f;
    color: #fff;
    line-height: 155px;
    border: 5px solid #bcbbbb;
    margin: 30px;
    font-weight: 600;
    font-size: 1.25em;
    background-position: center 2px;
}

.selected a:hover, .selected a:focus {
    border-color: #f7da36;
    color: #f7da36;
}

a.negative {
    background-image: url(/images/event/2021/fengshui/no.png);
}

a.sure {
    background-image: url(/images/event/2021/fengshui/yes.png);
}

.selected span {
    font-size: 14px;
    color: #666;
}

/*分析頁*/
.score {
    display: block;
}

    .score i {
        display: inline-block;
        width: 30px;
        height: 30px;
        margin: 0 10px;
        color: #666;
    }

        .score i.red {
            color: #a70505;
        }

.selected strong {
    display: block;
    color: #a70505;
    margin-top: 15px;
    font-size: 1.8em;
    font-weight: 600;
}

.question h3 {
    display: block;
    width: 166px;
    height: 53px;
    font-size: 1.25em;
    font-weight: 500;
    background-image: url(/images/event/2021/fengshui/bg_03.png);
    margin: 0 auto;
    color: #fff;
    line-height: 53px;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.selected p {
    display: block;
    width: 80%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 30px;
}

.replay, .share {
    display: inline-block;
    padding: 5px 40px;
    border-radius: 30px;
    background-color: #f7da36;
    margin: 0 20px;
    color: #fff;
    font-size: 1.25em;
    font-weight: 600;
}

.share {
    background-color: #2860ba;
}

.social_share {
    position: absolute;
    right: 1em;
    margin-top: 1em;
}
    .social_share .fb_base {
        margin-left: 15px;
    }

    .selected a.replay:hover {
        color: #000;
    }

/*推薦*/
.exam_index .recommend {
    display: block;
    width: 100%;
    background-color: #f7f2ef;
    text-align: center;
    padding-top: 30px;
    font-weight: 500;
    padding-bottom: 60px;
}

    .exam_index .recommend > div {
        display: inline-block;
        max-width: 300px;
        text-align: center;
        margin: 0 auto;
        margin: 10px 20px;
        vertical-align:top;
    }

    .exam_index .recommend div img {
        width: 100%;
    }

    .exam_index .recommend h4 {
        font-size: 1.5em;
        font-weight: 500;
        color: #a70505;
        font-weight: 600;
    }

    .exam_index .recommend a:hover {
        color: #a70505;
    }

@media (min-width:320px) and (max-width:1024px) {
    .IsWeb .container.content {
        padding-top: 50px;
    }
}

@media (min-width:320px) and (max-width:780px) {
    .description {
        display: none;
    }

    .topic {
        margin-left: 0px;
    }
}

@media (min-width:320px) and (max-width:480px) {
    .topic {
        display:block;
    }
    .topic img {
        width: 80%;
/*        left: 50%;*/
        position: relative;
/*        margin-left: calc(80%/2*-1);*/
        left:unset;
        margin:0 auto;
    }

    .star{margin-top:25px;}

    .selected h2 {
        font-size: 1.3em;
    }
}

@media (min-width:320px) and (max-width:414px) {
    .topic {
        padding-top: 150px;
    }

    .selected:after {
        bottom: -50px;
    }

    a.negative, a.sure {
        width: 90px;
        height: 90px;
        line-height: 130px;
        margin: 20px;
    }

    .selected h2 {
        width: 85%;
    }

    .replay, .share {
        padding: 5px 25px;
        margin: 0 10px;
    }

    .selected strong {
        font-size: 1.5em;
    }
}

@media (min-width:320px) and (max-width:320px) {
    .star {
        width: 250px;
    }

    .selected:before {
        top: -20px;
    }

    .selected:after {
        bottom: -60px;
    }
}
