/*----------解決overflow-x:hidden後,平板手機滾動不順的問題---------------*/
* {
  -webkit-overflow-scrolling: touch;
}

.index-needHelp{
	font-size:7em;
	color:#595959;
}

/*----------finalButton2-START---------------*/
.finalButton2{
  margin: 0;
  width: 100%;
  height: auto;
  float: left;
  background-color:#e7e7e7;
  padding-top:1%;
  padding-bottom:3%;
}

.finalButton2 .contents {
  width: 500px;
  height: auto;
  padding: 0 5px;
  margin: 5% auto;
  box-sizing: border-box;
}

.finalButton2 .contents .box {
  width: 96%;
  height: auto;
  float: left;
  margin: 1% 2%;
  padding: 20px;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
	margin-bottom:10%;
}
.finalButton2 .contents .box h2 {
  width: 100%;
  float: left;
  display: block;
  color: #595959;
  line-height: 1.5em;
  margin: 15px 0 10px 0;
  text-align: center;
}
.finalButton2 .contents .box .Photo {
  width: 100%;
  height: auto;
  float: left;
  color: #595959;
}

.finalButton2 .contents .box span {
  width: 100%;
  float: left;
  display: block;
  color: #595959;
  text-align: center;
}
.finalButton2 .contents .box .mylinks {
 float: left;
 margin-top:5%;
 text-decoration:none;
 color: #e5a900;
 width: 100%;
 display: block;
 text-align: center;
 cursor:pointer;
}

.finalButton2 .contents .box .mylinks:hover {
text-decoration:underline;
}

.finalButton2 .contents .box a {
 text-decoration:none;
}





@media only screen and (max-width: 1366px) {


.finalButton2 {
padding-bottom:1%;
}

.finalButton2 .contents {
    width: 500px;
    margin: 35px auto;
}

}

@media only screen and (max-width: 1024px) {

.finalButton2 {
padding-top:4%;
}

.finalButton2 .contents {
  width: 500px;
}

.finalButton2 .contents .box {
  width: 100%;
}

}

@media only screen and (max-width: 768px) {
.finalButton2 .contents {
    width: 500px;
    margin: 20px auto;
  }
.finalButton2 .contents .box {
    width: 98%;
    margin: 1%;
    padding: 10px;
	margin-bottom:10%;
  }
  
  .finalButton2{
	padding-top:5%;
	padding-bottom:6%;	
}

.finalButton2 .contents .box {
    width: 96%;
    margin: 5% 2%;
    padding: 10px;
	min-height:225px;
  }

}

@media only screen and (max-width: 600px) {
.finalButton2{
padding-top:10%;
padding-bottom:10%;
  }

.finalButton2 .contents {
    width: 100%;
    margin: 20px auto;
  }
.finalButton2 .contents .box {
    width: 96%;
    margin: 5% 2%;
    padding: 10px;
	min-height:225px;
  }
  
.finalButton2 .contents .box:nth-child(4) {
margin-bottom:20%;
  }

}

html,body{
    width: 100%;
    height: 100%;
    overflow:auto;
    text-decoration:none;
}




/*警告視窗, 已選超過超出3個產品*/
.warningModal{
	margin-top:10%;
}

.productImg{
	max-width:240px;
}
@media only screen and (max-width: 1024px) {
.productImg{
	max-width:200px;
}
}

@media only screen and (max-width: 768px) {
.productImg{
	max-width:240px;
}
}

.comparePanle{
	top:144px;
	height:40px;
	opacity:1;
}

h1{
color:#595959;
}

h2{
color:#595959;
}


h4{
color:#595959;
}
/*這是產品說明span*/
h5{
display:block;
text-align:center;
color:#595959;
    }


a{
    text-decoration:none;
}
.imgFill1{
    width: 100%;
}
.panwidth{
    width: 80%;
}
.relPos{
    position: relative;
}
.addButtonCircular
{
	width: 30px;
	height: 30px;
	line-height: 30px;
	/*position: absolute;*/
	margin:0 auto;
	/*right: 20px;*/
	cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.selected{
    /*border-style:solid !important;*/
	border-style:none !important;
    border-color:#d9d9d9 !important;
    border-width:thin !important;
		background:#fdf7ed; 	
}
.rotateBtn{
    -webkit-transform : rotate(45deg); 
    -moz-transform : rotate(45deg); 
    -ms-transform : rotate(45deg); 
    -o-transform : rotate(45deg); 
    transform : rotate(45deg); 
}
.comparePanle{
    position: fixed;
    bottom: 10px;
    width:90%;
    left:50%;
    transform: translateX(-50%);
    display: none;
    z-index: 3;
}
.product {
    list-style-type: none;
    /*border: 1px solid blue;*/
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.product:hover {
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
}

.product .header {
    background-color: #111;
    color: white;

}

.product li {
    border-bottom: 1px solid #B5B4B7;
    padding: 10px;
    text-align: center;
}

.product .grey {
    background-color: #eee;
}
.modPos{
    padding-top: 25px ;
}
/*這是跳出來的框*/
.contentPop{
    width: 98%;
    margin-left: 1%;
    height: auto;
}
.compHeader{
    min-height: 170px;
}

.compHeader img{
    max-width: 270px;
	height: auto;
}




.titleMargin{
    padding: 4px 0px 4px 4px;
}
.titleMargin1{
    padding: 0px 0px 0px 4px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.contents{
width:1300px;
margin:0 auto;
}

.box{
  min-height:330px;/*--20210311-cms-ws--*/
	margin-bottom:20%;
	border-radius:5px;
}
/*20210809*/
html, body {
    width: 100%;
    height: 100%;
    overflow: auto;
    text-decoration: none;
}
.marg_bottom{
    margin: 4% 0 5% 0;

}
.modal{
    z-index:3;
    display:none;
    margin-top:5%;
    padding-top:100px;
    padding-bottom:10%;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:rgb(0,0,0);
    background-color:rgba(0,0,0,0.4)
}
.modPos{
    padding-top: 40px ;
}

li.Inquiry a{
  color: #e5a900;
  text-decoration: none;
}
li.Inquiry a:hover{
  color: #e5a900;
  text-decoration: underline;
}

.addcoloryellow{
    color: #e5a900 !important ;
}

.fas.fa-check{
   transform: scale(0.6);
}

.comparewbtn{
    background-color:#e5a900 ;
    color: #fff;
    border-radius: 30px;
    padding: 5px 30px;
}

.back_to_compare_btn{
    background-color: #f2f2f2;
    color:#e5a900;
    border-radius: 30px;
    padding: 5px 30px;
}
.container {
    padding: 0.01em 11px;
}
.container:after {
    content: "";
    display: table;
    clear: both;
}

a.inquiry_link{
    display: block;
    text-align: center;
    color:#e5a900;
    margin-bottom: 20px;
    text-decoration: none;
}
a.inquiry_link:hover{
    text-decoration: underline;
}

.w3-col ul{
  display: grid;
  grid-template-columns:100%;
  grid-template-rows:auto repeat(13, 80px) ;
}
.w3-col ul li {
  display: flex;
  justify-content: center;
  align-items: center;
}
.list-content {
  width: 100%;
}
/*--contents1680寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1680px) {
.backToSelect{
margin-top:2%;
}

.compHeader{
    min-height: 170px;
}

.compHeader img{
    max-width: 270px;
	height: auto;
}
.modPos{
    padding-top: 80px ;/*20210809*/
}

}

/*--contents1366寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1366px) {
.contents{
width:1024px;
}
.backToSelect{
margin-top:4%;
}
.compHeader{
    min-height: 190px;
}
/*20210809*/
.modPos{
    padding-top: 70px ;/*20210809*/
}
.w3-col ul{
  grid-template-rows:auto repeat(3, 80px) 100px repeat(9, 80px) ;
}
}

/*--contents1024寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
.contents{
width:768px;
}
.backToSelect{
margin-top:6%;
}
    .compHeader{
    min-height: 145px;
}

.compHeader img{
    max-width: 200px;
	height: auto;
}
/*20210809*/
.modPos{
    padding-top: 80px ;
}
.w3-col ul{
  grid-template-rows:auto repeat(2, 80px) 100px 140px repeat(9, 80px) ;
}
}

/*--contents768寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
.contents{
width:600px;
}
.backToSelect{
margin-top:100px;
}

.compHeader{
    min-height: 120px;
}

.compHeader img{
    max-width: 170px;
	height: auto;
}
/*20210809*/
.modPos{
    padding-top: 120px ;
}
.w3-col ul{
  grid-template-rows:auto repeat(2, 80px) 80px 140px repeat(4, 80px) repeat(4, 100px) ;
}
}

/*--contents600寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 600px) {
.contents{
width:100%;
}

.backToSelect{
margin-top:144px;
}

.warningModal{
	margin-top:50%;
}

.productImg{
	max-width:240px;
	float:left;
	box-sizing: border-box;
	width:100%;
	height:auto;
	padding-bottom:10px;
}
/*20210809*/
.modPos{
    padding-top: 144px ;
}
.w3-col ul{
  grid-template-rows:auto repeat(2, 80px) 80px 140px repeat(4, 80px) repeat(4, 140px) 80px;
}
}
/*20210809*/
/*--contents 425寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 425px) {
.w3-col ul{
  grid-template-rows:auto repeat(2, 80px) 100px 160px repeat(2, 80px) 100px 80px repeat(4, 140px) 80px;
}
}

/*--contents 320寬開始--------------------------------------------------------------------------------*/
@media only screen and (max-width: 320px) {
.w3-col ul{
  grid-template-rows:auto repeat(2, 80px) 100px 160px repeat(2, 80px) 100px 80px 140px 140px 160px 140px 100px;
}
}

@media only screen and (max-width: 992px) {
.box{
	margin:auto;
		margin-bottom:20%;
}
}




@media only screen and (max-width:992px) and (min-width:600px){
  li{
    }  
}
@media only screen and (max-width:992px){
    .titleMargin{
    padding: 4px 0px 0px 4px;
}
    .titleMargin1{
    padding: 0px 0px 0px 4px;
     margin-top: 0px !important;
    margin-bottom: 0px !important;
        
}
    
}


@media only screen and (max-width:600px){
    li{

    }
    .comparePanle h4{

    }
    .compareThumb{
     height: 100px;
    }
    .compHeader{
    min-height: 65px;
}

.compHeader img{
max-width: 75px;
	height: auto;
}
}
@media only screen and (min-width:993px){
.comparePanle{
    position: fixed;
    bottom: 10px;
    width:50%;
    left:50%;
    transform: translateX(-50%);
    display: none;
    z-index: 3;
}
}
