﻿/*由原先assembl.aspx的css copy來的*/


/*-----選擇商品動畫-----*/
.addProduct {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 12%;
    z-index: 12;
    display: none;
    font-size: 100px;
    font-weight: bold;
    color: #a61f24;
}
/*-----加入購物清單動畫-----*/
.addtolist {
    position: absolute;
    top: 100px;
    left: 50px;
    z-index: 50;
    width: 10%;
    height: 10%;
    background-color: #999;
}

/*-----修正下拉選單層級問題-----*/
.toolBar {
    position: relative;
    z-index: 9;
}

/*購物動畫*/
#cloneImg {
    position: absolute;
    z-index: 12;
}

    #cloneImg img {
        width: 100%;
        height: 100%;
    }


/********* #alert.goods *********/

#cover #alert.goods { /*商品介紹*/
    width: 660px;
    height: 80%;
}

    #cover #alert.goods .goodsbox { /*內容框*/
        text-align: left;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

/***cover-goodsbox***/
#goodsDetail {
    line-height: 22px;
}

#goodsno {
    margin: auto 3%;
    width: 94%;
    font-weight: 600;
}

#goodsno-no { /*商品編號*/
    color: #595757;
    background-color: #efefef;
    font-size: 0.8em;
    margin: 0 -3%;
    font-weight: 400;
    padding-left: 3%;
}

#goodstitle {
    width: 45%;
    float: left;
    text-align: center;
    margin: 3% auto 0;
    color: #898989;
}

    #goodstitle b {
        font-size: 16px;
        color: #000;
    }

    #goodstitle img {
        width: 70%;
    }

#goodspic {
    width: 55%;
    float: right;
    margin: 5% auto 0;
}

    #goodspic img {
        width: 96%;
    }

#goodstable {
    background-color: #9fa0a0;
    width: 100%;
    border-spacing: 1px;
}

h4 {
    color: #c30d23;
    margin: 20px auto 5px;
}

.clear {
    clear: both;
}

#goodstable tr {
    background-color: #e3e7ec;
    margin: 5px;
}

#goodstable td {
    text-align: center;
    border: 0;
    outline: 0;
}

#goodstable #inside, #goodstable #material, #goodstable #place {
    background-color: #fff;
    text-align: left;
    width: 75%;
}

#price_group {
    margin: auto 5%;
}

#price_box {
    display: inline-block;
    padding-right: 10px;
    border-right: 1px #000 solid;
    vertical-align: top;
}

#price_box2 {
    display: inline-block;
    padding-left: 10px;
}

    #price_box2 #sprice {
        color: #c30d23;
        font-size: 18px;
    }

#figures img {
    display: block;
    margin: auto;
    /*width: 100%;*/
}

.showGoods {
    cursor: pointer;
    color: #000;
}

@media screen and (max-width: 600px) {

    /****goodsbox*****/
    .goodsbox {
        width: 100%;
    }

    #goodsDetail {
        width: 100%;
    }

    #goodstitle {
        width: 50%;
        font-size: 8px;
        line-height: 12px;
    }

        #goodstitle b {
            font-size: 10px;
        }

        #goodstitle img {
            width: 80%;
        }

    #goodspic {
        width: 50%;
        margin: 5% auto 0;
    }

    #goodsno {
        font-weight: 300;
    }

    h4 {
        margin: 3% auto 1%;
    }

    #goodstable td {
    }

    /*商品圖片說明*/
    #figures {
        /*width: 132%;
        margin-left: -16%;*/
        width: 166%;
        margin-left: -32%;
    }

        #figures img {
            width: 80%;
        }
}

/****goodsbox*****/
/**************************#alert.goods 結束***************************/


section {
    font-family: Arial, Helvetica, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    width: 1000px;
    margin: auto;
    background-color: #FFF;
    position: relative;
    padding-bottom: 20px;
    font-size: 14px;
     /*overflow:hidden;*/ /*不可加，否則toolBer的 sticky 會失效*/
}

   #catPhotoBox{
          width: 100%;
         overflow:hidden;        
    }

#catPhoto { /*活動圖*/
    width: 100%;
    display: block;
}

/*活動詳請、商品分類列*/
#subOption {
    position: relative;
    width: 920px;
    margin: 5px auto;
    line-height: 30px;
    z-index: 2;
}

    #subOption #description { /*活動詳請*/
        float: right;
        height: 25px;
        padding-top: 5px;
    }

        #subOption #description img {
            width: 100px;
        }

    #subOption #subMenu { /*商品分類列*/
        float: right;
        background-color: transparent;
        border: none;
        border-left: 1px solid #cccccc;
        border-right: 1px solid #cccccc;
        cursor: pointer;
    }


/*subOption 選項列*/
.select-wrapper {
    position: relative;
    cursor: pointer;
    border: 1px solid #e3e3e3;
}

.select-button {
    width: 140px;
    border: 0;
    cursor: pointer;
    outline: none;
    font-size: 14px;
    background-color: transparent;
    padding-left: 5px;
}

.select-down {
    position: absolute;
    top: 12px;
    right: 15px;
    border-style: solid;
}
/*?*/
/*.disabled {
    color: #cccccc;
}*/

.select-list {
    font-size: 14px;
    width: 100%;
    background: #fff;
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    color: #898989;
    border: 1px #ccc solid;
    z-index: 1;
}

    .select-list ul {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        line-height: 25px;
    }

        .select-list ul li {
            padding-left: 2%;
        }

            .select-list ul li.selected, .select-list ul li:hover {
                color: #000;
                background: #ccc;
            }
/*選項列結束*/


/*-----marquee-----*/ /*已選商品列*/
#marqueeBar {
    /*padding: 0px;*/
    /*width: 920px;*/
    width: 1000px;
    margin: auto;
    position: relative; /*IE*/
    position: sticky;
    position: -webkit-sticky;
    top: 35px;
    z-index: 1;
}

#ticker-wrapper {
    width: 100%;
    height: 35px;
    font-size: 16px;
    color: #fff;
    background-color: #d4997a;
  
}

.marquee {
    /*height: 112px;*/
    overflow: hidden;
    position: relative;
    z-index: 1;
   
}


.textspan {
    height: 35px;
    overflow: hidden;
}

.popover__wrapper {
    position: relative;
    display: inline-block;
    line-height: 40px;
    margin: 0 80px;
}

.popover__content {
    display: none;
    position: absolute;
    left: -30px;
    top: 60px;
    transform: translate(0px, 10px);
    background-color: #fff;
    padding: 3px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    width: auto;
}

    .popover__content:before { /*三角形*/
        position: absolute;
        z-index: -1;
        content: "";
        right: calc(50% - 10px);
        top: -8px;
        border-style: solid;
        border-width: 0 10px 10px 10px;
        border-color: transparent transparent #fff transparent;
        transition-duration: 0.3s;
        transition-property: transform;
    }

.popover__wrapper:hover {
    height: 112px;
}

    .popover__wrapper:hover .popover__content {
        display: block;
        transform: translate(0px, -20px);
        transition: all 0.5s cubic-bezier(0.75, 0.02, 0.2, -0.97);
    }

#bottom_line {
    /*width: 920px;*/
    width: 1000px;
    height: 3px;
    margin: auto;
    background-color: #d4997a;
}

#downList { /*清單三角按鈕*/
    cursor: pointer;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 43px 0 43px;
    border-color: #d4997a transparent transparent transparent;
    -webkit-tap-highlight-color: rgba(255,255,255,0);
    opacity: .8;
    position: relative;
    z-index: 1;
}

.arrowList {
    position: absolute;
    top: -25px;
    left: -10px;
    font-size: 20px;
    color: #fff;
}

.arrowT {
    transform: translateY(-20%) rotate(180deg);
}


/*-----------------------*/
#assemblyList {
    /*background-color: #beb1a7;*/
    background-color: #e5e3df;
    /*border-left: 1px solid #9e9e9f;
    border-right: 1px solid #9e9e9f;*/
    padding: 10px;
    display: none;
}


.addpic {
    position: relative;
    float: left;
    width: 114px;
    margin: 0 10px 10px 0;
    background-color: #fff;
    padding: 8px 8px 4px;
}


.addGoods {
    text-align: center;
}

.price2 {
    padding: 1px 0 0;
    font-weight: bold;
    font-size: 16px;
    color: #a61f24;
    display: inline;
}

.amountbar {
    color: #717071;
    font-size: 16px;
    /*display: inline;*/
}

    .amountbar img { /*移除不要的商品按鈕*/
        float: right;
        width: 20px;
        height: 20px;
    }

.delGoods a {
    /*color: #717071;*/
}

    .delGoods a:hover {
        /*color: #F30;*/
    }

#toCart { /*加入購物車*/
    position: absolute;
    bottom: 30px;
    right: 0;
    margin: 10px;
    text-align: center;
    display: none;
    background-color: #e5e3df;
}

#addsbox {
    width: 80%;
}

#toCart .addCart {
    float: left;
    color: #fff;
    background-color: #922024;
    cursor: pointer;
    padding: 8px 40px;
    text-shadow: 1px 1px 1px #333;
    border-radius: 5px;
}


#lessAlert { /*未達數量*/
    position: absolute;
    top: 50%;
    left: 160px;
    z-index: 1;
    display: none;
}

    #lessAlert img {
        width: 70%;
    }


@media screen and (max-width: 600px) {
    section.mobile #toCart { /*加入購物車*/
        width: 100%;
        position: initial;
        box-sizing: border-box;
        margin: auto;
        padding: 0 5% 2%;
    }

    .addpic {
        width: 29%;
        margin: 1%;
        padding: 1%;
    }

    #addsbox {
        width: 100%;
    }

    section.mobile #toCart .addCart {
        float: none;
    }

    .popover__wrapper:hover .popover__content {
        display: none;
    }

 
}


/*金額*/
#priceBox {
    margin-top: 16px;
    display: inline-block;
}

    #priceBox p {
        display: inline-block;
        margin: 0;
    }

    #priceBox #lprice { /*定價*/
        float: left;
    }

#priceBoxRight {
    float: left;
}

#priceBox #sprice {
}

.bstyle { /*價格_共用*/
    color: #c30d23;
    font-size: 24px;
}

/*聯絡客服.回首頁*/
#pattern_Group {
    width: 30px;
    position: absolute;
    top: 20px;
    right: -40px;
    text-align: center;
    border: 1px #beb1a7 solid;
    border-radius: 40px;
    padding: 8px 0;
    background: rgba(255,255,255,.7);
    z-index: 1;
}

    #pattern_Group a {
        display: inline-block;
        margin: 15% 0;
    }

    #pattern_Group img {
        width: 25px;
    }


#contact #contact_mobile, .mobile #contact #contact_pc { /*聯絡客服*/
    display: none;
}

.mobile #contact #contact_mobile {
    display: block;
}


@media screen and (max-width: 800px) {

    section.mobile {
        width: 100%;
        padding-bottom: 0;
        /*overflow: hidden;*/
    }

    #catPhoto { /*活動圖*/
        width: 150%;
    }

    #pattern_Group { /*商品客服 + 回首頁*/
        position: fixed;
        top: auto;
        bottom: 20%;
        right: 5px;
    }

    .bstyle { /*價格_共用*/
        font-size: 1.6em;
    }

    /*活動說明、商品分類*/
    #subOption {
        width: 100%;
    }

    #bottom_line {
        width: 100%;
    }

    /*-----marquee-----*/ /*已選商品列*/
    #marqueeBar {
        width: 100%;
        left: 0;
    }
}


/***組合商品圖片-共用***/ /*包含相關推薦-組合*/
.photobox {
    display: inline-block;
    position: relative;
}

    /*#photo {
    width: 500px;
}*/

    .photobox .action550 {
        position: absolute;
        bottom: 0;
        text-align: right;
    }

.amountBuy {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 8px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    background-color: rgba(35,24,21,.6);
    display: none;
}

.addPosition { /*包含相關推薦組合*/
    display: inline-block;
    position: relative;
    width: 25%;
    border: #FFF 1px solid;
    margin: 1%;
    border-radius: 50%;
    overflow: hidden;
}

.action550 .addPosition img {
    width: 114%;
    display: block;
}

.addPosition .amount2 { /*組合價數量*/ /*共用*/
    color: #fff;
    position: absolute;
    left: 33%;
    padding: 2px 5px;
    background-color: #beb1a7;
    border-radius: 50%;
}

#productsArea .showGoods {
    margin: 5px 0;
}

#productsArea .amount { /*內容數量*/
    color: #fff;
    background-color: #beb1a7;
    border-radius: 50%;
    padding: 3px 6px;
}


/*---showcat, 原moreRelated相關推薦/8筆 ------*/
#showcat {
    background-color: #efefef;
    /*margin: -20px 40px 0;*/
    margin: 5px 40px 0;
    padding-bottom: 20px;
}

    #showcat #moreSubject {
        background-color: #fff;
        margin-bottom: 10px;
        padding: 1% 2%;
        font-size: 18px;
        border-bottom: 1px #a13e5c solid;
        color: #a13e5c;
    }

.adBox {
    min-height: 300px;
    background-color: #fff;
    width: 23%;
    display: inline-block;
    margin: 1%;
    padding: 5px;
    position: relative;
    vertical-align: top;
    box-shadow: 3px 3px 3px #cccccc;
    box-sizing: border-box;
}

    .adBox.selected {
        border: 2px #d4997a solid;
    }

    .adBox img {
        width: 100%;
        display: block;
    }

.todayAct {
    width: 45%;
    position: absolute;
    top: 0;
}

.adBox .itemWrapper {
    min-height: 80px;
}

    .adBox .itemWrapper .special {
        color: #F08300;
        overflow: hidden; /* 超出範圍的部份要隱藏 */
        text-overflow: ellipsis; /*用點點點（...）來表示被切斷的字串*/
        white-space: nowrap; /*讓多餘的字串不要自動折行*/
    }

.itemTitle {
    overflow: hidden; /* 超出範圍的部份要隱藏 */
    text-overflow: ellipsis; /*用點點點（...）來表示被切斷的字串*/
    white-space: nowrap; /*讓多餘的字串不要自動折行*/
}

.itemPrice {
    display: inline;
    padding-right: 5px;
}

.addGoods {
    text-align: center;
    margin-bottom: 5px;
    color: #FFF;
}

    .addGoods span { /*選購按鈕*/
        cursor: pointer;
        background-color: #e29f81;
        padding: 3px 15px;
        border-radius: 5px;
    }


.noaddGoods {
    text-align: center;
    margin-bottom: 5px;
    color: #FFF;
}

    .noaddGoods span { /*售完*/
        padding: 3px 15px;
        border-radius: 5px;
        cursor: default;
        background-color: #9fa0a0;
    }


.amount { /*數量*/
    border: 1px solid #9e9e9f;
    padding: 1px 2px;
    display: inline-block;
    text-align: center;
    color: #9e9e9f;
    -webkit-text-size-adjust: none;
    font-size: 9px;
    z-index: 2;
}

    .amount b {
        font-size: 14px;
        color: #da844a;
    }


/*-----actionElse 活動輪播-----*/
div.actionElse {
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 5px;
    color: #FFF;
    overflow: hidden;
}

    div.actionElse ul, div#actionElse li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    div.actionElse ul {
        position: absolute;
        width: 100%;
    }

        div.actionElse ul li {
            height: 20px;
        }

            div.actionElse ul li.li501 {
                background: url(../images/show_goods_actionElse_501.png) 100%;
            }

            div.actionElse ul li.li520 {
                background: url(../images/show_goods_actionElse_520.png) 100%;
            }

            div.actionElse ul li.li530 {
                background: url(../images/show_goods_actionElse_530.png) 100%;
            }

            div.actionElse ul li span {
                display: inline-block;
                width: 94%;
                padding: 1% 0 0 2%;
                height: 18px;
                font-size: 0.8em;
                overflow: hidden; /* 超出範圍的部份要隱藏 */
                text-overflow: ellipsis; /*用點點點（...）來表示被切斷的字串*/
                white-space: nowrap; /*讓多餘的字串不要自動折行*/
            }


.adBox #brand {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
}

@media screen and (max-width: 800px) {

    .photobox {
        width: 100%;
    }

    #showcat {
        margin: -5% 0 0;
        padding: 2%;
    }

    .adBox {
        min-height: initial;
        width: 46%;
        margin: 2%;
        padding: 2%;
        box-shadow: 3px 3px 3px #cccccc;
    }
}
