﻿@import 'common.css';


a.btn {
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    border: 2px solid #7e1d34;
    border-radius: 35px;
    color: #fff;
    display: block;
    padding: 8px 0;
    position: relative;
    text-align: center;
    max-width: 200px;
    background-color: #7e1d34;
    margin: 15px auto;
    letter-spacing: 2px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .2);
}

a.btn:hover {
    background-color: #fff;
    color: #7e1d34;
}

.ttl_head {
    margin-bottom: 30px;
    text-align: center;
}

.ttl_head h4 {
    color: #7e1d34;
    font-size: 24px;
    font-weight: bold;
}

.ttl_head h4:after {
    width: 30px;
    height: 30px;
}

.ttl_head p {
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0 10px 0;
}

#intro {
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
}

#main {
    position: relative;
    z-index: 105;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-color: rgba(250, 250, 250, 0.8);
}

#intro {
    height: 100vh;
    width: 100%;
    position: relative;
    background: url('../images/kv_bg.jpg') center center;
    -webkit-background-size: cover;
    background-size: cover;
    overflow: hidden;
}


#intro .kv_wrap {
    width: 1200px;
    position: relative;
}

#intro .kv_ttl_block {
    padding: 0 10%;
    position: absolute;
    margin-top: 20%;
    z-index: 100;
}

#intro .kv_left_baloon {
    width: 600px;
    height: 700px;
    background: url('../images/kv_left_baloon.png');
    -webkit-background-size: cover;
    background-size: cover;
    position: absolute;
    left: 2%;
    top: -30px;
    z-index: 101;
}

#intro .kv_right_book {
    width: 800px;
    height: 796px;
    background: url('../images/kv_right_book.png');
    -webkit-background-size: cover;
    background-size: cover;
    position: absolute;
    right: -3%;
    top: 30px;
    z-index: 99;
}

@media only screen and (max-width:1200px) {

    #intro .kv_ttl_block {
        padding: 0 5%;
    }
    #intro .kv_left_baloon {
        left: -5%;
        top: -30px;
    }
}


@media only screen and (max-width:1143px) {
    #intro .kv_wrap {
        width: 100%;
        position: relative;
    }
    #intro .kv_left_baloon {
        left: -18%;
        top: -30px;
    }
}

@media only screen and (max-width:991px) {

    #intro .kv_ttl_block {
        padding: 0 15%;
    }
}

@media only screen and (max-width:768px) {
    #intro {
        background: url('../images/kv_bg_m.jpg') top center;
        -webkit-background-size: 800px;
        background-size: 800px;
    }
    #intro .kv_ttl_block {
        padding: 0 20%;
        margin-top: 20%;
    }
    #intro .kv_right_book {
        display: none;
    }
    #intro .kv_left_baloon {
        display: none;
    }
}

@media only screen and (max-width:590px) {

    #intro {
        background: url('../images/kv_bg_m.jpg') top center;
        -webkit-background-size: 700px;
        background-size: 700px;
    }
    #intro .kv_ttl_block {
        padding: 0 0px;
        margin-top: 30%;
    }
}



/*============活動緣起============*/

#message {
    position: relative;
    overflow: hidden;
    min-height: 636px;
    width: 100%;
    padding-top: 50px;
    background: url('../images/message_bg.jpg') center center;
}

.message_content {
    background-color: #fff;
    padding: 40px 50px 80px 50px;
    border: 1px solid #dddddd;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
}

.message_content p {
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 30px;
    text-align: center;
}

.message_img_left {
    position: absolute;
    width: 400px;
    height: 295px;
    background: url('../images/message_img01.png');
    -webkit-background-size: cover;
    background-size: cover;
    left: 20%;
    bottom: -10px;
}

.message_img_right {
    position: absolute;
    width: 350px;
    height: 258px;
    background: url('../images/message_img02.png');
    -webkit-background-size: cover;
    background-size: cover;
    right: 20%;
    bottom: -20px;
}

@media screen and (max-width: 1200px) {
    .message_img_left {

        width: 400px;
        height: 295px;
        left: 0%;
        bottom: -70px;
    }

    .message_img_right {
        width: 350px;
        height: 258px;
        right: 0%;
        bottom: -60px;
    }
}

@media only screen and (max-width:768px) {

    #message {
        padding-bottom: 150px;
    }
    .message_content {
        background-color: #fff;
        padding: 40px 30px 30px 30px;
    }
    .message_content p {
        text-align: left;
    }

    .message_img_left {

        width: 350px;
        height: 258px;
        left: 50%;
        margin-left: -175px;
        bottom: -30px;
    }
    .message_img_right {
        display: none;
    }
}




/*============徵文辦法=============*/

#rule {
    background: url('../images/rule_bg.jpg') top center;
    background-repeat: no-repeat;
    background-color: #fefdf9;
    -webkit-background-size: 1500px;
    background-size: 1500px;
}

#rule .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.rule_content h4 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 30px;
}

.rule_content p {
    font-size: 16px;
    line-height: 26px;
    padding-bottom: 10px;
}

.rule_content a {
    text-decoration: underline;
    font-weight: bold;
}

.rule_content a:hover {
    text-decoration: none;
}

@media only screen and (max-width:769px) {
    #rule {
        background: url('../images/rule_bg.jpg');
        background-position: top right;
        -webkit-background-size: 1200px;
        background-size: 1200px;
        background-repeat: no-repeat;
    }
    .mask {
        background-color: rgba(255, 255, 255, 0.6);
    }
}

@media only screen and (max-width:590px) {
    .rule_content {
        padding: 0 15px;
    }
}

#download {
    background: url('../images/download_bg.jpg') top center;
    padding: 50px 0;
}

.download_wrap {
    padding: 0 5%;
}

.download_content {
    padding: 0 20px;
}

.download_content h3 {
    font-size: 16px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
}



.download_content .img_block {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
    padding: 20px 20px;
    margin-bottom: 20px;
}

@media only screen and (min-width: 1200px) {
    .download_wrap {
        padding: 0 10%;
    }
}

@media only screen and (max-width:991px) {

    .download_content h3 {
        font-size: 15px;
        line-height: 40px;
    }
}
@media only screen and (max-width:590px) {

    .download_content h3 {
        font-size: 18px;
        line-height: 40px;
    }
}

.subscribe {
    position: fixed;
    bottom: -100px;
    right: -40px;
    z-index: 200;
    width: 200px;
    height: 228px;
}

.subscribe a {
    display: block;
    width: 200px;
    height: 228px;
    background: url('../images/download.png');
    -webkit-background-size: cover;
    background-size: cover;
    font-size: 0;
}





@media only screen and (max-width: 590px) {
    .subscribe a {
        display: block;
        width: 140px;
        height: 159px;
    }
    .subscribe {
        position: fixed;
        bottom: -100px;
        right: -20px;
        z-index: 200;
        width: 140px;
        height: 159px;
    }
}



.modal-content{
        background: url('../images/lightbox.jpg') bottom center no-repeat;
        -webkit-background-size: 700px;
        background-size: 700px;
        min-height: 400px;
        background-color: #ffdc7f;
}

.modal-body .resault_content{
    padding: 30px;
}
.modal-body .resault_content h5{
    text-align: center;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 15px;
}

.resault_content table{
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #555555;
    text-align: center;
    font-size: 13px;
}


.resault_content td{
        padding: 10px;
}
