/* CSS Document */
@charset "utf-8";
@import url("reset.css");
@import url("jquery.fancybox.css");
@import url(https://fonts.googleapis.com/css?family=Roboto);
/* CSS Document */
/*-------a:visited-------*/
/*-------font effect-----------*/
.clear {
  clear: both;
  height: 0px;
  line-height: 0px;
}
.bold {
  font-weight: bold;
}
.align_r {
  text-align: right;
}
.align_c {
  text-align: center;
}
/*-------btn effect-----------*/
.btn {
  -webkit-appearance: none; /*取消手機預設樣式*/
}
.btnStyle {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background-color: #a71168;
}
.btnStyle:hover {
  color: #FFF;
  background-color: #04C0BD;
}

/*---------ExhibitCalendar--------*/
.ExhCalendar {
  margin: 0 20px;
}
.ExhCalendar ul b {
  font-size: 110%;
}
.ExhCalendar li {
  margin: 10px;
  border-bottom: #efefef 1px solid;
  padding-bottom: 10px
}
.recThumb {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  html, body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 160%;
    font-family: 'Roboto', "微軟正黑體", sans-serif;
  }
  p {
    line-height: 160%;
  }
  h1, h2, h3, h4 {
    line-height: 120%;
  }
  .btn {
    padding: 6px 20px;
    line-height: 160%;
    font-size: 17px;
  }
  .textStyle {
    padding: 10px;
  }
  .NoShowInPC {
    display: none;
  }
  .event {
    width: 1200px;
    margin: 0 auto
  }
  .event h3 {
    line-height: 125%;
    /*text-transform: capitalize*/
  }
  /*----gallery-----*/
  .gallery {
    display: flex;
    justify-content: space-between;
  }
  .gallery li {
    flex: auto;
    width: 22.5%;
    margin: 1%;
    position: relative;
    border: 1px solid #061b34
  }
  .gallery li:nth-child(3n) {
    margin-right: 0;
  }
  .gallery li a p {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
  }
  .gallery li a p span {
    display: block;
    color: #FFF;
  }
  .gallery li div.hoverDesc {
    color: rgba(255, 255, 255, 0);
    background-color: rgba(0, 0, 0, 0);
    background-image: url(../images/iconEnlarge.png);
    background-repeat: no-repeat;
    background-size: 25% auto;
    background-position: center center;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
  }
  .gallery li:hover div.hoverDesc {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
  }
  
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
  }
  body {
    font-family: "微軟正黑體", "Roboto", sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
    min-height: 100%;
  }
  p {
    line-height: 150%;
  }
  h1, h2, h3, h4 {}
  .btn {
    font-size: 14px;
    padding: 6px 15px;
    -webkit-appearance: none; /*取消手機預設樣式*/
  }
  .textStyle {
    padding: 8px;
  }
  .alignCenterMobile {
    text-align: center
  }
  input, textarea, select {
    font-size: 14px;
    line-height: 150%;
  }
  .btnSmall {
    padding: 6px 10px;
  }
  .picForMobile {
    width: 100%;
    height: auto;
  }
  .NoShowInMobile {
    display: none;
  }
  .recThumb {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
  }
  .event {
    width: 93%;
    margin: 0 auto
  }
  .event h3 {
    line-height: 110%;
    margin: 15px 0;
    font-size: 120%;
    /*text-transform: capitalize*/
  }
  /*----gallery-----*/
  .gallery {
    display: flex;
    flex-wrap: wrap;
  }
  .gallery li {
    width: 49%;
    margin: 0 2% 2% 0;
  }
  .gallery li:nth-child(2n) {
    margin-right: 0;
  }
  .gallery li a {
    display: block;
    position: relative;
  }
  .gallery li a p {
    width: 100%;
    padding: 5px 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #FFF;
  }
  
}