@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');
html {
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  border: 0;
  outline: 0;
}
body {
  font-family: 'Noto Sans Thai', sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: #3c3c3c;
  margin: 0px;
  padding: 0px;
  height: 100vh;
  overflow-x: hidden;
  background: rgb(129, 101, 25);
  background: -moz-linear-gradient(0deg, rgba(129, 101, 25, 1) 0%, rgba(214, 176, 86, 1) 56%, rgba(211, 181, 97, 1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(129, 101, 25, 1) 0%, rgba(214, 176, 86, 1) 56%, rgba(211, 181, 97, 1) 100%);
  background: linear-gradient(0deg, rgba(129, 101, 25, 1) 0%, rgba(214, 176, 86, 1) 56%, rgba(211, 181, 97, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#816519", endColorstr="#d3b561", GradientType=1);
	
}
.bg
{
	
  background: url(../images/bg.png) no-repeat right bottom; 
	width: 100%;
	padding-bottom: 40px;
	background-size: contain;
}
::-webkit-selection {
  color: #FFFFFF;
  background: #437745;
}
::-moz-selection {
  color: #FFFFFF;
  background: #437745;
}
::selection {
  color: #FFFFFF;
  background: #437745;
}
a {
  color: #437745;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
a:hover, a:active, a:focus {
  color: #437745;
  outline: none;
  text-decoration: none;
}
.container {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.black {
  color: #3c3c3c;
}
.white {
  color: #FFFFFF;
}
.green {
  color: #437745;
}
.grey {
  color: #717171;
}
.title {
  font-size: 20px;
  line-height: 24px;
  margin-top: 25px;
  font-weight: 600;
}
hr.solid {
  border: 1px solid #000000;
}
.header {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 700;
}
.subheader {
  font-size: 18px;
  font-weight: 600;
}
.small {
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  color: #437745;
}
.small2 {
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;  
}

.shadowbox {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}
.textshadow {
  text-shadow: -36px -40px 5px rgba(206, 89, 55, 0), 2px 4px 5px rgba(0, 0, 0, 0.49);
  color: #FFFFFF;
}
.enter {
	
  font-family: 'Noto Sans Thai', sans-serif; 
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: 400;
  padding: 10px;
  font-size: 16px;
  line-height: 22px;
  text-align: center; 
	border: none;
  color: #ffff;
  background-color: #ba9e55;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  border-radius: 6px;
}
.enter:hover {
  color: #ffffff;
  text-decoration: none;
  background-color: #437745; 
}
.enter:active {
  color: #ffffff;
  text-decoration: none;
  background-color: #437745; 
}
.padleft
{
	padding-left: 30px;
}
.box {
  border-radius: 24px;
  background-color: #ffffff;
  padding: 15px;
  padding-top: 20px;
  padding-bottom: 40px;
  margin: 5px;
  /*  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 32px;*/
  margin-bottom: 0px;
  width: 95%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  min-height: 90vh;
	border: 1px solid rgba(0, 0, 0, 0.3); box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 32px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #3f7c99;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #3f7c99;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #3f7c99;
}
:-moz-placeholder { /* Firefox 18- */
  color: #3f7c99;
}
.spacedesktop {
  padding-left: 30px;
}
@media (max-width:512px) {
	  body {
    font-size: 13px;
		  line-height: 16px;
  }
	
  .spacedesktop {
    padding-left: 0px;
  }
	.padleft
{
	padding-left: 0px;
}
	
}
@media (max-width:390px) {
  body {
    font-size: 12px;
    height: 100vh;
  }
}
.container form .form-row {
  display: flex;
  margin: 50px 0;
}
form .form-row .input-data {
  width: 100%;
  height: 40px;
  position: relative;
}
form .form-row .textarea {
  height: 70px;
}
.input-data input, .textarea textarea {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.input-data input:focus ~ label, .textarea textarea:focus ~ label, .input-data input:valid ~ label, .textarea textarea:valid ~ label {
  transform: translateY(-32px);
  font-size: 14px;
  color: #717171;
	  outline: none;
}
.textarea textarea {
  resize: none;
  padding-top: 10px;
}
.input-data label {
  position: absolute;
  pointer-events: none;
  bottom: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}
.textarea label {
  width: 100%;
  bottom: 40px;
  background: #fff;
}
.input-data .underline {
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
}
.input-data .underline:before {
  position: absolute;
  content: "";
  height: 1px;
  width: 100%;
  background: #437745;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.input-data input:focus ~ .underline:before, .input-data input:valid ~ .underline:before, .textarea textarea:focus ~ .underline:before, .textarea textarea:valid ~ .underline:before {
  transform: scale(1);
	  outline: none;
}
*:focus {
    outline: none;
}

.submit-btn .input-data {
  overflow: hidden;
  height: 45px !important;
  width: 25% !important;
}
.submit-btn .input-data .inner {
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  background: -webkit-linear-gradient(right, #56d8e4, #9f01ea, #56d8e4, #9f01ea);
  transition: all 0.4s;
}
.submit-btn .input-data:hover .inner {
  left: 0;
}
.submit-btn .input-data input {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
@media (max-width: 512px) {
  .container .text {
    font-size: 14px;
  }
  .container form {
    padding: 10px 0 0 0;
  }
  .container form .form-row {
    display: block;
  }
  form .form-row .input-data {
    margin: 35px 0 !important;
  }
  .submit-btn .input-data {
    width: 40% !important;
  }
}
