/*背景*/

.wrapper {
    width: 100%;
    height: 100%;
    background-color: #000;
    background-image: url(../images/product_detail/product_detail_bg.jpg);
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
}

.content:after {
    content: '';
    display: block;
    clear: both;
}

.right_bg_img {
    position: fixed;
    right: 0;
    bottom: -300px;
}

.left_bg_img {
    position: fixed;
    left: 0;
    bottom: -100px;
}

/*前後頁切換鈕*/

.w_btn{
    position: fixed;
    display: block;
    width: 70px;
    height: 310px;
    background-size: cover;
    background-color: rgba(255,255,255,0.2  );
    top:400px;
    z-index: 500;
    writing-mode: tb-rl;
    text-align: center;
    color: #fff;
    font-size: 24px;
    line-height: 70px;
}

.wb_next{
    right: 0;
}

.wb_prev{
    left: 0;
}

.wb_img{
    position: absolute;
    top: -50px;
}

.wb_img img{
    max-width: 70px;
    height: auto;
}

.wb_arrow{
    position: absolute;
    bottom: 15px;
    left: 27px;
}

@media screen and (max-width: 1350px){
    .w_btn{
        display: none;
    }
}


/*商品詳細介紹*/

.pd_banner {
    width: 100%;
    height: 620px;   
}

.pdb_01{
    background: url(../images/product_detail/banner_01_draft_beer.jpg) no-repeat center 50%;
    background-size: cover;
}

.pdb_02{
    background: url(../images/product_detail/banner_02_pale_pilsen.jpg) no-repeat center 50%;
    background-size: cover;
}

.pdb_03{
    background: url(../images/product_detail/banner_03_light.jpg) no-repeat center 50%;
    background-size: cover;
}

.pdb_04{
    background: url(../images/product_detail/banner_04_cerveza_negra.jpg) no-repeat center 50%;
    background-size: cover;
}

.pdb_05{
    background: url(../images/product_detail/banner_05_red_horse.jpg) no-repeat center 50%;
    background-size: cover;
}

.pdb_06{
    background: url(../images/product_detail/banner_06_megners.jpg) no-repeat 50% 50%;
    background-size: cover;
}

.pdb_07{
    background: url(../images/product_detail/banner_07_adams.jpg) no-repeat 50% 50%;
    background-size: cover;
}

.pdb_08{
    background: url(../images/product_detail/banner_08_angry.jpg) no-repeat 40% 50%;
    background-size: cover;
}

.pdb_09{
    background: url(../images/product_detail/banner_09_heverlee.jpg) no-repeat 40% 50%;
    background-size: cover;
}

.pdb_10{
    background: url(../images/product_detail/banner_10_cerveza_blanca.jpg) no-repeat 40% 50%;
    background-size: cover;
}

.pd_group {
    background-color: rgba(255,255,255,0.9);
    padding-bottom: 30px;
}

.pdg_title {
    color: #222222;
    font-size: 34px;
    font-weight: bold;
    background: repeating-linear-gradient(-65deg, #eeeeee, #eeeeee 18px, #fff 0, #fff 30px);
    padding: 15px;
    padding-left: 30px;
    box-sizing: border-box;
}

.pdg_title span {
    color: #bc181e;
}

.pdg_title span.negra{
    color: #222222;
}

.pdg_title span.light{
    color: #0057a6;
}

.pdg_title span.heverlee{
    color: #0f2d53;
}

.pdg_title span.adams{
    color: #0e2c52;
}

.pdg_title span.angry{
    color: #5b3010;
}

.pdg_text {
    padding: 15px 15px 0px 30px;
    line-height: 30px;
    font-size: 16px;
}

.pdgt_buy{
    color: #bc181e;
    font-size: 20px;
    font-weight: bold;
}

.pdgt_buy img{
    height: 20px;
    width: auto;
}

.pdg_blockgroup01{
    padding: 15px 30px;
}

.pdg_blockgroup {
    padding: 30px 15px 15px 15px;
}

.pdg_blockgroup:after, .pdg_blockgroup01:after {
    content: '';
    display: block;
    clear: both;
}

/*.pdg_bigblock{
    padding: 0 30px;
}

.pdgb_img, .pdgb_info{
    display: table-cell;
    box-sizing: border-box;
    vertical-align: middle;
}

.pdgb_img{
    width: 480px;
}

.pdgb_img img{
    max-width: 480px;
    width: 100%;
}*/

.pdgb_info{
    padding-left: 15px;
    font-size: 16px;
    line-height: 22px;
}

.pdgb_info img{
    max-width: 100%;
    height: auto;
}

.elementTab{ display:block }
.elementTab .h2{ margin-bottom:5px; padding: 10px 0 0 0; font-size:16px; display:flex; align-items: center; }
.elementTab .h2 span{ color:#bc181e; font-size:16px; font-weight: bold; margin: 0 3px; }
.elementTab .h2:before{ content:""; display:block; margin-right:3px; width:0; height:0; border-color:transparent transparent transparent #bc181e; border-style:solid; border-width:5px 0 5px 8px; }
.elementTab .tr{ display: flex; max-width: 250px; width: 100%; margin: 0 0 1px 0; }
.elementTab .td-a{ width:100px; padding:5px; font-size:16px; background:#fff; text-align:center; border-right:1px solid #ecebe7; }
.elementTab .td-b{ flex:1; padding:5px 10px; font-size:16px; background:#fff; }

/*.pdgb_info p{
    text-indent: 2em;
}*/

.pdg_block {
    float: left;
    position: relative;
    width: calc(100%/3 - 15px);
    height: 300px;
    margin-top: 20px;
    margin-left: 22px;
    /*background: linear-gradient(to bottom, #ffffff 50%, #eeeeee 80%, #eeeeee 80%, #ffffff 80%, #ffffff 100%);*/
    outline: 2px solid #bc181e;    
    box-sizing: border-box;
    overflow: hidden;
}

.pdg_block:nth-of-type(3n+1){
    margin-left: 0;
}

.pdg_img{
    position: absolute;
    width: 45%;
}

.pdg_width{
    position: absolute;
    width: 65%;
}

.pdg_img, .pdg_width {
    left: 0;
}


.pdg_img img ,.pdg_width img{
    /*max-width: 100%;
    height: auto;*/
    position: absolute;
    top: 10px;
    left: 50%;
    margin-left: -25%;
}

.pdg_width img{
     margin-left: -35%;
}

.pdg_info {
    position: absolute;
    width: 55%;
    right: 0;
    text-align: right;
    height: 100%;
}

.pdgbi_title{
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.pdgbi_title .pdgbi_icon{
    width: 50px;
    margin-right: 5px;
}

.pdgbi_img{
    padding-left: 80px;
    position: relative;
    margin-top: 10px;
}

.pdgbi_img img{
    position: absolute;
    left: 0;
    width: 64px;
}

.pdgi_drink {
    color: #444444;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
    padding-right: 10px;
    position: absolute;
    right: 0;
    bottom: 10px;
}

.pdgi_drink a{
    color: #444444;
}

.pdgi_cata {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 10px 10px 0;
    width: 100%;
    box-sizing: border-box;
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(188,24,30,0.48) 23%, rgba(188,24,30,1) 51%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(188,24,30,0.48) 23%,rgba(188,24,30,1) 51%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(188,24,30,0.48) 23%,rgba(188,24,30,1) 51%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#bc181e',GradientType=1 ); /* IE6-9 */
}

/*產品包裝*/
.pdg_blockpack{
    float: left;
    position: relative;
    height: 300px;
    margin-top: 20px;
    margin-left: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.pdg_blockpack:first-of-type{
    margin-left: 0;
}

.pdg_block03{
    width: calc(100%/3 - 10px);
}

.pdg_block04{
    width: calc(100%/4 - 9px);
}

.pdg_block05{
    width: calc(100%/5 - 15px);
}


.pdg_block02:first-of-type, .pdg_block03:first-of-type{
    margin-left: 0; 
}

.pdg_imgpack{
    text-align: center;
}

.pdg_textpack{
    color: #444444;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}




/*返回列表按鈕*/

.pdg_btnc{
    margin-top: 50px;
    text-align: center;
}

.pdg_btn{
    padding: 10px;
    background: #bc181e;
    color: #fff;

}

@media screen and (max-width: 1023px) {
    .pd_banner {
        height: 400px;
    }

    .pdg_block {
        width: calc(50% - 8px);
        margin-left: 15px;
    }

    .pdg_block:nth-of-type(3n+1) {
        margin-left: 15px;
    }

    .pdg_block:nth-of-type(2n+1) {
        margin-left: 0;
    }
   
/*產品包裝*/
    .pdg_block_m02{
        width: calc(50% - 8px);
    }
    
    .pdg_block_m02:nth-of-type(3){
        margin-left: 0;
    }

    .pdg_block_m02:first-of-type, .pdg_block_m02:nth-of-type(2){
        margin-top: 0;
    }

    .pdg_block_m03{
        width: calc(100%/3 - 10px);
    }

    .pdg_block_m03:nth-of-type(3){
        margin-left:0; 
    }

    .pdgb_img{
        width: 350px;
    }


    

    .pdg_text {
        padding: 15px;
    }
}    

@media screen and (max-width: 767px) {
    .pd_banner {
        height: 350px;
    }

    .pdg_blockpack{
        width: 100%;
        margin: 0 0 30px 0;
    }

    .pdg_blockpack:last-of-type{
        margin: 0;
    }

    .pdg_block, .pdg_block02, .pdg_block03 {
        width: 100%;
        margin-left: 0;
    }

    .pdg_block02{
        margin-top: 40px;
    }

    .pdg_block_pack{
        margin-top: 30px;   
    }

    .pdg_block_pack:nth-child(2){
        margin-top: 30px;   
    }

    .pdg_block:nth-of-type(3n+1) {
        margin-left: 0;
    }

    .pdg_img{
        width: 40%;
    }

    .pdg_width{
        width: 65%;
    }

    .pdg_bigblock {
        padding: 0;
    }

    .pdgb_img, .pdgb_info{
        display: block;
        width: 100%;
    }

    .pdgb_img{
        text-align: center;
    }

    .pdgb_img img{
        max-width: 80%;
        height: auto;
    }

    .pdgb_info{
        padding: 0;
    }

    .pdg_title{
        padding: 15px;
    }

    .pdg_title span {
        display: block;
        margin-top: 10px; 
    }
    
}

@media screen and (max-width: 480px) {
    .pd_banner {
        height: 280px;
    }

    .pdg_img img ,.pdg_width img{
        max-width: 100%;
        height: auto;
        z-index: 2;
    }
    
}

@media screen and (max-width: 360px) {
    .pdg_img {
        width: 45%;
    }

    .pdg_img img, .pdg_width img{
        z-index: 2;
    }

    .pdg_info{
        width: 65%;
        z-index: 1;
    }
}