@import url("https://fonts.googleapis.com/css2?family=Kanit&display=swap");
@font-face {
  font-family: "SukhumvitSet-SemiBold";
  src: url("../fonts/SukhumvitSet-SemiBold.ttf");
}
@font-face {
  font-family: "SukhumvitSet-Bold";
  src: url("../fonts/SukhumvitSet-Bold.ttf");
}

.backdrop {
  background-image: url("../img/back2.jpg");
}

.backdrop2 {
  background-image: url("../img/badge.jpg");
}

.backdrop3 {
  background-image: url("../img/back5.png");
}

.backdrop4 {
  background-image: url("../img/back3.jpg");
}

.backdrop5 {
  background-image: url("../img/back4.jpg");
}

.backdrop6 {
  background-image: url("../img/back5.jpg");
}

.backdrop7 {
  background-image: url("../img/back6.jpg");
}

.dropbtn2 {
  background-color: #04aa6d;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.dropdown2 {
  position: absolute;
  display: inline-block;
}

.dropdown-content2 {
  display: none;
  position: absolute;
  background-color: #f35592;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content2 a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.curser {
  cursor: pointer;
}

#confirm {
  transition: all 0.3s ease;
}

#confirm:hover {
  transition: all 0.3s ease;
  box-shadow: 0px 0px 50px rgb(190, 255, 252);
}

.logo {
  color: rgb(83, 83, 83);
  transform: scale(1);
  transition: all 0.3s ease;
}

.logo:hover {
  color: rgb(70, 70, 70);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

.fontTH {
  font-family: "Kanit", sans-serif;
}

.fontSV {
  font-family: "SukhumvitSet-SemiBold";
}
.fontSV-bold {
  font-family: "SukhumvitSet-Bold";
}

.move {
  animation-name: moveOn;
  animation-duration: 2s;
}

@keyframes moveOn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */

.modalImage {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (image) */

.modalImage-content {
  padding-top: 100px;
  padding-bottom: 100px;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1200px;
}

/* Caption of Modal Image */

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */

.modalImage-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
  .modalImage-content {
    width: 100%;
  }
}

.test {
  background-color: #ff6117;
}

#reload {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.719);
  z-index: 9999;
}

#reload2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.719);
  z-index: 9999;
}

.hidden-load {
  display: none;
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -100px;
}

.col-h-1 {
  height: 3.3rem;
}

.col-h-2 {
  height: 4rem;
}

.col-h-3 {
  height: 4.3rem;
}

.col-h-4 {
  height: 5.3rem;
}

.col-h-5 {
  height: 6.3rem;
}

.bg-block-top {
  background-image: linear-gradient(180deg, #7392a3, rgb(75, 75, 75));
}

.bg-block-bottom {
  background-image: linear-gradient(
    180deg,
    rgb(75, 75, 75),
    rgb(128, 128, 128)
  );
}

.bg-green {
  background-color: #7ecaba6c;
}

.recheck-data {
  animation-name: recheck;
  animation-duration: 2s;
}
.wrapper {
  border: 1px solid #4b00ff;
}
canvas#signature-pad {
  background: #fff;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

.glover {
  animation-name: glover;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  transition: 0.5s all ease;
}

.shadowCustom {
  box-shadow: rgba(145, 158, 171, 0.2) 0px 0px 2px 0px,
    rgba(145, 158, 171, 0.12) 0px 12px 24px -4px;
}

.rounded-30 {
  border-radius: 30px;
}

/* ปรับแต่ง Scrollbar */
.custom-scrollbar-x::-webkit-scrollbar {
  width: 12px;
  height: 10px;
  /* ความกว้างของ Scrollbar */
}

.custom-scrollbar-x::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
  /* สีพื้นหลังของ Track */
}

.custom-scrollbar-x::-webkit-scrollbar-thumb {
  background: #ffc5e3;
  /* สีของ Thumb */
  border-radius: 10px;
  /* มุมโค้งของ Thumb */
  cursor: e-resize;
}

.custom-scrollbar-x::-webkit-scrollbar-thumb:hover {
  background: #ffa4d3;
  /* สีของ Thumb เมื่อ Hover */
}

/* ปรับแต่ง Scrollbar */
.custom-scrollbar-y::-webkit-scrollbar {
  width: 12px;
  height: 10px;
  /* ความกว้างของ Scrollbar */
}

.custom-scrollbar-y::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
  /* สีพื้นหลังของ Track */
}

.custom-scrollbar-y::-webkit-scrollbar-thumb {
  background: #ffc5e3;
  /* สีของ Thumb */
  border-radius: 10px;
  /* มุมโค้งของ Thumb */
  cursor: n-resize;
}

.custom-scrollbar-y::-webkit-scrollbar-thumb:hover {
  background: #ffa4d3;
  /* สีของ Thumb เมื่อ Hover */
}

.bg-yellow {
  background-color: #eaf046 !important;
}

.bg-brown {
  background-color: #9b7f53 !important;
}

.bg-green {
  background-color: #87e884 !important;
}

.bg-purple {
  background-color: #ca6dde !important;
}

.bg-dark-blue {
  background-color: #3339bd !important;
}

.bg-gold {
  background-color: #f7dd22 !important;
}

.bg-cyan {
  background-color: #00FFFF !important;
}

.bg-magenta {
  background-color: #FF00FF !important;
}

.bg-navy-blue {
  background-color: #000080 !important;
}

.bg-saddle-brown {
  background-color: #8b4513  !important;
}

.bg-salmon {
  background-color: #FA8072 !important;
}

.bg-dark-gray {
  background-color: #54576a !important;
}


/* สีของ border */
.border-purple {
  border-color: #ca6dde !important;
}

.border-yellow {
  border-color: #eaf046 !important;
}

.border-brown {
  border-color: #9b7f53 !important;
}

.border-green {
  border-color: #87e884 !important;
}

.border-purple {
  border-color: #ca6dde !important;
}
.border-dark-blue {
  border-color: #3339bd !important;
}
.border-gold {
  border-color: #f7dd22 !important;
}

.border-cyan {
  background-color: #00FFFF !important;
}

.border-magenta {
  background-color: #FF00FF !important;
}

.border-navy-blue {
  background-color: #000080 !important;
}

.border-saddle-brown {
  background-color: #8b4513  !important;
}

.border-salmon {
  background-color: #FA8072 !important;
}

.border-dark-gray {
  background-color: #54576a !important;
}


@keyframes recheck {
  from {
    background-color: #fa643e;
  }
  to {
    background-color: none;
  }
}

@keyframes glover {
  0% {
    box-shadow: 0px 3px 25px rgb(247, 255, 137);
  }
  50% {
    box-shadow: none;
  }
  100% {
    box-shadow: 0px 3px 25px rgb(247, 255, 137);
  }
}
