@font-face {
  font-family: 'CenturyGothicRegular';
  src: url("../fonts/gothic.eot");
  src: url("../fonts/gothic.eot") format("embedded-opentype"), url("../fonts/gothic.woff") format("woff"), url("../fonts/gothic.ttf") format("truetype"), url("../fonts/gothic.svg#CenturyGothicRegular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CenturyGothicItalic';
  src: url("../fonts/gothici.eot");
  src: url("../fonts/gothici.eot") format("embedded-opentype"), url("../fonts/gothici.woff") format("woff"), url("../fonts/gothici.ttf") format("truetype"), url("../fonts/gothici.svg#CenturyGothicItalic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CenturyGothicBold';
  src: url("../fonts/gothicb.eot");
  src: url("../fonts/gothicb.eot") format("embedded-opentype"), url("../fonts/gothicb.woff") format("woff"), url("../fonts/gothicb.ttf") format("truetype"), url("../fonts/gothicb.svg#CenturyGothicBold") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CenturyGothicBoldItalic';
  src: url("../fonts/gothicbi.eot");
  src: url("../fonts/gothicbi.eot") format("embedded-opentype"), url("../fonts/gothicbi.woff") format("woff"), url("../fonts/gothicbi.ttf") format("truetype"), url("../fonts/gothicbi.svg#CenturyGothicBoldItalic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
    font-family: 'subset-NotoSansThaiUI-Bold';
    src: url('../fonts/subset-NotoSansThaiUI-Bold.woff2') format('woff2'),
         url('../fonts/subset-NotoSansThaiUI-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'subset-NotoSansThaiUI-Regular';
    src: url('../fonts/subset-NotoSansThaiUI-Regular.woff2') format('woff2'),
         url('../fonts/subset-NotoSansThaiUI-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
body {
  font-family: 'CenturyGothicRegular';
  background-color: #000;
  overflow: hidden !important;
  height: 100%;
}

.ry-image {
  background-size: cover;
  -webkit-background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.ml { margin-left: 50px;}
.show-l {
  display: none;
}
.show-m {
  display: block;
}
img.img {
	max-width: 100%;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}

.welcome-content {
  position: fixed;
  top:0;
  left:0;
  right:0; 
  padding:30px;
  width: 100%; 
  margin: 0 auto;
  z-index: 3;
}
.welcome-content h2 {
  font-family: 'CenturyGothicRegular', sans-serif;
  font-size:18px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); 
}
.welcome-content h2 span {
  font-family: 'CenturyGothicBold', sans-serif;
  font-size:18px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); 
}
.welcome-content h3 {
  color: #fae800; 
  font-size:18px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}
.welcome-content p {
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}
.welcome-content a.ry-link {
  color: #fae800;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-decoration: underline;
}
.welcome-content a.ry-link:hover {
  color: #fff;
  text-decoration: underline;
}

.visible-iphone {
  display: none;
}

@media (max-width: 1280px) {
.welcome-content {
  padding:20px;
}
.welcome-content h2 {
  font-family: 'CenturyGothicRegular', sans-serif;
  font-size:14px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); 
}
.welcome-content h2 span {
  font-family: 'CenturyGothicBold', sans-serif;
  font-size:14px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7); 
}
.welcome-content h3 {
  color: #fae800; 
  font-size:14px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}
.welcome-content p {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}
.welcome-content p span {
  color: #f8ea73;
  text-align:center;
}
.welcome-content a.ry-link {
  color: #fae800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-decoration: underline;
}
.welcome-content a.ry-link:hover {
  color: #fff;
  text-decoration: underline;
}

.visible-iphone {
  display: none;
}
}
@media (min-width: 992px) {
  .fp-slidesContainer {
    width: 100% !important;
    transform: none !important;
  }
  .fp-slide {
    width: 100% !important;
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 0;
    transition: all .7s ease-in-out;
  }

  .fp-slide.active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
  }
}
@media (max-width: 1024px) {
  .welcome-content {
    max-width: 500px; padding:0px !important;
  }
}
@media (max-width: 992px) {
  body {
    position: relative;
    background-color: #fff;
    padding-bottom: 80px !important;
    overflow: auto !important; 
	margin-bottom:20px;
  }
  .ml { margin-left: 15px;}
  .show-l {
  display: block;
  }
  .show-m {
  display: none;
 }
  .welcome-content {
  padding: 15px !important;
}
  .welcome-content h2 {
  color: #000; 
  text-shadow:none; 
  font-size:18px;
  margin-top: 30px;
}
.welcome-content h2 span {
  color: #000; 
  text-shadow:none; 
  font-size:18px;
}
  .welcome-content h3 {
  text-shadow:none;
  color: #c19b2a;
}
  .welcome-content p {
  color: #000;
  text-shadow:none;
  margin-top: 15px;
}
.welcome-content a.ry-link {
  color: #fba91a;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-decoration: underline;
}
.welcome-content a.ry-link:hover {
  color: #fba91a;
  text-decoration: none;
}



  img.img {
	padding-bottom: 12px;
   
	  
  }
  .welcome-content {
	  position: relative;
  }

  #fullpage {
    background-color: #000;
    height: 300px !important;
  }
  #fullpage .fp-section {
    height: 300px !important;
  }
  #fullpage .fp-section .fp-tableCell {
    height: 300px !important;
  }
  #fullpage .fp-slidesNav.bottom {
    bottom: 15px;
  }
  #fullpage .fp-controlArrow {
    display: none;
  }

  .welcome-content h2, .welcome-content p {
    text-align: left !important;
  }

  .main-content {
    margin: 30px 0;
    max-width: 100%;
	min-width: 0;
    max-height: 100%;
    padding: 30px 15px;
  }
  .main-content .btn-content-toggle {
    display: none;
  }
  .main-content-wrap {
    max-height: 100% !important;
    overflow-y: auto;
  }

  .visible-ipad {
    display: inline;
  }
}
@media (max-width: 414px) {
  body {
    padding-bottom: 0 !important;
  }

  #fullpage {
    height: 300px !important;
  }
  #fullpage .fp-section {
    height: 300px !important;
  }
  #fullpage .fp-section .fp-tableCell {
    height: 300px !important;
  }

  .visible-iphone {
    display: block;
  }
}
.fp-controlArrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  border: 0;
  background-size: 60px 60px !important;
  width: 60px !important;
  height: 60px;
  margin-top: -25px;
  z-index: 4;
}
.fp-controlArrow.fp-prev {
  left: 0;
  background-image: url("../images/arrow-prev.png");
}
.fp-controlArrow.fp-next {
  right: 0;
  background-image: url("../images/arrow-next.png");
}

.fp-slidesNav.bottom {
  bottom: 80px; display:none;
}
.fp-slidesNav.bottom ul li a span {
  background-color: #fff;
  width: 14px;
  height: 14px;
  margin: 0;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}
.fp-slidesNav.bottom ul li a.active span {
  background-color: #fba91a;
  margin: 0;
}
.fp-slidesNav.bottom ul li a.active:hover span {
  width: 18px;
  height: 18px;
  margin: -2px 0 0 -2px;
}
