html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Noto Sans Thai", sans-serif !important;
}

a, a:hover {
  text-decoration: none;
}

button {
  /* border-radius: 25px !important; */
  border: none !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

button.cus-btn-primary {
  background: #4EBAD6;
  color: #fff;
  -webkit-box-shadow: 2px 2px 1px 1px #888;
          box-shadow: 2px 2px 1px 1px #888;
  font-size: 1.5em;
  width: 100% !important;
}
button.newcss-cus-btn-primary {
  background: transparent;
  color: #000;
  text-decoration: underline;
  font-size: 1em;
  width: auto !important;
}
button.newcss-cus-btn-secondary {
  background:transparent;
  color: #000;
  text-decoration: underline;
  font-size: 1em;
  width: auto !important;
}
button.cus-btn-secondary {
  background: #999;
  color: #fff;
  -webkit-box-shadow: 2px 2px 1px 1px #888;
          box-shadow: 2px 2px 1px 1px #888;
  font-size: 1.5em;
  width: 100% !important;
}

button.cus-btn-success {
  background: #28a745;
  color: #fff;
  -webkit-box-shadow: 2px 2px 1px 1px #888;
          box-shadow: 2px 2px 1px 1px #888;
  font-size: 1.5em;
  width: 100% !important;
}
button.newcss-cus-btn-danger {
  background: transparent;
  color: #ff0000;
  font-size: 1em;
  text-decoration: underline;
  width: auto !important;
}
button.cus-btn-danger {
  background: #aa0000;
  color: #fff;
  -webkit-box-shadow: 2px 2px 1px 1px #888;
          box-shadow: 2px 2px 1px 1px #888;
  font-size: 1.5em;
  width: 100% !important;
}

input, select {
  border: none !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  font-size: 1.5em;
}

.cus-input-primary {
  background: #fff;
  width: 100%;
  border-radius: 25px;
  border: 1px solid #CCB087 !important;
}

.cus-input-secondary {
  background: #fff;
  width: 100%;
  border-radius: 25px;
  border: 1px solid #999 !important;
}

.cus-input-light {
  background: #E9E9E3;
  width: 100%;
  text-align: center;
}

.cus-text-primary {
  color: #A78D48;
}

.cus-text-require {
  color: #aa0000;
}

.cus-sx2 {
  font-size: 0.6em !important;
}

.cus-sx1 {
  font-size: 0.7em !important;
}

.cus-sx {
  font-size: 0.8em !important;
}

.cus-hx {
  font-size: 0.9em !important;
}

.cus-x {
  font-size: 1em !important;
}

.cus-1x, .cus-title {
  font-size: 1.5em !important;
}

.cus-2x {
  font-size: 2em !important;
}

.cus-3x {
  font-size: 2.5em !important;
}

hr {
  background: #000 !important;
}

.cus-sq {
  width: 150px;
  height: 150px;
  text-align: center;
  margin-right: 5em;
  margin-left: 5em;
}

.cus-des {
  display: none;
  margin-top: 1em;
}

.cus-sq .cus-cir {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: solid transparent;
}

.cus-sq .cus-cir .cus-ifa {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  color: #326496;
}

.cus-sq-large {
  width: 65vw;
}

div.cus-container {
  margin: auto;
  width: 600px;
  height: 100%;
}

.cus-modal-body {
  text-align: center;
}

.cus-modal-content {
  border-radius: 20px;
  border: none;
  -webkit-box-shadow: 0 1px 8px 3px #e9e9e9;
          box-shadow: 0 1px 8px 3px #e9e9e9;
}

.modal-backdrop {
  background-color: white;
}

.cus-header .cus-header-logo {
  display: block;
  margin: auto;
  text-align: center;
}

.cus-header .cus-header-logo img {
  text-align: center;
  width: 40%;
}

.cus-declare {
  text-align: center;
  font-size: 0.9em !important;
  line-height: 2;
}

.cus-footer {
  margin-top: 20%;
}

.cus-title {
  text-align: left;
}

.cus-banner-img img {
  width: 100%;
}

.cus-product-img img {
  width: 30%;
}

.cus-thanks a {
  color: #A78D48;
  border-top: 2px solid #A78D48;
  border-bottom: 2px solid #A78D48;
}

.cus-banner-scan img {
  height: 100%;
}

.cus-control-container {
  display: block;
  position: relative;
  padding-right: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.cus-control-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  right: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px #CCB087 solid;
}

/* On mouse-over, add a grey background color */
.cus-control-container:hover input ~ .checkmark {
  border: 1px #CCB087 solid;
}

/* When the radio button is checked, add a blue background */
.cus-control-container input:checked ~ .checkmark {
  background-color: #CCB087;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.cus-control-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
/* .cus-control-container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}
*/
@media only screen and (max-width: 480px) {
  div.cus-container {
    margin: auto;
    width: 100vw;
    height: auto;
    font-size: 0.8em;
  }
  .cus-footer {
    margin-top: 0;
  }
  .cus-content {
    padding: 0 5% 0 5%;
  }
  .cus-modal-content {
    width: 100vw;
    margin: 0 5vw 0 5vw;
  }
  .cus-title {
    font-size: 4.5vw;
    text-align: center;
  }
  .cus-sx2 {
    font-size: 3vw !important;
  }
  .cus-sx1 {
    font-size: 3.5vw !important;
  }
  .cus-sx {
    font-size: 4vw !important;
  }
  .cus-1x, .cus-title {
    font-size: 4.5vw !important;
  }
  .cus-banner-img img {
    width: 100vw;
  }
  .cus-product-img img {
    width: 30vw;
  }
  .cus-sq {
    margin-bottom: 2em;
  }
  .cus-sq-large {
    width: 100vw;
  }
  .cus-des {
    margin-top: -2em;
  }
  .cus-banner-scan img {
    width: 100%;
    height: auto;
  }
}

@media only screen and (min-width: 481px) and (max-width: 1024px) {
  .cus-sq {
    margin-bottom: 2em;
    margin-right: 2em;
    margin-left: 2em;
    width: 15vw;
    height: 15vw;
  }
  .cus-sq-large {
    width: 100vw;
  }
  .cus-ifa {
    font-size: 1.5vw;
  }
  .cus-des {
    font-size: 1.5vw;
  }
}

