﻿@charset "utf-8";
/* CSS Document */
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Heiti TC', 'Microsoft JhengHei', 'Arial Black', 'LiHei Pro';
    letter-spacing: 1px;
    position: relative;
    background-color: #f2f2f2;
    font-size: 100%;
    color: #000000;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

body a:focus {
    -webkit-outline: #5ac0a8 dotted 3px;
    -moz-outline: #5ac0a8 dotted 3px;
    outline: #5ac0a8 dotted 3px;
}

a {
    color: #000;
    text-decoration: none;
    -o-transition: all .15s linear;
    -webkit-transition: all .15s linear;
    -moz-transition: all .15s linear;
    transition: all .15s linear;
    display: inline-block;
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

[role=button] {
    cursor: pointer;
}

.text-hidden {
    pointer-events: none;
    position: absolute;
    text-indent: 100%;
    white-space: nowrap;
    width: 0;
    overflow: hidden;
}

.pc_none, .pc_none2 {
    display: none !important;
}

.width_100 {
    width: 100% !important;
}
/* header */
.navmain {
    width: 100%;
    z-index: 1000;
    background: #fff;
    margin-bottom: 20px;
}

.navwrap {
    padding: 0;
    width: 85%;
    max-width: 1400px;
    margin: auto;
    height: 105px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-wrap {
    width: 85%;
    max-width: 1400px;
    min-height: calc(70vh - 100px);
    margin: auto;
    position: relative;
}
.Openapi {
	background: #0c512d;
    color: #fff;
    width: 130px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
	margin-top: 16px;
	font-size: 110%;
}
.logo {
    text-indent: -9999px;
    background: url(../images/logo.svg) no-repeat center/contain;
    width: 100%;
    max-width: 570px;
    height: 104px;
    margin-top: 14px;
    z-index: 10;
}
/* header */
/* search */

.top_bar_group {
    display: flex;
    justify-content: space-between;
    margin: 20px 0px;
    align-items: center;
}

.top_bar0, .top_bar1, .top_bar2 {
    display: inline-block;
    margin: 0 5px 0 0;
    white-space: nowrap;
    vertical-align: middle;
}

.top_bar0 {
    width: 20%;
}

.top_bar1 {
    width: 70%;
}

.top_bar2 {
    width: 10%;
}

.top_bar_group label, .top_bar0 {
    display: inline-block;
    max-width: 100%;
    font-weight: 700;
    margin-bottom: 0 !important;
}

.form-control2, .form-control3, .form-control4 {
    display: block;
    width: 95%;
    height: 30px;
    padding-left: 10px;
    font-size: 90%;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.btn_upload {
    display: inline-block;
    margin-left: 5px;
    font-size: 120%;
}

.ja-calendar:before {
    content: url(../images/icon/date.svg) !important;
    vertical-align: middle;
}

.ja-search:before {
    content: url(../images/icon/search.svg);
    vertical-align: sub;
}

/* search */
/* table */
table {
    word-break: break-all;
}

.table_main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 50px;
}

.table_box, .table_box2 {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    border: 0;
    margin-top: 0;
    font-size: 112%;
}

.table_box2 {
    width: calc(100% - 268px);
}

#dialog_desc .table_box2 {
    width: calc(100%);
}

.table_box th, .table_box td, .table_box2 td {
    border-right: 2px solid #fff;
}

    .table_box th:last-child, .table_box td:last-child, .table_box2 td:last-child {
        border-right: 0;
    }

    .table_box th:nth-child(4), .table_box th:nth-child(5) {
        cursor: text;
        pointer-events: none;
    }

        .table_box th:nth-child(4) a, .table_box th:nth-child(5) a {
            display: none;
        }

    .table_box td:not(:nth-of-type(1)) {
        text-align: center;
    }
    /*.table_box th:nth-child(1){width: 55%!important;}
.table_box .pcbox th:nth-child(1){width: 45%!important;}
.table_box th:nth-child(2),.table_box th:nth-child(3),.table_box th:nth-child(5){width: 10%!important;}
.table_box .pcbox th:nth-child(2),.table_box .pcbox th:nth-child(3),.table_box .pcbox th:nth-child(5){width: 9%!important;}
.table_box th:nth-child(4){width: 15%!important;}
.table_box .pcbox th:nth-child(4){width: 17%!important;}
.table_box2 td:nth-child(1){width: 15%!important; white-space: nowrap;}*/
    .table_box2 td:nth-child(1) {
        white-space: nowrap;
    }

.table_box tr td:first-child {
    position: relative;
    padding: 0;
}

    .table_box tr td:first-child a {
        padding: 1.5rem;
        margin: 0 1.5rem;
        width: calc(100% - 4.5rem);
        width: -webkit-fill-available;
        width: -moz-available;
        width: fill-available;
        height: 100%;
        height: -moz-available;
        height: -webkit-fill-available;
        height: fill-available;
    }

.application_btn {
    display: block;
    width: 228px;
    margin-left: 40px;
}

tbody tr {
    background-color: #eee;
}

    tbody tr:nth-child(2n-1), .table_box, .table_box2 {
        background-color: #fff;
        transition: all .125s ease-in-out;
    }

td, th {
    padding: 0.75rem 1.5rem;
    text-align: left;
}

th {
    background-color: #777;
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
}

.sort-handle {
    right: 1em;
}

    .sort-handle:before {
        border-bottom: .4em solid rgba(255, 255, 255, 1);
    }

    .sort-handle:after {
        border-top: .4em solid rgba(255, 255, 255, 1);
    }

.sticky-wrap.sortable thead th {
    padding-right: 1.5rem;
}

.sticky-wrap div table {
    border-spacing: 0 !important;
}

.sort-handle {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 10px;
    position: relative;
    top: 0;
    right: 0;
    width: 1em;
    height: 1em;
    margin-top: 0;
}

.data_box {
    display: flex;
}

    .data_box a {
        display: inline-block;
        padding: 0 5px;
    }

.data_icon {
   width: 4vw;
    height: 4vw;
    max-width: 38px;
    max-height: 38px;
}

.data_box div {
    width: calc(100% / 3);
}

.table_box2 .data_box div {
    width: auto;
}
/* table */
/* share icon */
.h2 i, h2 i {
    font-style: normal;
    display: inline-block;
    font-size: 200%;
    color: #35805f;
    vertical-align: middle;
}

.h2_icon {
    display: flex;
    float: right;
    margin: 0px 0 15px;
}

    .h2_icon a {
        text-align: center;
        margin: 0 4px;
        vertical-align: -6px;
        display: inline-block;
        height: 31px;
        width: 31px;
        line-height: 0;
        background-size: contain;
        text-indent: -999999px;
        transition: all 0.1s ease-in-out;
    }

.plurk {
    background: url(../images/icon/plurk.svg) no-repeat;
    background-size: contain;
}

.print {
    background: url(../images/icon/print.svg) no-repeat center;
    background-size: contain;
}

.twitter {
    background: url(../images/icon/twitter.svg) no-repeat;
    background-size: contain;
}

.lineicon {
    background: url(../images/icon/line.svg) no-repeat;
    background-size: contain;
}

.facebook {
    background: url(../images/icon/facebook.svg) no-repeat;
    background-size: contain;
}

.gotop {
    width: 60px;
    height: 60px;
    position: fixed;
    z-index: 98;
    background: url(../images/icon/goTop.svg) no-repeat center;
    background-size: contain;
    box-shadow: none;
    right: 25px;
    bottom: 35px;
}

    .gotop span {
        color: transparent;
        width: 1px;
        height: 1px;
        overflow: hidden;
        font-size: 0;
    }
/* share icon */
/*---分頁---*/
.page_box {
    position: relative;
    text-align: center;
    max-width: 1090px;
    padding-bottom: 30px;
    clear: both;
    margin: auto;
}

    .page_box div:first-child {
        display: block;
        margin-right: 10px;
        vertical-align: middle;
    }

    .page_box select {
        display: inline;
        max-width: 70px;
    }

.submit {
    color: #000;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    vertical-align: baseline;
    font-family: 'Heiti TC','Microsoft JhengHei','Arial Black','LiHei Pro';
    font-size: 95%;
    min-width: 95px;
}

.page_box button {
    margin-top: 10px;
    padding: .375rem .75rem;
}

button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a, .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            margin-top: 10px;
            line-height: 1.42857143;
            color: #0c512d;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

        .pagination > li:first-child > a, .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination > li:last-child > a, .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > .active > a, .pagination > .active > a:focus, .pagination > li > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
            z-index: 3;
            color: #fff;
            cursor: default;
            background-color: #0c512d;
            border-color: #0c512d;
            outline: none;
        }

/*---分頁---*/
/* footer */
footer {
    background: #606060;
    position: relative;
    z-index: 1;
    padding: 0;
    color: #fff;
    overflow: hidden;
}

.otherinfo {
    position: relative;
    line-height: 1.5;
    padding: 1% 0;
    overflow: hidden;
    width: 85%;
    max-width: 1400px;
    margin: auto;
    display: flex;
}

    .otherinfo .otherleft {
        width: calc(100%/1.5);
        float: left;
        font-size: 105%;
    }

footer a, .siteItem ul a {
    color: #fff;
    position: relative;
}

/* footer */
/* dialog */
#dialog_close_btn {
    width: 35px;
    height: 35px;
    -webkit-transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    cursor: pointer;
    position: absolute;
    top: 39px;
    right: -24px;
    z-index: 1000;
    background: none;
    border: 0;
}

    #dialog_close_btn:after, #dialog_close_btn:before {
        width: 40px;
        height: 4px;
        position: absolute;
        left: -2px;
        top: 16px;
        content: '';
        display: block;
        background-color: #fff;
    }

    #dialog_close_btn:before {
        transform: rotate(45deg);
    }

    #dialog_close_btn:after {
        transform: rotate(-45deg);
    }

.button_submit {
    background: none;
    border: 0;
    cursor: pointer;
}

.hidden {
    display: none;
}

[role="alertdialog"],
[role="dialog"] {
    box-sizing: border-box;
    padding: 15px;
    min-height: 100vh;
}

@media screen and (min-width: 640px) {
    [role="alertdialog"],
    [role="dialog"] {
        position: absolute;
        top: 2rem;
        left: 50vw; /* move to the middle of the screen (assumes relative parent is the body/viewport) */
        transform: translateX(-50%); /* move backwards 50% of this element's width */
        min-width: calc(640px - (15px * 2)); /* == breakpoint - left+right margin */
        min-height: auto;
    }
}

.dialog_label {
    text-align: center;
    color: #fff;
    font-weight: normal;
    font-size: 180%;
    margin-bottom: 11px;
}

.dialog_form {
    margin: 15px;
}

    .dialog_form .label_text {
        box-sizing: border-box;
        padding-right: 0.5em;
        display: inline-block;
        font-weight: bold;
        width: 30%;
        text-align: right;
    }

    .dialog_form .label_info {
        box-sizing: border-box;
        padding-right: 0.5em;
        width: 30%;
        text-align: right;
        display: inline-block;
    }

.dialog_form_item {
    margin: 10px 0;
    font-size: 0;
}

    .dialog_form_item .wide_input {
        box-sizing: border-box;
        max-width: 70%;
        width: 27em;
    }

    .dialog_form_item .city_input {
        box-sizing: border-box;
        max-width: 70%;
        width: 17em;
    }

    .dialog_form_item .state_input {
        box-sizing: border-box;
        max-width: 70%;
        width: 15em;
    }

    .dialog_form_item .zip_input {
        box-sizing: border-box;
        max-width: 70%;
        width: 9em;
    }

.dialog_form_actions {
    text-align: right;
    padding: 0 20px 20px;
}

.dialog_close_button {
    float: right;
    position: absolute;
    top: 10px;
    left: 92%;
    height: 25px;
}

    .dialog_close_button img {
        border: 0;
    }

.dialog_desc {
    padding: 25px;
    background: #fff;
}

/* native <dialog> element uses the ::backdrop pseudo-element */

/* dialog::backdrop, */
.dialog-backdrop {
    display: none;
    position: fixed;
    overflow-y: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.dialog-backdrop {
    background: rgba(0, 0, 0, 0.6);
}

    .dialog-backdrop.active {
        display: block;
    }

.no-scroll {
    overflow-y: auto !important;
}

/* this is added to the body when a dialog is open */
.has-dialog {
    overflow: hidden;
}

/* styling for alert-dialog example */
.notes {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
    min-width: 400px;
    max-width: 100%;
    width: 33%;
}

.toast {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 0.25rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    position: fixed;
    top: 1rem;
    right: 1rem;
    transform: translateY(-150%);
    transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1);
}

    .toast.active {
        transform: translateY(0);
    }

/* dialog */
/* RWD */
@media screen and (max-width: 1024px) {
    .table_box, .h2, .table_main, footer {
        font-size: 100%;
    }
    .data_icon {
        width: 4vw;
        height: 4vw;
    }
}

@media screen and (max-width: 940px) {
    .top_bar_group {
        margin-right: 0;
        display: block;
    }

    .top_bar0, .top_bar1, .top_bar2 {
        margin: 5px 0;
        width: auto;
    }

    .top_bar0 {
        min-width: 105px;
    }

    .top_bar1, .width_100 {
        width: calc(100% - 150px) !important;
    }

    .top_bar2 {
        min-width: 25px;
    }

    .width_99 {
        width: calc(100% - 116px) !important;
    }

        .width_99 select {
            width: 100%;
        }

    .pc_none2 {
        display: inline-block !important;
    }

    .form-control2, .form-control3, .form-control4 {
        width: 98%;
    }

    .table_box thead {
        display: none;
    }

    .table_box tr td:first-child {
        padding: 0.75rem 1.5rem;
        display: block !important;
    }

    .table_box td, .table_box td:not(:nth-of-type(1)), .table_box tr td:first-child {
        display: flex;
        align-items: center;
        text-align: left;
        /*padding-left: 125px;*/
        position: relative;
        border-right: 0;
        display: none;
    }

        .table_box tr td:first-child a {
            padding: initial;
            margin: auto;
            width: 100%;
        }

    .data_box div {
        width: auto;
    }
    /*.table_box td:before {
    content: attr(data-th);
    font-weight: 700;
    padding-right: 10px;
    display: block;
    position: absolute;
    left: 20px;
}	*/
    .table_box tr {
        position: relative;
    }
    /*.table_box tr:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 3px;
    left: 112px;
    z-index: 10;
    background: #fff;
}*/
}
@media screen and (max-width: 860px) {
	.logo {
    background: none;
    max-width: 350px;
    height: 104px;
    margin-top: 0;
    display: flex;
    align-items: center;
}
	.logo h1 {
	text-indent: -9999px;
    background: url(../images/logo.svg) no-repeat left/cover;
    width: 100%;
    max-width: 360px;
    height: 50px;
    margin-top: 0;
    z-index: 10;
    background-position: -204px;
	}	
}
@media screen and (max-width: 768px) {
    .table_box tr:before {
        left: 107px;
    }

    .table_main {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .application_btn {
        margin-left: 0;
        width: 33vw;
        align-self: flex-end;
        margin-bottom: 15px;
    }

    #dialog {
        font-size: 90%;
        width: 90%;
    }

    .table_box2 {
        width: calc(100%);
        align-self: center;
    }
}

@media screen and (max-width: 700px) {
    .logo {
        height: 61px;
        width: 280px;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
    }
.logo h1 {
    max-width: 280px;
    height: 40px;
    background-position: -163px -3px;
}
	.Openapi {
    transform: scale(0.8);
    margin-right: -12px;margin-top: 0;
}
    .navwrap {
        width: 95%;height: 61px;
    }

    .content-wrap {
        width: 100%;
        min-height: auto;
    }

    .data_icon {
        width: 9vw;
		height: 9vw;
    }

    .h2 {
        margin-right: 12px;
        display: block;
    }

    .top_bar0 {
        min-width: 95px;
    }

    .top_control, .h2 {
        padding: 0 15px;
        margin-right: 0;
    }

    .form-control2, .form-control3, .form-control4 {
        width: 94%;
    }

    .application_btn {
        margin-right: 13px;
    }

    #dialog_close_btn {
        width: 30px;
        top: 28px;
        right: 12px;
    }

    #dialog {
        font-size: 90%;
        width: 95%;
        margin: auto;
    }

    .dialog_desc {
        padding: 0;
    }

    #dialog_desc th, #dialog_desc td {
        padding: 5px;
    }

        #dialog_desc td:nth-of-type(1), #dialog_desc td:nth-of-type(2) {
            text-align: center;
        }
}
@media screen and (max-width:450px) {
	.logo h1 {
    max-width: 240px;
    height: 34px;
    background-position: -138px -3px;
}
	.Openapi {
    transform: scale(0.6);
}
}
@media screen and (max-width:350px) {
	.logo {
    width: 200px;
}
	.logo h1 {
    height: 29px;width: 200px;
    background-position: -117px -3px;
}
	.Openapi {
    transform: scale(0.5); margin-right: -29px;
}
}
@media screen and (max-width:320px) {
    #dialog {
        font-size: 90%;
        width: 100%;
        margin: auto;
    }

    .table_box2 td {
        padding: 15px 5px;
    }
}
/* RWD */
/*IE hack*/
@media all and (-ms-high-contrast:none) {
    *::-ms-backdrop, .top_bar0 {
        width: auto !important;
    }
}
/*IE hack*/
@page {
    size: 330mm 427mm;
    margin: 40px 5% 40px 5%;
}

@media print {
    body {
        font-size: 90%;
        background-color: #fff;
    }

    .top_control, header, .sort-handle, footer, .application_btn {
        display: none !important;
    }

    .sticky-thead, .content-wrap, .table_box2 {
        width: 100% !important;
    }

        .table_box th, .table_box td, .table_box2 td {
            width: auto !important;
            white-space: normal !important;
        }
}