﻿@charset "UTF-8";

* {
    box-sizing: border-box;
}

:root {
    font-size: 1rem;
}

@font-face {
    font-family: 'WCL-02';
    src: url(../font/WCL-02.ttf) format("truetype");
}


/*無障礙[跳到主要內容]設定*/

.Accesskey_main {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 0;
    height: 0;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #2b358c;
    z-index: 9999;
    padding: 0 5px;
}

.Accesskey_main:focus {
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
}

a[accesskey] {
    position: absolute;
    top: 0px;
    left: 0px;
    color: #ccc;
    font-size: 1rem;
}

a:focus,
input:focus,
select:focus,
button:focus,
textarea:focus {
    outline: 3px dashed #f00 !important;
}

body {
    /*bootstrap-bg會有顏色*/
    background-color: transparent;
    font-size: large;
}

img {
    max-width: 100%;
    height: auto;
}

.LeaveIcon {
    height: 100%;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0px;
}

button,
select,
input {
    font-family: Microsoft JhengHei;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

button,
.btn {
    margin: 5px;
}

.epa-btn-default {
    margin: 7px 0;
    padding: 6px 15px;
    background-color: #1E7CB3;
    color: #fff;
}

    .epa-btn-default:focus {
        color: #fff;
    }

    .epa-btn-default:hover {
        background-color: #3793c9;
        color: #fff;
    }
/* .btn_more {
    margin-top: 15px;
    background-color: #0CA750;
    color: white;
    font-weight: bold;
    border-radius: 40px;
    width: 10%;
    text-align: right;
} */

.btn-success {
    margin-top: 15px;
    background-color: #0A4D27;
    max-width: 20%;
}

.more {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .btn-success {
        max-width: 40%;
    }
}


/*bootstrap會有margin故先清空*/

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

h1 {
    font-size: 1rem;
    text-align: center;
}

h2,
.h2 {
    font-size: 1.5rem;
    font-weight: 200;
    font-family: WCL-02;
}

h3,
.h3 {
    font-size: 1.375em;
    color: #006341;
}

h3::before,
.h3::before {
    content: "｜";
    display: inline-block;
    vertical-align: text-bottom;
    color: #006341;
    padding-right: 10px;
    font-weight: bold;
}

h4,
.h4 {
    text-align: center;
    font-weight: bold;
}

input {
    padding: 0px;
}

.mainTitle {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: solid 2px #29574A;
    border-left: solid 12px #29574A;
}

.mainTitle h2 {
    padding-left: 10px;
}


/*btn格式*/

.btn-orange {
    background-color: #efe0c2;
    box-shadow: #d4af71 0px 3px 0px;
    font-weight: bold;
    transition: background-color 1s;
}

.btn-orange:hover {
    background-color: #d4af71;
}

.btnGroup {
    margin-top: 1rem;
    text-align: center;
}

html {
    height: 100%;
}

body {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 0;
    padding: 0px;
}

    body > .Formclass >.container-xl {
        /* flex: 1 1 auto; */
        /* padding: 15px; */
        margin: 0 auto;
        background-color: #fff;
        /* position: relative; */
        padding: 0px;
    }


/* header {
    background-color: #f4ffee;
} */

header .mainHead {
    /* height: 60px; */
   /* background-image: url("../images/header_bg.png");*/
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 100% 100%;
}

@media screen and (max-width: 768px) {
    header .mainHead {
        background: none;
        height: auto;
    }
    header .mainHead h1 a img {
        display: none;
    }
}

#hb_control {
    position: absolute;
    display: none;
}

#hb_control:checked~.hb .bar2 {
    display: none;
}

#hb_control:checked~.hb .bar1 {
    transform: translateY(-9px) rotate(-45deg);
}

#hb_control:checked~.hb .bar3 {
    transform: translateY(9px) rotate(45deg);
}

#hb_control:checked~.containNav {
    display: block !important;
}

.hb {
    width: 40px;
    height: 40px;
    position: relative;
    vertical-align: middle;
    margin: 0 10px 0 0;
    float: right;
}

@media screen and (min-width: 769px) {
    .hb {
        display: none;
    }
}

.hb .bar {
    width: 55%;
    height: 4px;
    background: #fff;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.hb .bar1 {
    top: 18px;
    transform: translateY(0) rotate(0deg);
    transition: 0.5s;
}

.hb .bar2 {
    top: 0px;
}

.hb .bar3 {
    top: -18px;
    transform: translateY(0) rotate(0deg);
    transition: 0.5s;
}

.topNav {
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.topNav {
    margin: 1rem;
}

.topNav ul {
    font-size: 0;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .topNav ul {
        text-align: center;
    }
}

.topNav ul li {
    display: inline-block;
    vertical-align: middle;
}

.topNav ul li:nth-child(n+2)::before {
    content: "|";
    display: inline-block;
}

.topNav ul li a {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    display: inline-block;
    padding: 0.3rem 1rem;
    text-align: center;
}

.topNav ul li a:hover {
    background-color: #fff;
    color: #006341;
}

.mainNav {
    background-color: #29574A;
    position: relative;
}

.mainNav .containNav {
    position: relative;
}

.containNav {
    max-width: 75%;
}

@media screen and (max-width: 768px) {
    .mainNav .containNav {
        display: none;
        width: 70%;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 99;
        overflow: auto;
        background-color: #3C8F7C;
    }
}


/*nav共用*/

.dropDownMenu_horizontal {
    display: flex;
}

@media screen and (max-width: 768px) {
    .dropDownMenu_horizontal {
        flex-wrap: wrap;
    }
}

.dropDownMenu_horizontal li {
    flex-grow: 1;
    position: relative;
    white-space: nowrap;
    /*標題不換行*/
    padding: 0 3px;
}

    .dropDownMenu_horizontal li a {
        color: #fff;
        padding: 0.8rem 0;
        display: block;
        text-align: center;
        background-color: #29574A;
        border-right: solid 3px #ffffff;
    }

.dropDownMenu_horizontal li a:hover {
    background-color: #2188c3;
}

.dropDownMenu_horizontal li a.active {
    background-color: #2188c3;
}

.dropDownMenu_horizontal li:hover>a {
    /* 滑鼠移入次選單上層按鈕保持變色*/
    background-color: #2188c3;
}

.dropDownMenu_horizontal li:hover>ul {
    /* 滑鼠滑入展開次選單*/
    display: block !important;
}

@media screen and (max-width: 768px) {
    .dropDownMenu_horizontal li {
        white-space: inherit;
        width: 100%;
    }
}

.dropDownMenu_horizontal ul {
    /* 第二層以後*/
    display: none;
    padding: 10px 0 10px 10px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .pad-pd-l10 {
        padding-left: 10px;
    }

    .ped-ml10 {
        margin-left: 10px;
    }

    .pad-mg-lr10 {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media screen and (min-width: 769px) {
    .dropDownMenu_horizontal ul {
        background-color: transparent;
        position: absolute;
        z-index: 99;
        top: 100%;
        padding: 0px;
    }
    .dropDownMenu_horizontal ul ul {
        /* 第三層*/
        top: 10px;
        left: 100%;
        padding: 10px;
    }
}

.mainFooter {
    position: relative;
    flex: 0 0 auto;
    background-color: #002838;
    color: #fff;
    text-align: center;
}

.mainFooter .footerContent {
    font-size: 1rem;
}

.footerContent {
    margin-top: 0.8rem;
}

@media screen and (max-width: 767.99px) {
    .mainFooter .footerContent {
        text-align: left;
    }
}

.mainFooter .footerContent ul {
    font-size: 0;
}

.mainFooter .footerContent ul li {
    display: inline-block;
    vertical-align: middle;
}

.mainFooter .footerContent ul li:nth-child(n+2)::before {
    content: "|";
    font-size: 1rem;
    padding: 0 1rem;
    display: inline-block;
    color: #fff;
}

.mainFooter .footerContent ul li a {
    font-size: 1rem;
    color: #fff;
    display: inline-block;
    text-align: center;
    padding: 5px;
}

.mainFooter .footerContent ul li a:hover {
    background-color: #fff;
    color: #006341;
}

.bottom {
    background-color: #00202D;
    margin: 0px;
    text-align: center;
    color: white;
}


/*table格式*/

.table_default {
    /*table格式*/
    text-align: center;
    margin: auto;
    width: 100% !important;
    word-break: break-all;
    margin: 1rem 0;
}

.table_default th,
.table_default td {
    padding: 5px 5px;
}

@media only screen and (min-width: 769px) {
    .table_default th,
    .table_default td {
        border: 1px solid #fff;
    }
}

.table_default thead {
    background-color: #01977a;
}

.table_default thead th {
    color: #fff;
    font-weight: bold;
}

@media only screen and (min-width: 769px) {
    .table_default tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }
    .table_default tbody tr:nth-child(even) {
        background-color: #f2f2f2;
    }
}

@media only screen and (max-width: 768px) {
    .table_default thead {
        display: none;
    }
    .table_default tbody tr {
        display: block;
        border: 1px solid #01977a;
        margin: 10px 0;
        border-radius: 5pt;
        background-color: #fff;
    }
    .table_default tbody td {
        display: block;
        text-align: left;
        padding: 5px 1rem 5px 2rem;
        color: black;
    }
    .table_default tbody td:before {
        color: #01977a;
        text-indent: -1rem;
        content: attr(data-th);
        font-weight: bold;
        display: block;
    }
}


/*表格樣式*/

.form_green label {
    background-color: #2ca35e;
    color: #fff;
    padding-right: 10px;
    padding-left: 10px;
}

.form_green select,
.form_green input {
    border: 1px solid #2ca35e;
    border-radius: 0;
}



.form_Style1 {
    border-style: groove;
    border-color: #098C90;
    max-width:50%;
    margin:auto
}

.form_Style1 label {

    padding-right: 10px;
    padding-left: 10px;
}

.form_Style1 select,
.form_Style1 input {
    border: 1px solid #098C90;
    border-radius: 0;
}

.btn-orange {
    background-color: #efe0c2;
    box-shadow: #d4af71 0px 3px 0px;
    font-weight: bold;
    transition: background-color 1s;
    font-size: 1.1rem;
}

    .btn-orange:hover {
        background-color: #d4af71;
    }



.list-group {
  margin: 0 auto;
}

.list-ist-.list-group-iteroup-item {
    border: none;
}

.list-.list-table .th {
    background-color: #01977a;
    color: #fff;
}

.div_table .td {
    background-color: #f2f2f2;
}

.div_table .th {
    background-color: #01977a;
    color: #fff;
}

.div_table .td {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media only screen and (min-width: 769px) {
    .div_table .th,
    .div_table .td {
        border: 1px solid #fff;
    }
}

.breadcrumb {
    background-color: transparent;
    padding-left: 80px;
    padding-top: 40px;
}


/*相關連結區*/

.linkWrap {
   /* overflow: hidden;*/
    max-width: 75%;
    margin: 0 auto;
}

/*.linkWrap a {
    display: block;
}*/

.list-group {
    margin: 0 auto;
}

.list-group-item {
    border: none;
}

.list-group a {
    border-bottom: solid 1px #cccccc;
}

@media screen and (max-width: 768px) {
    .linkWrap {
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .carouselWrap {
        max-width: 90%;
    }
}


/* card樣式 */

.card-blue {
    border-radius: 12px;
    background-color: #78C8DC;
    box-shadow: 0px 7px #5FB5C9;
    height: 100%;
}

.card-yellow {
    border-radius: 12px;
    background-color: #FFEA6E;
    box-shadow: 0px 7px #E8CF52;
    height: 100%;
}

.card-orange {
    border-radius: 12px;
    background-color: #FFA65C;
    box-shadow: 0px 7px #EF8F48;
    height: 100%;
}

.card-green {
    border-radius: 12px;
    background-color: #63BA72;
    box-shadow: 0px 7px #44A051;
    height: 100%;
}

.card-body {
    padding: 1rem;
}

.card-body a {
    text-align: left;
}

.text {
    margin-left: 0.7rem;
}

.text:hover {
    color: rgb(1, 12, 63);
    position: relative;
    /* 當滑鼠經過超連結時，超連結往右下位移1像素 */
    top: 1px;
    left: 1px;
    text-decoration: underline;
}

.card-img-top {
    max-width: 60%;
    margin: 0 auto;
    margin-top: 1.5rem;
}

hr {
    border: solid 1px black;
}


/* Carousel css */

.gallery {
    border: none;
}

.gallery-cell {
    width: 50%;
    /* height: 200px; */
    margin-right: 10px;
    counter-increment: gallery-cell;
}

.gallery-cell a {
    text-align: center;
    margin: 0 1rem;
}

@media screen and (max-width: 768px) {
    .gallery-cell {
        width: 100%;
        max-height: 153px;
        margin-right: 10px;
        counter-increment: gallery-cell;
        border: none;
    }
    .flickity-viewport {
        height: 153px;
    }
}


/* cell number */

.flickity-enabled {
    position: relative;
}

.gallery-cell:before {
    /* display: block; */
    display: none;
    text-align: center;
    content: counter(gallery-cell);
    line-height: 200px;
    font-size: 80px;
    color: white;
}

.flickity-prev-next-button {
    position: absolute;
    top: 39%;
    border: none;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.85);
    cursor: pointer;
    width: 60px;
    height: 60px;
}

.previos {
    left: 10px;
}

.next {
    right: 10px;
}


/* content區 */

.bg-blue {
    background-color: #D5E9ED;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem 0 0 0;
    margin-top: -1px;
}

.background-white {
    background-color: #fff;
    max-width: 100%;
    margin: 0 auto;
    margin-top: -1px;
}

.newsLoginpage {
    max-width: 75%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .newsLoginpage {
        max-width: 100%;
    }
}

.newsTitle {
    color: #044087;
    font-size: 1.2rem;
    font-weight: bolder;
    margin-bottom: 1rem;
}

.newscontent {
    border: solid 1px #333333;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 0.2rem;
}

.newsBody p {
    margin: 1rem;
    font-weight: bold;
}

.newsBody ul li {
    list-style-type: square;
}

/*.newsBody ul li a {
    text-decoration: underline;
}*/

.LoginWrap {
    background-color: #ECF0F2;
    box-shadow: 0px 6px 5px rgba(197, 255, 255, 0.7);
    padding: 1rem;
    margin-bottom: 1rem;
}

.LoginBody {
    text-align: center;
}

.LoginBody a {
    color: #1A4789;
    text-decoration: underline;
    margin: 0.5rem auto;
}

.LoginBody input {
    max-width: 60%;
    margin: 1.5rem auto;
}

.btn-submit {
    background-color: #4276A5;
    color: white;
}

.scroll-table {
    border-collapse: collapse;
    width: 99.9%;
    border-top: 1px solid #A7BFDA;
}

    .scroll-table > thead > tr > th,
    .scroll-table > tbody > tr > th {
        /*text-align: center;*/
        border: 1px solid #A7BFDA;
        background-color: #ebf2f2;
        border-bottom: none;
    }

        .scroll-table > thead > tr > th:last-child,
        .scroll-table > tbody > tr > th:last-child {
            border-bottom: 1px solid #A7BFDA;
        }

    .scroll-table > thead > tr > td,
    .scroll-table > tbody > tr > td {
        border: 1px solid #A7BFDA;
        border-bottom: none;
        border-right: none;
    }

        .scroll-table > thead > tr > td:last-child,
        .scroll-table > tbody > tr > td:last-child {
            border-bottom: 1px solid #A7BFDA;
        }

    .scroll-table > tbody > .blue-border-right {
        border-right: none;
    }

@media only screen and (max-width: 768px) {
    .scroll-left:after {
        visibility: hidden;
        display: block;
    }

    .scroll-left thead:after {
        visibility: hidden;
        display: block;
    }

    .scroll-left {
        width: 100%;
        border-collapse: collapse;
        display: block !important;
        position: relative;
        width: 100%;
    }

        .scroll-left thead {
            display: block;
            float: left;
        }

        .scroll-left tbody {
            display: block;
            width: auto;
            position: relative;
            overflow-x: auto;
            white-space: nowrap;
        }

        .scroll-left thead tr {
            display: block;
            border-bottom: none;
        }

        .scroll-left th {
            display: block;
            text-align: left;
        }

        .scroll-left tbody tr {
            display: inline-block;
            vertical-align: top;
            margin: 0px -2px;
        }

        .scroll-left td {
            display: block;
            min-height: 1.25em;
            text-align: left;
        }

        .scroll-left tr:last-child td {
            border-right: 1px solid #A7BFDA;
        }
        /* sort out borders */
        .scroll-left th {
            border-bottom: 0;
            border-left: 0;
        }

        .scroll-left td {
            border-left: 0;
            border-right: 0;
            border-bottom: 0;
        }

        .scroll-left > thead > tr:last-child > td,
        .scroll-left > tbody > tr:last-child > td {
        }
}

@media screen and (min-width: 768px) {
    .scroll-table > thead > tr > th,
    .scroll-table > tbody > tr > th {
        border-bottom: 1px solid #a7bfda;
    }

    .scroll-table > thead > tr > td,
    .scroll-table > tbody > tr > td {
        /*text-align: center;*/
        border-bottom: 1px solid #a7bfda;
        border-right: 1px solid #a7bfda;
    }
}
.epa-card {
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-panel .content-panel {
    padding-left: 0;
    padding-left: 0;
}

.content-panel > .content-body + .epa-table,
.content-panel > .table + .content-body {
    border-top: none;
}

.content-panel .content-panel h2 {
    font-size: 1.8rem;
    display: inline-block;
    margin-top: 10px;
    padding: 0 5px;
}

.content-body {
    padding: 5px 15px;
}

.content-panel .more .fa-plus-square-o {
    padding-right: 5px;
}

.content-panel .fa-book {
    padding-right: 10px;
    font-size: 1.8rem;
}

.content-body .form-control-static {
    padding-bottom: 5px;
}

.galleryA:focus {
    outline: 3px dashed #B30000 !important;
}
.galleryA {
   margin-bottom:3px;
   margin-top:3px;
}


.btn-info1 {
    color: #fff;
    background-color: #115B73;
    border-color: #46b8da;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    font-size: 0.875rem;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
}

.aLink hover {
    color: #004C9E;
}

.aLink {
    color: black;
}

.aLink a:hover {
    color: #004C9E
}
.aLink a {
    color:black
}
    
.aLink ul li a:hover {
        color: #004C9E
 }

.aLink ul li a {
    color: black
}


.siteMapTitle {
    color: #014700 ;
}


.siteMapTitle hover {
        color: red;
    }