@font-face {
  font-family: "ekachonbold";
  src: url("../font/ekachon-bold.woff2") format("woff2"), url("../font/ekachon-bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "ekachonbold_italic";
  src: url("../font/ekachon-bolditalic.woff2") format("woff2"), url("../font/ekachon-bolditalic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "ekachonmedium_italic";
  src: url("../font/ekachon-mediumitalic.woff2") format("woff2"), url("../font/ekachon-mediumitalic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "ekachonregular";
  src: url("../font/ekachon-regular.woff2") format("woff2"), url("../font/ekachon-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "fc_savespaceitalic";
  src: url("../font/fc_savespace_italic_ver_1.01.woff2") format("woff2"), url("../font/fc_savespace_italic_ver_1.01.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "fc_savespaceregular";
  src: url("../font/fc_savespace_regular_ver_1.01.woff2") format("woff2"), url("../font/fc_savespace_regular_ver_1.01.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
.f-0_6 {
  font-size: 0.6rem;
}

.f-0_7 {
  font-size: 0.7rem;
}

.f-0_8 {
  font-size: 0.8rem;
}

.f-0_9 {
  font-size: 0.9rem;
}

.f-1 {
  font-size: 1rem;
}

.f-1_25 {
  font-size: 1.25rem;
}

.f-5 {
  font-size: 5rem;
}

body {
  color: #000;
  font-family: ekachonregular;
  background-color: #f9f9f9;
}

#bg-index {
  background-image: url("../images/tni_bg_home3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

#pageindex #bg-pageindex {
  background-color: #fff;
  padding: 15px;
}
#pageindex #bg-pageindex .text-title {
  font-size: 14px;
  color: #ff4a00;
  font-weight: bold;
  margin: 10px 0px;
}
#pageindex #bg-pageindex .text-color {
  color: #000000;
  font-size: 13px;
}
#pageindex #bg-pageindex2 {
  padding: 15px;
  background-color: #f3f3f3;
}
#pageindex #bg-pageindex2 .box-index {
  font-size: 12px;
  text-align: center;
  padding: 20px;
  background-color: #ff4a00;
  color: #fff;
  border-radius: 15px;
}
#pageindex #bg-pageindex2 .box-index2 {
  padding: 20px 10px;
  background-color: #fff;
  border-radius: 15px;
}
#pageindex #bg-pageindex2 .box-index2 .input-index {
  font-size: 12px;
  border-radius: 30px;
}
#pageindex #bg-pageindex2 .box-index3 {
  padding: 20px;
  background-color: #f3f3f3;
}

.btn-back {
  position: absolute;
  left: 6%;
  color: #ff4a00;
  font-weight: bold;
}

.box-index2 {
  padding: 20px 10px;
  background-color: #fff;
  border-radius: 15px;
}
.box-index2 h6 {
  font-size: 12px;
}
.box-index2 .input-index {
  font-size: 12px;
  border-radius: 30px;
}

.title-black {
  font-size: 18px;
  margin: 0.5rem 0;
  font-weight: bold;
  color: #000;
}

.text-title-tni {
  font-size: 14px;
  color: #ff4a00;
  font-weight: bold;
}

.display-f {
  display: flex;
}

.display-g {
  display: grid;
}

.box-type-radio {
  border: 1px solid #ff4a00;
  border-radius: 10px !important;
}

.box-type {
  padding: 10px;
  border-radius: 20px;
  /* align-content: center; */
  display: flex;
  margin-right: 15px;
}
.box-type .typeradio {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.mt-15 {
  margin-top: 15px;
}

.mb-30 {
  margin-bottom: 30px;
}

#bg-form {
  background-image: url("../images/tni_bg_form1_1.jpg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
}
#bg-form .title {
  font-family: "ekachonbold_italic";
}

#bg-form2 {
  background-image: url("../images/tni_bg_form2_1.jpg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
}
#bg-form2 .title {
  font-family: "ekachonbold_italic";
}

#bg-thank {
  background-image: url("../images/tni_bg_thank.jpg");
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
}

.title-bottom {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

h1.title {
  color: #ff4a00;
  font-family: "ekachonbold_italic";
  font-size: 65px;
}

h1.subtitle {
  color: #000;
  font-size: 65px;
}

h2.title {
  color: #ff4a00;
  font-size: 22px;
}

h2.subtitle {
  color: #000;
  font-size: 20px;
}

.red {
  color: red;
}

.grey {
  color: #999999 !important;
}

h4.des {
  color: #231f20;
  font-family: "ekachonbold_italic";
}

.text-condition {
  font-size: 0.7rem;
  padding: 2% 0 2%;
  color: white;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.box-title {
  background-color: #fff;
  border-radius: 5px;
  padding: 0px;
}
.box-title h2 {
  font-size: 16px;
  margin: 0.5rem 0;
  font-weight: bold;
  color: #000 !important;
  border-left: 4px solid #ff4a00;
  padding: 5px 10px;
}

input[type=checkbox].agree {
  height: 30px;
  width: 30px;
  vertical-align: middle;
  margin: 0 0.4em 0.4em 0;
  border: 3px solid #000;
  -webkit-appearance: none;
  -webkit-transition: box-shadow 200ms;
  margin-left: 5%;
}

input[type=checkbox].agree {
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

input[type=checkbox]:focus {
  outline: none;
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
}

select,
.form-control-select {
  -webkit-appearance: menulist-button;
  color: #6f777f;
}

select:invalid,
#occupation2:invalid {
  color: #6f777f;
}

.mg-t30 {
  margin-top: 30px;
}

.mg-b30 {
  margin-bottom: 30px;
}

.mg-b15 {
  margin-bottom: 15px;
}

.mg-t15 {
  margin-top: 15px;
}

.pd-b15 {
  padding-bottom: 15px;
}

#selectev {
  margin-top: 20%;
}
#selectev .title {
  color: #000;
  font-size: 22px;
}
#selectev .subtitle {
  color: #ff4a00;
  font-size: 22px;
}
#selectev .bold {
  font-weight: bold !important;
}

.box {
  background: rgba(255, 187, 0, 0.7098039216);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
.box .evoucher {
  margin-top: -2px;
  padding: 3% 5%;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}
.box .evoucher h2 {
  font-size: 55px;
  font-family: "ekachonbold";
}
.box .v1 {
  background: #e8f6fc;
}
.box .v2 {
  background: #fff;
}
.box .detail {
  padding: 3%;
  font-size: 25px;
}
.box .detail ul {
  list-style: none;
}
.box .detail ul li {
  font-style: italic;
  list-style: none;
  font-family: "ekachonmedium_italic";
}

.accordion .accordion-item {
  border: 1px solid rgb(195, 195, 195);
  border-radius: 30px;
  padding: 10px;
  background-color: #f3f3f3;
}
.accordion .accordion-item .accordion-header {
  font-size: 16px;
}
.accordion .accordion-item .accordion-header .form-check-input {
  border-radius: 10px;
}
.accordion .accordion-button:not(.collapsed) {
  color: #000000;
  background-color: #ffffff;
}
.accordion .accordion-body {
  padding: 12px !important;
}

.was-validated .form-check-input:valid:checked {
  background-color: #ff4a00;
}

.was-validated .form-check-input:valid {
  border-color: #ff4a00;
}

.accordion-color-active {
  background-color: #fff !important;
}

/*
.formtop {
    background: rgb(255,124,54);
	background: linear-gradient(160deg, rgba(255,124,54,1) 0%, rgba(255,59,0,1) 100%);
    width:100%;
    height:160px;
    position:relative;
    text-align:center;
    padding:50px 0 0 0;
    box-sizing:border-box;
}
.formtop:before {
    content:'';
    position:absolute;
    background:white;
    width:100%;
    height:250px;
    top:0;
    left:0;
    border-bottom-right-radius:40%;
    transform:translatey(-50%);
}*/
.title-des {
  font-size: 1.1rem;
  font-weight: 600;
}

.text-index {
  font-size: 14px;
  font-weight: 600;
  text-shadow: 1px 1px #fff;
}

.iconthank {
  font-size: 70px;
  color: #00c12a;
}

.pt-100 {
  padding-top: 100px;
}

.center {
  text-align: center;
}

#form {
  color: #000;
}
#form .form-input,
#form .form-control-select {
  border: 1px solid #a5a5a5;
  margin: 2% 0;
  box-shadow: 10px 10px 22px -15px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: 10px 10px 22px -15px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: 10px 10px 22px -15px rgba(0, 0, 0, 0.57);
  font-size: 14px;
  border-radius: 10px;
  width: 100%;
}
#form .form-input::placeholder,
#form .form-control-select::placeholder {
  color: #999999;
}
#form .box-form1 {
  padding: 10px;
  background: #fff;
  border-radius: 20px;
  margin: 15px 0px;
}

.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 5px 0px;
}

.custom-file-input {
  /* position: relative; */
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-file-input:focus ~ .custom-file-label::after {
  border-color: #80bdff;
}

.custom-file-input:lang(en) ~ .custom-file-label::after {
  content: "";
}

select .textplaceholder {
  color: #999999 !important;
}

input[type=radio].active {
  background-color: #fc4c02 !important;
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.95rem;
  line-height: 1.5;
  color: #999999;
  border-radius: 10px;
  border: 1px solid #a5a5a5;
  display: flex;
  align-items: center;
}

.color-icon {
  transform: rotate(-43deg);
  color: #ff4a00;
}

#form1 {
  color: #fff;
  background-image: url("../images/tni_bg_form1_2.jpg");
  background-size: cover;
  background-color: rgb(255, 124, 54);
}
#form1 .form-input {
  border: 1px solid #fff;
  margin: 2% 0;
  box-shadow: 10px 10px 22px -15px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: 10px 10px 22px -15px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: 10px 10px 22px -15px rgba(0, 0, 0, 0.57);
  font-family: "ekachonbold_italic";
  font-size: 1.15rem;
}

.custom-file-upload {
  position: relative;
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  color: #000;
  border-radius: 0px;
  border-bottom: 1px solid #000;
  margin: 6px;
  border-top: 0px solid #000;
  border-right: 0px solid #000;
  border-left: 0px solid #000;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

#bg-tnithank {
  background-color: #fff;
}

.box-bg {
  background-color: #f9f9f9 !important;
}

#tnithank {
  background-color: #fff;
}
#tnithank .border-r1 {
  border-radius: 15px 15px 0px 0px;
}
#tnithank .border-r2 {
  border-radius: 0px 0px 15px 15px;
}
#tnithank .mg-t20 {
  margin-top: 20px;
}
#tnithank .pt-20 {
  padding-top: 20px;
}
#tnithank .text-c-tni {
  color: #fe5000;
  font-weight: bold;
  font-size: 16px;
}
#tnithank .text-c-black {
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

.btn-right {
  position: absolute !important;
  right: 6% !important;
  width: 100px !important;
}

button.btn-submit,
a.btn-submit {
  background-color: #ff4a00;
  padding: 5px;
  width: 150px;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -webkit-box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -moz-box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  font-weight: bold;
  font-size: 18px;
  font-weight: bold;
  font-family: "ekachonbold";
  border-radius: 25px;
}
button.btn-submit:hover,
a.btn-submit:hover {
  color: #fff;
}

.tni_box {
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #fff;
  box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -webkit-box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -moz-box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  color: #000;
  font-size: 18px;
  padding: 3%;
  font-weight: bold;
  padding-bottom: 5%;
}
.tni_box img {
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  padding-bottom: 8%;
}
.tni_box .type {
  border: 5px solid #ff4a00;
  box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -webkit-box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -moz-box-shadow: 10px 10px 22px -9px rgba(0, 0, 0, 0.62);
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  padding: 8%;
}
.tni_box .type .text {
  color: #ff4a00;
  font-size: 21px;
  font-family: "ekachonbold_italic";
}

.msg-icn {
  display: inline-block;
  position: relative;
  color: #000;
  box-sizing: border-box;
}

#tni {
  background-color: #fff;
}
#tni .title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.bg-white {
  background-color: #fff;
}

#btnfooter-thank {
  padding: 20px 20px 5px 20px;
  text-align: center;
  background-color: #fff;
  width: 100%;
}
#btnfooter-thank .btn-footer {
  padding: 15px;
  background-color: #fe5000;
  color: #fff;
  width: 50%;
}
#btnfooter-thank .hr-botton {
  border: 2px solid #000;
  margin-top: 20px;
  width: 30%;
}

#tni-index h1 {
  font-size: 120px;
}
#tni-index .text-condition {
  position: absolute;
  bottom: 0%;
}

.thank-title {
  font-size: 110px;
  font-family: "fc_savespaceregular";
  line-height: 0.8;
  margin-bottom: 40px;
}

@media screen and (max-width: 1400px) {
  h1.title {
    font-size: 45px;
  }
  h1.subtitle {
    font-size: 45px;
  }
  h2.subtitle {
    font-size: 22px;
  }
  .thank-title {
    margin-top: 20%;
    font-size: 145px;
  }
  .msg-icn h2 {
    font-size: 35px !important;
  }
  .msg-icn:after {
    width: 50px;
    height: 50px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
}
@media screen and (max-width: 1200px) {
  h1.title {
    font-size: 45px;
  }
  h1.subtitle {
    font-size: 45px;
  }
  h2.subtitle {
    font-size: 40px;
  }
  .f-detail {
    font-size: 1.1rem;
  }
  .f-bottom {
    font-size: 1.2rem;
  }
  .box {
    margin-top: 40px;
  }
  #tni-index h1 {
    font-size: 70px;
  }
  .thank-title {
    margin-top: 20%;
    font-size: 145px;
  }
  .msg-icn h2 {
    font-size: 35px !important;
  }
  .msg-icn:after {
    width: 50px;
    height: 50px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
}
@media screen and (max-width: 1000px) {
  .thank-title {
    margin-top: 20%;
    font-size: 105px;
  }
  .msg-icn h2 {
    font-size: 30px !important;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 30px 25px 80px 25px;
  }
  .msg-icn:after {
    width: 50px;
    height: 50px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
}
@media screen and (max-width: 760px) {
  h1.title {
    font-size: 35px;
  }
  h1.subtitle {
    font-size: 35px;
  }
  h2.subtitle {
    font-size: 30px;
  }
  #tni-index h1 {
    font-size: 70px;
  }
  .tni_box {
    font-size: 16px;
  }
  .tni_box .text {
    font-size: 17px !important;
  }
  .thank-title {
    font-size: 85px;
  }
  .msg-icn h2 {
    font-size: 20px !important;
  }
  .box .evoucher h2 {
    font-size: 35px;
  }
  .f-detail {
    font-size: 0.95rem;
  }
  .f-bottom {
    font-size: 1rem;
  }
  .box {
    margin-top: 30px;
  }
  .thank-title {
    margin-top: 20%;
    font-size: 85px;
  }
  .msg-icn h2 {
    font-size: 20px !important;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 25px 25px 55px 25px;
  }
  .msg-icn:after {
    width: 50px;
    height: 50px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
  input[type=checkbox].agree {
    width: 30px !important;
  }
}
@media screen and (max-width: 500px) {
  h1.title {
    font-size: 30px;
  }
  h1.subtitle {
    font-size: 30px;
  }
  h2.subtitle {
    font-size: 25px;
  }
  .tni_box {
    font-size: 14px;
  }
  .tni_box .text {
    font-size: 16px !important;
  }
  .thank-title {
    font-size: 75px;
  }
  .msg-icn h2 {
    font-size: 18px !important;
  }
  .f-detail {
    font-size: 0.85rem;
  }
  .f-bottom {
    font-size: 0.9rem;
  }
  .box {
    margin-top: 20px;
  }
  #tni-index h1 {
    font-size: 45px;
  }
  #tni-index .des {
    font-size: 18px;
  }
  #tni-index .text-condition {
    position: absolute;
    bottom: 20%;
  }
  .thank-title {
    margin-top: 10px;
    font-size: 60px;
  }
  .msg-icn h2 {
    font-size: 16px !important;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 17px 15px 45px 15px;
  }
  .msg-icn:after {
    width: 30px;
    height: 30px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
}
@media screen and (max-width: 400px) {
  h1.title {
    font-size: 20px;
  }
  h1.subtitle {
    font-size: 20px;
  }
  h2.subtitle {
    font-size: 18px;
  }
  .tni_box {
    font-size: 14px;
  }
  .tni_box .text {
    font-size: 16px !important;
  }
  .text-consent {
    font-size: 12px;
  }
  .thank-title {
    font-size: 75px;
  }
  .msg-icn h2 {
    font-size: 18px !important;
  }
  .box .evoucher h2 {
    font-size: 20px;
  }
  .f-detail {
    font-size: 0.7rem;
  }
  .f-bottom {
    font-size: 0.8rem;
  }
  .box {
    margin-top: 20px;
  }
  #tni-index h1 {
    font-size: 45px;
  }
  #tni-index .des {
    font-size: 16px;
  }
  #tni-index .text-condition {
    position: absolute;
    bottom: 19%;
  }
  .msg-icn h2 {
    font-size: 14px !important;
    line-height: 1.5;
    margin-bottom: 0;
    padding: 15px 15px 40px 15px;
  }
  .msg-icn:after {
    width: 30px;
    height: 30px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
  .thank-title {
    font-size: 55px;
  }
}
@media screen and (max-width: 350px) {
  h1.title {
    font-size: 18px;
  }
  h1.subtitle {
    font-size: 18px;
  }
  h2.subtitle {
    font-size: 16px;
  }
  .f-detail {
    padding-top: 10px;
    font-size: 0.55rem;
  }
  .f-bottom {
    font-size: 0.6rem;
  }
  #tni-index h1 {
    font-size: 40px;
  }
  #tni-index .des {
    font-size: 14px;
  }
  #tni-index .text-condition {
    position: absolute;
    bottom: 18%;
  }
  .msg-icn h2 {
    font-size: 12px !important;
  }
  .msg-icn:after {
    width: 30px;
    height: 30px;
    background-image: url("images/arrow.png");
    background-position: bottom;
  }
  .thank-title {
    font-size: 45px;
  }
}
.align-items-center {
  display: flex;
  align-items: center;
}

.font-s12 {
  font-size: 12px;
}

.pd-l3 {
  padding-left: 3px;
}

.pd-15 {
  padding: 15px;
}

.pd-r3 {
  padding-right: 3px;
}

.btn-car {
  border: 1px solid #000;
  padding: 10px;
  line-height: 1.5px;
  outline: none !important;
  box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.25) !important;
}

.loading {
  display: none;
  place-items: center;
  position: fixed;
  width: 100%;
  text-align: center;
  height: 100vh;
  z-index: 9;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
}
.loading .loadingText {
  color: #333;
  font-size: 20px;
}
.loading .loadingIcon {
  display: inline-flex;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
  animation: loader12 1s linear alternate infinite;
  top: -40px;
  left: 20px;
}
@keyframes loader12 {
  0% {
    box-shadow: -15px 40px 0 1px #ff4a00, 0 40px 0 0 rgba(252, 76, 2, 0.6), 15px 40px 0 0 rgba(252, 76, 2, 0.6);
  }
  50% {
    box-shadow: -15px 40px 0 0 rgba(252, 76, 2, 0.6), 0 40px 0 1px #ff4a00, 15px 40px 0 0 rgba(252, 76, 2, 0.6);
  }
  100% {
    box-shadow: -15px 40px 0 0 rgba(252, 76, 2, 0.6), 0 40px 0 0 rgba(252, 76, 2, 0.6), 15px 40px 0 1px #ff4a00;
  }
}

label.error {
  display: none !important;
}