#indexbanner,#indexbanner img {
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  /* Firefox 4 */
  -webkit-transition: all 0.5s;
  /* Safari and Chrome */
  -o-transition: all 0.5s;
  /* Opera */
}

#indexbanner {
  display: block;
  width: 100%;
  height: 600px !important;
  position: relative;
  background: var(--color_B);
  overflow: hidden;
  z-index: 1;
}

.ei-slider {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

#indexbanner li img {
  width: 100%;
  height: 100%;
  position: relative;
  /* float: left; */
  overflow: hidden;
  z-index: 4;
}


.ei-slider-loading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 500;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  line-height: 400px;
}

.ei-slider-large li {
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* .ei-slider-large li img {
  width: 100%;
} */


#indexbanner .indexbanner_textBox {
  position: absolute;
  display: block;
  width: 1000px;
  height: 120px;
  z-index: 100;
}

/* #indexbanner .indexbanner_textBox {
  margin-top: -450px;
  right: 0;
  background-image: linear-gradient(to left, var(--color_M1) 70%, transparent 100%);
} */
#indexbanner .indexbanner_textBox {
  margin-top: -450px;
  left: calc(50% - 500px);
  text-align: center;
  background-image: linear-gradient(to left,transparent 0, var(--color_M1) 30%, var(--color_M1) 70%, transparent 100%);
}


#indexbanner h1,#indexbanner h2 {
  position: relative;
  z-index: 7;
  color: #fff;
  letter-spacing: 0.03em;
  font-weight: bold; 
  margin-top: 10px;
}

#indexbanner h1 span,#indexbanner h2 span{
  letter-spacing: normal;
  font-weight: bold;
}

/* #indexbanner h1 {
  font-size: 50px;
  line-height: 1em;
  right: 20%;
  text-align: right;
  
}

#indexbanner h1 span {
  font-size: 38px;
} */

#indexbanner h1 {
  font-size: 45px;
  line-height: 1em;
  /* margin-top: -100px; */
}

#indexbanner h1 span {
  font-size: 35px;
}


.productBox {
  width: 600px;
  height: 350px;
  background-repeat: no-repeat;
  position: absolute;
  text-align: center;
  /* margin-top:-20px;
	right:0; */
  z-index: 50;
  display: none;
}

.productBox1 {
  left: 15%;
  top: 30%;
}

.productBox2 {
  right: 10%;
  top: 30%;
}

.productBox img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: auto !important;
  margin-top: 5px !important;
  /* display: none; */
}


.productBox a {
  display: block;
  width: 29%;
  float: left;
  margin: 10px 1%;
  padding: 1%;
  background: var(--color_C);
  color: var(--color_G3);
}

.productBox a:hover {
  background: var(--color_S2);
  color: var(--color_F);
}

.ei-title {
  position: relative;
  margin: auto;
  margin-top: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  /*區塊置中*/
  flex-wrap: wrap;
  /*超過換行*/
}

.ei-title a {
  width: 100%;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
  margin: auto;
  /* margin-left: 125px; */
  text-align: center;
  border: 3px solid var(--color_F);
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.15em;
  /* border-radius:20px; */
  color: var(--color_F);
  background: none;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  /* Firefox 4 */
  -webkit-transition: all 0.5s;
  /* Safari and Chrome */
  -o-transition: all 0.5s;
  /* Opera */
}

.productBox a,.ei-title a { width: 46%; margin: 0 2%;padding:0;height: 55px;box-sizing: border-box; }

.ei-title.black a {
  border: 3px solid #000;
  color: #000;
}

.ei-title a:hover {
  border: 3px solid var(--color_M1);
  color: var(--color_F);
  background: var(--color_M1);
}

.ei-title a h3{
  transition: all 0.5s;
-moz-transition: all 0.5s;
/* Firefox 4 */
-webkit-transition: all 0.5s;
/* Safari and Chrome */
-o-transition: all 0.5s;
}
.ei-title a { text-transform: uppercase; overflow: hidden;}
.ei-title a h3,.ei-title a span{ font-size: var(--size_normal); line-height: 55px;}
.ei-title a:hover h3{ margin-top: -55px;}

.ei-slider-thumbs {
  position: absolute;
  width: 60px;
  bottom: 20px;
  right:calc( 50% - 30px);
  z-index: 50;
}

.ei-slider-thumbs li {
  list-style: none;
  position: relative;
  float: left;
  width: 10px !important;
  height: 10px;
  max-width: 10px !important;
  margin: 0 5px;
  border-radius: 50%;
  border: 3px solid var(--color_F);
}

.ei-slider-thumbs li.ei-slider-element {
  /* display: none; */
  top: 0px;
  left: 0px;
  position: absolute;
  z-index: 100;
  height: 10px;
  text-indent: -9000px;
  background: var(--color_F);
  width: 10px;
  /* border-radius:0; */
}

.ei-slider-thumbs li a {
  display: block;
  text-indent: -9000px;
  background: none;
  width: 10px;
  max-width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;

  /* -webkit-transition: background 0.2s ease;
    -moz-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    -ms-transition: background 0.2s ease;
    transition: background 0.2s ease; */
}

.ei-slider-thumbs li a:hover {
  background-color: #f0f0f0;
}

.ei-slider-large li h3{
  color: #fff;
}


@media only screen and (max-width: 1100px) {

  /* #indexbanner,
  #ei-slider {
    height: 500px !important;
  } */

  #indexbanner .indexbanner_textBox {
    width: 90%;
    left: 5%;
    /* margin-top: -370px; */
  }
}

@media screen and (max-width: 776px) {

  #indexbanner,
  #ei-slider {
    height: 600px !important;
  }

  .imageBox img {
    width: 100%;
    height: auto;

  }

    /**index***/
    #indexbanner .indexbanner_textBox{
      position: relative;
      width: 100%;
      left: 0;
      background-color: var(--color_M1);
      margin-top: -490px;
      height: 120px;
    }

    #indexbanner h1,#indexbanner h2 {
      text-align: center;
      width: 100%;
      right: 0;
      padding-top: 15px !important;
     
    }
    /* #indexbanner h1 {
      font-size: 45px; 
      line-height: 1.0em;
    }
    #indexbanner h1 span {
      font-size: 35px;
    } */
    #indexbanner h1 {
      font-size: 28px;
      line-height: 1.5em;
    }
    #indexbanner h1 span {
      font-size: 20px;
    }




  /* #indexbanner{ height:650px;} */

  .productBox {
    width: 350px;
  }

  .productBox1,
  .productBox2 {
    left: 15%;
    left: calc(50% - 175px);
    top: 250px;
    top: calc(100% - 400px);
  }

  .productBox img {
    width: 80% !important;
    height: auto !important;
    margin: auto;
  }

  .productBox {width: 90%; left: 5%; }
    

}

