/*@font-face {
  font-family: NotoSansCJKtc;
  src: url('../NotoSansCJKtc-Regular.otf') format("opentype");
}*/
@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
html,
body {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 12pt;
}
.hidden {
  display: none;
}
.nopadding {
  padding: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.noscroll {
  position: fixed;
  overflow-y:scroll;
}
body.noscroll{
    position:initial;
}
.top-header {
  display:table;
  width: 100%;
  background: -webkit-linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0) 75%, #f6f6f6 100%); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0) 75%, #f6f6f6 100%); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0) 75%, #f6f6f6 100%); /* For Firefox 3.6 to 15 */
  background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0) 75%, #f6f6f6 100%); /* Standard syntax */
}
.top-header .top-header-logo{
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.bottom-footer {
  position: absolute;
  bottom: 0;
  display:table;
  width: 100%;
  background: -webkit-linear-gradient(#f6f6f6 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 100%); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#f6f6f6 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 100%); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#f6f6f6 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 100%); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#f6f6f6 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0) 100%); /* Standard syntax */
}
.bottom-footer .bottom-footer-text {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
  font-size: 11pt;
}
.bottom-footer .bottom-footer-text a {
  color: Black;
}
.lightbox-mask {
  display: none;
  z-index: 1000;
  position:fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgb(0, 0, 0); /* The Fallback */
  background: rgba(0, 0, 0, 0.3);
}
.lightbox {
  display: none;
  z-index: 1010;
  position:fixed;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto;
  background: #FFF;
}
.lightbox .cross {
  position: absolute;
}
.lightbox .cross .cross-wrapper {
  position: relative;
  height: 100%;
}
.lightbox .cross img {
  max-width: 90%;
  position: absolute;
  left: 0;
  bottom: 0;
}
/* mobile */
@media only screen and (max-width: 767px) {
  /*body{
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -khtml-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }*/
  .top-header {
    margin-bottom: 1vw;
  }
  .top-header .top-header-logo {
    padding-top: 1.5vw;
    padding-bottom: 1.5vw;
    height: 15vw;
  }
  .top-header .top-header-logo img {
    height: 100%;
  }
  .content {
    padding-bottom: 15vw;
  }
  .bottom-footer .bottom-footer-text {
    height: 15vw;
    font-size: 2.5vw;
  }

body.noscroll{
    position:initial;
    overflow:hidden;
}
.lightbox .content {
    	-webkit-overflow-scrolling: touch;
	  overflow-y: scroll;
}
  .lightbox {
    width: 90%;
    top: 5vh;
    height: 90vh;
/*    overflow: scroll;*/
    border: #65CAC8 solid 6vw;
  }
  .lightbox .cross {
    width: 6vw;
    height: 6vw;
    top: -6vw;
    right: -6vw;
  }
  .lightbox .content {
    padding: 6vw;
    height: 100%;
  }
}
/* desktop */
@media only screen and (min-width: 768px) {
  .top-header {
    margin-bottom: 5px;
  }
  .top-header .top-header-logo {
    padding-top: 15px;
    padding-bottom: 15px;
    height: 107px;
  }
  .top-header .top-header-logo img {
    height: 100%;
  }
  .content {
    padding-bottom: 80px;
  }
  .bottom-footer .bottom-footer-text{
    height: 80px;
  }


  .lightbox {
    width: 90%;
    top: 5vh;
    max-width: 800px;
    height: 90vh;
    border: #65CAC8 solid 30px;
  }
  .lightbox .cross {
    width: 30px;
    height: 30px;
    top: -30px;
    right: -30px;
  }
  .lightbox .content {
    padding: 30px;
    height: 100%;
  }
}
