/*------------------------------------------------
main
------------------------------------------------*/
#breadcrumb_area {
    margin-bottom: 20px;
}
/*------------------------------------------------
Left
------------------------------------------------*/
video {
outline:none;
}

/*產品輪播圖*/
#image_viwer_area {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
}

    #image_viwer_area #btn_left_image, #image_viwer_area #btn_right_image {
        position: absolute;
        top: 162px;
        z-index: 9;
        cursor: pointer;
    }

    #image_viwer_area #btn_left_image {
        left: 100px;
    }

    #image_viwer_area #btn_right_image {
        right: 100px;
    }

    #image_viwer_area #image_viwer {
        position: relative;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

        #image_viwer_area #image_viwer li:first-child {
            display: block;
        }

        #image_viwer_area #image_viwer li {
            display: none;
        }

            #image_viwer_area #image_viwer li a {
                height:450px;
                max-width: 450px;
                max-height: 450px;
                margin: 0 auto;
                display: block;
            }

                #image_viwer_area #image_viwer li a img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    margin: auto;
                    /*max-height: 450px;*/
                }

    #image_viwer_area #btn_viwer_zoom {
        margin: 0 0 40px 180px;
        cursor: pointer;
        display: block;
    }

    #image_viwer_area #list_thumb_image {
        display: table;
        margin: 0 auto;
        margin-top: 20px;
    }

        #image_viwer_area #list_thumb_image li {
            float: left;
            width: 95px;
            height: 95px;
            margin: 0 0 2px 2px;
            border: 1px solid #ccc;
            text-align: center;
            cursor: pointer;
        }

            #image_viwer_area #list_thumb_image li img {
                width: 100%;
                max-height: 100%;
                margin: auto;
                height: 20vh;
                object-fit:cover;
            }

                #image_viwer_area #list_thumb_image li img:hover {
                    opacity: 0.7;
                    filter: alpha(opacity=70);
                }

                 #image_viwer_area #list_thumb_image li video {
                    height: 100%;
                    pointer-events:none;
                }

                /* 廣告福利圖*/
   .benefit_area img {
    display: block;
    max-width: 100%;
    height: auto;
                }
/* 商品名 */
.section_ {
    margin-top: 40px;
}

.table_product {
    width: 100%;
    border-collapse: separate;
    font-size: 14px;
    line-height: 20px;
}

    .table_product th {
        width: 13%;
        min-width: 100px;
        padding: 12px;
        background-color: #aaa;
        color: #fff;
        text-align: right;
        vertical-align: middle;
        font-weight: normal;
    }

        .table_product th.set_border_ {
            border-top: 1px dotted #fff;
        }

        .table_product th span {
            font-size: 10px;
        }

    .table_product td {
        width: 87%;
        padding: 12px 0 12px 12px;
        vertical-align: middle;
    }

#spec_area > div:nth-child(odd) {
    padding-left: 0;
}

#spec_area > div:nth-child(even) {
    padding-right: 0;
}

#spec_area .specAreaItem {
    border-bottom: 1px dotted #ccc;
}

    #spec_area .specAreaItem label, #spec_area .specAreaItem span {
        float: left;
        line-height: 16px;
        padding: 12px 0;
        margin: 0;
        height: 44px;
        overflow: hidden;
    }

    #spec_area .specAreaItem label {
        width: 30%;
        font-weight: normal;
    }

        #spec_area .specAreaItem label i {
            float: right;
            font-style: normal;
            padding-right: 4px;
        }

    #spec_area .specAreaItem span {
        width: 70%;
    }

#block_of_recommend {
    margin-top: 20px;
}

    #block_of_recommend .list_type_01_ li {
        height: 252px;
    }

.ttl_recommend_ {
    margin-bottom: 25px;
    font-size: 20px;
    text-align: center;
    position: relative;
}

    .ttl_recommend_:after {
        content: '';
        position: absolute;
        height: 1px;
        background: #ddd;
        width: 100%;
        top: 13px;
        left: 0;
        z-index: -9;
    }

    .ttl_recommend_:before {
        content: '';
        position: absolute;
        background: #fff;
        width: 170px;
        height: 18px;
        top: 6%;
        z-index: -2;
        margin-left: -24px;
    }

#block_of_recommend .item_name_ {
    width: 80%;
    margin: auto;
}

.als-container {
    position: relative;
}

.als-viewport {
    overflow: hidden;
}

.als-prev, .als-next {
    width: 44px;
    height: 22px;
    display: block;
    position: absolute;
    bottom: -17px;
    z-index: 99;
    cursor: pointer;
    background: url("/images/img_common/thin_arrow.png") no-repeat;
}

.als-prev {
    left: 92px;
}

.als-next {
    right: 92px;
    background-position: -61px 0;
}

/* 商品等級 */
.grade_area {
    margin-top: 20px;
}
.grade_area .table {
    font-size: 12px;
    color: #000;
    border: 1px solid #999;
    margin-bottom: 0;
}
.grade_area .table thead tr {
    height: 20px;
    background: #e6e6e6;
}
.grade_area .table thead tr th {
    font-size: 15px;
    font-weight: normal;
    padding: 0 8px;
}
.grade_area .table tbody tr td {
    font-size: 13px;
    padding: 2px 6px;
}
.grade_area .table-bordered>tbody>tr>td,
.grade_area .table-bordered>tbody>tr>th,
.grade_area .table-bordered>thead>tr>td,
.grade_area .table-bordered>thead>tr>th {
    border: 1px solid #999;
    vertical-align: middle;
}
.grade_area .table:last-child {
    border-top: 0;
}
.grade_area .table:last-child thead tr th {
    text-align: center;
}
.grade_area .table:last-child tbody tr td:first-child {
    text-align: center;
}
.grade_area .table:last-child tbody tr {
    height: 39px;
}


/* 商品購買須知 */
.purchaseInfo_area .table {
    font-size: 12px;
    color: #000;
    border: 1px solid #999;
    margin-bottom: 0;
}
.purchaseInfo_area .table thead tr {
    height: 20px;
}
.purchaseInfo_area .table thead tr th {
    font-size: 15px;
    text-align: center;
    padding: 0 8px;
}
.purchaseInfo_area .table tbody tr td {
    font-size: 13px;
    padding: 2px 6px;
}
.purchaseInfo_area .table-bordered>tbody>tr>td,
.purchaseInfo_area .table-bordered>tbody>tr>th,
.purchaseInfo_area .table-bordered>thead>tr>td,
.purchaseInfo_area .table-bordered>thead>tr>th {
    border: 1px solid #999;
    vertical-align: middle;
}
.purchaseInfo_area .purchaseInfo_ul li {
    position: relative;
    padding-left: 12px;
}
.purchaseInfo_area .purchaseInfo_ul li:before {
    content: '・';
    position: absolute;
    left: 0;
    z-index: 2;
}



/*------------------------------------------------
Right
------------------------------------------------*/
/*2020-07-27 add*/
/*label*/
#product_info_area .product_label {
    margin: 0 0 20px 0;
    overflow: hidden;
}
#product_info_area .product_label li {
    float: left;
    min-width: 75px;
    min-height: 24px;
    line-height: 24px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    background: #808080;
    margin: 0 1px 1px 0;
}
#product_info_area .product_label li.red {
    background: #bf4d50;
}

/*------------------------------------------------
Right
------------------------------------------------*/
/* name */
#product_info_area {
    overflow: hidden;
}

    #product_info_area p {
        margin: 0;
    }

    #product_info_area .product_name_ {
        margin-bottom: 25px;
        font-weight: bold;
    }

        #product_info_area .product_name_ span {
            font-size: 11px;
            font-weight: normal;
            letter-spacing: 1px;
        }

#product_price_area .product_price_ {
    color: #d8251f;
    font-size: 28px;
    font-weight: bold;
    line-height: 30px;
}

    #product_price_area .product_price_ span {
        font-size: 14px;
    }

#product_price_area .btn_cart_ {
    margin-top: 20px;
}

/* 加入購物車 */
#product_price_area #list_icon li {
    position: relative;
    float: left;
    margin-bottom: 6px;
}

    #product_price_area #list_icon li + li {
        margin-left: 20px;
    }

    #product_price_area #list_icon li a {
        padding-left: 31px;
        display: block;
        color: #666;
        cursor: pointer;
    }

        #product_price_area #list_icon li a i {
            position: absolute;
            left: 0;
            top: -2px;
            width: 30px;
            height: 28px;
            display: block;
            background: url("/images/img_Products/img_Detailed/icon_product_favorite.gif");
        }

    #product_price_area #list_icon li:last-child a i {
        background: url("/images/img_Products/img_Detailed/icon_product_reading.png");
    }

    #product_price_area #list_icon li a.on i {
        background-position-y: -92px;
    }

.cartbox_ {
    margin: 20px 0 10px 0;
    vertical-align: middle;
}

    .cartbox_ input {
        padding: 0;
        max-width: 100%;
    }

/*購物車按鈕-售罄*/
.cartbox_ .btncart_soldOut {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    width: 100%;
    max-width: 300px;
    height: 80px;
    font-size: 22px;
    font-family: 'Arial';
    color: #d82520;
    border-left: 11px solid #d82520;
    border-right: 11px solid #d82520;
}

.product_calculate,
.product_blackCat,
.product_orico {
    display:block;
    margin-bottom: 10px;
}

.position_area_title {
    font-weight: bold;
    margin-bottom: 20px;
}

    .position_area_title li {
        padding: 0;
    }

.position_area_con {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
}

    .position_area_con li {
        padding-left: 0;
    }

.positionMapWrapper .modal-header {
    padding: 0;
    border-bottom: 0;
    position: absolute;
    right: 6px;
    top: 3px;
    z-index: 99;
}

.positionMapWrapper .modal-body {
    padding: 35px;
}

.ProductIMG_area img {
    width: 50%;
    margin: auto;
}
/* 百度地圖 */
.BMap_cpyCtrl {
    display: none;
}

.bdmap_info_ctn {
    z-index: 0 !important;
    background-color: black;
    height: 430px;
    width: 200px;
    cursor: default;
    border: none;
    color: white;
}

.bdmap_info_ctn_inner {
    padding: 15px;
    height: 400px;
    overflow-y: auto;
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
}

.bdmap_info_row {
    line-height: 25px;
    margin: 3px auto;
    cursor: pointer;
}

.BMap_bubble_title h2 {
    font-size: 18px;
    margin: 0;
    overflow: hidden;
    word-break: keep-all;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.BMap_bubble_img {
    /*border-radius: 50%;*/
    margin-top: 15px;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.BMap_bubble_info {
    width: 140px;
    float: left;
    line-height: 20px;
    padding: 20px 0 0 15px;
}
/* 谷歌地圖 */
.MapWrapper {
    width: 300px;
    height: 167px;
    padding: 4px;
    color: #000;
}

.MapTitle {
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    word-break: keep-all;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.MapLeft {
    width: 100px;
    height: 100px;
    margin-top: 15px;
    float: left;
}

    .MapLeft img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    }

.MapRight {
    font-size: 12px;
    line-height: 20px;
    padding: 20px 0 0 115px;
}

.googleMapInfo {
    bottom: 0;
    z-index: 99;
    width: 186px;
    padding: 15px;
    background-color: #000;
}

.googleMapInfo_inner {
    font-size: 12px;
    line-height: 26px;
    color: #fff;
    cursor: pointer;
}

/* 有貨提醒 */
.Reminder_title {
    font-size: 16px;
}

.Reminder_prompt {
    color: #999;
    margin-bottom: 10px;
}

.ReminderLg {
    line-height: 20px;
}

    .ReminderLg .form-horizontal {
        width: 500px;
        margin: auto;
    }

    .ReminderLg .form-group label {
        font-weight: normal;
        padding-left: 0;
        padding-right: 0;
    }

    .ReminderLg .form-group .red {
        color: #f00;
        font-style: normal;
    }

    .ReminderLg .modal-header {
        color: #444;
        background-color: #f0f0f0;
        padding: 0 15px;
        line-height: 40px;
        border-radius: 6px 6px 0 0;
    }

        .ReminderLg .modal-header .close {
            margin-top: 9px;
            filter: alpha(opacity=40);
            opacity: 0.4;
        }

    .ReminderLg .mod_save {
        font-size: 15px;
        width: 140px;
        height: 40px;
        border: 0;
        background: #333;
        color: #fff;
        border-radius: 5px;
        margin: 5px 0;
    }

    .ReminderLg .form-group .red {
        color: #f00;
        font-style: normal;
    }


    /*2020-05-12 add*/
/*分享功能*/
#product_price_area .product_cart_share {
    margin-top: 20px;
}
#product_price_area .product_cart_share:after {
    content: '';
    display: table;
    clear: both;
}
#product_price_area .product_cart_share li {
    float: left;
    margin-right: 7px;
}
#product_price_area .product_cart_share li:first-child a {
    width: 110px;
    cursor: default;
}
#product_price_area .product_cart_share li:first-child a img {
    display: inline-block;
    max-height: 100%;
    margin: 0 2px 0 4px;
}
#product_price_area .product_cart_share li:nth-child(2) {
    position: relative;
}
#product_price_area .product_cart_share li:nth-child(2):before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    bottom: 0;
    z-index: 1;
    margin: auto;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: #bbb;
    border-width: 0 1px 1px 0;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}
#product_price_area .product_cart_share li:nth-child(2):after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
    margin: auto;
    width: 1px;
    height: 10px;
    background: #fff;
}
#product_price_area .product_cart_share li a {
    display: block;
    font-size: 12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #bbb;
    padding: 2px;
    margin-bottom: 7px;
    cursor: pointer;
}
#product_price_area .product_cart_share li a:hover {
    color: #000;
}
#product_price_area .product_cart_share li .share_line,
#product_price_area .product_cart_share li .share_wechat {
    position: relative;
}
#product_price_area .product_cart_share li .share_line:hover .QrcodeBox,
#product_price_area .product_cart_share li .share_wechat:hover .QrcodeBox {
    display: block;
}
#product_price_area .product_cart_share li .share_line .QrcodeBox,
#product_price_area .product_cart_share li .share_wechat .QrcodeBox {
    display: none;
    position: absolute;
    z-index: 9;
    top: -200px;
    right: 0;
    width: 200px;
    color: #666;
    font-size: 12px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px #aaa;
    transition: All 0.25s ease-in-out;
    -webkit-transition: All 0.25s ease-in-out;
    -moz-transition: All 0.25s ease-in-out;
    -o-transition: All 0.25s ease-in-out;
}
#product_price_area .product_cart_share li .share_line .QrcodeBox h4,
#product_price_area .product_cart_share li .share_wechat .QrcodeBox h4 {
    font-weight: normal;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    color: #777;
}
#product_price_area .product_cart_share li .share_line .QrcodeBox img,
#product_price_area .product_cart_share li .share_wechat .QrcodeBox img {
    width: 60%;
    margin: 20px auto;
}


#product_price_area .product_cart_share li .share_line .QrcodeBox img,
#product_price_area .product_cart_share li .share_wechat .QrcodeBox img,
#product_price_area .product_cart_share li .share_line .QrcodeBox canvas,
#product_price_area .product_cart_share li .share_wechat .QrcodeBox canvas {
    width: 60%;
    margin: 20px auto;
}



@media (max-width:992px) {
    #image_viwer_area #btn_left_image, #image_viwer_area #btn_right_image {
        width: 27px;
    }

    #image_viwer_area #btn_left_image {
        left: 0;
    }

    #image_viwer_area #btn_right_image {
        right: 0;
    }

    #image_viwer_area #image_viwer li a {
        width: 80%;
        height:auto;
    }

    .list_type_01_ li {
        height: 250px;
    }
}

@media (max-width:767px) {
    .mainContainer > div {
        padding: 0;
    }

    .rightmenu {
        margin-top: 20px;
    }

    #image_viwer_area #btn_left_image, #image_viwer_area #btn_right_image {
        width: 20px;
        top: 22%;
    }

    .cartbox_ input {
        width: 230px;
    }

    /*購物車按鈕-售罄*/
    .cartbox_ .btncart_soldOut {
       max-width:230px;
       height:62px;
       font-size:18px;  
    }

    .product_calculate img,
     .product_blackCat img,
     .product_orico img {
        width: 230px;
    }

    .list_type_01_ li {
        height: 250px;
    }

    #image_viwer_area #btn_viwer_zoom {
        margin: 0 0 10px 45px;
    }

    #image_viwer_area #list_thumb_image li {
        width: 60px;
        height: 60px;
    }

    #spec_area .specAreaItem {
        font-size: 12px;
    }

    #spec_area > div:nth-child(odd), #spec_area > div:nth-child(even) {
        padding: 0;
    }

    #spec_area .specAreaItem label, #spec_area .specAreaItem span {
        line-height: 13px;
        padding: 11px 0;
        height: 36px;
    }

    .section_, #block_of_recommend {
        margin-top: 20px;
    }

    #position_area {
        font-size: 12px;
    }

    .position_area_con li {
        margin-top: 10px;
        padding: 0;
    }

    .positionMapWrapper .modal-body {
        padding: 0;
    }

    .ProductIMG_area img {
        width: 60%;
    }
    /* 百度地圖 */
    .bdmap_info_ctn {
        display: none;
    }

    /* 有貨提醒 */
    .ReminderLg .form-horizontal {
        width: 100%;
    }

    .ReminderLg .form-group label {
        padding-left: 15px;
        padding-top: 4px;
    }

    .ReminderLg .form-group .form-control {
        font-size: 12px;
    }
}
