:root {
    --primary: #11223a;
    --success: #0071bc;
    --light: #31b0d5;
}

body {
    font-family: 'Microsoft JhengHei', 'Hind', 'Arial';
    font-size: 16px;
    color: black;
    line-height: 1.4em;
    min-height: 100vh;
    position: relative;
}

::selection {
    background: #4ea921;
    color: white;
    text-shadow: none;
}

strong {
    font-weight: 600;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

a {
    color: #333;
}

a:hover,
a:focus {
    color: var(--primary);
}

h1,
h2,
h3 {
    margin-top: 10px;
    line-height: 1.4em;
    text-transform: uppercase;
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 22px;
}

p {
    margin: 0 0 5px;
}


img {
    max-width: 100%;
}

.clear {
    clear: both;
}

.topline {
    border: var(--primary) solid;
    border-width: 3px 0 0 0;
}

.red {
    color: red;
    text-align: right;
    display: block;
}

/***** 區塊留白 *****/

.blank {
    height: 60px;
    clear: both;
}

.blank15 {
    height: 15px;
    clear: both;
}

.blank30 {
    height: 30px;
    clear: both;
}

.h350 {
    min-height: 390px;
}

.p10 {
    padding: 10px;
}

.p60 {
    padding: 60px 0px;
}

.left {
    float: left;
}

.right {
    float: right;
}

.center {
    display: block;
    margin: 0 auto;
    text-align: center;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.dot-list {
    list-style: disc;
    padding-left: 20px;
}

table {
    border: #d0d0d0 1px solid;
    margin-bottom: 10px;
}

caption {
    background-color: #50944b;
    padding: 8px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.custom-table {
    width: 100%;
    border: 1px solid black;
    border-collapse: collapse;
}

.custom-table td {
    padding: 1rem;
    border-bottom: 1px solid black;
}

.table-responsive {
    display: block;
    min-width: 100%;
}

::-moz-selection {
    background: #4ea921;
    color: #fff;
    text-shadow: none;
}

/***** menu *****/
.navbar {
    margin-bottom: 0;
    background: #fff;
    -o-transition: all .6s;
    -moz-transition: all .6s;
    -webkit-transition: all .6s;
    -ms-transition: all .6s;
    transition: all .6s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

ul.navbar-nav {
    font-size: 14px;
}

.navbar-inverse ul.navbar-nav li a {
    padding-top: 20px;
    padding-bottom: 20px;
    color: black;
    font-weight: bolder;
}

    .navbar-inverse ul.navbar-nav li a:hover {
        color: var(--success);
        opacity: 1;
        display: block;
    }

.navbar-inverse ul.navbar-nav .active {
    color: var(--success);
    display: block;
}

.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    height: 60px;
}

.navbar-toggle {
    margin-top: 10px;
    margin-bottom: 10px;
}

/***** header *****/
#header {
    background-image: url('/images/header.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.banner {
    background-image: url('/images/banner.jpg');
    background-position: center bottom;
    height: 210px;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding-top: 110px;
    color: #fff;
}

/***** 內容 *****/
.inmenu {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

.inmenu li {
    margin-bottom: 30px;
}

.area li {
    float: left;
    padding: 5px 20px;
    background: #eee;
    margin: 3px 10px 3px 0;
}

.area li.active {
    background: #4ea921;
}

.area li.active a {
    color: #fff;
}

.box-img {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
    border-radius: 8px 8px 0 0;
}

.item-box {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    margin-bottom: 25px;
    padding: 10px;
    border-radius: 8px;
}

.item-box .date {
    font-size: 0.9em;
    color: #666;
    float: left;
}

.item-box .sort {
    font-size: 0.9em;
    border-radius: 8px;
    padding: 1px 10px;
    float: right;
    color: #fff;
}

.item-box .s-team {
    background-color: #39a3d2;
}

.item-box .s-user {
    background-color: #ea7f00;
}

.item-box h3 {
    clear: both;
    margin-bottom: 5px;
    font-size: 17px;
    margin-top: 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.item-box h3.m0 {
    margin-top: 0px;
}

.panel-group ul.l25 {
    margin-left: 25px;
}

.panel-group ol.l35 {
    margin-left: 35px;
}

.active-card {
    box-shadow: 0 10px 80px -30px rgb(0 0 0 / 40%);
    margin: 0 auto;
    border-radius: 4px;
    padding: 20px;
}

.active_img {
    max-height: 350px;
    overflow: hidden;
}

.active_img img {
    width: 100%;
}

.active-card h3 {
    font-size: 16px;
    float: left;
    width: 100px;
}

.active-card span {
    padding: 10px 0;
    float: left;
}

.active-card .line {
    clear: both;
    border-bottom: dashed 1px #d8d8d8;
}

.active-card .push {
    border: solid 1px #d8d8d8;
    text-align: center;
}

.active-card .push i {
    padding: 15px 10px;
    font-size: 40px;
    color: #a9a9a9;
}

.active-card .push p {
    background-color: #a9a9a9;
    color: #fff;
    padding: 2px;
    margin: 0;
    font-family: "Trebuchet MS";
    letter-spacing: 1.3px;
    font-size: 18px;
}

.logo_item li {
    margin: 10px;
    width: auto;
    height: 60px;
    text-align: left;
    float: left;
    border: dashed 1px #d8d8d8;
}

.logo_item li img {
    height: 60px;
    width: auto;
}

/***** login *****/
.login-card {
    padding: 40px 30px;
    background-color: #fff;
    width: 90%;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 10px 80px -30px rgb(0 0 0 / 40%);
}

.team {
    width: 100%;
    max-width: 1200px;
}

.login-card .tab-content {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 0 0 8px 8px;
    border: 1px solid #ddd;
    border-top-width: 0px;
}

.login-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.login-card .btn-info {
    margin-bottom: 5px;
    padding: 8px;
    width: 90px;
    text-align: center;
    border-radius: 0px;
}

.login label {
    float: left;
    width: 70px;
    padding-top: 8px;
    text-align: right;
    padding-right: 15px;
}

.login input {
    float: left;
    width: calc(98% - 70px);
    margin-bottom: 15px;
}

.login-btn {
    margin-left: 55px;
    padding-top: 15px;
    clear: both;
}

.login button {
    width: 100%;
    display: block;
    float: right;
}

.register_login label {
    float: left;
    width: 110px;
    padding-top: 8px;
    text-align: left;
    padding-right: 15px;
}

.register_login P {
    font-size: 14px;
    padding-left: 110px;
}

.register_login input,
.register_login textarea,
.register_login select {
    float: left;
    width: calc(100% - 110px);
    margin-bottom: 15px;
}

.register_login .form-check input {
    width: 30px;
    text-align: right;
    margin-top: 12px;
}

.register_login .form-check label {
    width: 50px;
}

.register_login button {
    width: 100px;
    display: block;
    margin: 0 auto;
}

textarea {
    background-color: #f8fcff;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #dde1e4;
}

.group-line {
    border: 1.5px dashed #ccc;
    border-radius: 8px;
    padding: 10px 20px 30px 20px;
    margin: 30px 0px;
}

.group-line h3 {
    display: table;
    margin-top: -20px;
    font-size: 17px;
    background-color: #73c848;
    color: #fff;
    padding: 3px 10px;
    margin-bottom: 25px;
    text-align: center;
}

.login-card ol li {
    padding: 10px;
    background-color: #e4e6e3;
    margin-bottom: 10px;
}

.add {
    padding: 8px;
    background: #51a074;
    width: 100px;
    float: right;
    margin-bottom: 15px;
    display: block;
}

.add a {
    color: #fff;
}

/***** 分頁 *****/
#pagination {
    display: block;
    text-align: center;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin-top: 50px;
}

ul.pagination li {
    display: inline;
}

ul.pagination li a {
    color: #39a3d2;
    float: left;
    padding: 3px 10px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #39a3d2;
}

ul.pagination li a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

ul.pagination li a:hover:not(.active) {
    background-color: #337ab7;
    color: #fff;
}

/***** Footer *****/

footer {
    font-size: 14px;
    background-color: var(--primary);
    padding: 10px 0;
    color: #fff;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#gotop {
    position: fixed;
    padding: 8px 8px 8px 12px;
    right: 20px;
    bottom: 30px;
    background: rgb(184 184 184 / 70%);
    border-radius: 3.125rem;
    text-align: center;
    transition-duration: 300ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
    z-index: 1000;
    color: #fff;
}

#gotop .fas {
    padding-right: 5px;
    font-weight: 700;
}

#gotop:hover {
    background: #4ea921;
}

.panel-success {
    border-color: var(--success);
}

.panel-success > .panel-heading {
    color: white;
    background-color: var(--success);
    border-color: var(--success);
}
.panel-success > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: var(--success);
}

.navbar-inverse .navbar-toggle {
    background-color: var(--success);
}

    .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
        background-color: var(--success);
    }

.btn-custom {
    border: 1px solid;
    border-radius: .5rem;
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.btn-custom img {
    height: 16px;
    aspect-ratio:1;
    object-fit: contain;
}

.btn-custom-light {
    color: white;
    border-color: var(--primary);
    background-color: var(--light);
}

.w-100 {
    width: 100%;
}

.ps-5 {
    padding-left: 3rem;
}

.me-3 {
    margin-right: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
        justify-content: space-between;
}
}
.align-items-center {
    align-items: center;
}

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

.img-apply {
    width: 100%;
}

.img-box {
    background-color: gray;
}

    .img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.img-warehouse {
    aspect-ratio: 16/9;
}

@media (min-width: 992px) and (max-width: 1199px) {
}

@media (min-width: 768px) and (max-width: 991px) {}

@media (max-width: 767px) {
    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .p60 {
        padding: 30px 0px;
    }

    .blank30 {
        height: 20px;
    }

    ul.navbar-nav {
        padding-bottom: 20px;
    }

    .navbar-collapse {
        border: 0;
    }

    .navbar-brand img {
        height: 55px;
    }

    .navbar-inverse ul.navbar-nav li a {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #header {
        background-position: 50% 20%;
        height: 250px;
    }

    .inmenu li {
        margin-bottom: 20px;
    }

    .banner {
        height: 160px;
        padding-top: 85px;
    }

    .box-img {
        height: 180px;
    }

    .login-card {
        padding: 0px;
        width: 100%;
        box-shadow: initial;
    }

    .login-card .tab-content {
        padding: 15px 15px 30px 15px;
    }

    .logo_item li {
        width: 40%;
        height: auto;
        float: left;
    }

    .logo_item li img {
        width: 100%;
        height: auto;
    }

    .apply-container {
        display: block;
    }
}