﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;500;700&family=Roboto:wght@300;500;700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 150%;
    font-family: "Roboto", "Noto Sans TC", Arial, Helvetica, sans-serif;
    font-weight: 300;
    -webkit-tap-highlight-color: transparent;
}

form {
    height: 100%; /* 讓 <form> 也撐滿整個頁面 */
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 讓頁面至少等於視窗高度 */
}

::placeholder{
		color: #DEDEDE;
}

.main {
    flex: 1; /* 讓主內容區塊填充剩餘空間 */
    /*flex-grow: 1;*/
}

a {
    text-decoration: none;
    font-weight: 300;
}

    a:active {
        text-decoration: none;
        font-weight: 300;
    }

    a:hover {
        text-decoration: none;
        font-weight: 300;
    }

    a:link {
        text-decoration: none;
        font-weight: 300;
    }

h1 {
    font-size: 2em;
    font-weight: 700;
}

h2 {
    font-size: 1.8em;
    font-weight: 700;
}

h3 {
    font-size: 1.6em;
    font-weight: 700;
}

h4 {
    font-size: 1.4em;
    font-weight: 700;
}

h5 {
    font-size: 1.2em;
    font-weight: 700
}

h6 {
    font-size: 1em;
    font-weight: bold;
}

.icon-size-1{
    font-size:5rem;
    font-weight:700;
}

.bg-gray {
    background-color: #F7F9F8;
}

.bg-green {
    background-color: #009844;
}

.btn-green{
    background-color:#009844;
    padding:10px 20px;
    color:#FFFFFF!important;
    font-weight:300!important;
}

    .btn-green:hover {
        background-color: #E60012;
        color: #FFFFFF;
    }

.fw-bold {
    font-weight: 500 !important;
}

.text-center{
    text-align:center;
}

.text-green {
    color: #009844!important;
}

.text-gray {
    color: #898989 !important;
}

.text-red {
    color: #E60012 !important;
}

section {
    padding: 50px 0px 150px 0px;
}

.banner {
    width: 100%;
}

    .banner img {
        width: 100%;
    }

.container {
    max-width: 1200px;
}

/**登入**/
.login_box{
    max-width:400px;
    margin:0px auto;
}

/**個資同意**/
.policy ol li{
    margin-bottom:10px;
}

/** header樣式 **/
header {
    min-height: 85px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.1);
}

.navbar {
    flex-direction: row-reverse;
}

.navbar_brand {
    height: 33px;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: flex-end;
    margin-left: 2.5%;
}

    .navbar_brand > img {
        min-width: 167px;
    }

    .navbar_brand > div {
        margin-left: 20px;
        line-height: 15px;
        font-size: 1.5rem;
        font-weight: 500;
    }

select:disabled {
    opacity: 1;
    background-color: #D7D9D8;
    color: #989E9A;
}

.dropdown-menu[data-bs-popper] {
    margin-top: 21px;
}

#search_box_rwd_form {
    display: none;
}

.brand_title {
    display: inline-block;
    vertical-align: sub;
    font-size: 1.4rem;
    padding: 0px 0px 0px 15px;
}

#navbarSupportedContent {
    justify-content: flex-end;
    max-width: 100%;
    background-color: #FFFFFF;
}

.language-menu {
    border-radius: 2px;
    width: auto;
    right:0!important;
}

    .language-menu li a {
        color: #737373 !important;
    }

        .language-menu li a:active {
            color: #FFFFFF !important;
        }

/* Remove border from toggler */
.navbar-toggler {
    border: 0;
}

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
        border: 0;
    }

/* Lines of the Toggler */
.toggler-icon {
    width: 30px;
    height: 3px;
    background-color: #009844;
    display: block;
    transition: all 0.2s;
}

/* Adds Space between the lines */
.middle-bar {
    margin: 5px auto;
}

.dropdown-item:hover {
    background-color: #E6F2EB;
    color: #009844;
}

.dropdown-item:focus {
    background-color: #009844;
    color: #FFFFFF;
}

/* State when navbar is opened (START) */
.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

/* State when navbar is opened (END) */

/* State when navbar is collapsed (START) */
.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

/* State when navbar is collapsed (END) */

/* Color of Toggler when collapsed */
.navbar-toggler.collapsed .toggler-icon {
    background-color: #009844;
}

#languageMenuButton {
    flex-flow: row;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    color: #737373;
}

    #languageMenuButton svg {
        font-size: 1.5rem;
        margin-right: 10px;
    }

.nav_item {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

    .nav_item:before {
        content: "|";
        color: #CCCCCC;
        margin: 0px 8px;
    }

    .nav_item:last-child:after {
        content: "|";
        color: #CCCCCC;
        margin: 0px 8px;
    }

    .nav_item a:hover {
        text-decoration: none;
        color: #009844;
    }

.nav-btn {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    margin: 0px 1px;
    cursor: pointer;
}

    .nav-btn > img {
        width: 36px;
    }

    .nav-btn > span {
        font-weight: 300;
    }

.nav-pills .nav-link {
    background-color: #DFDFDF;
    border: 0;
    border-radius: 2px;
    margin-right: 10px;
    color: #1F211F;
}

    .nav-pills .nav-link.active,
    .nav-pills .show > .nav-link {
        color: #009844;
        background-image: -webkit-linear-gradient(top, #24a600 1%, #24a600 22%, #24a600 30%, #009844 100%);
    }

.nav-link:hover {
    background-color: #009844;
    color: #fff !important;
}

.nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link {
    color: #333333;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #009844 !important;
    font-weight:500;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active:hover {
    background-color: #009844;
    color: #FFFFFF !important;
}

article{
    margin-bottom:20px;
}

.job_name_title {
    color: #009844 !important;
    border-bottom: none;
    font-weight: 500;
    font-size: 1.3rem;
}


    .job_name_title:hover {
        color: #E60012 !important;
        border-bottom: 1px solid #E60012 !important;
    }

.benefit_img {
    text-align: right;
}

    .benefit_img img {
        max-width: 220px;
    }

/*Form Control*/

.txtBox {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    text-align:center;
}

    .txtBox:focus {
        outline: none;
        border-bottom:2px solid #009844;
    }

    .txtBox:disabled, .txtBox[readonly] {
        background-color: #e9ecef;
        opacity: 1;
    }

/**Radio單選樣式**/
.radioSelect{
    display:flex;
    flex-flow:row;
    align-items:center;
    padding:10px;
}

.radioSelect input[type=radio] {
    border: 0px;
    width: 1.2rem;
    height: 1.2rem;
}

.radioSelect label {
    margin-left: 5px;
    margin-right: 20px;
}

/**CheckBox選擇樣式**/
.checkboxSelect {
    display: flex;
    flex-flow: row;
    align-items: center;
    padding: 10px;
}
.checkboxSelect input[type=checkbox] {
    border: 0px;
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 10px;
    margin-right: 5px;
}

/**下拉選單樣式**/
.DropdownListStyle {
    border: none;
    width: 100%;
    border-bottom: 1px solid #ced4da;
    padding: 5px;
    margin: 5px;
}

.DropdownListStyle:focus {
    outline:none;
    border-bottom: 2px solid #009844;
}

    .DropdownListStyle option{
        text-align:center;
    }

/** Pagination  **/
#app {
    width: auto;
    height: 15px;
    margin: 0 auto;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
}

.button {
    width: 15px;
    height: 15px;
    float: left;
    margin-right: 15px;
    background-color: #fff;
    border:1px solid #737373;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s ease width;
}

    .button:last-child {
        margin-right: 0;
    }

    .button.active {
        width: 60px;
        cursor: auto;
        border: 1px solid #E60012;
        background-color: #E60012;
    }

.bg-opacity {
    background: rgba(0,0,0,0.6) !important;
}

.modal-header .badge {
    font-size:1rem;
}

.modal-body article p {
    margin-bottom: 0px;
    padding-left: 15px;
}

.job_describe {
    color: #898989;
}

.job_describe span:first-child {
    margin-left:0px!important;
}

    .job_describe span:nth-child(1n+1) {
        margin: 0px 10px;
    }

.nav-tabs .nav-item button {
    font-size: 1.5rem;
}

footer {
    background-color: #009844;
    padding: 20px;
    color: #FFFFFF;
}

    footer a {
        color: #FFFFFF !important;
    }

.ca_table {
    background-color: #FFFFFF;
    margin-bottom: 20px;
}

    .ca_table tr:hover {
        background-color: #e0e0e0;
    }

    .ca_table th {
        border: 1px solid #d9d9d9;
        padding: 10px;
        text-align: center;
        font-weight: bold;
    }

    .ca_table td {
        border: 1px solid #d9d9d9;
        padding: 10px;
    }

    .ca_table .dan {
        text-align: right;
        border: none;
    }

    .ca_table #cpyear {
        font-size: 25px;
    }

    .ca_table td:first-child, th:first-child {
        position: sticky;
        left: 0; /* 首行永遠固定於左 */
        z-index: 1;
    }

.plusicon {
    color: #009844;
    font-size:1.75rem
}

.plusicon:hover{
    color:#E60012;
}

@media (max-width: 1030px) {
    header {
        height: 86px;
    }

    #navbarSupportedContent {
        position: fixed;
        width: 100%;
        left: 0px;
        margin-top: 280px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
        padding: 20px;
        z-index: 1022;
    }

    #languageSelector > .dropdown-menu[data-bs-popper] {
        left: -20px;
        margin-top: 0px;
        width: 120%;
        text-align: center;
        border: 0px;
        box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.2);
    }

    .nav_item {
        padding: 5px;
    }

        .nav_item:before {
            content: "";
            color: #FFFFFF;
            margin: 0px 8px;
        }

        .nav_item:last-child:after {
            content: "";
            color: #FFFFFF;
            margin: 0px 8px;
        }

    .navbar-nav {
        border-top: 1px solid #B9BFBC;
        border-bottom: 1px solid #B9BFBC;
        margin-top: 10px;
    }

    .search_and_navbtn {
        display: block;
    }

    .benefit_img {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .head-image {
        right: 130px;
    }

        .head-image > img {
            width: 98%;
        }

    .nav_item:before {
        content: "";
        color: #FFFFFF;
        margin: 0px 8px;
    }

    .nav_item:last-child:after {
        content: "";
        color: #FFFFFF;
        margin: 0px 8px;
    }
}

@media (max-width: 576px) {
    .navbar_brand > div {
        font-size: 1rem;
        font-weight: 400;
    }

    header {
        min-height: 56px;
    }

    .head-image > img {
        width: 80%;
    }

    .headbanner_container {
        height: 300px;
    }

    #dropdownMenuButton3 {
        flex-direction: row;
    }

    .navbar_brand {
        height: auto;
        margin-left: 4%;
    }

        .navbar_brand > img {
            min-width: auto;
        }

    .headbanner {
        background-position: center center;
        height: 500px;
    }

    .head-text {
        display: none;
    }

    .head-text-mobile {
        display: block;
        padding: 20px;
        background-color: #dedede;
        z-index: 999;
    }

    .headerText > h1 {
        font-size: 17pt;
    }

    .headerText > p {
        font-size: 10pt;
    }

    .head-image {
        width: 60%;
        right: 50px;
        /* margin: 0px 0px 0px 30%;
    padding: 20px 50px 0px 0px;*/
    }
}

@media (max-width: 414px) {
    .nav-tabs .nav-item{
        width:33.33%;
    }
    .nav-tabs .nav-item button{
        font-size: 1rem;
    }

}
