@charset "utf-8";
/*-----------------------for both-----------------------*/
.galleryIndex li {
  float: left;
  width: 32%;
  margin: 0 2% 2% 0;
}
.galleryIndex li:nth-child(3n) {
  margin-right: 0;
}
.galleryIndex li:nth-child(n+7):nth-child(-n+9) {
  margin-bottom: 0;
}
/*show 30 pics 但是10-30張隱藏*/
.galleryIndex li:nth-child(n+10):nth-child(-n+30) {
  display: none;
}
/*------News type---------*/
#indexNews li em {
  color: #333;
  font-size: 13px;
  background: #999;
  padding: 0px 4px;
  text-align: center;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}
#indexNews li em.news {
  background: #3F51B5;
}
#indexNews li em.press {
  background: #FF9800;
}
/*---------------------- notice ------------------------*/
#notice {
  position: fixed;
  right: auto;
  bottom: 0px;
  width: 100%;
  height: auto;
  /*cursor: pointer;*/
  display: none;
  z-index: 123;
  /*-webkit-border-radius: 10px;*/
  /*border-radius: 10px;*/
  padding: 30px;
  color: #F8FF00;
  background: #000;
  _filter: alpha(opacity=70); /*IE6*/
  filter: alpha(opacity=70); /*IE7*/
  -moz-opacity: 0.70; /*fireFox*/
  background: rgba(0, 0, 0, 0.7); /*chrome*/
  text-align: center;
  font-size: 25px;
}
#notice i.fa-exclamation-triangle {
  font-size: 150%;
  text-align: center;
  vertical-align: middle
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:901px) {
  /*-------------banner--------------------*/
  #bannerWrapper {
    width: 100%;
    background: #000;
  }
  #banner {
    position: relative;
  }
  .bannerslide li {
    width: 65%;
  }
  .bannerslide .swiper-slide {
    opacity: 0.5;
  }
  .bannerslide .swiper-slide.swiper-slide-active {
    opacity: 1;
  }
  /*----------------- indexNews -----------------------*/
  #indexNews li {
    float: left;
    position: relative;
    width: 25%;
  }
  #indexNews li a {
    width: 100%;
    display: block;
    -webkit-box-sizing: border-box;
    text-decoration: none;
    color: #333;
  }
  #indexNews li div.hoverDesc {
    width: 100%;
    height: 0;
    padding: 6% 20px 60% 20px;
    color: rgba(255, 255, 255, 0);
    background: rgba(0, 0, 0, 0);
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 0;
    transition: all 0.3s ease-out; /*ie*/
  }
  #indexNews li:hover div.hoverDesc {
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.7);
  }
  #indexNews li a span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 13px;
  }
  /*for index 新聞稿*/
  #indexExPress li {
    width: 32%;
    float: left;
    margin: 1% 2% 1% 0;
  }
  #indexExPress li:nth-child(3n) {
    margin-right: 0;
  }
  #indexExPress li div.indexNewsLeft {
    width: 100px;
    height: 100px;
    float: left;
  }
  #indexExPress li div.indexNewsRight {
    margin-left: 110px;
    width: auto;
  }
  #indexExPress li div.indexNewsRight p {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 50px;
    width: auto;
  }
  #indexExPress li div.indexNewsRight span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
  }
  /*-----------------展覽亮點-------------------*/
  #featureWrapper {
    width: 100%;
    background-image: url(../images/bgFeature.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 35px 0;
  }
  #featureWrapper h3 {
    color: #fff;
  }
  #feature {
    width: 80%;
    min-width: 1024px;
    margin: 0 auto;
  }
  #feature li {
    display: block;
    float: left;
    color: #fff;
    width: 30%;
    margin-right: 5%;
    text-align: center;
  }
  #feature li h1 {
    border: 0;
    padding: 0;
    text-transform: uppercase;
  }
  #feature li:nth-child(3) {
    margin-right: 0;
  }
  #feature li span {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    background-image: url(../images/icon_feature.png);
    background-repeat: no-repeat;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out; /*ie*/
    transform: perspective(100px) rotate(0deg);
  }
  #feature li:hover span {
    transform: perspective(100px) rotate(360deg);
  }
  #feature li:nth-child(2) span {
    background-position: center left;
  }
  #feature li:nth-child(3) span {
    background-position: bottom left;
  }
  /*----------------factsheet----------------*/
  #factLeft {
    float: left;
    width: 65%;
  }
  #factLeftLeft {
    width: 48%;
    float: left;
  }
  #factLeftRight {
    float: right;
    width: 48%;
  }
  .googleMapIndex {
    width: 100%;
    vertical-align: bottom;
  }
  #factLeftLeft h3 {
    border-top: 1px solid #ddd;
    padding-top: 20px
  }
  #factLeftLeft h3:nth-child(1) {
    border-top: none;
    padding-top: 0px;
  }
  /*----------------factsheet right----------------*/
  #factRight {
    width: auto;
    margin-left: 67%
  }
  /*----------------- 首頁partner---------------*/
  #partner li {
    float: left;
    width: 10.75%;
    margin: 0 2% 2% 0;
  }
  #partner li:nth-child(6n) {
    margin-right: 2%;
  }
  #partner li:nth-child(8n) {
    margin-right: 0;
  }
  /*-----------------advBanner---------------*/
  #advBanner li {
    float: left;
    width: 15%;
    margin: 0 2% 2% 0;
    text-align: center;
  }
  #advBanner li:nth-child(6n) {
    margin-right: 0;
  }
}
/*------------------for mobile------------------------*/
@media screen and (max-width:900px) {
  /*-------------banner--------------------*/
  #bannerWrapper {
    width: 100%;
  }
  .contentIndex {
    padding: 0 15px;
  }
  /*----------------- indexNews -----------------------*/
  #indexNews ul.swiper-wrapper {
    position: static;
    width: 100%;
    overflow: auto;
    float: none;
    display: block
  }
  #indexNews ul li, #indexExPress li {
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
  }
  #indexNews ul li:first-child, #indexExPress li:first-child {
    border-top: none;
    padding-top: 0;
  }
 
  #indexNews li em {
    top: 10px;
  }
  #indexNews li:first-child em {
    top: 0;
  }
  /*5-8則隱藏*/
  #indexNews ul li:nth-child(n+5):nth-child(-n+9), #indexExPress li:nth-child(n+5):nth-child(-n+9) {
    /*display: none;*/
  }
  #indexNews ul li a {
    width: 100%;
    display: block;
    text-decoration: none;
    color: #333;
    overflow: auto;
  }
  #indexNews li a span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
  }
  .indexNewsLeft {
    float: left;
    width: 80px;
  }
  .indexNewsRight {
    width: auto;
    margin-left: 90px;
  }
  #indexExPress li div.indexNewsRight span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
  }
  .indexNewsRight p {
    margin: 3px 0px;
  }
  /*-----------------展覽亮點-------------------*/
  #featureWrapper {
    width: 100%;
    background-image: url(../images/bgFeature.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 20px 15px;
  }
  #featureWrapper h3 {
    color: #fff;
  }
  #feature li {
    display: block;
    color: #fff;
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 20px;
    text-align: center;
  }
  #feature li h1 {
    border: 0;
    padding: 0;
    text-transform: uppercase;
  }
  #feature li:nth-child(3) {
    margin: 0;
    padding: 0;
    border: 0;
  }
  #feature li span {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    background-image: url(../images/icon_feature.png);
    background-repeat: no-repeat;
  }
  #feature li:nth-child(2) span {
    background-position: center left;
  }
  #feature li:nth-child(3) span {
    background-position: bottom left;
  }
  /*----------------factsheet----------------*/
  #factLeftRight {
    display: none;
  }
  #factLeftLeft h3 {
    border-top: 1px solid #ddd;
    padding-top: 20px
  }
  #factRight {
    text-align: center;
    margin-top: 20px;
  }
  /*-----------------advBanner---------------*/
  #advBanner li {
    float: left;
    width: 49%;
    margin: 0 2% 2% 0;
    text-align: center;
  }
  #advBanner li:nth-child(even) {
    margin-right: 0;
  }
  /*---------------------- notice ------------------------*/
  #notice {
    width: 100%;
    right: auto;
    font-size: 17px;
    text-align: center;
  }
  #notice i.fa-exclamation-triangle {
    font-size: 150%;
    text-align: center;
    vertical-align: middle
  }
}