/*--------------------*/
/* Common CSS */
/*--------------------*/


body {
    font-family: 微軟正黑體,"WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "Microsoft JhengHei", 文泉驛正黑, 標楷體, DFKai-SB, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0;
    padding: 0;   
}

* {
    box-sizing: border-box;
}
    

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a { 
    text-decoration: none;
    color: #333;
    
}

a:focus {
    outline: none;
    text-decoration: none;
}


a:hover, 
a:focus {
  color: #FF6633;
}

h1, h2, h3, h4, p {
    padding: 0;
    margin: 0;
}

/*--------------------*/
/* 通用 CSS */
/*--------------------*/

/* .content{
    padding: 60px;
} */

.flex{
    display: flex;
    justify-content:space-between;
    
}

.align-center{
    align-items:center;
}

.py-1{
    padding: 10px 0;
}


.py-2{
    padding: 20px 0;
}


.py-6{
    padding: 100px 0;
}

.pl-2{
    padding: 0 0 0 50px;
}

.mt-3{
    margin: 30px 0 0 0;
}

.my-2{
    margin: 20px 0 ;
}


.float{
    float: left;
}

.text-666{
    color: #666666;
}

.text-ff6633{
    color: #ff6633;
}



.bg-index{
    background-image: url('../images/bg.png');
    background-position: bottom;
    background-repeat: repeat-x;
}

.bg-main{
    background-image: url('../images/bg-main.png');
    background-position: bottom;
    background-repeat: repeat-x;
}


.line-b{
    border-bottom: 1px solid #e5e5e5;
}

.line-t{
    border-top: 1px solid #e5e5e5;
}



.btn-primary{
    background-color: #ff6633;
    border:#ff6633; 
    padding: 10px 20px;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
    
}

.btn-primary:hover{
    background-color: #cc6600;
}

.w100{
    width: 100%;
}

/*--------------------*/
/* Layout CSS */
/*--------------------*/


.wrapper{
    width: 80%;
    padding: 0;
    min-width:1170px;
    margin: 0 auto;
   
}

.logo{
    width: 260px;
}



.search {
    width: 100%;
    position: relative;
    display: flex;
  }
  
  .searchTerm {
    width: 100%;
    border: 1px solid #FF6633;
    border-right: none;
    padding: 5px;
    height: 20px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: #999;
  }
  
  .searchTerm:focus{
    color: #000;
  }
  
  .searchButton {
    width: 140px;
    height: 42px;
    border: 1px solid #FF6633;
    background: #FF6633;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
  }

  .searchButton:focus {
      background-color: #CC6600;
  }


.search input{
    padding: 20px 10px;
    font-size: 16px;
}

.range{
    text-align: center;
    font-size: 16px;
    line-height: 24px;
}

.range input{
    padding: 20px 10px;
    font-size: 16px;
}

.searchRange {
    border: 1px solid #FF6633;
    padding: 5px;
    height: 20px;
    border-radius: 5px;
    outline: none;
    color: #999;
}


.rangeButton {
    width: 140px;
    height: 42px;
    border: 1px solid #FF6633;
    background: #FF6633;
    text-align: center;
    color: #fff;
    border-radius:5px 5px;
    cursor: pointer;
    font-size: 16px;
  }

  .rangeButton:focus {
      background-color: #CC6600;
  }




.contact p{
    text-align: right;
    font-size: 14px;
    line-height: 0px;
    margin: 0;
    padding: 0;
}


.contact-tel a{
    font-size: 24px;
    color: #FF6633;
    line-height: 0px;
}

.contact-tel a:hover{
    color: #CC6600;

}

.top-tel{
    width: 40px;
}


.menu{
    background-color: #FFCC33;
    width: 100%;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius:100px;

    display: flex;
    justify-content:space-between;
    align-items:center;
}


.menu ul{
    display: flex; 
    margin: 0 auto;
}


.menu li{
    font-size: 18px;
    text-align: center;
    justify-content:center;
    margin: 0 20px;
}

.menu li a{
    display: block;
    padding: 20px;
}


.menu li a:hover, .menu li a:focus{
    background-color: #FF6633;
    color: #fff;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius:40px;
}


.title {
    font-size: 24px;
    color: #66CC33;
    margin: 0 0 2em 0;
  }
  
  .fancy {
    line-height: 0.5;
    text-align: center;
  }
  .fancy span {
    display: inline-block;
    position: relative;  
  }
  .fancy span:before,
  .fancy span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid #66CC33;;
    border-top: 1px solid #66CC33;;
    top: 0;
    width: 200px;
  }
  .fancy span:before {
    right: 100%;
    margin-right: 15px;
  }
  .fancy span:after {
    left: 100%;
    margin-left: 15px;
  }


.title-18 {
    font-size: 20px;
    color: #66CC33;
    margin: 0 0 2em 0;
}

.fancy-line {
    line-height: 0.5;
    text-align: center;
}
.fancy-line span {
    display: inline-block;
    position: relative;  
}
.fancy-line span:before,
.fancy-line span:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid #66CC33;;
    top: 0;
    width: 400px;
}
.fancy-line span:before {
    right: 100%;
    margin-right: 15px;
  }
.fancy-line span:after {
    left: 100%;
    margin-left: 15px;
}


.product{
    position: relative;   
}

.w90{
    width: 90%;
    margin: 0 auto;
}


.product-box{
    text-align: center;
}

.product-box:hover{
    cursor: pointer;
    border: 1px solid #ff6633;
}

.product-box img{
    width: 100%;
}

.product-box h3{
    font-size: 16px;
    line-height: 30px;
}

.product-box h4{
    font-size: 14px;
    margin: 10px 0 0 0;
}


.product-box p{
    font-size: 16px;
    line-height: 30px;
}




.product-box-img{
    background-color: #fff;
    border: 1px solid #e5e5e5;
    padding: 8px 8px 4px 8px;
}

.product-box-img img{
    width: 100%;
}

.product-turn{
    display: flex;
    justify-content:space-between;
    padding: 80px 0;
}

.width-33{
    width: 30%;
}

/* 分類頁 */

.category ul{
    display: flex;
    flex-wrap:wrap;
    justify-content:center;
    margin: 0 auto;
}


.category li{
    font-size: 18px;
    text-align: center;
    padding:30px;
    margin: 0 0 50px 0;
}


.category-icon{
    background-color: #e6e6e6;
    border: #e6e6e6 2px solid;
    border-radius: 50%;
    width: 128px;
    height: 128px;
    text-align: center;
    cursor: pointer;
}


.category-icon:hover{ 
    border: #ff6633 2px solid;
    color: #ff6633;
}

.category-icon h3{
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
}

.product-range ul{
    display: flex;
    flex-wrap:wrap;
    justify-content:center;
}


.product-range li{
    padding:10px;
    margin: 0 0 10px 0;
}

.product-range li a{
    padding: 10px 20px;
    background-color: #e5e5e5;
    border:1px solid #e5e5e5;
    text-align: center;
    font-size: 16px;
    border-radius: 8px;
    display: block;
    width: 160px;
}


.product-range li a:hover{
    border:1px solid #FF6633;
    color: #FF6633;
}

/* 產品列表 */
.product-list ul{
    display: flex;
    flex-wrap:wrap;
    margin: 0 auto;
}

.product-list li{
    width: 20%;
    padding:10px;
    margin: 0 0 20px 0;
}


/* 產品頁 */
.product-menu{
    width: 20%;
    padding: 0 20px;
}

.product-menu h3{
    font-size: 14px;
    color: #66cc33;
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
}

.product-menu li{
    padding: 6px 0;
    font-size: 16px;
}


.product-content{
    width: 80%;
    padding: 0 0 0 40px;
}

.product-main{
    display: flex;
}

.product-img{
    width: 60%;
}

.product-line{
    padding: 6px 6px 3px 6px;
    border: 1px solid #e5e5e5;
    background-color:#fff;
}


.product-img-box img{
    width: 100%;
    
}

.product-img-box ul{
    display: flex;
    margin: 10px 0 0 0;
}

.product-img-box li{
    width: 25%;
    padding: 6px 6px 3px 6px;
    border: 1px solid #e5e5e5;
    margin-right: 5px;
}

.product-img-box li:last-child{
    margin-right: 0px;
}



.product-info{
    width: 40%;
    margin: 0 0 0 20px;
    
}

.product-info h3{
    font-size: 16px;
    color: #ff6633;
}

.product-info h1{
    font-size: 24px;
    padding: 10px 0;
}

.product-info h2{
    font-size: 24px;
    padding: 10px 0;
    color: #ff0000;
    margin: 10px 0 0 0;
}

.product-info p{
    font-size: 16px;
    line-height: 24px;
    padding: 10px 0;
}


.product-note{
    margin: 80px 0 0 0;
}

.product-note p{
    font-size: 16px;
    line-height: 30px;
}



/* 頁數 */

.pages{
    margin: 40px 0;
}

.pages ul{
    display: flex;
    justify-content: center;
}

.pages li a{
    background-color: #e5e5e5;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    padding: 10px;
    margin: 0 10px;
    display: block;
}

.pages li a:hover{
    background-color: #ff6633;
    color: #fff;
}

.pages li a:focus{
    background-color: #ff6633;
    color: #fff;
}


/*--------------------*/
/* footer CSS */
/*--------------------*/

.info h3{
    font-size: 18px;
    padding: 0;
    margin: 0;
    line-height: 30px;
}

.footer-link{
    width: 33%;
    text-align: center;
}

.footer-link img{
    width: 200px;
}


.mail{
width: 25%;
}

.mail h3{
    font-size: 14px;
}

.mail-icon{
    width: 50px;
    margin: 0 16px 0 0;
}


.copyright{
    font-size: 12px;
    text-align: center;
    color: #808080;
}

a.product-box, a.category-icon {
    display: block;
}

a.product-box:hover, a.product-box:focus, 
a.category-icon:hover, a.category-icon:focus {
    color: inherit; 
}

a.btn-primary:hover, a.btn-primary:focus {
    color: white;
}

.hidden {
    display: none;
}

.d-line-block {
    display: inline-block;
}

.text-center {
    text-align: center;
}

.list-info li {
    line-height: 2em;
}

.product-range li a.auto-fit {
    width: auto;
}
