/* this is my custom CSS */

@charset "UTF-8";

/* CSS Document */


/************************************* all *************************************/

body {
    color: #000;
    font-size: 15px;
    font-family: "微軟正黑體", sans-serif;
    padding-top: 77px;
}
@media (min-width: 992px) {
    body {
        padding-top: 0px;
    }
}
a {
    color: #113058;
}
a:focus {
    outline: 0;
}
h1,
h2,
h3,
h4,
h5 {
    color: #00214c;
    line-height: 1.3;
    font-weight: normal;
}
a:hover {
    text-decoration: none;
}
.img100 {
    width: 100%;
}
.container-fluid {
    max-width: 1440px;
}
.g_bg_1,
.g_bg_2,
.g_bg_3,
.g_bg_4 {
    background-image: url(../img/c1.jpg);
    height: 10px;
    background-repeat: repeat-x;
}
.g_bg_2 {
    background-image: url(../img/c2.jpg);
}
.g_bg_3 {
    background-image: url(../img/c3.jpg);
}
.g_bg_4 {
    background-image: url(../img/c4.jpg);
}

/************************************* header_m *************************************/

.header_m {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    width: 100%;
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
.header_m .logo {
    width: 175px;
    height: auto;
}
.header_m .nav_trigger {
    width: 29px;
    height: auto;
    float: right;
    margin-top: 10px;
}

/************************************* mynav *************************************/

#mynav .modal-content {
    text-align: center;
    margin-top: 70px;
}
#mynav .modal-content a {
    display: block;
    font-size: 24px;
    padding: 30px 0;
    color: #fff;
    border-top: 1px solid #00a0e9;
}
#mynav .myclose {
    right: 15px;
    top: 25px;
}

/************************************* header_d *************************************/

.header_d {
    max-width: 1500px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 26px;
    padding-bottom: 26px;
    margin: 0 auto;
}
.header_d .header_d_right {
    float: right;
    line-height: 47px;
}
.header_d .header_d_right img {
    height: 47px;
    width: auto;
    position: relative;
    top: -3px;
}
.header_d a {
    font-size: 24px;
    margin: 0 15px;
}

/************************************* banner *************************************/

#banner {
    max-width: 1440px;
    margin: 0 auto;
}
#banner .carousel-control.left,
#banner .carousel-control.right {
    background-image: none
}
#banner .carousel-indicators li {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background-color: transparent;
    border-color: #00a0e9;
    margin-right: 10px;
    margin-left: 10px;
}
#banner .carousel-indicators .active {
    background-color: #00a0e9;
}

/************************************* heart *************************************/

.heart {
    padding-bottom: 30px;
}
@media (min-width: 992px) {
    .heart {
        padding-bottom: 60px;
    }
    .heart p {
        font-size: 18px;
    }
}
.heart1,
.heart2,
.heart3,
.heart4 {
    display: none;
    margin-top: 15px;
}
@media (min-width: 992px) {
    .heart1,
    .heart2,
    .heart3,
    .heart4 {
        margin-top: 30px;
    }
}
.heart h1 {
    margin-bottom: 15px;
}
@media (min-width: 992px) {
    .heart h1 {
        font-size: 66px;
        margin-bottom: 30px;
    }
}
a .heart_nav {
    margin-bottom: 15px;
    line-height: 50px;
    color: #fff;
    background-image: url(../img/header/m/heart_nav_bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (min-width: 992px) {
    a .heart_nav {
        line-height: 60px;
        font-size: 30px;
    }
}
a:hover .heart_nav,
a .heart_nav.active {
    background-image: url(../img/header/m/heart_nav_bg_over.png);
}
.picture_description {
    color: #666;
    margin-top: 5px;
}
.heart2 h4 {
    margin-top: 1em;
    margin-bottom: 0.3em;
}
.heart2 h4:first-child,
.heart3 h4:first-child {
    margin-top: 0em;
}
.heart4 h4 {
    color: #000;
}

/************************************* heart 桌機1~4調整 *************************************/

@media (min-width: 992px) {
    .heart1 img,
    .heart2 img {
        margin-top: 50px;
    }
    .heart h4 {
        font-size: 24px;
    }
    .heart4 h4 {
        font-size: 26px;
    }
    .heart4 h4:first-child {
        margin-top: 50px;
    }
}

/************************************* how *************************************/

.how_bg {
    background-color: #00569a;
    padding-bottom: 30px;
}
.how {
    color: #fff;
    text-align: center;
}
@media (min-width: 992px) {
    .how {
        font-size: 26px;
    }
}
.how h1 {
    color: #fff;
}
@media (min-width: 992px) {
    .how h1 {
        font-size: 66px;
    }
}
.how a img {
    margin-bottom: 15px;
}
.how a {
    color: #fff;
}

/************************************* knowledge *************************************/

.knowledge_bg {
    background-color: #00a0e9;
    padding-bottom: 30px;
}
.knowledge {
    color: #00214c;
}
@media (min-width: 992px) {
    .knowledge {
        font-size: 24px;
    }
}
.knowledge h1 {
    color: #fff;
}
@media (min-width: 992px) {
    .knowledge h1 {
        font-size: 66px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}
.knowledge .one_qa {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px #fff dashed;
}
.knowledge .one_qa:first-child {
    margin-top: 15px;
    border-top: 1px #fff dashed;
}

/************************************* footer *************************************/

.footer1 {
    background-color: #00569a;
    color: #fff;
    padding: 15px 0px;
}
.footer1 a {
    color: #fff;
}
.footer2 {
    background-color: #112445;
    color: #fff;
    padding: 15px 0px;
}
@media (min-width: 992px) {
    .footer1,
    .footer2 {
        font-size: 20px;
        line-height: 50px;
    }
}

/************************************* modal *************************************/


/*刪除陰影與線*/

.modal-dialog .modal-content {
    box-shadow: none;
    border: none;
    border-radius: 4px;
    background: none;
    color: #fff;
}
@media (min-width: 992px) {
    .modal-dialog .modal-content {
        font-size: 20px;
        line-height: 1.5;
    }
}
.modal-dialog .modal-content img {
    margin-bottom: 15px;
}
.modal-dialog {
    margin-top: 55px;
}
@media (min-width: 992px) {
    .modal-dialog {
        margin-top: 80px;
    }
}
.modal-backdrop {
    opacity: 0.8 !important;
}
.myclose {
    width: 25px;
    height: auto;
    z-index: 1000;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}
@media (min-width: 992px) {
    .myclose {
        width: 50px;
        height: auto;
    }
}
