#sp-logo > div > div > a > img {
    height: 90px;
    position: relative;
    left: 20px;
    top: -20px;
}

#sp-top-secondary {
    padding: 20px 0px 0px 0 !important;
}

#n2-ss-5 > div > div.n2-ss-slider-2.n2-ow {

    /*height: 240px !important;*/
}

#qx-row-33108 {
    padding: 0px 50px;
}


/*#qx-section-12107 {*/
/*    margin-top: -130px;*/
/*}*/

/*#qx-row-33108 {*/
/*    padding: 120px;*/
/*}*/


.jd-hikashop-categories-element .jd-hikashop-category-item:hover .jd-slider-cart-wrapper {
    opacity: 0.9;
    visibility: visible;
}

.jd-hikashop-categories-element {
    background: #fff;
    position: relative;
}

.jd-hikashop-categories-element .jd-hikashop-category-container {
    margin-top: 20px;
}

.jd-hikashop-categories-element .jd-hikashop-category-container .jd-hikashop-category-item {
    padding: 5px;
    border: 1px solid transparent;
}

.jd-hikashop-categories-element .jd-hikashop-category-item .jd-hikashop-category-item a {
    display: block;
    text-align: center;
}

.jd-hikashop-categories-element .jd-hikashop-category-item .jd-hikashop-category-item-image a img {
    display: inline-block;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content {
    margin-top: 5px;
    position: relative;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-hikashop-category-heading {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 36px;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-hikashop-category-heading a {
    text-transform: uppercase;
    text-decoration: none;
    color: #171717;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-hikashop-category-price {
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-hikashop-category-price a {
    color: #ec1e5f;
    text-decoration: none;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-slider-rating {
    padding: 20px 0;
    position: relative;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-slider-rating ul {
    display: block;
    text-align: center;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-slider-rating ul > li {
    color: #ffc11b;
    display: inline-block;
}

.jd-hikashop-categories-element .jd-hikashop-category-item-content .jd-slider-rating ul > li > a {
    color: #ffc11b;
    display: block;
    text-decoration: none;
}

@media (min-width: 992px) {
    .jd-hikashop-categories-element .jd-hikashop-category-wrapper .jd-slider-row .jd-hikashop-category-item-list,
    .jd-hikashop-categories-element .jd-hikashop-category-wrapper .jd-slider-row {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    .jd-hikashop-categories-element .jd-hikashop-category-wrapper .jd-slider-row .jd-hikashop-category-item-list {
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: end;
        -webkit-align-items: flex-end;
        -ms-flex-align: end;
        align-items: flex-end;
        padding-bottom: 5px;
        height: 100%;
    }

    body.site.com-hikashop.view-checkout #hikashop_checkout > div.hikashop_checkout_buttons > div.buttons_right {
        margin-right: 100px;
    }
}

@media (max-width: 991px) {
    .jd-hikashop-categories-element .jd-hikashop-category-item-list {
        padding: 20px 0;
    }
    .jd-hikashop-categories-element .jd-hikashop-category-container{
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .jd-hikashop-categories-element .jd-category-slider .jd-slider-category-item-list > ul > li:last-child {
        margin: 0;
    }
}


.jd-hikashop-categories-element .jd-hikashop-categories-container {  padding-left: 0px; }



@media (min-width: 1200px) {
    .container {
        width: 100% !important;
    }
}

.hikashop_product_detail {
    position: relative;
}

.jd-modal-login ul.menu {
    left: 0 !important;
}

.jd-hikashop-categories-element .jd-slider-cart-wrapper {
    padding: 0px 0 20px !important;
}

.jd-hikashop-categories-element .jd-hikashop-categories-container {
    padding-left: 0px !important;
}


#avatar-go-to-line {
    width: 80px;
    height: 129px;
    display: block;
    position: fixed;
    right: 15px;
    bottom: 7px;
    z-index: 9999999999;
    background: #948d7b00 url(/images/LINE.png) no-repeat center center;
    background-size: contain;
}


/*#hikashop_dashboard > div.hika_cpanel_side_bar.hkc-md-3 > div > a:nth-child(6),*/
#hikashop_dashboard > div.hika_cpanel_side_bar.hkc-md-3 > div > a:nth-child(1)
{
    display: none;
}


.jd-hikashop-categories-element .jd-hikashop-categories-container {
    margin-top: 0px;
}


@media screen and (min-width: 767px) {


    /*讓圖片水平垂直置中 且維持比例*/
    .jd-hikashop-categories-item-wrapper div.jd-hikashop-category-product-image.text-center > a > img {

        flex-basis: auto;
        /*flex-grow: 1;*/
        flex-shrink: 1;
        width: initial;
        max-height: 100%;
    }

    .jd-hikashop-categories-item-wrapper div.jd-hikashop-category-product-image.text-center > a
    {
        position: relative;
        width: 100%;
        height: 300px;
        display: flex;
        flex-direction: column; /* 排列方向 */
        justify-content: center; /* 水平對齊 */
        align-items: center; /* 垂直對齊 */
        align-self:baseline; /* 覆寫已經套用 align-items 的屬性 */
        align-content:flex-end; /* 遇到多行的元素 ... */
        overflow: visible;
    }




}

@media screen and (max-width: 768px) {

    #sp-slider .n2-ss-margin {
        margin: 10px 10px 10px 10px !important;
    }

    #qx-section-12107 {
        padding-bottom: 0px !important;
    }

    #sp-main-body {
        padding: 10px 0px !important;
    }

    #qx-section-47772 {
        padding-top: 0px !important;
    }

    #qx-section-88457, #qx-section-81157, #qx-section-74628 {
        padding-top: 20px !important;
    }

    #sp-title .sp-page-title {
        padding: 0px 0px !important;
    }



    
    
    body.itemid-162 #sp-title .sp-page-title {
        padding: 10px 0px !important;
    }

    #slick-slide00 > div.jd-hikashop-category-product-image.text-center > a:before {
        content: '';
        background: url(/images/icons/1.png);
        width: 42px /* width of the image */;
        height: 54px /* height of the image */;
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        background-size: cover;
        z-index: 99;
    }

    #slick-slide01 > div.jd-hikashop-category-product-image.text-center > a:before {
        content: '';
        background: url(/images/icons/2.png);
        width: 42px /* width of the image */;
        height: 54px /* height of the image */;
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        background-size: cover;
        z-index: 99;
    }

    #slick-slide02 > div.jd-hikashop-category-product-image.text-center > a:before {
        content: '';
        background: url(/images/icons/3.png);
        width: 42px /* width of the image */;
        height: 54px /* height of the image */;
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        background-size: cover;
        z-index: 99;
    }

    #slick-slide03 > div.jd-hikashop-category-product-image.text-center > a:before {
        content: '';
        background: url(/images/icons/4.png);
        width: 42px /* width of the image */;
        height: 54px /* height of the image */;
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        background-size: cover;
        z-index: 99;
    }


    .jd-hikashop-categories-item-wrapper > div > div.jd-hikashop-category-product-image.text-center > a {
        position: relative;
        width: auto;
        height: 180px;
        display: flex;
        flex-direction: column; /* 排列方向 */
        justify-content: center; /* 水平對齊 */
        align-items: center; /* 垂直對齊 */
        align-self:baseline; /* 覆寫已經套用 align-items 的屬性 */
        align-content:flex-end; /* 遇到多行的元素 ... */
/*        overflow: hidden;*/
    }
    .jd-hikashop-categories-item-wrapper > div > div.jd-hikashop-category-product-image.text-center > a > img {
        /*flex-basis: auto;*/
        /*flex-grow: 1;*/
        /*flex-shrink: 1;*/
        /*max-width: 100%;*/
    }

    .jd-hikashop-categories-item-wrapper > div > div.jd-hikashop-category-item-content.text-center > p {
        min-height: 16px;

    }

    #sp-hotline > div > div > div > div > p  img {
        width: 100% !important;
        display: inline-block;
    }
}

#hikashop_order_3_1_remark > label, #hikashop_order_3_1_account_info > label {
    text-align: left;
}

#hikashop_checkout_fields_3_1 > fieldset > legend {
    display: none;
}

#hikashop_order_3_1_remark #remark {
    height:70px;
}

#hikashop_order_3_1_account_info #account_info {
    height:100px;
}

#sp-title > div.sp-column  > div.sp-page-title {
    background-size: 100% 100%;
}

body.itemid-162 #sp-title .sp-page-title {
    padding: 150px 0px;
}
.hikashop_products_listing .hikashop_products .hikashop_product .hikabtngrp {
    margin-top: -60px !important;
}

.jd-hikashop-categories-element .jd-slider-cart-wrapper {
    top: -60px !important;
}

.jd-hikashop-categories-element .slick-dots {
    bottom: -20px !important;
}


#qx-jd-hikashopcategories-32740 > div:nth-child(1) > div.jd-hikashop-category-product-image.text-center > a:before {
    content: '';
    background: url(/images/icons/1.png);
    width: 42px /* width of the image */;
    height: 54px /* height of the image */;
    display: block;
    position: absolute;
    top: -13px;
    left: -13px;
    background-size: cover;
    z-index: 99;
}

#qx-jd-hikashopcategories-32740 > div:nth-child(2) > div.jd-hikashop-category-product-image.text-center > a:before {
    content: '';
    background: url(/images/icons/2.png);
    width: 42px /* width of the image */;
    height: 54px /* height of the image */;
    display: block;
    position: absolute;
    top: -13px;
    left: -13px;
    background-size: cover;
    z-index: 99;
}

#qx-jd-hikashopcategories-32740 > div:nth-child(3) > div.jd-hikashop-category-product-image.text-center > a:before {
    content: '';
    background: url(/images/icons/3.png);
    width: 42px /* width of the image */;
    height: 54px /* height of the image */;
    display: block;
    position: absolute;
    top: -13px;
    left: -13px;
    background-size: cover;
    z-index: 99;
}

#qx-jd-hikashopcategories-32740 > div:nth-child(4) > div.jd-hikashop-category-product-image.text-center > a:before {
    content: '';
    background: url(/images/icons/4.png);
    width: 42px /* width of the image */;
    height: 54px /* height of the image */;
    display: block;
    position: absolute;
    top: -13px;
    left: -13px;
    background-size: cover;
    z-index: 99;
}


body.itemid-162 #sp-title > div > div > div.container { /*聯絡我們文字隱藏*/
    visibility: hidden;
}

body.com-hikashop.view-cart #sp-component > div > div.hika_toolbar > div.hika_toolbar_btn.hika_btn_32 > div,
body.com-hikashop.view-cart #sp-component > div > div.hika_toolbar > div.hika_toolbar_btn.hika_btn_32 > a:nth-child(3),
body.com-hikashop.view-address #hikashop_user_addresses_show > div.hk-row-fluid > div.hkc-md-6.hikashop_billing_addresses,
body.com-hikashop.view-address #hikashop_user_addresses_default > dl.hika_options.large.hikashop_default_billing_address,
body.itemid-231 #member-profile > fieldset:nth-child(2) {
    display: none !important;

}


body.site.com-content.view-article p img {
    display: initial !important;
}

/*手機版調整*/
@media screen and (max-width: 767px) {
    #sp-search {
        margin: 0 0 5px 0 !important;
    }

    .hikashop_cart_module .cart-icon {
/*        top: -5px;*/
    }

    #sp-logo > div > div > a > img {
        height: 160px !important;
    }

    #qx-row-33108 a > img {
        transform: scale(1.2);
    }

    .hikashop_checkout_page .hikashop_checkout_checkout_address_block .hkform-horizontal > .hkform-group {
        width: 100% !important;
    }

    #qx-row-33108 {
        padding: 0 24px !important;
    }


    body.site.com-hikashop.view-user.layout-cpanel .hkc-md-2 {
        width:25% !important;
    }

    body.site.com-hikashop.view-user.layout-cpanel .hkc-md-10 {
        width:75% !important;
    }

    #sp-cart > div > div:nth-child(1),
    #sp-cart > div > div:nth-child(2),
    div#hikashop_cart_158 a.hikashop_small_cart_checkout_link {
        display: inline-block;
    }
    .hikashop_cart_module .hikashop_small_cart_checkout_link span {
        display: inline-block;
        color: #F0365D;
    }


    #sp-cart #hikashop_cart_module .hikashop_cart {
        min-width: 40px;
        display: inline-block;
    }

    #sp-cart .sp-column .sp-module {
        margin-top: 0;
        /*padding: 0 20px;*/
    }

    #sp-cart > div {
        transform: scale(0.7);
    }

    #sp-cart {
        text-align: center;
    }

    #sp-cart .info-content img {
        width:130px !important;
    }

    #sp-top-a .jd-login {
        display: none;
    }

    #sp-top-bar {
        border-bottom: 0;
    }

    .offcanvas-menu .offcanvas-inner .sp-module ul > li a {
        font-size: 20px;
    }

    #hikashop_cart_module {
        position: relative;
        top: -3px
    }

    #sp-hotline {
        display: block !important;
        text-align: center;
        left: 0 !important;
    }

    #sp-logo > div > div > a > img, #sp-hotline .sp-column {
        left: 0 !important;
    }
    
    #sp-copyright-a {
        text-align: center !important;
    }

    #sp-copyright > div > div {
        text-align: center;
    }

    #sp-copyright-b, #sp-copyright-c {
        display: inline-block;
    }

    #sp-top-a {
        width:50%;
    }

    #sp-top-a.col-xs-12.col-sm-6.col-md-6 {
        /*display: none;*/
    }

    #sp-top-a.col-xs-12.col-sm-6.col-md-6.menu-fixed {
        display: block;
    }



    #sp-cart {
        z-index: 9999;
    }


}

#sp-top-a.menu-fixed {
    position: fixed;
    z-index: 99999999;
    width: 150px;
}

.jd-hikashop-categories-element .jd-slider-cart-wrapper {
    background: #ffffff77 !important;
}

.hikabtn {
    /*padding: 6px 12px !important;*/
}


#users-profile-custom, body.site.com-hikashop #hikashop_share_cart,
body.site.com-hikashop.view-product.layout-listing  form > div > div > div.limit,
.hika_order_number .hika_invoice_number_title,
.hika_order_number .hika_invoice_number_value,
body.site.com-hikashop.view-checkout #hikabtn_checkout_payment_submit_p7
{
    display: none;
}


body.site.com-hikashop.view-order div.hikashop_order_listing div.hkc-sm-2.hika_order_action{
    display: none;
}


.hikashop_products_listing .hikashop_products .hikashop_product .hikashop_container .hikashop_subcontainer_border {
    border: 0px solid #fff;
}


@media (max-width: 992px) {
    div.hika_toolbar .hika_toolbar_btn.hika_btn_32 {
        float: left;
    }

    body.site.com-hikashop.view-order.layout-listing .hikashop_search_zone .hikashop_order_sort {
        position: relative;
        left: 44px;
    }

}



/*選單位置靠左*/
/*.sp-megamenu-parent {*/
/*    float: left;*/
/*}*/



/*custom text*/

.custom-rytext .customcustom-rytext {
    line-height: 45px;
    color: #323232;
    font-family: Open Sans, sans-serif !important;
    font-weight: 600;
}


#sp-hotline {
    /*left: -8%;*/
}


.article-body img {
    margin: 0 auto;
}


body.site.com-content.view-article article img {
    margin: 0 auto;
}


body.itemid-139 #hikashop_category_information_menu_139 > div.hikashop_subcategories_listing,
body.view-category .hikashop_product_stock_count,
body.com-hikashop.view-product.layout-listing .hikashop_product_stock_count

{
    display: none;
}

body.com-hikashop.view-product.layout-listing div.hikashop_product_detail > div > span.hikashop_product_name > a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;


}


.jd-hikashop-categories-element .jd-category-slider .jd-slider-category-item-list > ul > li > a {
    font-size: 26px !important;
}

.jd-category-slider.jd-hikashop-categories-wrapper {
    margin-top: 50px;
}


#sp-copyright-b > div > div > div > div > p > a,
#sp-copyright-c > div > div > div > div > p > a
{
    color:white;
}


#sp-cart > div > div:nth-child(2) {
    margin-top: 0;
}

#sp-cart .sp-module {
    display: inline-block;
}


#hikashop_cart_158 > a > span.hikashop_small_cart_total_title, #sp-logo .logo {
    display: none;
}


@media screen and (min-width: 767px) {
    #sp-top-a {
        /*visibility: hidden;*/
    }

    #sp-top-a > div > div > div > div > span > a > span > img {
        position: relative;
        left: -999999px;
    }
}

#sp-cart {
    text-align: left;
}

#sp-hotline > div > div > div > div > p  img {
    width: 60%;
    display: inline-block;
}

#sp-hotline > div > div > div > div > p {
    text-align: right;
}


#sp-cart #login-form > div > i.fa.fa-user-circle {

    font-size: 46px;
}

#sp-top-a.col-xs-12.col-sm-6.col-md-6 > div > div > div > div.jd-modal-login.pull-right
{
    position: relative;
    left: -99999px;
}
#sp-top-a.col-xs-12.col-sm-6.col-md-6.menu-fixed > div > div > div > div.jd-modal-login.pull-right
{
    position: relative;
    left: initial;
}

#sp-top-a {
    z-index: 99999;
}


/*文章圖片 iframe給他滿版*/
body.site.com-content.view-article article img {
    width: 100%;
}

body.site.com-content.view-article article iframe {
    display: block;       /* iframes are inline by default */
    background: #000;
    border: none;         /* Reset default border */
    height: 50vh;        /* Viewport-relative units */
    width: 100vw;
}


.jd-hikashop-category-price {
    min-height: 16px;
}