@charset "UTF-8";

body {
    font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;
    background: #fff;
    color: #484848;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a,
p,
div,
strong,
span,
ul,
li,
label,
em,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;
    word-wrap: break-word;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    -moz-transition: ease 0.5s;
    -o-transition: ease 0.5s;
    -webkit-transition: ease 0.5s;
    transition: ease 0.5s;
    outline: none;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

.inner {
    width: 96%;
    margin: 0 auto;
}

[draggable="true"] {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.site-footer .footer-link,
.side-menu,
.side-menu ul,
.mobile-side-menu,
.mobile-side-menu ul,
.list,
.list ul,
.link-list,
.link-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nicescroll-cursors {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.star {
    color: #bc2338;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.hidden {
    opacity: 0;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.haslink {
    color: #0f5620 !important;
}

/* grid
-----------------------------------------------------*/
.col-1 {
    width: 8.333333%;
}

.col-2 {
    width: 16.666667%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333333%;
}

.col-5 {
    width: 41.666667%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.333333%;
}

.col-8 {
    width: 66.666667%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.333333%;
}

.col-11 {
    width: 91.666667%;
}

.col-12 {
    width: 100%;
}

/* grid end
-----------------------------------------------------*/


/* form style
-----------------------------------------------------*/
input[type="text"],
input[type="password"],
input[type="file"],
select,
textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;
    background: #fff;
    padding: 8px;
}

input[type="file"] {
    font-size: 1em;
}

.form-inline {
    display: inline-block;
}

.checkbox-inline,
.radio-inline {
    display: inline-block;
    margin-right: 15px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    line-height: 1.3;
    cursor: pointer;
}

.checkbox-inline input[type="checkbox"],
.radio-inline input[type="radio"] {
    opacity: 0;
    width: 1px;
    height: 1px;
}

.checkbox-inline .checkbox-btn,
.radio-inline .radio-btn {
    display: inline-block;
    border: 1px solid #999;
    width: 18px;
    height: 18px;
    left: 0;
    top: 1px;
    position: absolute;
}

.checkbox-inline .checkbox-btn {
    border-radius: 3px;
    border: 1px solid #ccc;
}

.radio-inline .radio-btn {
    border-radius: 99%;
}

.radio-inline-active .radio-btn {
    border: 2px solid #18a8c1;
}

.radio-inline-active .radio-btn::after {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #18a8c1;
    border-radius: 100%;
}

.checkbox-inline-active .checkbox-btn::after {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #18a8c1;
    border-radius: 100%;
}

.date-start,
.date-end {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.date-start {
    padding-right: 25px;
    margin-right: 5px;
}

.date-start input[type="text"],
.date-end input[type="text"],
.date-start .i-calendar,
.date-end .i-calendar {
    display: inline-block;
    vertical-align: top;
}

.date-start .i-calendar,
.date-end .i-calendar {
    width: 25px;
    margin-top: 5px;
    margin-left: 5px;
}

.date-start::after {
    content: "~";
    display: block;
    position: absolute;
    top: 45%;
    right: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    transform: translateY(-50%);
}

.date-wrap {
    display: flex;
    align-items: center;
}

.date-wrap span {
    margin: 0 10px;
}

.date-wrap img {
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 0 4px;
}

.info-wrap {
    display: block;
    width: 100%;
    margin: 0 0 14px 0;
    overflow: hidden;
}

.info-wrap .btn {
    font-size: 15px;
    font-weight: bold;
    padding: 8px 22px;
    border-radius: 5px;
    margin: 0 0 0 10px;
    color: #fff;
    display: block;
    background: #25a198;
    float: right;
}

.info-wrap .btn .icon {
    margin-right: 5px;
}

.info-wrap .search-total {
    float: left;
    margin: 8px 0;
    padding: 0;
}

.info-wrap .search-total strong {
    color: #f364b7;
    margin: 0 2px;
}

.itemlist,
.itemlist-inner,
.chklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

.chklist > li {
    display: inline-block;
    margin-right: 15px;
}

.itemlist > li input[type="checkbox"],
.itemlist > li input[type="radio"],
.itemlist > li label,
.chklist > li input[type="checkbox"],
.chklist > li input[type="radio"],
.chklist > li label {
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}

.chklist > li input[type="checkbox"],
.chklist > li input[type="radio"],
.itemlist > li input[type="checkbox"],
.itemlist > li input[type="radio"] {
    margin: 1px 0 0 0;
}

.itemlist .item {
    display: inline-block;
    width: 140px;
}

.itemlist > li {
    padding: 10px 0;
}

.itemlist-inner li {
    padding: 10px 0;
}

.itemlist-inner li .item {
    font-weight: normal;
}

/* form style end
-----------------------------------------------------*/


/* table style
-----------------------------------------------------*/
table {
    width: 100%;
    table-layout: fixed;
}

table th,
table td {
    padding: 15px;
}

table td {
    background: #fff;
}

table tr {
    border-top: 1px solid #e8e8e8;
}

table tr:first-child {
    border-top: 0;
}

table tr:first-child th {
    border-top: 0;
}

table.tb2 {
    font-size: 1.08rem;
    width: 100%;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

table.tb2 a {
    color: #2196F3;
    text-decoration: underline;
}

table.tb2 th {
    border-top: 1px solid #ccc;
    background: #ddd;
    text-align: left;
}

table.top-th th,
table.top-th td {
    text-align: center;
}

table.top-th td {
    line-height: 28px;
    padding: 10px 15px;
}

.table-note-basic {
    display: block;
    margin: 10px 30px;
    color: #666;
}

table.top-th .num {
    width: 80px !important;
}

table.tb2.top-th .status {
    width: 100px !important;
}

table.top-th .th-btn {
    min-width: 300px;
}

.table-info {
    padding: 15px 20px;
    background: #ddd;

    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

.table-period {
    font-size: 1.1rem;
    font-weight: bold;
}

.table-made-date {
    float: right;
    font-size: 0.95rem;
}

.table-list li {
    margin: 10px 0;
}

.table-list-inline li {
    display: inline-block;
    margin: 3px 20px 3px 0;
}

.inner-table {
    border: 1px solid #ccc;
    border-radius: 0 !important;
}

.inner-table th,
.inner-table td {
    border: 1px solid #ccc;
}

/* table style end
-----------------------------------------------------*/


/* 按鈕 style
-----------------------------------------------------*/
.btn-wrap.bottom.tbb a {
    background: #0f5e9c;
    color: #fff;
    text-decoration: none;
}

.btn-wrap {
    width: 100%;
    text-align: center;
    margin: 35px 0 0 0;
}

.btn-wrap.bottom {
    margin: 35px 0;
}

.btn-wrap a {
    background: #777;
    color: #fff;
    border-radius: 5px;
    min-width: 120px;
    display: inline-block;
    padding: 9px 20px;
    margin: 0 10px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.btn-wrap .confirm,
.btn-wrap .certain,
.btn-wrap .search {
    background: #1ca53c;
}

.btn-wrap .preview {
    background: #0b96c3;
}

.btn-wrap .save {
    background: #0aa2ad;
}

.btn-wrap .clear {
    background: #999;
}

.btn-wrap .back {
    background: #999;
}

.tb-btn-wrap {
    text-align: center;
}

.table-btn {
    color: #fff !important;
    text-decoration: none !important;
    background: #2d84a0;
    font-size: 15px;
    padding: 10px 10px;
    border-radius: 5px;
    border: 0;
    display: block;
    margin: 10px auto;
    width: 60%;

    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    max-width: 115px;
}

.table-btn .icon {
    margin-right: 5px;
}

.table-btn-inline {
    color: #fff !important;
    text-decoration: none !important;
    background: #1ca53c;
    font-size: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    border: 0;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 4px;
}

.table-inline-add {
    width: 90px;
}

.widget-box-ctrl-btn {
    width: auto;
    display: inline-block;
    margin: 0 0 0 10px;
}

/* 按鈕 style end
-----------------------------------------------------*/


/* 頁數
-----------------------------------------------------*/
.pagination {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0 0 50px 0;
}

.pagination a {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 8px 12px;
    margin: 0 5px;
    font-size: 16px;
    color: #555;
    border-radius: 4px;

    background: #fff;
}

.pagination a.active {
    background: #1ca53c;
    color: #fff;
    border: 1px solid #1ca53c;
}

/* 頁數 end
-----------------------------------------------------*/

.widget-box-header-btn {
    display: inline-block;
    vertical-align: top;
    padding: 7px 15px;
    font-size: 0.95rem;
    line-height: 1;
    background: #06796f;
    border-radius: 5px;
    margin-top: 11px;
    margin-left: 5px;
}

/* table內的table
-----------------------------------------------------*/

.inner-tb {
    border: 1px solid #e8e8e8;
}

.inner-tb th {
    background: #e0f0ff !important;
    font-weight: normal;
}

.inner-tb th,
.inner-tb td {
    text-align: center !important;
    padding: 9px !important;
}

/* header
-----------------------------------------------------*/
.navbar {
    height: 70px;
    width: 100%;
    padding: 0 1.5%;
    position: fixed;
    top: 0;
    background: #1ca53c;
    align-items: center;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, .2);
    z-index: 50;
    overflow: hidden;
}

.navbarfix {
    position: absolute;
}

.navbar-left {
    display: flex;
    height: 100%;
    align-items: stretch;
}

.navbar-right {
    /*display: flex;*/
    height: 100%;
    align-items: stretch;
    position: absolute;
    right: 20px;
}

.navbar .logo,
.rwd-navbar .logo {
    padding: 14px 0px 14px 45px;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url(../images/logo.png) 0 center no-repeat;
    background-size: 36px;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1;
    width: 230px;
}

.navbar .logo small {
    display: block;
    font-size: 0.96rem;
    padding: 0 0 7px 2px;
}

.navbar-info,
.navbar-nav {
    float: left;
    display: flex;
    align-items: center;
}

.navbar-info .user,
.navbar-info .time {
    display: inline-block;
    vertical-align: top;
    color: #fff;
    position: relative;
    margin-left: 20px;
    font-weight: bold;
}

.navbar-info .user i,
.navbar-info .time i {
    padding-right: 5px;
}

.navbar-nav .nav {
    position: relative;
    margin-left: 12px;
}

.navbar-nav .msg {
    display: none;
}

.navbar-nav a {
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    position: relative;
    border-radius: 150%;
    font-size: 0.85rem;
    background-color: #2abd4c;
}

.navbar-nav .msg-prompt {
    display: block;
    background: #ea70b7;
    border-radius: 150%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    font-size: 0.5rem;
    position: absolute;
    font-weight: bold;
    z-index: 1;
    right: -13px;
    top: -7px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, .3);
    -moz-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, .3);
    -o-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, .3);
}

.msg-popup {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    padding: 12px 10px;
    z-index: 1;
    list-style: none;
    margin: 0;
    width: 120px;
    left: 50%;
    top: 44px;
    transform: translateX(-50%);
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
    -o-box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
    display: none;
}

.msg-popup::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 0 7.5px 12px 7.5px;
    border-color: transparent transparent #ffffff transparent;
}

.msg-popup li {
    padding: 5px 0;
}

.msg-popup li:first-child {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.msg-popup a {
    display: flex;
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 0;
    justify-content: space-between;
    line-height: 1.3;
    padding: 0 5px;
}

.msg-popup a strong {
    color: #000;
}

.msg-popup a .num {
    color: #ff733c;
}

.rwd-navbar {
    position: fixed;
    z-index: 999;
    display: none;
    width: 100%;
    height: 70px;
    overflow: hidden;
    background: #1ca53c;
    box-shadow: 0px 0px 14px 0px #b1b1b1;
    -webkit-box-shadow: 0px 0px 14px 0px #b1b1b1;
    -moz-box-shadow: 0px 0px 14px 0px #b1b1b1;
    -o-box-shadow: 0px 0px 14px 0px #b1b1b1;
}

.rwd-navbar .logout {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.rwd-navbar .logout a {
    color: #fff;
    text-align: center;
    font-size: 0.92rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.rwd-navbar .logout a i {
    display: block;
    font-size: 1.65rem;
    margin: 3px 0 4px 0;
}

/* header end
-----------------------------------------------------*/

/* footer
-----------------------------------------------------*/

#footer {
    background: #6e6e6e;
    color: #fff;
    font-size: 0.9rem;
    padding: 12px 0;
    line-height: 1.1;
    overflow: hidden;
}

#footer .footer-nav {
    position: relative;
    overflow: hidden;
    float: left;
}

#footer .footer-nav li {
    float: left;
    border-right: 1px solid #fff;
    padding: 0 10px;
}

#footer .footer-nav li:first-child {
    border-left: 1px solid #fff;
}

#footer .footer-nav a {
    color: #fff;
}

#footer .copyright {
    float: right;
}

/* 漢堡選單
--------------------------------------------------------*/
.hamburger {
    width: 30px;
    height: 24px;
    position: absolute;
    left: 20px;
    top: 39%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 100px;
    opacity: 1;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger .txt {
    width: 100%;
    padding: 0;
    margin: 0;
    position: absolute;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    left: 0;
    text-align: center;
    bottom: -20px;
    font-weight: bold;
}

/* 漢堡選單 end
--------------------------------------------------------*/


/* rwd nav
--------------------------------------------------------*/
.rwd-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.rwd-nav ul a {
    font-size: 1rem;
}

.rwd-nav .icon {
    margin-right: 10px;
}

.rwd-nav ul li a {
    position: relative;
    display: block;
}

.rwd-nav ul li a:active {
    background: transparent;
}

.rwd-nav .arrow {
    display: block;
    width: 20px;
    height: 10px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transition: transform .2s ease;
    -o-transition: transform .2s ease;
    transition: transform .2s ease;
    font-size: 0.8rem;
}

.rwd-nav .arr-open::after {
    background: url("../images/arr-down-white.svg") 0 0 no-repeat;
    background-size: 100%;
}

.rwd-nav-search {
    margin: 25px 10px;
}

.rwd-nav-search input[type='text'] {
    padding: 8px 2%;
    width: 100%;
}

.rwd-searbtn-wrap .search,
.rwd-searbtn-wrap .adv-search {
    background: #276b8b;
    color: #fff;
    display: block;
    width: 100%;
    border: 0;
    border-radius: 5px;
    text-align: center;
    padding: 8px 15px;
    margin: 15px 0;
}

.rwd-searbtn-wrap .adv-search {
    background: #276b8b;
}

.rwd-nav-list > .rwd-nav-main {
    border-bottom: 1px solid #484848;
    margin-bottom: 25px;
}

.rwd-nav-main > li {
    border-top: 1px solid #484848;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    position: relative;
}

.rwd-nav-main > li a {
    padding: 12px 15px;
}

.rwd-nav-sub {
    position: relative;
    text-align: left;
    background: #333;
}

.rwd-nav-sub > li {
    position: relative;
    text-align: left;
    border-top: 1px solid #353535;
}

.rwd-nav-misc a {
    border: 1px #565656 solid;
    border-radius: 5px;
    padding: 10px 0;
    width: 80%;
    text-align: center;
    font-size: 1.1rem;
    margin: 20px 10%;
}

.rwd-nav .dot {
    /*background: #aaa;*/
    width: 6px;
    height: 6px;
    position: absolute;
    top: 17px;
    left: 19px;
    display: block;
    border-radius: 150%;
}

/* rwd nav end
--------------------------------------------------------*/
