@charset "utf-8";
/*----- 搜尋區塊 -----*/

.searchBox {
    position: absolute;
    z-index: 50;
    padding: 1em;
    margin: auto;
    width: 65%;
    top: 1.5%;
    left: 20vw;
    border-radius: .8em;
    background: rgba(255, 255, 255, 1);
}

.searchBox label span {
    display: none;
}

.searchBox input#topSearch {
    width: 65%;
    border-radius: .5em;
    border: 1px solid #dbdbdb;
    padding: .5em 1em;
    background: #f1f1f1;
}

.searchBox .KeyWord {
    color: #d30000;
    margin-top: .5em;
    margin-left: 1.5em;
}

.KeyWord a {
    color: #d30000;
    margin-right: .5em;
    text-decoration: underline;
}

.KeyWord a.topFile {
    color: #016e69;
}

.searchBtn {
    color: #fff;
    background: #555555;
    border: 1px solid #333;
    padding: .35em 1em;
    margin: 0 0.2em;
    border-radius: .5em;
    width: 15%;
}

.greenBtn {
    /*background: #2baa9f;*/
    background: #00635a;
    border: 1px solid #00635a;
}

.searchBtn:hover, .searchBtn:focus {
    background: #000;
    border: 1px solid #000;
}

@media only screen and (min-width: 1000px) and (max-width: 1330px) {
    .searchBox input#topSearch {
        width: 60%;
    }
    .searchBtn {
        width: auto;
    }
}

/*----- pad Style -----*/

@media only screen and (min-width: 430px) and (max-width: 1024px) {
    .searchBox input#topSearch {
        width: 60%;
    }
}

.newsBlock {
    margin: 2em 0;
}

/*----- 會員登入區塊 -----*/

.boxline {
    border-radius: 1em;
    padding: .25em 0 .25em 1em;
    border: 1px solid #dbdbdb;
    margin: .5em 0;
}

.loginContent label {
    display: block;
    width: 40%;
    line-height: 35px;
    float: left;
    font-size: 1em;
    color: #000;
}

.loginContent input[type="text"] {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 60%;
    height: 35px;
    line-height: 35px;
    border: none;
    background: none;
}

.memberBox, .adBannerBox {
    display: inline-block;
    vertical-align: top;
}

.memberBox {
    width: 30%;
    border: 1px solid #dbdbdb;
    padding: 1em 2em;
}

.loginTitle {
    font-size: 1.75em;
    font-weight: bold;
    display: block;
    border-bottom: 1px solid #ccc;
    padding: 0 0 .5em 0;
    margin-bottom: .75em;
}

.loginTitle h2 {
    margin: 0;
    font-size: 1em;
}

.boxline label span {
    font-size: .7em;
    color: #000;
    margin-left: .5em;
    letter-spacing: 0;
}

.boxline label a {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.loginBtn {
    width: 49%;
    border-radius: 1em;
    padding: .25em 0;
    color: #fff;
    display: inline-block;
    text-align: center;
}
.passwordBox{
    display: flex;
    align-content: center;
}
.passwordBox input[type="password"],.passwordBox input[type="text"]{
    border: 1px solid #000;
    width: 60%;
    height: 35px;
}
.eye_pass{
    margin: 4px;
    width: 26px;
    height: 26px;
    cursor: pointer;
}
@media only screen and (min-width: 1000px) and (max-width: 1335px) {
    .memberBox {
        width: 40%;
    }
}

/*----- pad Style -----*/

@media only screen and (min-width: 430px) and (max-width: 1024px) {
    .memberBox {
        width: 100%;
        margin: 0 0 1.5em 0;
    }
    
    .mapWrap .searchBtn {
        width: auto;
    }
}

/*----- banner輪播區塊 -----*/

.adBannerBox {
    width: 65%;
    margin-left: 2%;
}

.flexslider a {
    display: block;
}

.flexslider a:focus img {
    border: #ffc107 dotted 3px!important;
}

@media only screen and (min-width: 1000px) and (max-width: 1335px) {
    .adBannerBox {
        width: 57%;
    }
}

/*----- pad Style -----*/

@media only screen and (min-width: 430px) and (max-width: 1024px) {
    .adBannerBox {
        width: 100%;
        margin-left: 0;
        margin-bottom: 1%;
    }
}

/*----- 上方主視覺區塊 -----*/

.topView {
    position: relative;
    top: 0;
    /*height: 60vh;--*/
    overflow: hidden;
}
.gif_static {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: url("../images/indexBanner/gif_static.png") no-repeat 60px bottom;
}

.gif_static div {
    position: absolute;
    bottom: 2px;
}

.gif_static div img {
    height: 100%;
    width: auto;
}

.gif_static div.widthset img {
    height: auto;
    width: 100%;
}

.gif01 {
    left: 8em;
    height: 80px;
}

.gif02 {
    left: 15em;
    top: 20px;
    width: 35px;
}

.gif03 {
    height: 20px;
    top: 0;
}

.gif04 {
    height: 10px;
    top: 13px;
}

div.gif05, div.gif06 {
    width: 35px;
    bottom: 0px;
}

div.gif06 {
    width: 30px;
}

.gif_static .gif02 {
    left: 100%;
    -webkit-animation: walk 300s -70s infinite linear;
    animation: walk 300s -70s infinite linear;
}

.gif_static .gif03 {
    right: 100%;
    -webkit-animation: walk2 30s -7s infinite linear;
    animation: walk2 30s -7s infinite linear;
}

.gif_static .gif04 {
    left: 100%;
    -webkit-animation: walk 50s -64s infinite linear;
    animation: walk 50s -64s infinite linear;
}

.gif_static .gif05 {
    left: 100%;
    -webkit-animation: walk 150s -7s infinite linear;
    animation: walk 150s -7s infinite linear;
}

.gif_static .gif06 {
    right: 100%;
    -webkit-animation: walk2 100s -7s infinite linear;
    animation: walk2 100s -7s infinite linear;
}

@-webkit-keyframes walk {
    0% {
        left: 100%;
    }
    100% {
        left: -200px;
    }
}

@keyframes walk {
    0% {
        left: 100%;
    }
    100% {
        left: -200px;
    }
}

@-webkit-keyframes walk2 {
    0% {
        right: 100%;
    }
    80% {
        right: -50px;
    }
    100% {
        right: -50px;
    }
}

@keyframes walk2 {
    0% {
        right: 100%;
    }
    80% {
        right: -50px;
    }
    100% {
        right: -50px;
    }
}

/*----- 七大主題區塊 -----*/

.subjectList {
    display: flex;
    justify-content: center;
    margin: 2em 1em;
    font-size: 1.25em;
}

.subjectList li {
    position: relative;
    list-style: none;
    text-align: center;
    width: 99%;
    max-width: 200px;
    margin: 0 0.5%;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.subjectList li a {
    padding: 1em 1em 2em 1em;
    display: block;
    border-left: 0;
    font-weight: 700;
    width: 100%;
    position: relative;
}

.subjectList li:first-child {
    border-left: 1px solid #ccc;
}

.subjectList a span {
    display: block;
}

.subjectList li:after {
    content: ' ';
    position: absolute;
    bottom: 1em;
    left: 7.5%;
    width: 85%;
    height: 3px;
    display: block;
    background: rgb(76, 187, 198);
    background: -moz-linear-gradient(left, rgba(76, 187, 198, 1) 0%, rgba(137, 201, 139, 1) 100%);
    background: -webkit-linear-gradient(left, rgba(76, 187, 198, 1) 0%, rgba(137, 201, 139, 1) 100%);
    background: linear-gradient(to right, rgba(76, 187, 198, 1) 0%, rgba(137, 201, 139, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4cbbc6', endColorstr='#89c98b', GradientType=1);
}

.subjectIcon {
    position: relative;
    display: flex;
    width: 100%;
    height: 80px;
    margin: 0 auto 10px auto;
}

.subjectList a:hover .subjectIcon, .subjectList a:focus .subjectIcon {
    background: rgb(76, 187, 198);
    background: -moz-linear-gradient(45deg, rgba(76, 187, 198, 1) 0%, rgba(137, 201, 139, 1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(76, 187, 198, 1) 0%, rgba(137, 201, 139, 1) 100%);
    background: linear-gradient(45deg, rgba(76, 187, 198, 1) 0%, rgba(137, 201, 139, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4cbbc6', endColorstr='#89c98b', GradientType=1);
}

.subjectIcon span {
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    margin: auto;
    background-image: url(../images/icon/subjectListIcon.png);
    background-repeat: no-repeat;
}

.subjectList li:nth-child(1) .subjectIcon span {
    background-position: 0px top;
}

.subjectList li:nth-child(2) .subjectIcon span {
    background-position: -50px top;
}

.subjectList li:nth-child(3) .subjectIcon span {
    background-position: -100px top;
}

.subjectList li:nth-child(4) .subjectIcon span {
    background-position: -150px top;
}

.subjectList li:nth-child(5) .subjectIcon span {
    background-position: -200px top;
}

.subjectList li:nth-child(6) .subjectIcon span {
    background-position: -250px top;
}

.subjectList li:nth-child(7) .subjectIcon span {
    background-position: -300px top;
}

.subjectList li:nth-child(1):hover .subjectIcon span, .subjectList li:nth-child(1) a:focus .subjectIcon span {
    background-position: 0px bottom;
}

.subjectList li:nth-child(2):hover .subjectIcon span, .subjectList li:nth-child(2) a:focus .subjectIcon span {
    background-position: -50px bottom;
}

.subjectList li:nth-child(3):hover .subjectIcon span, .subjectList li:nth-child(3) a:focus .subjectIcon span {
    background-position: -100px bottom;
}

.subjectList li:nth-child(4):hover .subjectIcon span, .subjectList li:nth-child(4) a:focus .subjectIcon span {
    background-position: -150px bottom;
}

.subjectList li:nth-child(5):hover .subjectIcon span, .subjectList li:nth-child(5) a:focus .subjectIcon span {
    background-position: -200px bottom;
}

.subjectList li:nth-child(6):hover .subjectIcon span, .subjectList li:nth-child(6) a:focus .subjectIcon span {
    background-position: -250px bottom;
}

.subjectList li:nth-child(7):hover .subjectIcon span, .subjectList li:nth-child(7) a:focus .subjectIcon span {
    background-position: -300px bottom;
}

.subjectIcon i {
    display: block;
    width: 50px;
    height: 50px;
    margin: auto;
    text-indent: 101%;
    white-space: nowrap;
    overflow: hidden;
}

.subjectList li .subjectIcon i.icon_global {
    background-image: url(../images/icon/icon_global.png);
}

.subjectList li:hover .subjectIcon i.icon_global {
    background-image: url(../images/icon/icon_global_.png);
}

/*----- 電腦版頁籤區塊 -----*/

#tabs nav, #tabs .content {
    display: inline-block;
    vertical-align: top;
}

#tabs nav {
    width: 30%;
}

.tabs nav ul {
    width: 100%;
}

.tabs nav ul li {
    margin: 0 0 2px 0;
    float: unset;
    position: relative;
    width: 100%;
    border-left: 5px solid #36a59b;
    border-bottom: 0;
}

.tabs nav a {
    color: #fff;
    font-weight: 700;
    background: #5dc4bb;
    display: block;
    font-size: 1.45em;
    white-space: normal;
    text-align: left;
}

.tabs nav a:hover {
    color: #fff;
    background: #5fd5c8;
}

.tabs nav li.tab-current a {
    box-shadow: none;
    background: #36a59b;
    color: #fff;
}

.tabs nav h2 {
    margin: 0;
    padding: 0;
    font-size: 1em;
}

.tabs nav a {
    font-weight: 700;
    background: #5dc4bb;
    display: block;
    font-size: 1.45em;
    white-space: normal;
}

#tabs {
    margin: 3em 0;
}

#tabs .content {
    width: 68%;
    margin-left: 1%;
    background: #fff;
}

.content section {
    text-align: center;
    padding: 0 1em;
}

.tabItem {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    margin: 1%;
}

.tabsMoreBtn {
    display: block;
    text-align: right;
    margin: 2em 0 0 0;
    color: #4d4d4d;
    font-weight: 400;
    font-size: .9em;
    transition: all ease-out .2s;
}

.tabsMoreBtn span {
    display: inline-block;
    vertical-align: text-bottom;
    width: 30px;
    height: 2px;
    border-bottom: 1px solid #5dc4bb;
    transition: width ease-out .3s;
    position: relative;
    margin-bottom: 5px;
    margin-left: 5px;
}

.tabsMoreBtn:hover, .tabsMoreBtn:focus {
    font-style: italic;
    color: #5dc4bb;
}

.tabsMoreBtn:hover span, .tabsMoreBtn:focus span {
    width: 20px;
}

.tabsMoreBtn span:after {
    content: ' ';
    display: inline-block;
    width: 0;
    height: 0;
    border-bottom: 5px solid #5dc4bb;
    border-right: 5px solid transparent;
    position: absolute;
    right: 0;
    bottom: 0;
}

.tabs-Date {
    color: #02746b;
    font-weight: 700;
    font-size: .9em;
}

.tabs-ImgBox {
    margin: .5em 0;
}

.tabs-Title, .tabs-Info {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.tabs-Title {
    font-weight: 700;
    font-size: 1.15em;
    text-align: left;
    /* -webkit-line-clamp: 2; */
    color: #333;
    min-height: 60px;
}

/*.tabs-Title:hover, .tabs-Title:focus {
    color: #36a59b;
}*/

.tabs-Info::before {
    display: block;
    content: ' ';
    width: 50px;
    margin: 1em auto;
    height: 2px;
    background: #5dc4bb;
}

.tabs-Info {
    font-size: .95em;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    font-weight: 400;
}

/*----- 手機板主題區塊 -----*/

.nb-mobileBox {
    margin: 1.5em auto 3em auto;
}

.news-subject {
    position: relative;
}

.ns_txt {
    position: relative;
    bottom: 1em;
    left: 10%;
    background: #ff7b17;
    font-weight: bold;
    padding: 1em;
    margin: 0;
    width: 90%;
    z-index: 100;
    color: #fff;
}

.news-subject:nth-child(even) .ns_txt {
    background: #1ca799;
}

.ns_bg {
    position: relative;
    top: 0;
    left: 0;
    width: 90%;
    margin: auto;
    box-shadow: -1em 0.75em 0 #ffe3cc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-subject:nth-child(even) .ns_bg {
    box-shadow: -1em 0.75em 0 #dcf1ef;
}

.ns_more {
    display: flex;
    right: 1em;
    top: 1em;
    background: rgba(0, 0, 0, 0.15);
    padding: 1em;
    margin: -1em;
    position: absolute;
    color: #fff;
}

.ns_more:before {
    display: inline-block;
    content: ' ';
    width: 0;
    height: 0;
    border-bottom: 3.25em solid rgba(0, 0, 0, 0.15);
    border-left: 1em solid transparent;
    position: absolute;
    left: -1em;
    top: 0;
}

/*----- mobile Style -----*/

@media only screen and (max-width: 429px) {
    .mainLogo {
        width: 85%;
        padding: .5em 1em 0 1em;
    }
    .mainLogo a {
        height: auto;
        width: 100%;
        vertical-align: top;
    }
    .mainLogo img {
        width: 100%;
        height: auto;
    }
    .searchBox {
        padding-top: 0;
        position: relative;
        width: 100%;
        left: auto;
        text-align: center;
    }
    .searchBox i.fa {
        display: none;
    }
    .searchBox input#topSearch {
        width: 90%;
        margin-bottom: .5em;
    }
    .searchBtn {
        width: 45%;
    }
    .searchBox .KeyWord {
        margin-left: 0;
        font-size: .85em;
    }
    .memberBox {
        width: 90%;
        margin: 0 auto 2em auto;
        display: block;
    }
    .adBannerBox {
        display: block;
        width: 100%;
        margin: 0
    }
    .flexslider, .newsBlock {
        width: 90%;
        margin: 0 auto;
    }
    .ns_more {
        display: block;
        right: 0;
        top: 1em;
        background: rgba(0, 0, 0, 0.15);
        padding: .5em 1em;
        margin: 0;
        position: relative;
        color: #fff;
        text-align: right;
    }
    .ns_more:before {
        display: none;
    }
    .loginContent label, .loginContent input[type="text"] {
        width: 100%;
    }
}

@media screen and (max-width:768px) {
    .subjectList {
        flex-wrap: wrap;
    }
    .subjectList li {
        max-width: none;
        width: 100%;
        margin: 0.5% 0;
        border: 1px solid #ccc;
        border-top: none;
    }
    .subjectList li:first-child {
        border-top: 1px solid #ccc;
    }
    .subjectList li:after {
        left: 5%;
        width: 90%;
    }
    .subjectList li a {
        display: flex;
        align-items: center;
    }
    .subjectIcon {
        width: 30%;
        margin: 0 10px 0 0;
    }
    .subjectTxt {
        width: 70%;
        text-align: left;
    }
}