﻿body {
    background-color: #212331;
    background-image: url(/images/event/2019/electrified/dot.gif);
}

header {
    display: block;
    width: 100%;
    height: 50px;
    background-color: #3aa796;
    line-height: 60px;
    position: relative;
}

.logo a {
    background-image: url(/images/logo/2017/112X45.png);
    width: 80px;
    height: 45px;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 99;
}

/*--------主視覺-----------*/
.top_visual {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    overflow: hidden;
    margin-top: 30px;
    box-sizing: border-box;
    padding: 0 20px;
    box-sizing: border-box;
}

.theme_img {
    display: block;
    width: 300px;
    height: 480px;
    float: left;
    margin: 20px 35px;
    background-image: url(/images/event/2019/electrified/title.png);
}

.theme_video {
    display: block;
    max-width: 800px;
    height: 447px;
    overflow: hidden;
}

/*--------內容樣式-----------*/
.inner {
    font-size: 16px;
    line-height: 1.8em;
    color: #fff;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

section {
    display: block;
    max-width: 1200px;
    padding: 60px 15px;
    box-sizing: border-box;
    margin: 0 auto;
    box-sizing: border-box;
}

    section h2 {
        display: block;
        font-size: 2.25em;
        color: #73b0c5;
        font-weight: 500;
        position: relative;
    }

        section h2:before {
            display: block;
            content: "";
            width: 171px;
            height: 20px;
            background-image: url(/images/event/2019/electrified/signL.png);
            position: absolute;
            left: 50%;
            margin-left: -270px;
            top: 15px;
        }

        section h2:after {
            display: block;
            content: "";
            width: 171px;
            height: 20px;
            background-image: url(/images/event/2019/electrified/signR.png);
            position: absolute;
            right: 50%;
            margin-right: -270px;
            top: 15px;
        }

    section strong {
        display: inline-block;
        color: #f888c2;
        font-size: 1.8em;
        font-weight: 500;
        padding: 10px;
        line-height: 1.4em;
        margin-top: 20px;
    }

    section h2.short:before {
        background-image: url(/images/event/2019/electrified/signL01.png);
        width: 143px;
        margin-left: -290px;
    }

    section h2.short:after {
        background-image: url(/images/event/2019/electrified/signR01.png);
        width: 143px;
        margin-right: -290px;
    }

    section h2 + p {
        font-size: 1.5em;
        margin-top: 30px;
    }

.btn {
    display: inline-block;
    height: 40px;
    padding: 0px 40px;
    line-height: 40px;
    font-size: 1.25em;
    color: #f888c2;
    border-radius: 30px;
    border: 1px solid #f888c2;
    margin-top: 30px;
    font-weight: 500;
    margin: 30px 20px;
}

    .btn:hover {
        background-color: #f888c2;
        color: #0e1121;
    }

.btn_grey {
    color: #666;
    border-color: #666;
}

.btn_blue {
    color: #5a90ff;
    border-color: #5a90ff;
}

.btn_grey:hover {
    background-color: #666;
    color: #fff;
}

.btn_blue:hover {
    background-color: #5a90ff;
    color: #fff;
}

/*--------潮流趨勢-----------*/
.trend {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trend_items {
    display: inline-block;
    width: 17%;
}

    .trend_items p {
        display: block;
        width: 100%;
        margin: 0 auto;
        text-align: left;
        padding: 0 10px;
        box-sizing: border-box;
    }

.item_title {
    display: block;
    width: 200px;
    height: 200px;
    background-image: url(/images/event/2019/electrified/circle.png);
    position: relative;
}

    .item_title i {
        font-family: Times New Roman;
        font-weight: bold;
        transform: rotate(90deg);
        position: absolute;
        top: 85px;
        left: 25px;
    }

    .item_title h3 {
        font-size: 1.8em;
        line-height: 1.2em;
        padding-top: 65px;
        padding-left: 20px;
    }

.item_title_blue {
    background-image: url(/images/event/2019/electrified/circle01.png);
    margin-top: 20px;
}

.item_title_pink {
    background-image: url(/images/event/2019/electrified/circle02.png);
}

/*--------人格測驗-----------*/
.personality_test {
    display: block;
    background-color: #0e1121;
    padding: 30px 0;
}

    .personality_test section {
        margin-top: 0;
    }

.personality_test_img {
    display: block;
    width: 820px;
    height: 320px;
    background: url(/images/event/2019/electrified/exam_visual.png);
    margin: 0 auto;
    margin-top: 50px;
    background-size: cover;
}

.personality_test strong {
    margin-top: 0;
}

/*--------購物指南-----------*/
.category_list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.category {
    width: 22%;
    margin: 0 10px;
}

.category_title h3 {
    display: inline-block;
    width: 175px;
    height: 90px;
    background-image: url(/images/event/2019/electrified/categlory01.png);
    font-size: 1.8em;
    line-height: 130px;
}

.category_title p {
    width: 85%;
    padding-top: 10px;
    border-top: 1px solid #f888c2;
    margin: 0 auto;
}

.category_img {
    display: block;
    margin-top: 10px;
}

    .category_img a {
        display: block;
    }

        .category_img a:hover {
            transform: scale(1.05);
        }

    .category_img img {
        width: 100%;
    }

/*--------用電知識-----------*/
.knowledge {
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

    .knowledge ul li {
        display: inline-block;
        margin-top: 20px;
    }

        .knowledge ul li a {
            display: inline-block;
            padding: 10px 60px;
            font-size: 1.25em;
            font-weight: 500;
            color: #fff;
            border: 1px solid #73b1c6;
            border-radius: 5px;
            margin: 15px 10px;
        }

            .knowledge ul li a:hover, .knowledge ul li a:focus {
                background-color: #73b1c6;
            }

.knowledge_inner {
    display: flex;
    max-width: 710px;
    box-sizing: border-box;
    background-color: rgba(55,58,81,.5);
    border-radius: 5px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.inner_icon {
    display: block;
    width: 70px;
    height: 70px;
    background-image: url(/images/event/2019/electrified/icon01.png);
    margin-top: 15px;
}

.inner_icon01 {
    background-image: url(/images/event/2019/electrified/icon02.png);
    margin-top: 8px;
}

.inner_icon02 {
    background-image: url(/images/event/2019/electrified/icon09.png);
    margin-top: 8px;
}

.inner_icon03 {
    background-image: url(/images/event/2019/electrified/icon03.png);
    margin-top: 8px;
}

.inner_icon04 {
    background-image: url(/images/event/2019/electrified/icon04.png);
    margin-top: 8px;
}

.inner_icon05 {
    background-image: url(/images/event/2019/electrified/icon05.png);
    margin-top: 8px;
}

.inner_icon06 {
    background-image: url(/images/event/2019/electrified/icon06.png);
    margin-top: 8px;
}

.inner_icon07 {
    background-image: url(/images/event/2019/electrified/icon07.png);
    margin-top: 8px;
}

.inner_icon08 {
    background-image: url(/images/event/2019/electrified/icon08.png);
    margin-top: 8px;
}

.knowledge_inner p {
    width: 90%;
    margin-left: 30px;
    text-align: left;
}

.knowledge_kind_of {
    display: flex;
    max-width: 730px;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: space-around;
}

    .knowledge_kind_of .knowledge_inner {
        width: 47%;
        margin-bottom: 20px;
        padding: 15px;
    }

    .knowledge_kind_of p {
        width: 75%;
        margin-left: 20px;
        margin-left: 10px;
    }

/*--------帶電美圖-----------*/
.collection {
    display: flex;
    max-width: 800px;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
}

.project {
    display: block;
    width: 45%;
    margin-top: 40px;
}

    .project a {
        display: block;
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 67%;
    }

        .project a:hover {
            transform: scale(1.05);
        }

        .project a img {
            width: 100%;
        }

        .project a:before {
            display: block;
            content: '';
            width: 100%;
            height: 0;
            padding-bottom: 65%;
            border: 1px solid #73b1c6;
            position: absolute;
            top: 15px;
            left: 10px;
        }

    .project h3 {
        font-size: 1.5em;
        font-style: italic;
        text-align: right;
        margin-top: 20px;
        color: #fff;
    }

/*--------抽獎-----------*/
.sponsor {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.sponsor_item {
    width: 22%;
    margin-top: 30px;
}

    .sponsor_item a {
        display: block;
    }

        .sponsor_item a div {
            margin-bottom: 10px;
        }

            .sponsor_item a div img {
                width: 100%;
            }

        .sponsor_item a:hover div img {
            transform: scale(1.05);
        }

        .sponsor_item a p {
            color: #999;
        }

        .sponsor_item a:hover p {
            color: #fff;
        }


/*--------人格測驗問題頁-----------*/
.test_box {
    display: block;
    text-align: center;
    box-sizing: border-box;
    padding: 80px 20px;
    background: #f37c1c;
    background: -moz-linear-gradient(top, #f37c1c 0%, #d9d25a 50%, #1293d5 100%);
    background: -webkit-linear-gradient(top, #f37c1c 0%,#d9d25a 50%,#1293d5 100%);
    background: linear-gradient(to bottom, #f37c1c 0%,#d9d25a 50%,#1293d5 100%);
}

.situation {
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.test_box img {
    width: 100%;
    display: flex;
}

.test_box p {
    font-size: 1.25em;
    color: #fff;
}

.test_box a, .test_box input {
    background-color: transparent;
    display: block;
    box-sizing: border-box;
    max-width: 390px;
    height: 40px;
    line-height: 40px;
    font-size: 1.25em;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    margin: 0 auto;
    margin-top: 30px;
}

    .test_box a:hover, .test_box input:hover {
        background-color: #f37e1d;
        border-color: #f37e1d;
        color: #fff;
    }

.test_box h2 {
    font-size: 2.25em;
    font-weight: 500;
    color: #fff;
}

.test_box_day {
    background: #4bd2ef;
    background: -moz-linear-gradient(top, #4bd2ef 1%, #1293d5 99%);
    background: -webkit-linear-gradient(top, #4bd2ef 1%,#1293d5 99%);
    background: linear-gradient(to bottom, #4bd2ef 1%,#1293d5 99%);
}

.test_box_sunset {
    background: #2db0e1;
    background: -moz-linear-gradient(top, #2db0e1 1%, #e4792b 43%, #e4792b 43%, #aa451b 94%);
    background: -webkit-linear-gradient(top, #2db0e1 1%,#e4792b 43%,#e4792b 43%,#aa451b 94%);
    background: linear-gradient(to bottom, #2db0e1 1%,#e4792b 43%,#e4792b 43%,#aa451b 94%);
}

.test_box_night {
    background: #07263a;
    background: -moz-linear-gradient(top, #07263a 27%, #000000 100%);
    background: -webkit-linear-gradient(top, #07263a 27%,#000000 100%);
    background: linear-gradient(to bottom, #07263a 27%,#000000 100%);
}

/*--------人格測驗結果頁-----------*/
.result_box > h2 {
    font-weight: 700;
    margin-top: 30px;
}

.result_box h2:before, .result_box h2:after {
    display: none;
}

.result_box h3 {
    color: #999;
    display: block;
    font-size: 1.8em;
    font-weight: 500;
    margin-top: 30px;
}

.result_box p {
    line-height: 2em;
    font-size: 1.25em;
}

.analysis_img {
    max-width: 450px;
    height: auto;
    margin: 0 auto;
    margin-top: 30px;
}

    .analysis_img img {
        width: 100%;
    }

.inner .recommend {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.inner .recommend_item {
    display: block;
    width: 35%;
    margin: 50px 30px 0 30px;
}

    .inner .recommend_item img {
        width: 100%;
    }

.result_content {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 0 20px;
    box-sizing: border-box;
}

    .result_content strong {
        padding: 0;
        color: #999;
        margin-bottom: 10px;
        font-weight: 600;
    }

.view_more {
    font-size: 2em;
    display: block;
    text-align: center;
    color: #fff;
    margin-top: 10px;
    cursor: pointer
}

    .view_more:hover {
        color: #f888c2;
    }

.view_visual {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
    justify-content: space-around;
    padding: 0 20px;
}

.view_title {
    max-width: 645px;
}

    .view_title img {
        width: 100%;
    }

.view_img {
    max-width: 531px;
}

    .view_img img {
        margin-top: 50px;
        width: 100%;
    }

.mode_box {
    margin-top: 80px;
}


footer {
    position: relative;
    z-index: 2;
}


@media (min-width:1000px) and (max-width:1024px) {
    .item_title {
        width: 180px;
        height: 180px;
    }

        .item_title i {
            top: 75px;
            left: 15px;
        }

        .item_title h3 {
            padding-top: 55px;
        }

    .category_title p {
        width: 90%
    }
}

@media (min-width:768px) and (max-width:999px) {
    .theme_img {
        width: 531px;
        height: 270px;
        float: none;
        margin: 0 auto;
        background-image: url(/images/event/2019/electrified/viewtop.png);
    }

    .theme_video {
        width: 700px;
        height: 391;
        margin: 0 auto;
    }

    .trend {
        justify-content: center;
    }

    .trend_items {
        width: 30%;
        margin: 10px;
    }

    .personality_test_img {
        width: 700px;
        height: 273px;
    }

    .category {
        width: 45%;
        margin: 0 10px;
    }

    .test_box h2 {
        font-size: 2em;
    }
}

@media (min-width:640px) and (max-width:767px) {
    .theme_img {
        width: 531px;
        height: 270px;
        float: none;
        margin: 0 auto;
        background-image: url(/images/event/2019/electrified/viewtop.png);
    }

    .theme_video {
        width: 600px;
        height: 335px;
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .trend {
        justify-content: center;
    }

    .trend_items {
        width: 30%;
        margin: 10px;
    }

    .personality_test_img {
        width: 600px;
        height: 234px;
    }

    .category {
        width: 40%;
        margin: 0 15px;
    }

    .knowledge ul li a {
        padding: 10px 40px;
        margin: 15px 10px;
    }

    .knowledge_inner {
        max-width: 590px;
    }

    .sponsor {
        justify-content: center;
    }

    .sponsor_item {
        width: 30%;
        margin: 10px;
    }

    .btn {
        margin: 30px 10px;
    }

    .test_box h2 {
        font-size: 1.8em;
    }
}


@media (min-width:460px) and (max-width:480px) {
    .theme_img {
        width: 400px;
        height: 203px;
        float: none;
        margin: 0 auto;
        background-image: url(/images/event/2019/electrified/viewtop400.png);
    }

    .theme_video {
        width: 400px;
        height: 223px;
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    section {
        padding: 30px 15px;
    }

        section h2 {
            display: block;
            font-size: 2em;
            color: #73b0c5;
            font-weight: 500;
            position: relative;
        }

            section h2:before {
                width: 120px;
                height: 1px;
                background-image: none;
                margin-left: -200px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2:after {
                width: 120px;
                height: 1px;
                background-image: none;
                margin-right: -200px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2.short:before, .result_box h2.short:before {
                width: 80px;
                height: 1px;
                background-image: none;
                margin-left: -200px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2.short:after, .result_box h2.short:after {
                width: 80px;
                height: 1px;
                background-image: none;
                margin-right: -200px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2 + p {
                font-size: 1.25em;
            }

    .trend {
        justify-content: center;
    }

    .trend_items {
        width: 40%;
        margin: 10px 15px;
    }

    .item_title_blue {
        margin-top: 0px;
    }

    .personality_test_img {
        width: 400px;
        height: 150px;
    }

    .category {
        width: 40%;
        margin: 0 15px;
    }

    .knowledge ul li a {
        padding: 10px 14px;
    }

    .knowledge_inner {
        width: 430px;
    }

    .knowledge_kind_of .knowledge_inner {
        width: 430px;
    }

    .sponsor {
        justify-content: center;
    }

    .sponsor_item {
        width: 45%;
        margin: 20px 10px;
    }

    .test_box h2 {
        font-size: 1.6em;
    }

    .test_box p {
        font-size: 1em;
    }

    .btn {
        width: 60%;
        margin: 20px 0;
    }

    .view_visual {
        display: block;
    }

    .view_title {
        max-width: 645px;
    }

        .view_title img {
            width: 100%;
        }
}


@media (min-width:321px) and (max-width:360px) {
    /*--------首頁top視覺圖-----------*/
    .top_visual {
        padding: 0 10px;
    }
}

@media (min-width:320px) and (max-width:360px) {
    .theme_img {
        width: 340px;
        height: 200px;
        float: none;
        margin: 0 auto;
        background-image: url(/images/event/2019/electrified/viewtop400.png);
    }

    .theme_video {
        width: 340px;
        height: 189px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /*--------內容樣式-----------*/
    section {
        padding: 30px 5px;
    }

        section h2 {
            display: block;
            font-size: 2em;
            color: #73b0c5;
            font-weight: 500;
            position: relative;
        }

            section h2:before {
                width: 90px;
                height: 1px;
                background-image: none;
                margin-left: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2:after {
                width: 90px;
                height: 1px;
                background-image: none;
                margin-right: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2.short:before, .result_box h2.short:before {
                width: 40px;
                height: 1px;
                background-image: none;
                margin-left: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2.short:after, .result_box h2.short:after {
                width: 40px;
                height: 1px;
                background-image: none;
                margin-right: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2 + p {
                font-size: 1.25em;
            }

        section strong {
            font-size: 1.25em;
        }

    /*--------趨勢-----------*/
    .item_title {
        margin: 0 auto;
    }

    .trend_items {
        width: 80%;
        margin: 10px;
    }

    /*--------測驗BN-----------*/
    .personality_test_img {
        width: 300px;
        height: 113px;
    }

    /*--------用電知識-----------*/
    .category {
        width: 80%;
        margin: 15px;
    }

    .knowledge ul li a {
        padding: 10px;
        font-size: 1em;
        margin: 15px 5px;
    }

    .knowledge_inner {
        width: 330px;
    }

    .knowledge_kind_of .knowledge_inner {
        width: 330px;
    }

    .knowledge_inner p {
        margin-left: 20px;
    }

    /*--------帶電美圖-----------*/
    .project {
        display: block;
        width: 80%;
        margin-top: 40px;
    }
    /*--------獎品-----------*/
    .sponsor_item {
        width: 80%;
        margin-top: 30px;
    }

    /*--------人格測驗問題頁-----------*/
    .test_box p {
        font-size: 16px;
    }

    .test_box h2 {
        font-size: 1.6em;
    }

    .test_box a, .test_box input {
        font-size: 16px;
    }

    /*--------人格測驗結果頁-----------*/
    .result_box h3 {
        font-size: 1.6em;
    }

    .result_box p {
        font-size: 1em;
    }

    .recommend_item {
        display: block;
        width: 80%;
        margin: 50px 0 0 0;
    }

    .btn {
        width: 60%;
        margin: 20px 0;
    }

    /*--------大圖瀏覽-----------*/
    .view_visual {
        display: block;
    }

    .view_title {
        max-width: 645px;
    }

        .view_title img {
            width: 100%;
        }
}

@media (min-width:361px) and (max-width:414px) {

    .theme_img {
        width: 340px;
        height: 200px;
        float: none;
        margin: 0;
        background-image: url(/images/event/2019/electrified/viewtop400.png);
    }

    .theme_video {
        width: 340px;
        height: 189px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /*--------內容樣式-----------*/
    section {
        padding: 30px 15px;
    }

        section h2 {
            display: block;
            font-size: 2em;
            color: #73b0c5;
            font-weight: 500;
            position: relative;
        }

            section h2:before {
                width: 90px;
                height: 1px;
                background-image: none;
                margin-left: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2:after {
                width: 90px;
                height: 1px;
                background-image: none;
                margin-right: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2.short:before, .result_box h2.short:before {
                width: 40px;
                height: 1px;
                background-image: none;
                margin-left: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2.short:after, .result_box h2.short:after {
                width: 40px;
                height: 1px;
                background-image: none;
                margin-right: -170px;
                top: 15px;
                background-color: #73b0c5;
            }

            section h2 + p {
                font-size: 1.25em;
            }

        section strong {
            font-size: 1.25em;
        }

    /*--------趨勢-----------*/
    .item_title {
        margin: 0 auto;
    }

    .trend_items {
        width: 80%;
        margin: 10px;
    }

    /*--------測驗BN-----------*/
    .personality_test_img {
        width: 300px;
        height: 113px;
    }

    /*--------用電知識-----------*/
    .category {
        width: 80%;
        margin: 15px;
    }

    .knowledge ul li a {
        padding: 10px;
        font-size: 1em;
        margin: 15px 5px;
    }

    .knowledge_inner {
        width: 330px;
    }

    .knowledge_kind_of .knowledge_inner {
        width: 330px;
    }

    .knowledge_inner p {
        margin-left: 20px;
    }

    /*--------帶電美圖-----------*/
    .project {
        display: block;
        width: 80%;
        margin-top: 40px;
    }
    /*--------獎品-----------*/
    .sponsor_item {
        width: 80%;
        margin-top: 30px;
    }

    /*--------人格測驗問題頁-----------*/
    .test_box p {
        font-size: 16px;
    }

    .test_box h2 {
        font-size: 1.6em;
    }

    .test_box a {
        font-size: 16px;
    }

    /*--------人格測驗結果頁-----------*/
    .result_box h3 {
        font-size: 1.6em;
    }

    .result_box p {
        font-size: 1em;
    }

    .recommend_item {
        display: block;
        width: 80%;
        margin: 50px 0 0 0;
    }

    .btn {
        width: 60%;
        margin: 20px 0;
    }

    /*--------大圖瀏覽-----------*/
    .view_visual {
        display: block;
    }

    .view_title {
        max-width: 645px;
    }

        .view_title img {
            width: 100%;
        }
}

@media (min-width:320px) and (max-width:320px) {
    .theme_img {
        width: 290px;
        height: 152px;
        background-image: url(/images/event/2019/electrified/viewtop300.png);
    }

    .theme_video {
        width: 290px;
        height: 178px;
    }

    section h2 {
        font-size: 1.6em
    }

        section h2:before {
            width: 50px;
            margin-left: -110px;
            top: 15px;
        }

        section h2:after {
            width: 50px;
            margin-right: -110px;
            top: 15px;
        }

        section h2.short:before, .result_box h2.short:before {
            width: 30px;
            margin-left: -140px;
        }

        section h2.short:after, .result_box h2.short:after {
            width: 30px;
            margin-right: -140px;
        }

    .btn {
        margin-bottom: 10px;
    }

    .personality_test_img {
        width: 290px;
    }

    .knowledge ul li a {
        padding: 5px;
        margin: 15px 2px;
    }

    .knowledge_inner {
        width: 290px;
        padding: 10px;
    }

    .knowledge_kind_of .knowledge_inner {
        width: 290px;
        padding: 10px;
    }

    .test_box h2 {
        font-size: 1.4em;
    }
}

/*增加輪播Css*/
.slidenav_box {
    display: block;
    position: relative;
    margin-top: 15px;
}

.slidenav {
    display: block;
    width: 900px;
    margin: 0 auto;
}

    .slidenav li {
        display: inline-block;
        background-color: #253241;
    }

        .slidenav li a {
            display: block;
            width: 170px;
            height: 113px;
            border: 3px solid #253241;
            box-sizing: border-box;
        }

            .slidenav li a:hover {
                border: 3px solid #cca19a;
            }

        .slidenav li:nth-child(5n) {
            margin-right: 0px;
        }

.slidenav_box .bx-wrapper img {
    height: 100%;
    margin: 0 auto;
}

.bx-wrapper .bx-controls-direction .bx-prev {
    position: absolute;
    left: -60px;
    top: 50%;
    background: url('/images/index_arrow_pre.png') no-repeat;
    display: block;
    width: 46px;
    height: 46px;
    z-index: 99;
}

.bx-wrapper .bx-controls-direction .bx-next {
    position: absolute;
    right: -60px;
    top: 50%;
    background: url('/images/index_arrow_next.png') no-repeat;
    display: block;
    width: 46px;
    height: 46px;
    z-index: 99;
}

.bx-wrapper .bx-controls-direction .bx-prev:hover {
    opacity: .7;
    filter: opacity(70);
    left: -65px;
}

.bx-wrapper .bx-controls-direction .bx-next:hover {
    opacity: .7;
    filter: opacity(70);
    right: -65px;
}

@media (max-width: 1024px) {
    .img_full {
        width: 100%;
    }

        .img_full span {
            width: 100%;
            height: calc(100vw * 2 / 3);
        }
}

@media (max-width: 768px) {
    .bx-wrapper .bx-controls-direction .bx-prev, .bx-wrapper .bx-controls-direction .bx-prev:hover {
        left: -30px;
    }

    .bx-wrapper .bx-controls-direction .bx-next, .bx-wrapper .bx-controls-direction .bx-next:hover {
        right: -30px;
    }
}

@media (max-width: 767px) {

    .slidenav li a {
        width: 120px;
        height: calc(120px * 2 / 3);
    }
}

@media (max-width: 480px) {
    .slidenav li a {
        width: 100px;
        height: calc(100px * 2 / 3);
    }
}

@media (max-width: 320px) {
    .slidenav li a {
        width: 80px;
        height: calc(80px * 2 / 3);
        
    }
    .fb_base div:last-child {
        display: none;
    }
    
}


/*社群元件*/
div.fb_share {
    
    display: inline-block;
    position: absolute;
    right: 10px;
    margin-top: -40px;
    z-index: 5;
}

@media (min-width:360px) and (max-width:1024px) {
    div.fb_share {        
        right: 10px;        
    }
}

.fb_message {
    color: #fff;
    padding: 30px;
}
