
@font-face {
  font-family: 'Thamall_2';
  src: url('../fonts/PSL240pro.eot');
  src: local('☺'), url('../fonts/PSL240pro.woff') format('woff'), 
  url('../fonts/PSL240pro.ttf') format('truetype'), url('../fonts/PSL240pro.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}


* { font-family: 'Thamall_2'; }
a { color: #fff; text-decoration: none;}
a:focus, a:hover {text-decoration: none;}
.nopadding {padding: 0px;}
a:focus, a:hover {
  text-decoration: none;
  outline: none;
  color: #fff;
}
.content_qrcode{margin-top: 8%;}
.bg_em{
  background: url(/images/em.png) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bg_bkk{
  background: url(/images/bk.png) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/*home page*/
.col-home-sub { color: #fff; font-size: 18px; letter-spacing: 0.2px;}
.link_tolang { padding: 8px 10px; margin-right: 15px; border-radius: 100px; }
.link_tolang:hover { background: #fff; color: #000;}
.link_tolang:active {  background: #fff; color: #000;}
.register{margin-top: 60%; background: #e0b36e;border-radius: 50px;padding: 8px 10px;text-align: center}
.title_place{font-size: 28px; margin : 10px 0px;}
.detail_info{font-size: 20px; margin : 10px 0px;line-height: 22px;}
.merchant::-webkit-input-placeholder { color:#bbbbbb; }  /* WebKit, Blink, Edge */
.merchant:-moz-placeholder { color:#bbbbbb; }  /* Mozilla Firefox 4 to 18 */
.merchant::-moz-placeholder { color:#bbbbbb; }  /* Mozilla Firefox 19+ */
.merchant:-ms-input-placeholder { color:#bbbbbb; }  /* Internet Explorer 10-11 */
.merchant::-ms-input-placeholder { color:#bbbbbb; }  /* Microsoft Edge */
/*modal*/
.modal-body {
  text-align: center;
  background: #ad9461f0;
  border-radius: 8px;
  padding: 15px 15px 20px;
}
.modal-content {
  padding: 0px;
  border-radius: 5px;
  background-color: transparent;
}
.modal-header {padding: 0px; border-bottom: none;}
.head_modal {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin: 10px 0px 15px;
}
input.merchant{
  width: 100%;
  border-radius: 2px;
  border: none;
  padding: 8px;
  outline: none;
  text-align: center;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}
.modal-dialog {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%) !important;
  -ms-transform: translate(0, -50%) !important;
  -webkit-transform: translate(0, -50%) !important;
  margin: auto 5%;
  width: 90%;
  height: 60%;
}
.modal-content {
  min-height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;
  right: 0;
  max-width: 25%;
  border-radius: 15px;
  margin: auto;
  background-clip: none; 
  border: none; 
  border: none;
  border-radius: none;
  outline: none;
  -webkit-box-shadow:  none; 
  box-shadow: none;
}
/*end modal*/
.close_btn{
  width: 30px;
  position: absolute;
  right: -15px;
  z-index: 999;
  top: -15px;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 45%;
  }
  .col-regis-sub{padding-right: 3%;padding-left: 0px;}
}
@media (max-width:465px) and (min-width:320px) {
  .col-home-main {padding: 0px;}
  .col-home-sub {padding: 0px; text-align: center;margin-bottom: 10px;}
  img.img-responsive.bg-project {  margin-bottom: 10px }
  .modal-content {max-width: 100%;}
  .register{ margin: 15px 0px 5px;}
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
  select#sel1 {width: 100%;}
  div#main { margin-top: 5% !important; }
}

