﻿body {
    margin-top: 80px;
    overflow-x: hidden;
}
.bgi {
    background-image: url('/img/底圖.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position: bottom 50px;*/
}
.bgi-opacity {
    background-image: url('/img/底圖-opacity.png');
    background-repeat: no-repeat;
    background-size: cover;
}

    #category-page .container-md {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    #category-page .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    #category-page .container-md {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    #category-page .container-md {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    #category-page .container-md {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
    #category-page .container-md {
        max-width: 1400px;
    }
}
/*color*/
.baby-pink {
    background-color: #F5CAC3;
}
.dark-salmon {
    background-color: #E29578;
}
/*color*/

/*navbar*/
.nav-icon {
    background-color: #83C5BE;
}
.nav-menu {
    background-color: #EDF6F9;
    position: fixed;
    top: 42px;
    right: 0;
    left: 0;
    z-index: 1031;
}
.nav-menu a{
     color: #83C5BE;
     font-weight:bold;
}
.dropdown-menu {
    left: unset;    
}
.navbar-toggler {
    color: #83C5BE;
    margin: 5px;
}
.navbar-toggler:focus {
    color: #006D77;
}
.navbar-collapse .navbar-nav {
    margin: 0 auto;
}

@media (min-width: 1520px) {
    .navbar-collapse .navbar-nav .nav-item {
        padding: 0 80px;
    }
}
@media (max-width: 1500px) {
    .navbar-collapse .navbar-nav .nav-item {
        padding: 0 30px;
    }
}
/*@media (max-width: 1000px) {
    .navbar-collapse .navbar-nav .nav-item {
        padding: 0 30px;
    }
}*/

    .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 #83C5BE !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: #83C5BE;
                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;
    }
.navbar-nav .nav-link{
    padding-right:10px;
}
/*navbar*/

/*carousel*/
@media (max-width: 768px) {
    .carousel, .carousel-pro {
            display: none;
        }
}

    #carousel-example-1z .carousel-inner {
        margin-bottom: 30px;
        height: 730px;
        display: flex;
        align-items:flex-start;
    }
    #carousel-example-1z .carousel-inner img {
        position: absolute;
        top: 0;
        left: 0;
        min-height: 730px;
        object-fit: cover;
    }
#carouselExampleControls .carousel-inner {
    height: 260px;
}
    #carouselExampleControls .carousel-inner img {
        position: relative;
        min-height: 260px;
        object-fit: cover;
    }
/*carousel*/
/*banner-right*/
.banner-right {
    height: 100%;
}
@media (max-width: 1200px) {
    .banner-jumbotron .jumbotron {
        height: 100%!important;
    }
    .carousel-pro, .category-all{
        display: none;
    }
}
    .banner-jumbotron .col-lg-12{
        padding-left: 0;
        padding-right: 0;
    }

.banner-jumbotron .jumbotron {
    box-shadow: none;
    margin-bottom: 0;
    border-radius: unset;
    height: 48%;
}

    .banner-jumbotron .logo-search img {
        width: 40%;
    }
    

.logo-search .input-group {
    width: 60%;
    margin: 0 auto;
}
.logo-search .input-group .input-group-text{
    color:#83C5BE;
    background-color:#fff;
    border: 2px #83C5BE solid;
    border-right: none;
    border-radius:20px 0 0 20px;
    cursor:pointer;
}
.logo-search .input-group .form-control {
    color: #83C5BE;
    border: 2px #83C5BE solid;
    border-left: none;
    border-radius: 0 20px 20px 0;
}

.banner-jumbotron .carousel-pro img {
    width: 60%;
}
    /*banner-right*/
    /*精選商品區*/
    .hot-product-price {
        position: relative;
        height: 150px;
    }

    .Pname {
        font-weight: bold;
    }

    .price-h {
        position: absolute;
        bottom: 10px;
        color: #949393;
    }

    .price-r {
        position: absolute;
        bottom: 5px;
        padding-left: 50px;
        vertical-align: baseline;
    }

        .price-r strong {
            font-size: 24px;
            vertical-align: baseline;
        }

    .price-h strong {
        font-size: 16px;
        text-decoration: line-through;
        margin-right: 10px;
    }
    /*精選商品區*/

 /*商品分類頁*/
.category-titleImg {
    background-image: url('/img/category-titleImg.png');
    background-repeat:no-repeat;
    background-size:cover;
    width: 200px;
    height:69px;
    margin-top:30px;
    margin-bottom:10px;
    padding:18px 40px;    
    color:#fff;
}
.category-titleImg h4{
    font-weight:bold;
    letter-spacing:6px;
}
.category-logo {
    margin-top: 110px;
}
.category-logo .logo-search img {
    width: 50%;
}
.category-logo .logo-search .input-group{
    width: 80%;
}
.category-logo .jumbotron{
    padding:20px 5px;
    margin-bottom:0;
}
.category {
    float: left;
    width: 100%;
    margin: 0px 0px 0px 0px;
    padding: 20px 30px 20px 30px;
    color: #fff;
    background: #E29578;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.category-title {
    width: 100%;
    height: 36px;
    padding-left: 10px;
    display: block;
    overflow: hidden;
    border-style: none;
    border-width: 0px 0px 0px;
}

    .category-title h5, .category-content {
        font-weight: bold;
    }

    [aria-expanded="false"] .fa-chevron-down{
        display: inline;
    }
    [aria-expanded="false"] .fa-chevron-up{
        display: none;
    }
    [aria-expanded="true"] .fa-chevron-up{
        display: inline;
    }
    [aria-expanded="true"] .fa-chevron-down{
        display: none;
    }

/*產品分類上下箭頭旋轉*/
/*.category-content .fa-chevron-down {
    transition: all 0.5s ease;
}
.rotate180 {
    transform: rotate(180deg);
}*/
/*產品分類上下箭頭旋轉*/

.category-content ul li i {
    float: right;
          margin-top: 10px;
}
.category-content ul li a {
    /*position: absolute;*/
    right: 20px;
    margin-top: 10px;
    color: #ffffff
}
.category-content {
    width: 198px;
    padding: 10px 0px;
    height: 100%;
}

    .category-content ul {
        width: 100%;
        display: inline-block;
        list-style: outside none none;
        padding-left: 10px;
        line-height: 35px;
        cursor: pointer;
    }

    .category-content li:hover {
        text-decoration: underline;
    }

:focus, .focus {
    color: #333;
}

.category-content ul li i {
    position: absolute;
    right: 40px;
    margin-top: 10px;
}
#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: #666;
    }

#category-page .breadcrumb-item.active {
    font-weight: 600;
    color: #404040;
}

#category-page .navbar .form-control {
    border: 1px solid #747474;
    color: #747474;
}

#category-page .pagination .page-item {
    margin: 5px;
}

    #category-page .pagination .page-item .page-link {
        color: #83C5BE;
        background-color: #fff;
        font-weight: 400;
    }

        #category-page .pagination .page-item .page-link:hover {
            outline: 1px solid #83C5BE;
        }

        #category-page .pagination .page-item .page-link:active, #category-page .pagination .page-item .page-link:focus {
            color: #fff;
            background-color: #83C5BE;
        }

/*商品分類頁*/

/**商品頁**/
/*商品導航(breadcrumb)*/
#product-page .navbar {
    box-shadow: none;
}

    #product-page .navbar .breadcrumb-item a {
        font-weight: 600;
        color: #666;
    }

    #product-page .navbar .active {
        font-weight: 600;
        color: #404040;
    }
/*/商品導航(breadcrumb)*/

.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: #666;
    margin-bottom: 20px;
}

#product-page h5 {
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
    margin-top: 0;
}

#product-page .product-text {
    margin-left: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;
    background-color:#fff;
    border: 1px solid #707070;
    padding: 5px;
    cursor: pointer;
}

.product-text .spec-kind:hover, .product-text .spec-kind:focus {
    color: #fff;
    background-color: #E29578;
}

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: #666;
        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: #83C5BE;
    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: #66B7AF;
    }
/*查詢*/

/*訂單查詢頁*/
#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/RMB_discount.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;
}
[aria-expanded="false"] .fa-plus-square {
    display: inline;
}
[aria-expanded="false"] .fa-minus-square {
    display: none;
}
[aria-expanded="true"] .fa-minus-square {
    display: inline;
}
[aria-expanded="true"] .fa-plus-square {
    display: none;
}
/*/訂單查詢頁*/

/*收件人.物流資訊*/
.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*/
.page-footer .brush {
    position: relative;
}

.page-footer .brush-img img {
    position: absolute;
    width: 100%;
    bottom: 15px;
}

.page-footer img {
    width: 20%;
}

.footer-copyrigt {
    font-size: 12px;
    display: inline-block;
}

footer.page-footer {
    background-color: #fff;
    color: #83C5BE;
    font-weight: 500;
    padding: 10px 5px 10px 5px;
}

footer .footer-link a {
    overflow: hidden;
    margin-right: 10px;
    color: #83C5BE;
}
footer .footer-link a:hover, footer .footer-link a:active, footer .footer-link a:focus {
    color: #418B83;
}

    @media (min-width: 992px) {
        .footer-copyrigt {
            text-align: left !important;
        }

        .footer-link {
            text-align: right !important;
        }
    }
 /*footer*/

/*友站聯接*/
.banner {
    margin-bottom: 30px;
    height: 400px;
    display: flex;
    align-items: center;
}
.banner img{
    position: absolute;
    min-height: 400px;
}

.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;
}
.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;
    }
/*/友站聯接*/