﻿
/*.navbar-nav > .nav-item > .nav-link > img {
    fill: #F5A214;
}*/
body {
    margin-top: 65px;
    overflow-x: hidden;
}

@media (max-width: 576px) {
    body {
        margin-top: 45px;
    }
}

   .bgi {
        background-image: url('/img/底圖-淺-大.jpg');
        background-repeat: repeat;
    }

@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}

/*@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}*/

/*navbar*/
.navbar {
    margin-bottom: 0px;
    background-color: white;
}

@media (max-width: 576px) {
    navbar {
        margin-bottom: 50px;
    }
}

.nav-icon {
    align-items: center;    
}

.nav-icon li{
    display:inline-block;
}

    .navbar-nav .currency {
        padding: 10px 10px 10px 0;
        font-weight: bold;
    }

    .navbar-nav .form-group {
        margin-right: 10px;
    }

    .navbar-nav .form-control {
        color: #523A50;
        border: #F5A214 2px solid;
        font-weight: bold;
    }

    .navbar-nav .form-control:focus {
        background-color: #FCEFCC;
    }

    .nav-item .button-icon{
        border:none;
        background-color:transparent;
    }

    .nav-item .button-icon:focus, .custom-service .modal-header button:focus, .addbuy button:focus {
        outline: none;
    }

.custom-service {
    outline: 4px solid #F5A214 !important;
}

.custom-service .modal-header{
    padding:0.8rem;
    border-bottom:none;
}

.custom-service .modal-body{
    margin-bottom: 25px;
}

.custom-service .modal-body h4 {
    font-weight: 700;
    color: #523A50;
    margin-bottom: 30px;
}

.custom-service .modal-body p {
    font-weight: 500;
    color: #523A50;
    margin-bottom: 20px;
}

    .custom-service .modal-body button {
        border-top:none;        
    }

    .custom-service .modal-body .btn-orange-light {
        background-color: #F5A214;
        color: #fff;
        box-shadow: none;
        font-size:16px;
        margin-top:25px;        
    }

.badge-circle {
    position: absolute;
    top: 0px;
    right: 0px;
    font-weight: bolder;
    background-color: #e61f19;
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.3);
    font-size: 11px;
    opacity: .9;
    line-height: 17px;
    height: 17px;
    min-width: 17px;
    border-radius: 99px;
    color: #fff;
    text-align: center;
    z-index: 1;
    transition: transform .2s;
}

.form-inline, .form-control{
    margin:0;
}
/*navbar*/

/*carousel*/
@media (max-width: 768px) {
    .carousel {
        display: none;
    }
}

.carousel-inner {
    margin-bottom: 30px;
    height:730px;
    display: flex;
    align-items: flex-start;
}

.carousel-inner img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 730px;
    object-fit: cover;
}
/*carousel*/

/*banner*/
.banner-text .outline-white {
    color: #fff !important;
    background-color: transparent !important;
    border: 2px solid #fff !important;
}

.banner {
    margin-bottom: 30px;
    height: 400px;
    display: flex;
    align-items: center;
}

.banner .title {
    position: absolute;
    width: 100%;
    top: 40%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 0px 0px 15px #777;
    margin-top: 40px;
}

.banner .title h1{
    display:inline-block;
    font-weight:bold;
    font-size:60px;
    border:4px solid #fff;
    padding:10px 20px 10px 20px;
}
/*banner*/

/*主題商品區*/
.stripe {
    text-align: left;
    padding: 3.5rem 2rem 0 2rem;
}

    .stripe h3 strong {
        font-size: 26px;
        font-weight: 600;
        line-height:40px;
    }

    .stripe a {
        font-size: 26px;
        font-weight: 600;
    }

    .btn-outline-white {
        color: #fff !important;
        background-color: transparent !important;
        border: 2px solid #fff !important;
    }

    .btn-outline-white:hover,
    .btn-outline-white:focus,
    .btn-outline-white:active,
    .btn-outline-white:active:focus,
    .btn-outline-white.active {
        color: #fff !important;
        background-color: rgba(245, 163, 20, 0.7) !important;
        border-color: #fff !important;
    }

    @media (min-width: 992px) {
        #topic {
            overflow: hidden;
            max-height: 600px;
        }
    }

/*    @media (min-width: 1080px) {
        #topic {
            overflow: hidden;
            height: 500px;
        }
    }*/

    #topic .card {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /*主題商品區*/

    /*精選商品區*/
    .hot-product-price {
        position: relative;
        height: 150px;
    }

    .Pname {
        font-weight: bold;
    }

    .hot-product-price .Pname:hover {
        background-color: #FCEFCC;

    }

    .price-h {
        position: absolute;
        bottom: 10px;
    }

    .price-r {
        position: absolute;
        bottom: 5px;
        padding-left: 50px;
    }

    .price-r strong {
        font-size: 26px;
    }

    .price-h strong {
        font-size: 16px;
        text-decoration: line-through;
        margin-right: 10px;
    }
    /*精選商品區*/

/**商品分類**/
#category-page{
    margin-top:30px;
}

.category {
    float: left;
    width: 220px;
    margin: 0px 20px 0px 0px;
    padding: 10px;
    color: #523A50;
    background: #F9DF9A;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .category{
        width:100%;
    }
    .form-inline{
        margin-top:30px;
        margin-bottom:-30px;
    }
}

        .category-title {
            width: 100%;
            height: 36px;
            padding-left: 20px;
            display: block;
            border-bottom: 2px solid #fff !important;
            overflow: hidden;
            border-style: none;
            border-width: 0px 0px 0px;
        }

        .category-title h5, .category-content {
            font-weight: bold;
        }

        .category-content .fa-chevron-down {
            transition: all 0.5s ease;
        }

        .rotate180 {
            transform: rotate(180deg);
        }

        .category-content {
            width: 198px;
            padding: 10px 0px;
            height: 100%;
        }

        .category-content ul {
            width: 100%;
            display: inline-block;
            list-style: outside none none;
            padding-left: 20px;
            line-height: 35px;
            cursor: pointer;
        }

        .category-content li:hover {
            text-decoration: underline;
        }

        :focus, .focus {
            color: #F44336;
        }

.category-content ul ul li i {
    position: absolute;
    right: 20px;
    margin-top: 10px;
}
.category-content ul ul li a {
    color: #523A50;
}
.category-content ul ul li a:hover {
    color: #B292AF;
}
#category-page .navbar {
    padding: 0;
    background-color: transparent;
    box-shadow: none;
}

#category-page .navbar .breadcrumb {
    padding: 0;
}

#category-page .navbar li a, .navbar .breadcrumb .breadcrumb-item:before {
    font-weight: bold;
    color: #523A50;
}

#category-page .breadcrumb-item.active {
    font-weight: 600;
    color: rgba(82, 58, 80, 0.6);
}

#category-page .navbar .form-control {
    border: 1px solid #523A50;
    color: #523A50;
}

#category-page .pagination .page-item {
    margin: 5px;
}

#category-page .pagination .page-item .page-link {
    color: #F5A214;
    background-color: #fff;
    font-weight: 400;
}

#category-page .pagination .page-item .page-link:hover {
    outline: 1px solid #F5A214;
}

#category-page .pagination .page-item .page-link:active, #category-page .pagination .page-item .page-link:focus {
    color: #fff;
    background-color: #F5A214;
}

.paginationjs .paginationjs-pages li {
    border: 1px solid #F5A214 !important;
    background-color: #fff;
}

.paginationjs .paginationjs-pages li.active > a {
    background-color: #F5A214 !important;
}
    /**商品分類**/
    /**商品頁**/
    /*商品目前位置*/
    #product-page .navbar {
        box-shadow: none;
    }

            #product-page .navbar .breadcrumb-item a {
                font-weight: 600;
                color: #523A50;
            }

            #product-page .navbar .active {
                font-weight: 600;
                color: rgba(82, 58, 80, 0.6);
            }
        /*/商品目前位置*/

        .product-show {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        @media (min-width: 1200px) {
            .product-show {
                margin-left: 150px;
            }

            .product-img {
                width: 120%;
            }
        }

        #product-page h1, #product-page p {
            font-weight: bold;
            color: #523A50;
            margin-bottom: 10px;
        }

        #product-page h5 {
            font-weight: 500;
            color: #523A50;
            margin-bottom: 20px;
            margin-top: 0;
        }

        #product-page .product-text {
            margin: 0 50px 0 80px;
        }

        #product-page .content {
            margin-bottom: 5px;
        }

        /*價格*/
        #product-page .price-h {
            position: relative;
            bottom: 10px;
        }

        #product-page .price-r {
            position: relative;
            bottom: 10px;
            padding-left: 10px;
        }

        #product-page .price-h strong {
            font-size: 16px;
            text-decoration: line-through;
            margin-right: 0px;
        }

        #product-page .price-r strong {
            font-size: 26px;
        }
        /*價格*/

        /*規格*/
        .spec-text, .price-text {
            display: inline-block;
            position: absolute;
        }

        .spec, .price {
            display: inline-block;
            margin-left: 50px;
        }

        .product-text .spec .spec-kind {
            display: block;
            margin-bottom: 10px;
            font-weight: bold;
            color: #707070;
            border: 1px solid #707070;
            padding: 5px;
            cursor: pointer;
        }

        .product-text .spec-kind:hover, .product-text .spec-kind:focus {
            color: #fff;
            background-color: #F5A214;
        }

        a[aria-disabled="true"] {
            pointer-events: none;
            cursor: not-allowed;
            opacity: 0.4;
            -webkit-user-select: none;
            -moz-user-select: none;
            user-select: none;
        }
        /*規格*/

        /*數量*/
        .amount p, .amount .form-inline {
            margin-right: 20px;
        }

        .amount p, .amount .form-inline {
            display: inline-block;
        }

        .amount span {
            color: #707070;
            font-weight: 400;
        }
        /*數量*/

        /*加入購物車.直接購買按鈕*/
        .addbuy {
            margin-top: 15px;
        }

        .btn-add {
            text-align: center;
            font-weight: 700;
            background-color: #0067D6;
            color: #fff;
            border: none;
            padding: 10px 20px 10px 20px;
            margin: 6px;
            cursor: pointer;
            border-radius: 5px;
        }

        .btn-buy {
            background-color: #F22C52;
            font-weight: bold;
            color: #fff;
            border: none;
            padding: 10px 20px 10px 20px;
            margin: 6px;
            cursor: pointer;
            border-radius: 5px;
        }

        .addbuy button:disabled {
            opacity: 0.3;
        }
        /*/加入購物車.直接購買按鈕*/

        /*分隔線*/
        .divider {
            display: flex;
            align-items: center;
        }

            .divider .line {
                display: inline-block;
                border-top: 2px solid #ebebeb;
                flex-grow: 1;
                height: 1px;
            }

            .divider h3 {
                color: #523A50;
                font-size: 24px;
                font-weight: 600;
                display: inline-block;
                padding: 2em 1em;
                margin: 0 10px;
            }
        /*/分隔線*/

        #product-page .product-detail .container p {
            text-align: center;
        }

        #product-page .product-detail .container img {
            display: inline-block;
            width: 80%;
            margin: 10px;
        }

        /**商品頁**/

    /*購物車*/
#cart-page{
    margin-bottom:80px;
}
#cart-page .np .form-group {
    margin-right: 20px;
}

#cart-page .container {
    max-width:992px;
}

.form-content{
    font-weight: bold;
    color: #523A50;
    margin-bottom:40px;
}

.table-responsive label, .product-table thead, .cart-total h5 {
    font-weight: bold;
    color: #523A50;
}

.cart-order .btn-delete {
    color: white;
    background-color: #e61f19;
    padding: 0 10px 0 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: none;
}

.cart-order tbody td, .cart-order tbody td strong {
    vertical-align:middle;
    line-height: 1.8;
}

.prod-name {
    width: 180px;
}

.prod-spec{
    width:120px;
    font-weight:500;
}

.prod-subtotal strong{
    font-size:18px;
}

.prod-price, .prod-subtotal {
    text-align: right;
    width:60px;
}

.prod-qty{
    text-align:center;
}

/*數量鍵*/
.number-input input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input input[type=number]::-webkit-inner-spin-button,
.number-input input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

    .number-input button {
        -webkit-appearance: none;
        background-color: transparent;
        border: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin: 0;
        position: relative;
    }

        .number-input button:before,
        .number-input button:after {
            display: inline-block;
            position: absolute;
            content: '';
            height: 2px;
            transform: translate(-50%, -50%);
        }

        .number-input button.plus:after {
            transform: translate(-50%, -50%) rotate(90deg);
        }

    .number-input input[type=number] {
        text-align: center;
    }

    .number-input.number-input {
        border: 1px solid #ced4da;
        width: 6.5rem;
        border-radius: .25rem;
    }

        .number-input.number-input button {
            width: 1rem;
            height: .7rem;
        }

            .number-input.number-input button.minus {
                padding-left: 10px;
            }

            .number-input.number-input button:before,
            .number-input.number-input button:after {
                width: .6rem;
                background-color: #495057;
            }

        .number-input.number-input input[type=number] {
            max-width: 2.8rem;
            padding: .5rem;
            border: 1px solid #ced4da;
            border-width: 0 1px;
            font-size: 1rem;
            height: 1.8rem;
            color: #495057;
        }

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color:transparent) {

        .number-input.def-number-input.safari_only button:before,
        .number-input.def-number-input.safari_only button:after {
            margin-top: -.3rem;
        }
    }
}

.minus:focus, .quantity:focus, .plus:focus{
    outline:none;
}
/*數量鍵*/

.cart-total td {
    width: 100%;
    vertical-align: middle;
}

.cart-total h5{
    margin-right:20px;
}

.cart-total .total-price:before {
    background-image: url(../../img/RMB_discount.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
    content: '';
}

.cart-total span {
    margin-right: 20px;
    display: inline-block;
}

.cart-total .price-r{
    position:relative;
    display:inline-block;
    padding:0;
    bottom:0;
}

.checkout i {
    color: #E43838;
}

.checkout h6 {
    font-weight: bold;
    color: #E43838;
    display:inline-block;
}

.btn-buy:hover, .btn-buy:focus {
    outline: none;
    background-color: #D31D1D;
}

.empty-cart{
    text-align:center;
}

.empty-cart img{
    margin-bottom:20px;
}

.empty-cart h4{
    font-weight:bold;
    color:#707070;
    margin:0;
}
/*購物車*/

/*查詢*/
.inquire-search{
    text-align:center;
    margin-bottom:20px;
}

.btn-search {
    color: white;
    background-color: #F5A214;
    font-size:16px;
    font-weight:bold;
    padding:5px 15px 5px 15px;
    border:none;
    cursor:pointer;
    border-radius:5px;
}

.btn-search:hover, .btn-search:focus {
    outline: none;
    background-color: #DF9009;
}
/*查詢*/

/*訂單查詢頁*/
#order-page{
    margin-bottom:80px;
}

#order-page .container {
    max-width: 992px;
}

.order-list{
    margin-top:15px;
}

.order-list thead {
    color: #523A50;
}

.order-list tbody td {
    font-weight: 600;
    vertical-align: middle;
}

#order-page .ord-price:before, .ord-collapse .collapse-price:before{
    background-image: url(../../img/cgpay.png);
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
    content: '';
}

.collapse-icon{
    margin-left:18px;
    color:#707070;
    font-weight:500;    
}

.collapse-icon i{
    margin-right:6px;
}

.ord-collapse {
    border-collapse: collapse;
    width:100%;
    margin-bottom:-1px;
}

.ord-collapse thead span{
    font-weight:400;
}

.ord-collapse th {
    width: 100px;
}

.ord-collapse th, .ord-collapse td {
    border: 1px solid #707070;
    padding: 15px;  
}

.collapse-name p{
    font-weight:500;
    font-size:14px;
    margin-bottom:5px;  
}

/*.ord-collapse th {
    border-right: none;
}

.ord-collapse td {
    border-left: none;
}*/

.collapse-qty, .collapse-price, .collapse-priceName {
    font-weight: 400;
    width: 100px;
    text-align: center;
}
/*/訂單查詢頁*/

/*收件人.物流資訊*/
.ord-content{
    font-weight:600;
    font-size:16px;
}

.ord-num p, .ord-inline p{
    display:inline-block;
    margin-right:10px;
}

.ord-num i, .log-bg i{
    cursor:pointer;
}

.log-bg {
    background-color: #F1F1F1;
    padding:15px 20px 0 20px;
    margin-bottom:10px;
    width:450px;
}
/*/收件人.物流資訊*/
/**footer**/
footer.page-footer {
    background-color: #F9DF9A;
    color: #523A50;
    font-weight: normal;
    padding: 10px 5px 10px 5px;
}

footer.page-footer a {
    font-weight: bold;
    color: #F5A214;
}

footer .footer-link a {
    overflow: hidden;
    margin-right: 10px;
    color: #523A50;
}

@media (min-width: 992px) {
    .footer-copyrigt {
        text-align: left !important;
    }

    .footer-link {
        text-align: right !important;
    }
}
/**footer**/

/*友站聯接*/
.links-page img{
    vertical-align:middle;
}

.links-page h5 {
    margin-top: 20px;
    font-weight: bold;
    color: #707070;
}

.links-page h5:hover, .links-page h5:active {
    color: #454545;
}
/*/友站聯接*/

/*orderlist 總金額前面的icon*/
#orderlist .td-price span:before {
    background-image: url('../../img/RMB_discount.png');
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: left center;
    padding-left:15px;
    content: '';
}
/*orderlist 總金額前面的icon*/