@charset "UTF-8";

html,
body {
    /*font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;*/
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', '微軟正黑體', Arial, Helvetica, sans-serif, 'Microsoft YaHei';
    background: #fff;
    margin: 0;
    padding: 0;
    color: #484848;
    width: 100%;
    /*    height: 100%;*/
    /*overflow: hidden;*/
}

* {
    position: relative;
    -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;*/
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', '微軟正黑體', Arial, Helvetica, sans-serif, 'Microsoft YaHei';
    word-wrap: break-word;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    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;
}

.flex {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* 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="file"],
input[type="time"],
select,
textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: "Microsoft JhengHei", "微軟正黑體", Arial, Helvetica, sans-serif;
    background: #fff;
    padding: 6px 10px;
    font-size: 0.95rem;
}*/

.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 20px;
    text-align: left;
}

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.top-th th,
table.top-th td {
    text-align: center;
    padding: 15px 20px;
}

table.top-th th {
    background: #f2f2f2;
}

.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 {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.btn-wrap.bottom {
    padding: 30px 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: 0.95rem;
    font-weight: bold;
    text-align: center;
}

.btn-wrap a i {
    font-size: 1rem;
}

.btn-wrap.bottom a {
    font-size: 1.1rem;
    padding: 11px 25px;
    min-width: 150px;
}

.btn-wrap.bottom a i {
    font-size: 1.2rem;
}

.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: 0.9rem;
    padding: 8px 8px;
    border-radius: 5px;
    border: 0;
    width: auto;
    display: inline-block;
    vertical-align: top;
    margin: 4px 3px;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.table-btn .icon,
.info-wrap .btn i,
.addBtn a i,
.btn-wrap a i {
    margin-right: 6px;
    font-size: 0.8rem;
}

.addBtn a {
    font-size: 15px;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 5px;
    margin: 0 0 0 10px;
    color: #FFF !important;
    display: block;
    background: #1ca53c;
    float: right;
    text-decoration: none !important;
}

.addBtn {
    display: inline-block;
    vertical-align: middle;
}

.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;
}

/* 審核tag
-----------------------------------------------------*/
span.examine-status,
.examine-status-pass {
    background: #d06464;
    border-radius: 30px;
    padding: 3px 15px;
    font-size: 14.5px;
    color: #fff;
    margin: 0 0 5px 0;
    display: inline-block;
}

.examine-status-pass {
    background: #1086e4;
}

/* 救災團體媒合作業-需求單
-----------------------------------------------------*/

span.tb-itemhead {
    width: 100%;
    background: #1086e4;
    display: inline-block;
    color: #fff;
    font-size: 15.5px;
    padding: 4px 12px;
    border-radius: 4px;

}


/* 系統管理-角色維護及權限
-----------------------------------------------------*/

.adduser-btn .btn {
    font-size: 15px;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 5px;
    margin: 0 0 0 10px;
    color: #fff;
    display: block;
    background: #1ca53c;
    float: right;
    text-decoration: none;
}

.adduser-btn .btn .icon {
    margin-right: 5px;
}

.adduser-btn {
    display: inline-block;
    vertical-align: middle;
}

.user-page {
    display: flex;
    flex-wrap: wrap;
}

.userpage-left {
    flex-basis: 25%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;

}

.userpage-right {
    flex-basis: calc(100% - 27%);
    margin: 0 0 0 2%;
}

.userpage-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.unit-tree ul.lev2 {
    background: none;
    width: 100%;
    border-radius: 15px;
    margin: 0 auto;
    padding: 0;
}

.unit-tree .lev2 a {

    border-bottom: 0;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
}

.unit-tree .lev2>li>a {
    padding: 6px 0 6px 13px;

}

.unit-tree ul.lev2>li {
    margin-bottom: 10px;
}


.unit-tree .lev2>li>a::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    height: 6px;
    background: #1ca53c;
    display: inline-block;
    width: 6px;
    border-radius: 2px;

}

.unit-tree .lev3>li:before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0;
    bottom: 0;
    width: 1px;
}

.unit-tree .lev3>li>a:after {
    content: '';
    position: absolute;
    left: 4px;
    top: 19px;
    width: 10px;
    height: 1px;
}

.unit-tree .lev3 a {
    padding: 6px 0 6px 21px;
    border-bottom: 0;
}

.unit-tree .lev3 a input[type="checkbox"] {
    margin-right: 6px;
}

.unit-tree a:hover {
    color: #1ca53c;
}

.unit-tree {
    padding: 12px 18px 20px 18px;
}

.user-list {
    background: #f0f8f2;
    border-radius: 5px;
    overflow: hidden;
    /* margin-left: 25px; */
    padding: 10px;
    text-align: left;
    margin: 2px 0 5px 43px;
}

.user-list a {
    padding: 5px 0 !important;
    width: 100%;
}

/*--*/
td.listStyle {
    padding: 0;
}

td.listStyle ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

td.listStyle ul li {
    padding: 15px;
    border-top: 1px solid #e8e8e8;
}

td.listStyle ul li:first-child {

    border-top: 0;
}

textarea {
    width: 100%;
    height: 140px;
}
