/* ===== 通用 =====*/
html,
body {
    font-size: 10px;
    font-family: "roboto", "微軟正黑體";
    color: #333;
}

.image-bk {
    background-image: url(../images/bk.jpg);
    background-size: cover;
    /* height: 100vh; */
}

a {
    color: #fff;
    font-size: 1.6rem;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.6rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.8rem;
}

p {
    font-size: 1.6rem;
    line-height: 33px;
    margin: 0;
    padding: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ol,
li {
    padding: 0;
    font-size: 1.6rem;
}

ol {
    margin: 0 0 0 2rem;
}

::marker {
    color: #333;
}

img {
    width: 100%;
}

.container-l {
    width: 1600px;
    max-width: 1600px;
    margin: 0 auto;
}

.container-m {
    width: 1300px;
    max-width: 1300px;
    margin: 0 auto;
}

.container-s {
    width: 1200px;
    max-width: 1200px;
    margin: 0 auto;
}

.container-xs {
    width: 960px;
    max-width: 960px;
    margin: 0 auto;
}

/* 顯示與隱藏 */
.display-1400 {
    display: none;
}

.display-1200 {
    display: none !important;
}

.display-992 {
    display: none !important;
}

.display-768 {
    display: none;
}

.display-576 {
    display: none;
}

.display-480 {
    display: none;
}

/* 色彩 */
:root {
    --one-color: #C0AE67;
    --two-color: #016CA3;
    --there-color: #999999;
    --four-color: #222222;
    --five-color: #fff;
    --font-color: #333;
}

.f-w {
    color: #fff !important;
}

.f-b {
    color: #214C8D;
}

.f-r {
    color: #D3362D !important
}

.b-r {
    background-color: #D3362D !important;
}

/* 按鈕 */
.btn-groups {
    text-align: center;
    justify-content: space-between;
    display: flex;
}

.btn-groups .btn {
    width: 48.5%;
}

.btn {
    transition: 0.3s ease;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    color: var(--there-color);
    border-radius: 0;
}

.btn:hover {
    color: #fff;
}

.btn-one {
    background-color: var(--one-color);
    color: #fff;
}

.btn-two {
    background-color: var(--two-color);
}

.btn-three {
    background-color: var(--there-color);
}

.btn-100 {
    width: 100%;
    padding: 1.5rem 0;
}

.btn-l {
    width: 18rem;
    height: 6rem;
}

.btn-s {
    padding: 0.75rem 2rem;
}

.btn-xs {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
}

/* table */
.table {
    margin-top: 2rem;
    font-size: 1.6rem;
}

.table-over {
    overflow-x: auto;
}

.table .tr {
    display: flex;
    justify-content: space-between;
    border: 0;
    line-height: initial;
    margin-bottom: 2px;
    align-items: center;
    padding: 2rem;
}

.tr-100 {
    width: 100%;
}

.table .tr-over,
.table .td-item-over {
    width: 812px;
}

.table .tr-over-2,
.table .td-item-over-2 {
    width: 880px;
}

.table .tr.th-header {
    background: var(--one-color);
    color: #fff;
}

.tr .th:last-child,
.tr .td:last-child {
    text-align: end;
}

.td-item {
    font-size: 1.6rem;
    background: #ffffff40;
}

.t70 {
    width: 70%;
}

.t65 {
    width: 65%;
}

.t50 {
    width: 50%;
}

.t35 {
    width: 35%;
}

.t30 {
    width: 30%;
}

.t25 {
    width: 25%;
}

.t20 {
    width: 20%;
}

.t15 {
    width: 15%;
}

.t10 {
    width: 10%;
}

.td-btn-group {
    display: flex;
    flex-direction: column;
}

.td-btn-item {
    margin-bottom: 1rem;
}

.td-btn-group .td-btn-item:last-child {
    margin-bottom: 0;
}

.btn-td {
    background: var(--two-color);
    padding: 1rem;
    font-size: 1.4rem;
}

.btn-act {
    padding: 0.75rem 2.5rem;
    width: 10rem;
}

.btn-ok {
    border: 2px solid #7AD32D;
    padding: 1rem;
    font-size: 1.4rem;
}

.table-pc-100 {
    width: 100%;
    overflow-x: auto;
}

.table {
    border-top: 1px solid #dfdfdf;
    margin-bottom: 0;
    width: 100%;
}

.table-line {
    border: 1px solid #ddd;
}

.table-100 {
    width: 100%;
    overflow-x: scroll;
}

.table-th,
.table-td {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--fifth-color);
    padding: 1.5rem 0;
    font-size: 1.6rem;
    border-bottom: 1px solid #ddd;
}

.table-th {
    background: var(--primary-color);
    font-weight: bold;
}

.table-th>div:first-child,
.table-td>div:first-child {
    margin-left: 1.5rem;
}

.table-line .table-th>div:first-child,
.table-line .table-td>div:first-child {
    margin-left: 0rem;
}

.form-check-input {
    position: relative;
    margin: 0;
}

.t-mn {
    width: 40%;
}

.t-md {
    width: 60%;
}

.t-select {
    width: 6rem;
}

.t-5 {
    width: 5rem;
}

.t-8 {
    width: 8rem;
}

.t-10 {
    width: 10rem;
}

.t-12 {
    width: 12rem;
}

.t-15 {
    width: 15rem;
}

.t-20 {
    width: 20rem;
}

.t-25 {
    width: 25rem;
}

.t-intime,
.t-outtime,
.t-drawtime,
.t-draworder {
    width: 14rem;
}

.t-btn {
    margin-left: auto;
    margin-right: 1.5rem;
}

.t-input-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.t-input {
    width: 18%;
}

.t-department {
    width: 20rem;
}

.filter {
    position: absolute;
    right: 0;
}

.back {
    padding: 0.5rem 0 0.5rem 1.5rem;
}


.form-info {
    padding: 2rem 1rem;
}

.form-info2 {
    padding: 2rem 1rem 0;
}

/* 表單 */
label {
    font-size: 1.6rem;
    font-weight: 900;
}

.form-control {
    padding: 0 1rem;
    font-size: 1.6rem;
    border: 1px solid #ddd;
    height: 4.5rem;
    margin-bottom: 3rem;
    border-radius: 0;
}

.form-check-inline {
    margin-right: 2rem;
}

.input[placeholder],
[placeholder],
*[placeholder] {
    font-size: 1.6rem;
}

/* nav */
.navbar {
    box-shadow: #ddd 0 1px 5px 0px;
    z-index: 1;
    background: #3A3C64;
    padding: 0;
}

.navbar img {
    width: 255px;
}

.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 1.6rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0px;
    padding-left: 4rem;
}

.nav-lan {
    background-color: var(--one-color);
    display: block;
    padding: 0.5rem 1rem;
    margin-left: 5rem;
}

.nav-lan a {
    display: block;
    color: #fff !important;
    font-size: 1.4rem;
    line-height: 8rem;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
}

/* footer */
.footer-block {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-self: center;
    overflow: hidden;
    background: #ffffff90;
}

.footer-block .container {
    display: flex;
    justify-content: space-between;
}

.footer-block a {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.footer-block a:last-child {
    margin-bottom: 0rem;
}

.footer-l-area {
    display: flex;
    flex-direction: column;
}

.footer-r-top a {
    text-align: end;
    padding-left: 2rem;
    position: relative;
}

.footer-r-top a::before {
    position: absolute;
    content: "|";
    left: 12px;
    top: -3px;
}

.footer-r-top a:first-child::before {
    position: absolute;
    content: "";
}

.footer-r-btm {
    margin-top: 4.4rem;
}

/* modal */
.modal-header {
    padding: 1.5rem 1.75rem;
    background: #016CA3;
    color: #fff;
}

.modal-body {
    padding: 1rem 1.75rem;
}

.modal-body p {
    margin-bottom: 0.5rem;
}

.modal-footer {
    justify-content: center;
    padding: 1.5rem 0;
}

.modal-footer button {
    margin: 0 0.5rem;
}

/* 浮動Top */
.floating-button {
    position: fixed;
    z-index: 999;
    right: 60px;
    bottom: 22%;
    z-index: 998;
}

.f-search a,
.f-top a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 99px;
    width: 60px;
    height: 60px;
    color: var(--fifth-color);
    box-shadow: #00000030 1px 1px 5px;
}

.f-top {
    margin-top: 2rem;
}

.article-block {
    background: #ffffff80;
    box-shadow: #00000020 0px 0px 5px;
    padding: 4rem;
}

.article-block li {
    margin-bottom: 1.5rem;
}


.sp-2 i {
    color: #CF402A;
    text-align: center;
    font-size: 7rem;
    display: block;
}

.sp-2 p {
    text-align: center;
}

.sp-3 {
    color: #CF402A;
    font-size: 2.6rem;
}

.sp-4 {
    background: var(--two-color);
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1.6rem 2rem;
    border-radius: 0;
}

.sp-6 {
    display: flex;
    justify-content: center;
    height: 100vh;
}

.sp-6 img {
    width: 500px;
}

.sp-7 {
    text-align: end;
    margin-bottom: 1rem;
}

.sp-7 a {
    color: #999999;
    font-size: 1.6rem;
}

.sp-8 {
    background: #707070;
    margin: 4rem 0 3rem;
}

.sp-9 {
    margin: 6rem 0;
}

.sp-10 {
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 1.75rem !important;
    padding-bottom: 1rem;
}

.sp-11 {
    margin-bottom: 1rem !important;
}

.sp-12 {
    margin-top: 1rem;
    display: inline-block;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    width: 100%;
}

.sp-13 {
    display: flex;
    justify-content: space-between;
}

.sp-13 .user-block {
    width: 48.5%;
}

.sp-14 {
    padding: 6rem 0;
}

.sp-15 {
    background-image: url(../images/bk.jpg);
    background-size: cover;
    /* height: 100vh; */
}

.sp-16 {
    width: 100%;
    margin-top: 1rem;
    justify-content: end;
    display: flex;
}

.sp-17 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sp-18 {
    width: 48.5%;
}

.sp-18 .user-block {
    width: 100%;
}

.sp-19 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.sp-20 {
    border-radius: 99px;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.sp-21{
    padding: 1rem!important;
}

.sp-22{
    display: flex;
    align-items: center;
}
/*--------------------------------------------------------------------------------RWD--------------------------------------------------------------------------------*/
@media(max-width:1560px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1560*/
    /* ===== 通用 =====*/
    .container-m {
        width: 95%;
    }
}

@media(max-width:1440px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1440*/
    /* ===== 通用 =====*/
    .displaynone-1440 {
        display: none;
    }
}

@media(max-width:1280px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1280*/
    /* ===== 通用 =====*/
    .display-1280 {
        display: block;
    }

    .displaynone-1280 {
        display: none;
    }
}

@media(max-width:1200px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------1200*/
    /* ===== 通用 =====*/
    html,
    body {
        background-size: 500% 500%;
    }

    .display-1200 {
        display: block !important;
    }

    .displaynone-1200 {
        display: none !important;
    }

    .container-s {
        width: 90%;
    }
}

@media(max-width:992px) {

    /*--------------------------------------------------------------------------------------------------------------------------------------------------------992*/
    /* header */
    .navbar {
        box-shadow: none;
        padding: 1rem 0;
    }

    .navbar img {
        width: 180px;
    }

    .navbar-light .navbar-toggler {
        color: transparent;
        border-color: transparent;
    }

    .navbar-light .navbar-toggler-icon {
        filter: invert(1);
    }

    .nav-top {
        height: 4rem;
        background: #272944;
    }

    .nav-top .container {
        display: flex;
        justify-content: end;
    }

    .nav-lan {
        display: inline-block;
        padding: 0rem 1rem;
        margin-left: 0;
    }

    .nav-lan a {
        line-height: 4rem;
    }

    .navbar-light .navbar-nav .nav-link {
        text-align: center;
        margin: 1.5rem 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: 0rem;
    }

    .signin {
        background: var(--one-color);
        display: inline-block;
    }

    .sp-20 {
        width: 100%;
    }

    /* ===== 通用 =====*/
    .display-992 {
        display: block !important;
    }

    .displaynone-992 {
        display: none !important;
    }

    .container-xs {
        width: 90%;
    }

}

@media(max-width:768px) {

    /*-------------------------------------------------------------------------------------------------------------------------------------------------------768*/
    /* ===== 通用 =====*/
    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.6rem;
    }

    h5 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1.5rem;
    }

    .display-768 {
        display: block;
    }

    .displaynone-768 {
        display: none;
    }

    /* 浮動Top */
    .floating-button {
        right: 30px;
        bottom: 5%;
    }

    /* footer */
    .footer-block .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-l-area {
        text-align: center;
    }

    .footer-r-top {
        margin-top: 1rem;
    }

    .footer-r-btm {
        margin-top: 1rem;
    }

    .sp-13 {
        flex-direction: column;
    }

    .sp-13 .user-block {
        width: 100%;
        margin-bottom: 2rem;
    }

}

@media(max-width:576px) {

    /*-------------------------------------------------------------------------------------------------------------------------------------------------------576*/
    .navbar {
        padding: 1rem;
    }

    /* ===== 通用 =====*/
    .display-576 {
        display: block;
    }

    .displaynone-576 {
        display: none;
    }

    /* 浮動Top */
    .floating-button {
        position: fixed;
        bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        width: 100%;
        right: 0;
        left: 0;
    }

    .f-top {
        width: 100%;
        border-radius: 0;
        margin-top: 0rem;
    }

    .f-top a {
        width: 100%;
        border-radius: 0;
        background: var(--fifth-color);
        color: #fff;
    }

    .table .tr {
        padding: 1.25rem;
    }

    .article-block {
        padding: 3rem;
    }

    .sp-6 img {
        width: 300px;
    }
}

@media(max-width:480px) {

    /*-------------------------------------------------------------------------------------------------------------------------------------------------------480*/
    /* ===== 通用 =====*/
    .display-480 {
        display: block;
    }

    .displaynone-480 {
        display: none;
    }

    /* 按鈕 */
    .modal-footer .btn-groups {
        width: 90%;
    }

    .btn-groups {
        flex-direction: column;
    }

    .btn-groups .btn {
        margin-bottom: 1.25rem;
        width: 100%;
    }

    .btn-l {
        width: 100%;
    }

    .index-fun-item {
        padding: 4rem 0;
    }

    .btn-act {
        padding: 0.75rem 1.5rem;
        width: 5rem;
    }
}

@media(max-width:420px) {
    /*-------------------------------------------------------------------------------------------------------------------------------------------------------420*/
}