
body{
  overflow-x: hidden;
  font-family: 'Noto Sans TC', serif,"微軟正黑體";
  background:url("../images/index/pixel_weave.png");

}
.pt-5{
  padding-top: 48px!important;
}

#main{
  overflow: hidden;
}
.np_{
  padding: 0px!important;
}
.lSGallery > li{
  border:1px solid #c3c3c3;
  border-radius: 5px;
}
#twzipcode > select {
  float: left!important;
  width: 32%!important;
  margin-bottom: 10px;
}
#twzipcode > select:nth-child(2) {
  margin-left: 2%;
  margin-right: 2%;
}
#twzipcode > input {
  float: left!important;
  width: 32%!important;
  margin-bottom: 10px;
}
#ck_box img{
  max-width: 100%;
}
.bootstrap-touchspin-up,.bootstrap-touchspin-down{
  cursor: pointer!important;
}

@media (min-width: 0px) and (max-width: 768px) {
  .bootstrap-touchspin-up,.bootstrap-touchspin-down{
    cursor: pointer!important;
  }
  #isgt{
    height: 100%;
    font-family: 'Noto Sans TC', serif,"微軟正黑體";
    font-size: 24px;
    line-height: 50px;
    font-size: 900;
    color: #779452;
  }
  #main{
    overflow: hidden;
    padding-left: 15px!important;
    padding-right: 15px!important;
  }
  /*上方功能bar*/
  #head_bar{
    height: auto;
    /*border-top:6px solid #779452;*/
    background-color: #FDFCFA;
    /*box-shadow: 2px 2px 10px #779452;*/
    /*box-shadow: 2px 2px 10px #4c4c4c;*/
    /*border-bottom: 1px solid #d4d4d4;*/
    position: relative;
    z-index: 999;
  }
  #logo_box{
    height: 100%;
  }
  #log_circle{
    width: 100px;
    height: 100px;
    margin-left: calc(50% - 20px);
    /*margin-top: 5px;*/
    border-radius: 50%;
  }
  #pmenu{
    height: 50px;
  }
  #log_circle > a > img {
    object-fit: contain;
    width: 100%;
    max-height: 100%;
  }
  #fuc_box{
    border-top: 1px solid #779452;
    display: none;
    height:auto;
    background-color:white;
    padding-bottom: 20px;
  }
  .menubtn{
    height: 40px;
    /*margin-top: 20px;*/
    line-height: 40px;
    font-weight: 900;
    font-size: 18px;
    color: #a1b588;
  }

  /*商品輪播*/
  #pslide{
    border:1px solid #A3AF87;
    height: 400px;
    margin-top: 20px;
    position: relative;
    background-color: #ECEDE2;
  }
  /*
  #pslide:after{
    width: 60px;
    height: 60px;
    border-right:2px solid #779452;
    border-bottom:2px solid #779452;
    position: absolute;
    content: "";
    right: calc(50% - 30px);
    background-color:white;
    z-index: 20;
    transform: rotate(-45deg);
    bottom: 0px;
  }*/
  .lSSlideOuter{
    height: 400px!important;
  }
  .lSSlideWrapper{
    margin-top: 5px;
    height: 300px!important;
    overflow: hidden;
    /*background-color: white!important;*/
  }
  #imageGallery{
    height: 400px;
  }
  #imageGallery >li {
    height: 300px;
  }
  #imageGallery  >li >img{
    object-fit: contain;
    height: 100%;
    max-width: 100%;
    vertical-align: middle;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* 主要商品資訊 */
  #prod_main_box{
    border:1px solid #A3AF87;
    border-top: 0px;
    height: auto;
    background-color: #ECEDE2;
    /*padding-left: 30px;*/
    padding-top: 30px;
  }
  #prod_main_box >#prod_top> span{
    display: block;
    color: #728072;
    font-weight: 900;
    font-size: 14px;
    float:left;
  }
  #prod_main_box >#prod_top> .prod_price_cls {
    color: red;
    margin-top: 10px;
    display: block;
    font-weight: 900;
    font-size: 16px;
  }
  .pro_pri{
    /*width: 27%;*/
  }
  #prod_top{

  }
  #prod_bot{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .prod_name{
    width: 100%!important;
    font-size: 18px!important;
    font-weight: 900;
    border-bottom: 1px solid #728072;
  }
  .prod_price{
    margin-top: 10px;
  }
  #buybtn{
    color: #728072;
    border:2px solid #728072;
    border-radius: 30px;
    font-size: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }
  #myalert{
    color: #728072;
    line-height: 30px;
    height: 30px;
    font-weight: bold;
  }
  /* 自由編輯 */
  #ck_box{
    border:1px solid #A3AF87;
    background-color: #ECEDE2;
    height: auto;
    font-weight: 900;
    border-radius: 4px;
    margin-top: 20px;
  }
  #ck_box > p{
    font-size: 16px;
    color: #444444;
  }
  #ck_box > div > iframe {
    min-height: 180px;
  }
  #ck_box > img {
    object-fit: contain;
    width: 100%;
  }
  /* 再次購買 */
  #again{
    height: auto;
    /*background-color: #A3AF87;*/
    margin-bottom: 40px;
    margin-top: 40px;
  }
  #buybtn2{
    color: #728072;
    border:2px solid #728072;
    border-radius: 40px;
    font-size: 30px;
    margin-top: calc((200px - 73px)/2);
    padding-left: 40px;
    padding-right: 40px;
  }
  /*footer*/
  #footer{
    height: auto;
    background-color: #A3AF87;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .fc{
    /*height: 110px;*/
  }
  #fc2{
    /*border-left: 1px solid white;
    border-right: 1px solid white;*/
  }
  .fpic{
    margin-top: 10px;
  }
  .fpic>img{
    object-fit: contain;
    height: 70px;
    margin-top: 10px;
  }
  .ftxt{
    height: 10px;
    color: #FDFCFA;
    text-decoration: none;
  }
  #ctlmenu{
    width: 30px;
    height: 30px;
    background-color: white;
    border: 3px solid #779452;
    margin-top: 10px;
    border-radius: 50%;
    padding: 2px;
    padding-top: 4px;
    box-shadow: 1px 1px 4px gray;
    background-color:#779452;
  }
  #ctlmenu div{
    height: 2px;
    background-color: white;
    width: 100%;
    margin-top: 2px;

  }
  #ctlmenu >div:nth-child(2),#ctlmenu >div:nth-child(3){
    margin-top: 3px;
  }
  /* 上方大標 */
  #maintitle h1{
    font-size: 16px !important;
  }
  #maintitle{
    /*padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;*/
    /*margin-top: 65px;*/
    background-color:#ECEDE2;
    font-size: 16px;
    font-weight: 900;
    color: #759381;
    border-radius: 4px;
    border:1px solid #A3AF87;
  }
  /*
  #maintitle:after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border:2px solid white;
    top:0px;
    left: 0px;
    border-radius: 60px;
  }*/
  #subtitle{
    margin-top: 10px;
    background-color:#ECEDE2;
    font-size: 14px;
    font-weight: 300;
    color:  #728072;
    border-radius: 4px;
    border:1px solid #A3AF87;
  }
  /*
  #subtitle:after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border:2px solid white;
    top:0px;
    left: 0px;
    border-radius: 60px;
  }*/
  /* 乙谷田footer */
  #igtfoot{
    height: 80px;
    background-color: #779452;
  }
  #igt-foot-logo{
    height: 40px;
    width: 40px;
    overflow: hidden;
    float:left;
    margin-left: calc(50% - 20px);
  }
  #igt-foot-logo img{
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  #igt-foot-txt a{
    font-family: 'Noto Sans TC', serif,"微軟正黑體";
    font-size: 20px;
    line-height: 40px;
    color:  #FDFCFA;
    text-decoration: none;
  }
  /*用愛加倍奉還:menu*/
  #lovead{
    padding: 0px!important;
    border:1px solid #A3AF87;
    border-radius: 4px;
  }
  #lovead img{
    object-fit: cover;
    width: 100%;
  }
  /* 下方推薦 */
  #aboutbox{
    margin-bottom: 40px;

  }
  #hotTab{
    margin-bottom: 0px;
  }
  #hotTab>li{
    display: inline-block;
    background-color: #FDFCFA;
    border:1px solid #A3AF87;
    border-bottom: 1px solid rgba(0,0,0,0);
  }
  #hotTab>li.active{
    background-color: #A3AF87;
    border:1px solid  #A3AF87;
    
  }
  #hotTab>li > a{
    color: #A3AF87;
  }
  #hotTab>li.active > a{
    color: white;
  }
  #hotTabContent{
    overflow: hidden;
    border:1px solid #A3AF87!important;
    background-color: #ECEDE2;
  }
  .tab-pane{
     height: 250px;
    overflow: hidden!important;
  }
  #hot_carousel{

  }
  .slick-list{
    height: auto;
    overflow: hidden;
  }
  /* 按鈕 */
  .slick-prev{
    position: absolute;
    display: block;
    content: "";
    left:-50px;
    z-index: 999;
    height: 50px;
    top:calc(125px - 25px);
    background-color: rgba(0,0,0,0);
    border:0px;
    font-size: 24px;
    color: #A3AF87;
  }
  .slick-next{
    position: absolute;
    display: block;
    content: "";
    right:-50px;
    z-index: 999;
    height: 50px;
    top:calc(125px - 25px);
    background-color: rgba(0,0,0,0);
    border:0px;
    font-size: 24px;
    color: #A3AF87;
  }  
  .slick-slide{
    margin-left: 5px;
    margin-right: 5px;
  }
  .add_pic{
    margin-top: 10px;
    border:1px solid #A3AF87;
    border-radius: 4px 4px 0px 0px;
    overflow: hidden;
  }
  .add_pic img{
    object-fit:contain;
    width: 98%;
    max-height: 100%;
  }
  .add_name{
    background-color: #728072;
    color: #A3AF87;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;    
  }  
  #hot a{
    text-decoration: none;
  }
}
@media (min-width:760px){
  /* 上方大標 */
  #maintitle h1{
    font-size: 16px;
  }
}
@media (min-width:769px){
  .p_{
    display: none;
  }
  /*上方功能bar*/
  #head_bar{
    height: 80px;
    /*border-top:6px solid #779452;*/
    background-color: #FDFCFA;
    /*border-bottom: 1px solid #d4d4d4;*/
    /*box-shadow: 2px 2px 10px #779452;*/
    /*box-shadow: 2px 2px 10px #4c4c4c;*/
    position: relative;
    z-index: 999;
  }
  #logo_box{
    height: 100%;
  }
  #log_circle{
    width: 100px;
    height: 100px;
    margin-left: calc(50% - 40px);
    /*margin-top: 2px;*/
    overflow: hidden;
    /*border-radius: 50%;*/
  }
  #log_circle > a >img {
    object-fit: contain;
    width: 100%;
    max-height: 100%;
  }
  #fuc_box{
    height:100%;
    border-top: 0px solid #01a48f!important;
  }
  .menubtn{
    height: 40px;
    /*margin-top: 20px;*/
    line-height: 40px;
    font-weight: 900;
    font-size: 18px;
    color: #a1b588;
  }

  /*商品輪播*/
  #pslide{
    border:1px solid #A3AF87;
    border-right: 0px;
    height: 400px;
    margin-top: 40px;
    position: relative;
    border-radius: 4px 0 0 4px;
    background-color: #ECEDE2;
  }
  /*#pslide:after{
    width: 20px;
    height: 20px;
    position: absolute;
    content: "";
    right: -11px;
    border-right:2px solid #A3AF87;
    border-bottom:2px solid #A3AF87;
    z-index: 20;
    transform: rotate(-45deg);
    top:calc(50% - 20px);
  }
  */
  .lSSlideOuter{
    height: 400px!important;
  }
  .lSSlideWrapper{
    margin-top: 5px;
    height: 300px!important;
    overflow: hidden;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fcfff4+0,dfe5d7+40,b3bead+100;Wax+3D+%233 */
    /*background: #fcfff4; /* Old browsers */
    /*background: -moz-radial-gradient(center, ellipse cover, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%); /* FF3.6-15 */
    /*background: -webkit-radial-gradient(center, ellipse cover, #fcfff4 0%,#dfe5d7 40%,#b3bead 100%); /* Chrome10-25,Safari5.1-6 */
    /*background: radial-gradient(ellipse at center, #fcfff4 0%,#dfe5d7 40%,#b3bead 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    /*background-color: white;*/
  }
  #imageGallery{
    height: 400px;
  }
  #imageGallery >li {
    height: 300px;
  }
  #imageGallery  >li >img{
    object-fit: contain;
    height: 100%;
    max-width: 100%;
    vertical-align: middle;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* 主要商品資訊 */
  #prod_main_box{
    border:1px solid #A3AF87;
    height: 400px;
    margin-top: 40px;
    background-color:  #ECEDE2;
    padding-left: 30px;
    padding-top: 10px;
    border-radius: 0 4px 4px 0;
  }
  #prod_top>.pro_pri {
    width: 15%;
  }
  #prod_main_box >#prod_top> span{
    display: block;
    color: #728072;
    font-weight: 900;
    font-size: 16px;
  }
  #prod_main_box >#prod_top> .prod_price_cls {
    color: red;
    margin-top: 10px;
    display: block;
    font-weight: 900;
    font-size: 16px;
  }
  #prod_top{
    height: 100%;
  }
  #prod_bot{
    height: 100%;
  }
  .prod_name{
    font-size: 20px!important;
    font-weight: 900;
    border-bottom: 1px solid #728072;
  }
  .pro_pri{
    width: 17%;
  }
  .prod_price{
    margin-top: 10px;
  }
  #buybtn{
    color: #728072;
    border:1px solid #728072;
    border-radius: 20px;
  }
  #myalert{
    color: #728072;
    font-weight: bold;
    font-size: 15px;
    line-height: 30px;
    height: 30px;
  }
  /* 自由編輯 */
  #ck_box{
    border:1px solid #A3AF87;
    background-color: #ECEDE2;
    height: auto;
    margin-top: 40px;
    font-weight: 900;
    border-radius: 4px;
  }
  #ck_box > p{
    font-size: 24px;
    color: #444444;
  }
  #ck_box > div > iframe {
    height: 370px;
  }
  /* 再次購買 */
  #again{
    height: auto;
    /*background-color: #A3AF87;*/
    margin-bottom: 40px;
    margin-top: 40px;
  }
  #buybtn2{
    color: #728072;
    border:2px solid #728072;
    border-radius: 40px;
    font-size: 40px;
    margin-top: calc((200px - 73px)/2);
    padding-left: 40px;
    padding-right: 40px;
  }
  /*footer*/
  #footer{
    height: auto;
    background-color: #A3AF87;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .fc{
    height: 155px;
  }
  #fc2{
    border-left: 1px solid #728072;
    border-right: 1px solid #728072;
  }
  .fpic{
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .ftxt{
    height: 60px;
    color: #FDFCFA;
  }
  /* 上方大標 */
  #maintitle{
    padding: 10px!important;
    /*margin-top: 120px;*/
    background-color:#ECEDE2;
    /*font-size: 40px;*/
    font-size: 18px;
    font-weight: 600;
    color: #759381;
    border-radius: 10px;
    border:1px solid #A3AF87;
  }
  /*
  #maintitle:after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border:1px solid #667f47;
    top:0px;
    left: 0px;
    border-radius: 6px;
  }*/
  #subtitle{
    margin-top: 10px;
    background-color:#ECEDE2;
    /*font-size: 24px;*/
    font-size: 16px;
    font-weight: 200;
    color: #728072;
    border-radius: 4px;
    border:1px solid #A3AF87;
  }
  /*#subtitle:after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border:2px solid white;
    top:0px;
    left: 0px;
    border-radius: 60px;
  }*/
  #ck_box img{
    max-width: 100%;
  }
  #igtfoot{
    height: 40px;
    background-color: #779452;
  }
  #igt-foot-logo{
    height: 40px;
    overflow: hidden;
    float:left;
  }
  #igt-foot-logo img{
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  #igt-foot-txt a{
    font-family: 'Noto Sans TC', serif,"微軟正黑體";
    font-size: 20px;
    line-height: 40px;
    color: #FDFCFA;
    text-decoration: none;
  }
  /* 下方推薦 */
  #aboutbox{
    margin-bottom: 40px;

  }
  #hotTab{
    margin-bottom: 0px;
  }
  #hotTab>li{
    display: inline-block;
    background-color: #FDFCFA;
    border:1px solid #A3AF87;
    border-bottom: 1px solid rgba(0,0,0,0);

  }
  #hotTab>li.active{
    background-color: #A3AF87;
    border:1px solid  #A3AF87;
    
  }
  #hotTab>li> a{
    color: #A3AF87;
  }
  #hotTab>li.active > a{
    color: white;
  }
  #hotTabContent{
    overflow: hidden;
    border:1px solid #A3AF87!important;
    background-color: #ECEDE2;
  }
  .tab-pane{
    height: 250px;
    overflow: hidden!important;
  }
  #hot_carousel{

  }
  .slick-list{
    height: auto;
    overflow: hidden;
  }
  /* 按鈕 */
  .slick-prev{
    position: absolute;
    display: block;
    content: "";
    left:-50px;
    z-index: 999;
    height: 50px;
    top:calc(125px - 25px);
    background-color: rgba(0,0,0,0);
    border:0px;
    font-size: 24px;
    color: #A3AF87;
  }
  .slick-next{
    position: absolute;
    display: block;
    content: "";
    right:-50px;
    z-index: 999;
    height: 50px;
    top:calc(125px - 25px);
    background-color: rgba(0,0,0,0);
    border:0px;
    font-size: 24px;
    color: #A3AF87;
  }  
  .slick-slide{
    margin-left: 5px;
    margin-right: 5px;
  }
  .add_pic{
    margin-top: 10px;
    border:1px solid #A3AF87;
    border-radius: 4px 4px 0px 0px;
    overflow: hidden;
  }
  .add_pic img{
    object-fit: contain;
    width: 100%;
    max-height: 100%;
  }
  .add_name{
    background-color: #728072;
    color: #A3AF87;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;    
  }
  #hot a{
    text-decoration: none;
  }
}
@media (min-width:780px){
  /* 上方大標 */
  #maintitle h1{
    font-size: 18px;
  }
}
