﻿html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    /* overflow: hidden; */
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
    font-display: fallback;
}



.container {

    margin: 0 auto;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    width: 80%;
    max-width: 80%;
    /* border: 1px black solid; */
}

    .box {
        position: absolute;
        width: 100%;
        max-width: 1440px;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        /*background-image: url("../images/BG1_1.png");*/
        /* border: 1px black solid; */
    }

.nhu {
    position: absolute;
    top: 5vh;
    left: 0vh;
    width: 26vh;
    max-width: 26vh;
    /* border: 1PX black solid; */
}

.nhusys {
    position: absolute;
    width: 65vh;
    max-width: 65vh;
    top: 15vh;
    left: 0vh;
    z-index: 2;
}

.banner {
    z-index: 1;
    position: absolute;
    top: 25vh;
    height:820px;
}
.bluebar {
    z-index: 100;
    position: absolute;
    top: 25vh;
    right: 0vh;
    padding: 2vh;
    height: auto;
    max-width: 70vh;
    font-size: 2vh;
    background: #005b9cdb;
    font-family: normal 400 "Noto Sans TC";
    /* border: 1px black solid ; */
}
.bluebar_English {
    z-index: 100;
    position: absolute;
    top: 25vh;
    right: 0vh;
    padding: 2vh;
    height: auto;
    max-width: 80vh;
  
    font-size: 2vh;
    background: #005b9cdb;
    font-family: normal 400 "Noto Sans TC";
    /* border: 1px black solid ; */
}

.textsty {
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2vh;
    margin: 2vh;
    vertical-align: baseline;
    /* border: 1px black solid; */
}

.bluebar a:link, .bluebar_English a:link {
    text-decoration: none;
    color: #ffffff;
}

.bluebar a:visited, .bluebar_English a:visited {
    color: #ffffff;
}


.topenter {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0.5vh;
    height: auto;
    width: auto;
    /* font-size: 2em; */
    color: #005b9cdb;
    /* border: 1px black solid; */
}

.topsty {
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.2vh;
    margin: 1vh;
    vertical-align: baseline;
    font: normal 600 3vh "Noto Sans TC";
    /* border: 1px black solid; */
}

.topenter a:link {
    text-decoration: none;
    color: #005b9cdb;
}

.topenter a:visited {
    text-decoration: none;
    color: #005b9cdb;
}
.topenter a{
    font-size:18px;
}

.login {
    text-align: center;
    position: absolute;
    top: 10vh;
    right: 0vh;
    height: auto;
    width: auto;
    /* border: 1px black solid; */
}

    .login img {
        margin: 1vh;
        width: 15vh;
        /* border: 1px black solid; */
    }

    .login a:link {
        text-decoration: none;
    }




.pg2 {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("../images/BG2_1.png");
    /* border: 1px black solid; */
}

.pg2_News1 {
    /*position: relative;*/
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("../images/BG_News_1.png");
    /*background-color:red;*/
    /* border: 1px black solid; */
}
.pg2_News2 {
    /*position: relative;*/
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("../images/BG_News_2.png");
    /*background-color:red;*/
    /* border: 1px black solid; */
}
.pg2_News3 {
    /*position: relative;*/
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("../images/BG_News_3.png");
    /*background-color:red;*/
    /* border: 1px black solid; */
}
.pg2_News4 {
    /*position: relative;*/
    width: 100%;
    max-width: 1440px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("../images/BG_News_4.png");
    /*background-color:red;*/
    /* border: 1px black solid; */
}
.btn2_1 {     
    top: 5px;
    right: 0vh;
    /* margin: 0; */
    height: auto;
    width: auto;
    /* border: 1px black solid; */
}
.btn2 {
    position: absolute;
    text-align: center;
    top: 10vh;
    right: 10vh;
    /* margin: 0; */
    height: auto;
    width: auto;
    /* border: 1px black solid; */
}

.btn2_in {
    text-align: center;
    margin: 1vh;
    width: 8vh;
    /* border: 1px black solid; */
}

/**小於一定寬度後隱藏部份元作*/
@media screen and (min-width:821px) {
    .nhusys {
        display: block;
    }
    .nhu {
        display: block;
    }
}
@media screen and (max-width:821px) {
    .nhusys {
        display: none;
    }
    .nhu{
        display:none;
    }
}

/* 手機 */
@media screen and (max-width: 621px) {

    .container {
        display: none;
    }

    .containerph {
        display: block;
    }
}

@media screen and (min-width:621px) {
    .containerph {
        display: none;
    }
}

.containerph {
    margin: auto;
    width: 100%;
    height: 100%;
    padding-top:150px;
}

.ph_index {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px black solid; */
}

.logo {
    text-align: center;
    width: 30vh;
    margin: 1vh;
}

.top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: auto;
    /* border: 1px black solid; */
}

    .top img {
        margin: 1vh;
        width: 10vh;
    }

.loginph {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .loginph img {
        margin: 1vh;
        width: 13vh;
    }

.btm {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .btm img {
        width: 7vh;
        margin: 1vh;
    }

.btm2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .btm2 img {
        width: 10vh;
        margin: 1vh;
    }

.news {
    height: 100%;
    width: 100%;
    background: #005A9C;
    border-radius: 20px;
}

.newsbtn {
    width: auto;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

    .newsbtn img {
        width: 6vh;
        margin: 1vh;
    }
