@charset "utf-8";
/*-----------------------for both-----------------------*/
/*----gallery-----*/
.indexGallery li a {
  display: block;
  position: relative;
}
.indexGallery li a p {
  width: 100%;
  padding: 5px 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #FFF;
}
#countryLinks li.taiwan a p {
  background-color: #333;
}
#countryLinks li.vietnam a p {
  background-color: #E70012;
}
#countryLinks li.bangla a p {
  background-color: #8DC21F;
}
#countryLinks li.myanmar a p {
  background-color: #F6AB00;
}
#countryLinks li.cambo a p {
  background-color: #1E51A2;
}
#countryLinks li.thailand a p {
  background-color: #a99536;
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*-------------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;
  }
  /*-----------------countryLinks------------*/
  #countryLinks {
    width: 80%;
    display: flex;
    /*flex-wrap: nowrap;
    flex-direction: row;*/
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
      margin: 0 auto
  }
  #countryLinks li {
    width: 15.8%;
    margin:0px .5%;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #countryLinks li.taiwan {
    background-image: url(../images/taiwan.jpg);
  }
  #countryLinks li.vietnam {
    background-image: url(../images/HoChiMinh.jpg);
  }
  #countryLinks li.bangla {
    background-image: url(../images/Dhaka.jpg);
  }
  #countryLinks li.myanmar {
    background-image: url(../images/Yangon.jpg);
  }
  #countryLinks li.cambo {
    background-image: url(../images/Phnom.jpg);
  }
  #countryLinks li.thailand {
    background-image: url(../images/thailand.jpg);
  }
  #countryLinks li:last-of-type {
    margin-right: 0;
  }
  #countryLinks li a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    color: #fff;
  }
  #countryLinks li a p {
    position: absolute;
    width: 100%;
    padding: 10px;
    bottom: 0;
    font-size: 21px;
    opacity: 0.8;
    font-weight: bold;
    background-image: url(../images/link.png);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px 24px;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  #countryLinks li a span {
    font-size: 17px;
    font-weight: normal;
  }
  #countryLinks li a:hover p {
    padding: 30px 10px;
    opacity: 1.0;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  /*----------------- 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 p {
    margin-top: 5px;
  }
  #indexNews li a span {
    background: #eee;
    padding: 2px 5px;
  }
  /*------------------ indexExpoList ----------------------*/
  .indexLeft {
    width: 48.5%;
    float: left;
  }
  .indexRight {
    width: 48.5%;
    float: right;
  }
  .indexExpoList li {
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 10px;
  }
  .indexExpoList li:last-child {
    margin: 0;
  }
  .indexExpoList li div.indexExpoListLeft {
    width: 100px;
    height: 100px;
    border: 1px solid #EBEBEB;
    float: left;
    position: relative;
  }
  .indexExpoList li div.indexExpoListRight {
    width: auto;
    margin-left: 115px;
  }
  .indexExpoList li p.time {
    display: none;
  }
  .indexExpoList li p {
    /*width: auto;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;*/
  }
  .indexExpoList li h4 {
    width: auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .indexExpoList li:first-child div.indexExpoListLeft {
    width: 200px;
    height: 200px;
  }
  .indexExpoList li:first-child .textLink dd a {
    margin-bottom: 7px; /**/
  }
  .indexExpoList li:first-child h4 {}
  .indexExpoList li:first-child div.indexExpoListRight {
    width: auto;
    margin-left: 215px;
  }
  .indexExpoList li:first-child p.time {
    display: block;
  }
  /*----------------- 首頁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;
  }
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*-------------banner--------------------*/
  #bannerWrapper {
    width: 100%;
    margin-top: 100px;
  }
  .contentIndex {
    padding: 0 15px;
  }
  /*-----------------countryLinks------------*/
  #countryLinks {
    margin: 0 15px;
  }
  #countryLinks li {
    margin-bottom: 10px;
  }
  #countryLinks li:last-of-type {
    margin-bottom: 0;
  }
  #countryLinks li a {
    display: block;
    width: 100%;
    color: #fff;
  }
  #countryLinks li a p {
    width: 100%;
    padding: 10px 15px;
    font-size: 29px;
    font-weight: bold;
    background-image: url(../images/link.png);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 30px 30px;
  }
  #countryLinks li a span {
    font-size: 19px;
    font-weight: normal;
  }
  /*----------------- indexNews -----------------------*/
  #indexNews ul.swiper-wrapper {
    position: static;
    width: 100%;
    overflow: auto;
    float: none;
    display: block
  }
  #indexNews ul li, #indexExPress li {
    border-bottom: 1px solid #EBEBEB;
    padding: 10px 0;
  }
  #indexNews li:first-child {
    padding-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;
  }
  .indexNewsLeft {
    float: left;
    width: 80px;
  }
  .indexNewsRight {
    width: auto;
    margin-left: 90px;
  }
  /*------------------ indexExpoList ----------------------*/
  .indexLeft {
    margin-bottom: 20px;
  }
  .indexExpoList li {
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid #EBEBEB;
    padding-bottom: 10px
  }
  .indexExpoList li:last-child {
    margin: 0;
  }
  .indexExpoList li div.indexExpoListLeft {
    width: 80px;
    border: 1px solid #EBEBEB;
    float: left;
    position: relative;
  }
  .indexExpoList li div.indexExpoListRight {
    width: auto;
    margin-left: 90px;
  }
  .indexExpoList li p.time {
    display: none;
  }
}