:root {
  --theme-color-primary: #007bff;
  --theme-color-danger : #cc1818;
  --border-radius-button : 10px;
}

body {
  background: #f7f7f7;
  /* font-family: "THSarabunNew", sans-serif; */

  font-family: "Prompt";
  overflow-x: hidden;
}

.loader {
	border-top: 15px solid var(--theme-color-primary);
}

.block-hrdivider {
  display: table;
  white-space: nowrap;
  margin-bottom: 10px;
}
.block-hrdivider:before,
.block-hrdivider:after {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  content: "";
  display: table-cell;
  position: relative;
  top: 15px;
  width: 45%;
}

.block-hrdivider span {
  background: #fff;
  padding: 0 20px;
  font-weight: bold;
  font-size: 13px;
  color: #888;
}

/* btn-back-to-top */
.back-to-top {
  cursor: pointer;
  position: fixed;
  bottom: 80px;
  right: 15px;
  z-index: 100;
  display: none;
}

.btn-circle {
  width: 60px;
  height: 60px;
  padding: 5px 0;
  line-height: 2;
  border-radius: 30px;
  background: url("../../images/icon/arrow_up_white_gray_24_x_24.png");
  background-color: var(--theme-color-primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  border: 5px solid var(--theme-color-primary);
}
.btn-circle:hover {
  width: 60px;
  height: 60px;
  padding: 5px 0;
  line-height: 2;
  border-radius: 30px;
  background: url("../../images/icon/arrow_up_white_gray_24_x_24.png");
  background-color: var(--theme-color-primary);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  border: 5px solid var(--theme-color-primary);
}
/* end btn-back-to-top */

.btn-submit {
  background: var(--theme-color-primary);
  font-size: 16px;
  border: 1px solid var(--theme-color-primary);
  color: #f8f8f8;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-submit-register {
  background: var(--theme-color-primary);
  font-size: 16px;
  border: 0;
  color: #f8f8f8;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-red {
  background: var(--theme-color-danger);
  color: #fff;
  border: 1px solid var(--theme-color-danger);
  font-size: 16px;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-next {
  background: #ffffff;
  border: 1px solid rgb(120, 128, 127);
  font-size: 16px;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-next:hover {
  background: rgb(120, 128, 127);
  border: 0;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-back {
  background: #ffffff;
  border: 1px solid var(--theme-color-primary);
  font-size: 16px;
  color: var(--theme-color-primary);
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-back:hover {
  background: var(--theme-color-primary);
  border: 1px solid var(--theme-color-primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-submit-modal {
  background: var(--theme-color-primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  font-size: 16px;
  padding: 7px 0;
  margin: 12px 0;
  width: 25%;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-close-modal {
  background: #ffffff;
  cursor: pointer;
  border: 1px solid var(--theme-color-primary);
  color: var(--theme-color-primary);
  font-size: 16px;
  padding: 7px 0;
  margin: 12px 0;
  width: 25%;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-close-modal:hover {
  cursor: pointer;
  background: var(--theme-color-primary);
  border: 1px solid var(--theme-color-primary);
  color: #fff;
  font-size: 16px;
  padding: 7px 0;
  margin: 12px 0;
  width: 25%;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-login-line {
  background: rgb(3, 204, 3);
  color: #fff !important;
  border: 0;
  border-radius: var(--border-radius-button);
  cursor: pointer;
  outline: none;
  padding: 7px 20px;
  width: 100%;
  background: rgb(3, 204, 3);
  font-weight: bold;
}

.btn-attach-slip {
  background: var(--theme-color-danger);
  color: #fff !important;
  border: 0;
  border-radius: var(--border-radius-button);
  cursor: pointer;
  outline: none;
  padding: 7px 20px;
  width: 100%;
  font-weight: bold;
}

.navbar {
  background: #fff;
  color: #000;
  -webkit-box-shadow: 0 8px 6px -6px #ccc;
  -moz-box-shadow: 0 8px 6px -6px #ccc;
  box-shadow: 0 8px 6px -6px #ccc;
}
.navbar .nav-link {
  color: rgb(8, 8, 8);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--theme-color-primary);
  text-decoration: none;
}

/* Change navbar styling on scroll */
.navbar.active {
  background: #555;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.active .nav-link {
  color: #555;
}

.navbar-toggler {
  color: rgb(8, 8, 8);
}

.dropdown-menu {
  background-color: rgb(84, 87, 122);
  border: 0;
}

.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgb(186, 188, 195);
  text-decoration: none;
}

footer {
  background: #f7f7f7;
  color: #000000;
  position: relative;
  top:-10px;
  bottom: 0;
  left: 0;
  font-size: 14px;
  text-align: center;
}

.website-version {
  bottom: 1.5rem;
  font-size: 0.9rem;
  position: absolute;
  right: 15px;
}

.copyright {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  text-align: center;
}

@media (max-width: 765px) {
  .relatewebsite,
  .copyright {
    border-bottom: 5px solid var(--theme-color-danger);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .copyright {
    border: 0;
    text-align: left;
  }

  .footer-contact {
    flex-direction: column-reverse;
  }
}

.short-menu-icon {
  color: var(--theme-color-primary);
  font-size: 30px;
}

.short-menu-name {
  color: #000;
  font-weight: bold;
}

.short-menu-name-en {
  color: #6c757d;
  font-size: 14px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--theme-color-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--theme-color-primary);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.option-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  position: relative;
  top: 9px;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24px;
  width: 24px;
  transition: all 0.15s ease-out 0s;
  background: rgb(177, 236, 233);
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.5rem;
  outline: none;
  position: relative;
  z-index: 1000;
}
.option-input:hover {
  /* background: rgb(39, 168, 162); */
}
.option-input:checked {
  background: rgb(39, 168, 162);
}

.input-checkbox:checked::before {
  height: 24px;
  width: 24px;
  position: absolute;
  content: "\2713";
  display: inline-block;
  font-size: 20px;
  right: 0.5px;
  text-align: center;
  line-height: 24px;
  color: #fff;
}

.input-radio:checked::before {
  height: 24px;
  width: 24px;
  position: absolute;
  content: " \25CF";
  display: block;
  font-size: 24px;
  text-align: center;
  line-height: 24px;
  color: rgb(255, 255, 255);
}

.option-input:checked::after {
  /* -webkit-animation: click-wave 0.65s;
	-moz-animation: click-wave 0.65s;
	animation: click-wave 0.65s; */
  background: #40e0d0;
  content: "";
  display: block;
  position: relative;
  z-index: 100;
  border-radius: 50%;
}
.option-input.radio {
  border-radius: 50%;
}
.option-input.radio::after {
  border-radius: 50%;
}

.card-profile{
  border: 0px;
  background: -webkit-linear-gradient(bottom, #f7f7f7, #3cb5f7) !important;
}
.card-header-profile{
  border: 0px;
  background-color: rgb(255 255 255 / 3%);
}

.card-body-profile{
  border: 0px;
  color:#ffff;
  border-radius: 15px;
  box-shadow: rgb(15 127 190) 0px 5px, rgb(34 136 193) 0px 10px, rgb(34 136 193) 0px 15px, rgb(34 136 193) 0px 20px, rgb(34 136 193) 0px 25px;
}

.card-footer-profile{
  border: 0px;
  color:#ffff;
  margin-top: 19px;
  background-color: #2288c1;
  box-shadow: 0px -8px 0px #2288c1;
  border-bottom-left-radius: 15px !important;
  border-bottom-right-radius: 15px !important;
}

 /* timeline */
 .item-timeline {
  background-color: #FFFFFF;
  border: 1px solid #868484;
  color: #000000;
  width: 50px;
  height: 50px;
  text-align: center;
  padding: 12px;
  z-index: 10;
}

.item-timeline-active {
  background-color: var(--theme-color-primary);
  border: 1px solid var(--theme-color-primary);
  color: #FFFF;
  width: 50px;
  height: 50px;
  text-align: center;
  padding: 12px;
  z-index: 10;
}

.line-timeline {
  border-bottom: 3px solid #D9D9D9;
  position: relative;
  top: -40px;
  z-index: 1;
}


.btn-submit-outline {
  background: #ffffff;
  border: 1px solid var(--theme-color-primary);
  font-size: 16px;
  color: #000000;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}

.btn-submit-outline:hover {
  background: var(--theme-color-primary);
  border: 1px solid var(--theme-color-primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 7px 0;
  width: 100%;
  margin: 12px 0;
  border-radius: var(--border-radius-button);
  font-weight: bold;
}
