@charset "utf-8";
/* CSS Document */
header {
    position: sticky;
    top: 0px;
    z-index: 99999;
}

.article {
    border: 1px solid #ddd;
    box-shadow: 0px 6px 16px 0px rgb(0 0 0 / 12%);
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background-color: #fff;
    margin: 0 auto 30px auto;
    /* padding: 20px 1.1vw; */
    padding: 10px 10px 20px 10px;
}

    .article.small_article {
        width: 30vw;
    }

    .article.interface_article {
        width: 50vw;
    }

h2 {
    position: relative;
    color: #c87b63;
    width: 100%;
    padding: 0.25em 0.5em 0.25em 1.2em;
    border: 1px solid #e9a893;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: #eee;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 6%);
    background: #ffffff;
    background: #f5f5f5;
    background: -moz-linear-gradient(top, #f5f5f5 0%, #ffffff 50%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #f5f5f5 0%,#ffffff 50%,#ffffff 100%);
    background: linear-gradient(to bottom, #f5f5f5 0%,#ffffff 50%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#ffffff',GradientType=0 );
}

    h2:after {
        position: absolute;
        top: 50%;
        left: 0.7em;
        transform: translateY(-50%);
        content: '';
        width: 5px;
        height: 12px;
        background-color: #ff6464;
        border-radius: 4px;
    }

.login_wrap ul li {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.lightbox_content {
}

    .lightbox_content ul {
        display: flex;
        flex-wrap: wrap;
    }

        .lightbox_content ul li {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            width: 100%;
            margin-bottom: 20px;
        }

.item_title {
    font-size: 1.6rem;
    min-width: 120px;
    text-align: right;
    font-weight: bold;
}

.item_inputbox {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
    flex-wrap: wrap;
}

.notice {
    width: 420px;
    color: #c97b63;
    font-size: 1.3rem;
    padding-left: 120px;
}

.input_tips {
    font-family: "微軟雅黑體", 'Noto Sans TC', sans-serif;
    color: #c97b63;
    font-size: 1.4rem;
    font-weight: 500;
    margin-left: 5px;
}
/*.input_tips:before{
    margin:-3px 2px 0 0;
 content:" ";
 display:inline-block;
 width:22px;
 height:22px;
 background:url(../images/error.png); 
 background-repeat: no-repeat;
 background-size:contain;
 vertical-align:middle;
}*/
.submit {
    display: flex;
    justify-content: center;
}

    .submit.top_line {
        border-top: 1px solid #888;
        padding-top: 15px;
    }

a.field-icon {
    width: 16px;
    height: 16px;
    background-image: url("../images/view.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

a.field-icon-slash {
    width: 16px;
    height: 16px;
    background-image: url("../images/hidden.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.field-icon {
    float: right;
    margin-top: 10px;
    margin-left: -26px;
    position: relative;
    z-index: 2;
}

.field-icon-slash {
    float: right;
    margin-top: 10px;
    margin-left: -26px;
    position: relative;
    z-index: 2;
}

.text-danger {
    display: block;
    width: 100%;
}

.content_wrapper {
    display: flex;
    justify-content: flex-start;
    width: 80vw;
    margin: 0 auto;
    min-height: 69vh;
}

.menu {
    background-color: rgba(114, 137, 115, 0.5);
    -webkit-border-top-left-radius: 12px;
    -webkit-border-top-right-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -moz-border-radius-topright: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 10px;
}

.article_wrap {
    flex-grow: 1;
    /*padding: 18px 0;*/
    padding: 0 0 0 20px;
    /*border-bottom: 1px solid #ddd;*/
}

.change_pw {
    width: 90%;
    padding: 10px 0px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(191,123,98,1);
}

    .change_pw a {
        color: #000;
        padding: 0;
    }

        .change_pw a:hover {
            color: #ab6651;
            text-decoration: underline;
        }

        .change_pw a:before {
            margin: -3px 3px 0 0;
            content: " ";
            display: inline-block;
            width: 16px;
            height: 16px;
            background: url(../images/password.png);
            background-repeat: no-repeat;
            background-size: contain;
            vertical-align: middle;
            transition: all 0.4s;
            -o-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -webkit-transition: all 0.4s;
        }

        .change_pw a:hover:before {
            background: url(../images/password_o.png);
            background-size: contain;
        }

.logout {
    width: 90%;
    margin: 0 auto;
    padding: 10px 0px;
}

    .logout a {
        color: #000;
    }

        .logout a:hover {
            color: #ab6651;
            text-decoration: underline;
        }

        .logout a:before {
            margin: -3px 3px 0 0;
            content: " ";
            display: inline-block;
            width: 16px;
            height: 16px;
            background: url(../images/logout.png);
            background-repeat: no-repeat;
            background-size: contain;
            vertical-align: middle;
            transition: all 0.4s;
            -o-transition: all 0.4s;
            -moz-transition: all 0.4s;
            -webkit-transition: all 0.4s;
        }

        .logout a:hover:before {
            background: url(../images/logout_o.png);
            background-size: contain;
        }

div.fastSearch {
    width: 100%;
    padding: 20px 0 20px 0;
    margin: 0px auto;
    margin-bottom: 30px;
    text-align: center;
    background-color: #f8f8f8;
    border: 1px solid #999;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    box-shadow: rgb(0 0 0 / 12%) 0px 6px 16px;
}

    div.fastSearch ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

        div.fastSearch ul li {
            margin-right: 5px;
        }

    div.fastSearch input.keyword {
        background-color: #fff;
        vertical-align: top;
        box-sizing: border-box;
        font-size: 1.4rem;
        line-height: 1.7;
        outline: none;
        padding: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    div.fastSearch ul li select {
        background-color: #fff;
        vertical-align: top;
        box-sizing: border-box;
        font-size: 1.4rem;
        line-height: 1.7;
        outline: none;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid #aaa;
        padding: 0 20px 0 5px;
    }

    div.fastSearch div.datepickerImage {
        background-color: #fff;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid #aaa;
    }

.list_wrap {
    width: 95%;
    margin: 0 auto;
}

.rwd_table img {
    width: 80px;
    height: 53px;
}

.rwd_table td.banner_img img {
    width: 100%;
    height: auto;
}

.rwd_table input[type=checkbox] + span {
    background: none #ccc;
}

.rwd_table input:checked + .slider {
    background-color: #8f9f38;
}

a.table_btn {
    margin: 2px;
    padding: 0 14px;
}

.btn_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.6rem;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px;
    border-top: 0px solid #ddd;
}
/*分頁start*/
.pageview {
    display: flex;
    margin-bottom: 30px;
    justify-content: center;
}

    .pageview a {
        display: block;
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 1.3rem;
        color: #977961;
        text-align: center;
        background-color: #fff;
        /*-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;*/
        border: 1px solid #977961;
    }

        .pageview a:hover {
            background-color: #977961;
            color: #fff;
            border: 1px solid #977961;
        }

a.previous_arrow {
    display: inline-block;
    color: #000;
    border: 1px solid transparent;
    background-color: transparent;
}

a.next_arrow {
    display: inline-block;
    color: #000;
    border: 1px solid transparent;
    background-color: transparent;
}

.page_num {
    display: inline-block;
}

    .page_num ul {
        /*display: inline-block;*/
        display: flex;
        align-items: center;
    }

        .page_num ul li {
            display: block;
            margin: 0 2px;
        }

            .page_num ul li a {
            }

                .page_num ul li a.active {
                    color: #fff;
                    background-color: #7a917f;
                    border: 1px solid #fff;
                }

.favor {
    display: flex;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    padding: 3px 0;
    background-color: #fff;
    z-index: 9997;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

    .favor label {
        cursor: pointer;
        margin-right: 0px;
    }

    .favor img {
        width: 20px;
        height: 20px;
        min-width: auto;
        min-height: auto;
    }

.category_wrap {
    display: flex;
    height: 20vw;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background-color: #fff;
}

.category_info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 20px;
}

.category_photo {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    overflow: hidden;
}

    .category_photo img {
        position: absolute;
        display: block;
        width: 100%;
        height: auto;
    }
/*分頁end*/
.full_li {
    width: 100% !important;
}

.form_btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 50px;
    padding-top: 10px;
    border-top: 1px solid #666;
}

    .form_btn a {
        padding: 20px 30px;
        height: 40px;
        margin: 0 5px;
        -webkit-border-radius: 12px !important;
        -moz-border-radius: 12px !important;
        border-radius: 12px !important;
    }

span.slash {
    margin: 0 5px;
}

span.star {
    font-family: 'Noto Sans TC', "微軟正黑體", sans-serif;
    font-size: 1.5rem;
    color: #ff0000;
    font-weight: 600;
}

input.size_tiny {
    width: 60px;
}

input.size_short {
    width: 180px;
}

input.size_middle {
    width: 290px;
}

input.size_long {
    width: 460px;
}

.content_wrap p {
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 2;
}

.add_item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.description {
    color: #c97b63;
    text-align: center;
    margin-bottom: 10px;
}

.item_title.title_lightbox {
    min-width: auto;
}

.inputbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
/*.SupplierItems ul li .select_box_normal ul{
    display: block;
    margin-bottom: 0px;
}
.SupplierItems ul li .select_box_normal ul li{
    border-bottom: 0px solid #ddd;
    width: 100%;
}*/
@media screen and (max-width: 1366px) {

    .content_wrapper {
        width: 90vw;
    }
}

@media screen and (max-width: 1180px) {

    .content_wrapper {
        width: 95vw;
    }

    .article.small_article {
        width: 35vw;
    }
}

@media screen and (max-width: 1024px) {

    .article_wrap {
        padding: 0;
    }

    .menu {
        padding: 0px;
    }

    .change_pw {
        width: 246px;
    }

    .logout {
        width: 246px;
    }

    .btn_wrap {
        display: flex !important;
    }
}

@media screen and (max-width: 820px) {

    .article.interface_article {
        width: 60vw;
    }

    .article.small_article {
        width: 48vw;
    }
}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 576px) {

    .article.small_article {
        width: 95vw;
    }

    .notice {
        width: 85%;
        padding-left: 10px;
    }

    .lightbox_content ul li {
        justify-content: flex-start;
    }

    .item_title {
        text-align: left;
    }

    div.fastSearch input.keyword {
        width: 100%;
    }

    div.fastSearch {
        padding: 15px;
    }

        div.fastSearch ul li {
            width: 100%;
            margin-bottom: 5px;
        }

    .article.interface_article {
        width: 95vw;
    }

    input.size_long {
        width: 100%;
    }

    input.size_middle {
        width: 100%;
    }

    .form_item {
        width: 100%;
    }
}
a.table_btn {
    margin: 2px;
    padding: 5px 10px;
    height: initial;
    font-size: 1.2rem;
}