

@import url('https://fonts.googleapis.com/css2?family=Chiron+GoRound+TC:wght@200..900&display=swap');


* {
    font-family: "Chiron GoRound TC", sans-serif;
}


body {
    width: 100%;
    background: url(../images/newbodybg.png) center top repeat-y;
    background-size: cover;
    background-color:#fff9f1;
    overflow-x: hidden;
}


#wrapper {
    width: 100%;
    background-color: transparent;
    margin: 0 auto;
}

/* ==========================================
   NEW HEADER / HERO BANNER
   ========================================== */

#header {
    width: 100%;
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
}

.banner {
    position: relative;
    width: 100%;
    height: 300px;

    /* CHANGE THIS TO YOUR HERO IMAGE */
    background: url("../images/trainbgimg.png") no-repeat center center;
    background-size: cover;
    background-position: center bottom;

    box-sizing: border-box;
    overflow: hidden;
}

    .normal-page #header{
        height: 124px;
    }
    .normal-page .banner{
        height: 124px;
    }
 .index-page #header{
    height: 400px;
 }
 .index-page .banner{
    height: 400px;
 }

/* ---------- LOGO ---------- */
.logo{
    position:absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 900;
    font-size: 40px;
    line-height: 1.05;
    color: #f47b20;
    text-shadow: 
    3px 3px 0 #fff,
    -3px 3px 0 #fff,
    3px -3px 0 #fff,
    -3px -3px 0 #fff
    ;
}
.index-page .logo{
    top: 30px;
    font-size: 50px;;
}

/* ---------- NAVIGATION ---------- */

.banner .link {
    position: absolute;
    top: -180px;
    right: 3%;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    font-weight: 600;
}

.banner .link a {
    font-size: 1.0rem;
}


/* ---------- MOTIVATION QUOTE ---------- */

.header-motivation {
    position: absolute;
    top: 45%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 60%;
    text-align: center;

    z-index: 5;

    pointer-events: none;
}

.header-motivation h2 {
    margin: 0;

    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.5;

    color: #4a3828;

    text-shadow:
        2px 2px 0 #fff,
        -2px 2px 0 #fff,
        2px -2px 0 #fff,
        -2px -2px 0 #fff;
}

.header-motivation p {
    margin: 0;

    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;

    color: #3aa14b;

    text-shadow:
        1px 1px 0 #fff,
        -1px 1px 0 #fff,
        1px -1px 0 #fff,
        -1px -1px 0 #fff;
}


/* ---------- TRAIN ---------- */

.header-train {
    position: absolute;
    left: 0;
    bottom: -70px;
    width: 100%;
    height: 280px;
    overflow: visible;
    z-index: 8;
    pointer-events: none;

}

.header-train-walk {
    position: absolute;
    bottom: 0;
    left: -25%;
    width: max-content;
    animation: headerTrainWalk 20s linear infinite;
}

.header-train-img {
    display: block;

    height: 300px;
    width: auto;

    filter: drop-shadow(0 3px 3px rgba(0,0,0,.15));

    animation: headerTrainBounce .3s ease-in-out infinite alternate;
}


/* Train movement */

@keyframes headerTrainWalk {
    0% {
        left: 110%;
    }

    100% {
        left: -25%;
    }
}


/* Train bouncing */

@keyframes headerTrainBounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-3px);
    }
}


/* ---------- CONTENT OFFSET ---------- */

/*
   Because #header is fixed, the page content needs
   to start below it.
*/

#main {
    width: 100%;
}

@media(max-width: 1024px){
    .logo{
        top: 12px;
        font-size: 34px;
    }
}
/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
    .index-page #header{
        height: 220px;
    }

    .index-page .banner {
        height: 220px;
    }

    .index-page .logo {
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: 95%;
        font-size: 35px;
        font-weight: 900;
        line-height: 1.1;
        white-space: nowrap;
    }

    .index-page .banner .link {
        display: none;
    }

    .index-page .header-motivation {
        display: none;
    }

    .index-page .header-train {
        height: 70px;
    }

    .index-page .header-train-img {
        height: 65px;
    }
}


@media (max-width: 480px) {
    .index-page #header {
        height: 180px;
    }

    .index-page .banner {
        height: 180px;
    }

    .index-page .logo {
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 30px;
        max-width: 95%;
    }

    .index-page .header-motivation {
        display: none;
    }

    .index-page .header-train {
        height: 55px;
    }

    .index-page .header-train-img {
        height: 50px;
    }

    .normal-page #header,
    .normal-page .normal-banner {
        height: 90px;
    }

    .normal-page .normal-header .header-train {
        height: 45px;
        bottom: -3px;
    }

    .normal-page .normal-header .header-train-img {
        height: 45px;
    }
}



/*上方Banner_End_________________________*/

/*上方選單_Start_________________________*/
p.link {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    font-weight: 900;
    color: #8b4513;
}

    p.link a {
        font-size: 1.3rem;
    }

        p.link a:link, p.link a:hover, p.link a:active, p.link a:visited {
            color: black;
        }


        p.link a:hover {
            color: black;
        }
/*上方選單_End_________________________*/



/*中間內容_Start_________________________*/

#main {
    width: 100%;
    /*background: url(../images/re.png) repeat-y;*/
}

.main_body {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    box-sizing: border-box;
    padding: 30px 5%;
    flex-wrap:nowrap;
}

.normal-page .main_body{
    transform: translateY(-10px);
}

/*中間內容_End_________________________*/


/*中間各區塊的配置_Start_________________________*/
.main_left {
    flex-shrink: 0;
    min-width: 0;
}

.Menu_01 {
    padding-top: 5px;
}

.main_center_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 1rem 2.5%;
    flex: 1;
    flex-shrink: 1;
    min-width: 0;
}

.main_center {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
}

.edit_main_center {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    margin-top: 2rem;
}

    .edit_main_center * {
        all: revert;
    }

    .edit_main_center img {
        max-width: 100%;
        object-fit: contain;
    }


.main_right {
    width: 300px;
    flex-shrink: 0;
    transform: translateX(40px);
}


/*中間各區塊的配置_End_________________________*/

/*左邊列表_Start*/
.item {
    height: 3rem;
    padding-right: 1rem;
    padding-left: 3rem;
    border: 0.2rem solid tomato;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
}

    .item:hover {
        border: 0.2rem solid #ff9380;
    }

    .item p {
        font-size: 1rem;
        color: #8b4513;
        font-weight: 600;
        text-shadow: 1px 1px 0 White, 1px -1px 0 White, -1px 1px 0 White, -1px -1px 0 White, 1px 0px 0 White, 0px 1px 0 White, -1px 0px 0 White, 0px -1px 0 White;
    }

    .detailItem{
        width: 100%;
        padding-left: 0.5rem;
    }

    .detailItem ul.a02{
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .detailItem ul.a02 li{
        margin-bottom: 0.5rem;
    }

    .detailItem ul.a02 li a{
        display:block;
        padding: 0.5rem 1rem;
        border: 0.15rem solid #f4b183;
        border-radius: 0.5rem;
        background-color: #fff9f1;
        color: #8b4513;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        transition: all 0.15s ease;
    }

    .detailItem ul.a02 li a:hover{
        border-color: #ff9380;
        background-color: #ffe9df;
        color: black;
    }


.orange {
    background: url(../images/fruitveg/03_orange.png);
    background-color: #fff0dc;
    background-position: 10px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.apple {
    background: url(../images/fruitveg/01_apple.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.banana {
    background: url(../images/fruitveg/02_banana.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.plum {
    background: url(../images/fruitveg/06_strawberry.png);
    background-color: #fff0dc;
    background-position:  10px;
    background-size: 2.5rem;
    background-repeat: no-repeat;
}

.green-apple {
    background: url(../images/fruitveg/05_tomato.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.2rem;
    background-repeat: no-repeat;
}

.purple-grapes {
    background: url(../images/fruitveg/07_grapes.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.yellow-pear {
    background: url(../images/fruitveg/04_orange_slice.png);
    background-color: #fff0dc;
    background-position: 6px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.pear {
    background: url(../images/fruitveg/08_watermelon.png);
    background-color: #fff0dc;
    background-position:  6px;
    background-size: 2.8rem;
    background-repeat: no-repeat;
}

.bell-pepper {
    background: url(../images/fruitveg/11_bell_pepper.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 2.8rem;
    background-repeat: no-repeat;
}

.potato {
    background: url(../images/fruitveg/18_avocado.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.eggplant {
    background: url(../images/fruitveg/19_eggplant.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 2.8rem;
    background-repeat: no-repeat;
}

.corn {
    background: url(../images/fruitveg/10_broccoli.png);
    background-color: #fff0dc;
    background-position: 5px;
    background-size: 2.9rem;
    background-repeat: no-repeat;
}

.white-cauliflower {
    background: url(../images/fruitveg/16_blueberries.png);
    background-color: #fff0dc;
    background-position: 5px;
    background-size: 3rem;
    background-repeat: no-repeat;
}

.cabbage {
    background: url(../images/fruitveg/15_cabbage.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

.chili {
    background: url(../images/fruitveg/14_cherries.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3rem;
    background-repeat: no-repeat;
}

.sun {
    background: url(../images/fruitveg/sun.png);
    background-color: #fff0dc;
    background-position: -8px 10px;
    background-size: 3.5rem;
    background-repeat: no-repeat;
}

.pumpkin {
    background: url(../images/fruitveg/pumpkin.png);
    background-color: #fff0dc;
    background-position: -10px 10px;
    background-size: 3.5rem;
    background-repeat: no-repeat;
}

.onion {
    background: url(../images/fruitveg/onion.png);
    background-color: #fff0dc;
    background-position: -10px 10px;
    background-size: 3.5rem;
    background-repeat: no-repeat;
}

.cauliflower {
    background: url(../images/fruitveg/20_leafy_green.png);
    background-color: #fff0dc;
    background-position: -10px 10px;
    background-size: 4.0rem;
    background-repeat: no-repeat;
}

.carrot {
    background: url(../images/fruitveg/09_carrot.png);
    background-color: #fff0dc;
    background-position: 8px;
    background-size: 3.0rem;
    background-repeat: no-repeat;
}

/*左邊列表_End*/
/*中邊_健康滿分問答集_Start_________________________*/
.Health {
    height: 180px;
    background: url(../images/Health_backgroup.jpg) repeat-y;
}

    .Health ul {
        padding-top: 10px;
        margin-left: 40px;
    }

        .Health ul li {
            line-height: 25px; /*行距*/
            background: url(../images/03-3.png) no-repeat left 10px;
            padding-left: 10px;
        }


            .Health ul li span {
                float: right;
                margin-right: 15px;
            }

.Health_more {
    padding-top: 50px;
    margin-left: 490px;
    color: black;
}

/*中邊_健康滿分問答集_End_________________________*/


/*右邊_友善連結_Start_________________________*/
.main_right h1 {
    color: #8b4513;
    width: 100%;
    font-size: 1.3rem;
}

.main_right .line {
    background: #8b451360;
    width: 80%;
    height: 2px;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

    .right_bt li {
        margin-bottom: 10px;
    }


            .right_bt li a div {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                height: 50px;
                width: 80%;
                background-color: #FFF5CC;
                background-image: url("../images/side-bg.png");
                background-size: contain;
                background-position: center bottom;
                background-repeat: no-repeat;
                border: 2px solid orange;
                border-radius: 10px;
                font-weight: 600;
            }

                .right_bt li a div p {
                    font-size: 1.0rem;
                    color: #8b4513;
                }
/*右邊_友善連結_End_________________________*/


/*中間下方_彩帶區_Start_________________________*/
.main_2 {
    width: 1000px;
    height: 23px;
    margin: auto;
    background: url(../images/08-1.jpg) no-repeat center top;
}
/*中間下方_彩帶區_End_________________________*/


/*下方_網站資訊_End_________________________*/
#bottom {
    width: 100%;
    height: 100px;
    padding: 20px 0;
    background: url(../images/newfooterbanner.png) center center no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.bottom_body {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    margin-top: -30px;
}

.bottom_body p {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 600;
    color: #8b4513;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .bottom_body {
        flex-direction: column;
        margin-top: -45px;
        text-align: center;
        height: auto;
    }
}
/*下方_網站資訊_End_________________________*/


/*中邊_填寫報表的中間資訊_Start_________________________*/
.report_content {
    width: 100%;
}

    .report_content ul li {
        line-height: 26px; /*行距*/
        background: url(../images/03-3.png) no-repeat left 10px;
        padding-left: 10px;
    }

        .report_content ul li span {
            float: right;
            margin-right: 15px;
        }

        .report_content ul li a {
            text-decoration: underline;
        }

            .report_content ul li a:hover {
                color: #666;
                text-decoration: none;
            }

        .report_content ul li span {
            font-weight: bold;
            color: #F36;
        }


            .report_content ul li span a {
                font-weight: bold;
                color: #F36;
                text-decoration: none;
            }

                .report_content ul li span a:hover {
                    font-weight: bold;
                    color: #F36;
                    text-decoration: underline;
                }

.news_Refrence {
    max-width: 100%;
}

    .news_Refrence p {
        max-width: 100%;
    }

    .news_Refrence a {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

.news_Refrence-inner {
    max-width: 100%;
}

    .news_Refrence-inner p {
        max-width: 100%;
    }

    .news_Refrence-inner a {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

.news_Content p {
    padding: 0.25rem 0;
}

.news_Content img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.news_Content h1, h2, h3, h4, h5, h6 {
    padding-top: 1rem;
    padding-bottom: 0.25rem;
}

.news_Content h1 {
    font-size: 1.5rem;
}

.news_Content h2 {
    font-size: 1.25rem;
}

.news_Content h3 {
    font-size: 1rem;
}

.news_Content h4 {
    font-size: 1rem;
}

.news_Content h5 {
    font-size: 0.75rem;
}

.news_Content h6 {
    font-size: 0.5rem;
}

.news_edit_Content {
    text-align: left;
}

/*中邊_填寫報表的中間資訊_End_________________________*/





/*中邊_頁碼_Start_________________________*/
.page_number {
    text-align: center;
    margin-top: 20px;
}


    .page_number ul {
        height: 30px;
    }

    .page_number li {
        display: inline;
        padding: 5px;
        margin-right: 5px;
        background-color: #fff685;
        /*border: 1px solid red;*/
        border: 1px solid red;
        height: 20px;
        width: 5px;
    }
/*中邊_頁碼_End_________________________*/

/*中邊_返回按鈕_Start*/
.go-back-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1rem;
    padding: 8px 15px;
    border: 2px solid #4f832d;
    border-radius: 999px;
    color: #2e5c1a;
    background-color: transparent;
    margin: 0 auto;
    cursor: pointer;
}

    .go-back-btn:hover {
        color: white;
        background-color: #2e5c1a;
    }
/*中邊_返回按鈕_End*/

/*電腦版隱藏_Start*/
.pc-hidden {
    display: none;
}
/*電腦版隱藏_End*/


