@font-face {
  font-family: 'FPTBook';
  src: url("../font/fptBook.eot");
  src: url("../font/fptBook.eot?#iefix") format("embedded-opentype"), url("../font/fptBook.woff2") format("woff2"), url("../font/fptBook.woff") format("woff"), url("../font/fptBook.ttf") format("truetype"), url("../font/fptBook.svg#fptBook") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FPTLight';
  src: url("../font/fptLight.eot");
  src: url("../font/fptLight.eot?#iefix") format("embedded-opentype"), url("../font/fptLight.woff2") format("woff2"), url("../font/fptLight.woff") format("woff"), url("../font/fptLight.ttf") format("truetype"), url("../font/fptLight.svg#fptLight") format("svg");
  font-weight: 300;
  font-style: normal;
}

/* --- pop up modal --- */
#mymodal {
  position: fixed;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 17px;
}

#mymodal .modal-close {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#mymodal .dialog {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: auto;
  max-width: 800px;
  min-height: 100%;
  margin: 0 auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#mymodal .dialog .content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  pointer-events: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  border-radius: .3rem;
  outline: 0;
  /*max-height:400px;
			height:100%;
			flex-direction: column;
			top:50%;
			transform:translateY(-50%);
			*/
  border: 4px solid rgba(255, 255, 255, 0.2);
  padding: 50px;
  margin-top: 20px;
}

#mymodal .dialog .content .wrapper {
  width: 100%;
}

#mymodal .dialog .content .wrapper img {
  width: 80%;
  margin: auto;
  display: block;
  padding-top: 5px;
  padding-bottom: 10px;
  position: relative;
  z-index: 10;
}

#mymodal .dialog .content .wrapper img.details {
  width: 69%;
}

#mymodal .dialog .content .wrapper p.wording {
	  max-height: 350px;
	  overflow-y: auto;
	  font-family: "FPTLight", "Helvetica Neue", Helvetica, Arial, STHeitiTC-light, STHeiti, "Microsoft JhengHei", sans-serif;
	  font-size: 18px;
	  text-align: justify;
	  padding: 15px 10px;
	}

@media (max-width: 320px) {
	#mymodal .dialog .content .wrapper p.wording {
	  font-size: 16px;
	}
}
#mymodal .dialog .content .wrapper a.applyButton {
  width: 73%;
  margin: auto;
  background-color: #dc2229;
  border-radius: 100px;
  display: block;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  padding: 10px 0;
  margin-top: 25px;
  margin-bottom: 25px;
  cursor: pointer;
  -webkit-transition: background-color .2s linear;
  transition: background-color .2s linear;
}

#mymodal .dialog .content .wrapper a:hover {
  background-color: #ff323a;
}

#mymodal .dialog .content .wrapper span {
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  opacity: .7;
  -webkit-transition: opacity .2s linear;
  transition: opacity .2s linear;
  z-index: 11;
}

#mymodal .dialog .content .wrapper span:hover {
  opacity: 1;
}

.overflowHidden {
  overflow: hidden;
}

@media (max-width: 768px) {
  #mymodal {
    padding-right: 0;
  }
}

@media (max-width: 468px) {
  #mymodal .dialog .content {
    padding: 40px;
    margin-top: 0px;
  }
  #mymodal .dialog .content .wrapper img {
    width: 100%;
  }
  #mymodal .dialog .content .wrapper img.details {
    width: 83%;
  }
  #mymodal .dialog .content .wrapper a {
    width: 85%;
  }
  #mymodal .dialog .content .wrapper span {
    top: 0;
    right: 5px;
  }
}
/*# sourceMappingURL=modal.css.map */


/* W&H 2018 visual */
.background-image{position: absolute; width:100%; left:0px;top:0px;height:225px;z-index: 1;overflow: hidden;}
#mymodal .dialog .content .wrapper .background-image img{position: sticky;width: 100%;padding:0;top:-100px;}