html,
body {
  font-family: "Prompt", sans-serif !important;
  font-size: 16px !important;
}

h5 {
  font-size: 1rem !important;
  margin: 1rem auto;
}

.form-group {
  margin-bottom: 24px;
}

.container {
  max-width: 720px !important;
}

.header > .container {
  max-width: 1110px !important;
}

.header {
  background: #009640;
  padding: 16px 0;
}

.header .container img {
  width: 130px;
}

#form {
  margin-top: 24px;
  min-height: calc(100vh - 72px - 64px - 24px);
}

.form-control {
  height: 40px !important;
}

.form-control:focus {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #4cb579a1 !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #4cb579a1 !important;
  border: 1px solid #4cb579 !important;
}
.container-button {
  padding: 9px 0px 32px 0px;
}

.btn-submit {
  background: #009640;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  line-height: 1.2rem;
  height: 48px;
  width: 162px;
  font-weight: 500;
  box-shadow: 0px -2px 8px 0px rgba(0, 0, 0, 0.08);
}

.btn-submit:hover {
  background: #15a84d;
  color: #ffffff;
}

.width-90 {
  width: 90%;
}

button {
  border-radius: 6px !important;
}

.btn-disable {
  background: #cccccc !important;
  border-radius: 6px !important;
  color: white !important;
  pointer-events: none;
}

.img-welcome {
  width: 100%;
  max-width: 450px;
  margin: auto;
  display: block;
}

.loader {
  position: absolute;
  top: 56px;
  right: 0;
  bottom: 0;
  left: 0;
  background: #ffffff;
}
.loader > i {
  margin: auto;
  position: fixed;
  left: calc(50% - 50px);
  top: calc(50% - 50px);
  font-size: 6rem;
}

.fa {
  font-size: calc(1rem + 4px);
}
.text-green {
  color: #009640 !important;
}
.title {
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.3;
}

h3 {
  margin-top: 32px;
}

h4 {
  font-size: 20px !important;
  font-weight: 500;
  line-height: 24px;
  color: #000000;
  margin-bottom: 24px;
}

a {
  color: inherit;
}

.control-label {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 6px;
}

select {
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select.minimal {
  background-image: url(../images/icon/dropdown-icon-down.svg);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 16px;
  background-repeat: no-repeat;
  background-position-y: 12px;
}

select.minimal:focus {
  background-image: url(../images/icon/dropdown-icon-up.svg);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size: 16px;
  background-repeat: no-repeat;
  background-position-y: 12px;
  border-color: green;
  outline: 0;
}

.panel-default {
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border: none;
  margin-bottom: 1rem;
}
.panel-default > .panel-heading {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background: #ebeff2;
  border: none;
  font-weight: 500;
}
.panel-body {
  padding: 0px 15px 16px 15px;
}

label {
  display: block;
  color: #000000;
  font-size: 14px;
  font-family: Prompt;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.056px;
}
.que {
  color: #666666;
  font-weight: normal;
  margin-top: 1.5rem;
}
.ans {
  color: #323232;
  font-weight: 500;
}

.description {
  color: #666666;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
}
.htu {
  margin-bottom: 22px;
  margin-top: 32px;
}

small {
  font-size: 0.75rem;
  margin-top: 16px;
}

.swal2-popup {
  border-radius: 12px !important;
  padding: 24px !important;
  padding: 0px !important;
  display: grid !important;
  width: 400px !important;
  height: 236px !important;
  filter: drop-shadow(0px 4px 24px rgba(0, 0, 0, 0.12));
}

.swal2-styled.swal2-confirm {
  background: #009640 !important;
  border-radius: 8px !important;
  height: 40px;
}

.swal2-image {
  display: flex;
}
.swal2-styled.swal2-cancel {
  background: #ffffff !important;
  width: 100%;
  color: #009640 !important;
}

.swal2-content,
.swal2-title,
.swal2-confirm {
  font-size: 1rem !important;
}

.swal2-popup {
  display: grid !important;
}

.swal2-image {
  position: relative;
}

.swal2-styled.swal2-confirm,
.swal2-styled.swal2-deny {
  width: 100%;
}

.swal2-custom-title {
  color: #000;
  font-size: 18px;
  font-family: Prompt;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.072px;
}

.swal2-custom-subtitle {
  color: #666;
  font-size: 16px;
  font-family: Prompt;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.064px;
}

.swal2-custom-button {
  display: flex;
  align-items: center;
  padding: 12px 24px 12px 0px;
}

.swal2-icon {
  justify-content: flex-start !important;
  width: 100% !important;
  margin: 0 !important;
}

.swal2-custom-icon {
  display: flex;
  margin-bottom: 16px;
}

.swal2-html-container {
  margin: 0 !important;
  text-align: left !important;
  padding: 24px !important;
}

.swal2-footer {
  justify-content: end !important;
  margin: 0 !important;
  border-top: none !important;
  height: 72px !important;
  padding: 0 !important;
  background: #fafafa;
  border-radius: 12px;
}

.footer-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
}

.form-control {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Sarabun" !important;
  line-height: 24px;
  color:#000;
}

input::placeholder {
  font-family: "Sarabun" !important;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  color: #adadad;
}

.select-placeholder {
  font-family: "Sarabun" !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  color: #adadad !important;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100% !important;
    padding-left: 48px;
    padding-right: 48px;
  }

  .header {
    padding: 12px 0;
  }

  .header .container img {
    margin: 7px 0 !important;
    width: 112px;
  }

  .btn-submit {
    width: 100%;
  }

  .container-button {
    padding: 16px 48px;
    position: sticky;
    bottom: 0px;
    background: #ffffff;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.08);
  }
}
@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header {
    padding: 8px 0;
  }

  .header .container img {
    margin: 7px 0 !important;
    width: 112px;
  }

  .container-button {
    padding: 16px 16px;
    position: sticky;
    bottom: 0px;
    background: #ffffff;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.08);
  }

  .btn-submit {
    width: 100%;
  }

  .swal2-popup {
    width: 288px !important;
  }
}
