@charset "UTF-8";

* {
    box-sizing: border-box;
}

:root {
    font-size: 1rem;
}

html {
    height: 100%;
}

/*bootstrap-reset*/
body {
    background-color: transparent;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

p {
    margin: 0px;
}

.breadcrumb {
    background-color: transparent;
}

a {
    text-decoration: none;
}

    a:hover, a:focus {
        text-decoration: none;
    }

/*bootstrap-reset 結束*/
/*font設定*/
img {
    max-width: 100%;
}

button,
select,
input {
    font-family: Microsoft JhengHei;
    font-size: 1rem;
    box-sizing: border-box;
    max-width: 100%;
}

button {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
}

button,
.btn {
    margin: 5px;
}

h1 {
    font-size: 1rem;
}

h2,
.h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

h3,
.h3 {
    font-size: 1.375em;
    color: #000;
}

    h3::before,
    .h3::before {
        content: "｜";
        display: inline-block;
        vertical-align: text-top;
        color: #000;
        padding-right: 10px;
        font-weight: bold;
    }

.mainTitle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

    .mainTitle h2 {
        padding-left: 10px;
    }

/*btn格式*/
.btnGroup {
    margin-top: 1rem;
    text-align: center;
}

/*header*/
header .mainHead {
    height: 60px;
    background-image: url("../Images/header_bg.png");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 50% 100%;
}

@media screen and (max-width: 767.98px) {
    header .mainHead {
        background: none;
        height: auto;
    }
}

.mainNav {
    background-color: #478396;
}

/*footer*/
.mainFooter {
    position: relative;
    flex: 0 0 auto;
    background-color: #002838;
    color: #fff;
    padding: 10px;
    text-align: center;
}

    .mainFooter .footerContent {
        font-size: 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: 0.8rem;
            padding: 0 1rem;
            display: inline-block;
            color: #fff;
        }

        .mainFooter .footerContent ul li a {
            font-size: 0.8rem;
            color: #fff;
            display: inline-block;
            text-align: center;
            padding: 5px;
        }

            .mainFooter .footerContent ul li a:hover {
                background-color: #fff;
                color: #000;
            }

/*table格式*/

.dtr-data {
    white-space: normal !important;
}

/*表格樣式*/
.form_color label {
    background-color: #0c72a5;
    color: #fff;
}

.form_color select,
.form_color input {
    border: 1px solid #0c72a5;
    border-radius: 0;
}

/*div樣式的table*/
.div_table .th {
    background-color: #0c72a5;
    color: #fff;
}

.div_table .td {
    background-color: #f2f2f2;
}

.div_table .th,
.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;
    }
}

.bg_default {
    background: #e6f9ff;
}

.relative {
    position: relative;
}

.required {
    color: red;
    font-weight: 600;
}

.border-dashed {
    border-color: black;
    border-style: dashed;
    border-width: medium;
}