@font-face {
  font-family: Kanit;
  src: url(../fonts/Kanit/Kanit-Light.ttf) format("ttf");
  font-weight: 300;
}
@font-face {
  font-family: Kanit;
  src: url(../fonts/Kanit/Kanit-Regular.ttf) format("ttf");
  font-weight: normal;
}
@font-face {
  font-family: Kanit;
  src: url(../fonts/Kanit/Kanit-Medium.ttf) format("ttf");
  font-weight: 500;
}

@font-face {
  font-family: Kanit;
  src: url(../fonts/Kanit/Kanit-SemiBold.ttf) format("ttf");
  font-weight: 600;
}

:root{
  --bg-web:#F9F9F9;
  --bg-header:#FFF;
  --bg-nav-green:linear-gradient(90deg, rgba(13,97,74,1) 0%, rgba(0,127,147,1) 100%);
  --bg-nav-grey:#999;
  --bg-nav-red:#CC5C5C;
  --bg-nav-orange:#EE7C0B;
  --bg-nav-blue:#2174E4;
  --bg-nav-green-light:#55A913;
  --bg-nav-sos:#EB5757;
  --bg-grey:#F9F9F9;
  --bg-blue-light:#EFF5FD;
  --color-font:#2F4858;
  --color-text-gradient:linear-gradient(180deg, #0D614A, #007F93);

  --color-primary:#0D615F;
  --color-primary-hover:#0d8d8a;
  --color-white:#FFF;
  --color-blue:#2F80ED;
  --color-dark-blue:#030650;
  --color-grey-light:#9D9D9D;
  --color-grey:#DEDEDE;
  --color-black:#2F4858;
  --color-green-light:#DAE5E2;
  --color-red:#EB5757;
  --color-green:#64B922;
  --color-yellow:#F2C94C;
  --color-orange:#F87F07;
  --color-purple:#7239EA;

  --border-color-form:#EAEAEA;
  --input-border:#D0D5DD;
  --input-placeholder:#98A2B3;

  --fs-5:1.25rem;
  --fs-6:1rem;
  --fs-7:0.875rem;
  --fs-8:0.75rem;
  --fs-9:0.625rem;
}

body{
  font-family: Kanit;
  background-color:var(--bg-web);
  font-size:1rem;
  padding-top: 60px;
  padding-bottom:80px;
  color:var(--color-black);
}
a{
  text-decoration: none;
  transition:ease .2s;
  word-wrap: break-word; /* Break long words or URLs */
  word-break: break-word; /* For older browser support */
  overflow-wrap: break-word; /* Modern property for breaking words */
  text-decoration: none; /* Optional: Customize the default underline */
  display: contents; 
}
hr{
  border-color:var(--input-border);
}
/*============= Header =============*/
header > nav{
  background-color: var(--bg-header);
  height: 60px;
}
#logo{
  height:50px;
  width:auto;
}
#thaiID{
  width:40px;
  height: auto;
}
#topMenu{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x)* .5);
  padding-left: calc(var(--bs-gutter-x)* .5);
  background-color: var(--color-white);
  border-radius: 10px 10px 0 0;
}
#topMenu > ul{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.nav-link{
  color:#ABB7C2;
  font-size:var(--fs-8);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:.5rem;
  height: 80px;
  position: relative;
}
.nav-link::before{
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#menu-home::before{
  background-image: url(../images/menu/home.svg);
}
#menu-home.active::before, #menu-home:hover::before{
  background-image: url(../images/menu/home-active.svg);
}
#menu-report::before{
  background-image: url(../images/menu/report.png);
}
#menu-alert::before{
  background-image: url(../images/menu/alert.svg);
}
#menu-setting::before{
  background-image: url(../images/menu/setting.svg);
}

.nav-link.active::after{
  content: '';
  display: block;
  position: absolute;
  top:0;
  height: 3px;
  border-radius: 20px;
  width: 80%;
  left:50%;
  transform: translateX(-50%);
  background:var(--color-text-gradient);
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover{
   background: var(--color-text-gradient); /* Your gradient colors */
  -webkit-background-clip: text; /* Clips the background to the text */
  -webkit-text-fill-color: transparent; /* Makes the text transparent to show the gradient */
}
.bg-none{
  background: none !important;
}
.bg-green{
  background-color:var(--color-green)!important;
}
.bg-red{
  background-color:var(--color-red)!important;
}
.bg-orange{
  background-color:var(--color-orange)!important;
}
.bg-grey{
  background-color: var(--bg-grey);
}
.bg-blue-light{
  background-color: var(--bg-blue-light);
}

.point{
  width: 8px;
  height: 8px;
  border-radius: 100%;
}
.border{
  border-color:var(--border-color-form) !important;
}
.border-blue{
  border-color:var(--color-blue) !important;
}
.border-green{
  border-color:var(--color-green) !important;
}
.border-primary{
  border-color:var(--color-primary) !important;
}
.border-orange{
  border-color:var(--color-orange) !important;
}
.border-red{
  border-color:var(--color-red) !important;
}
.text-primary{
  color:var(--color-primary) !important;
}
.text-green{
  color:var(--color-green) !important;
}
.text-blue{
  color: var(--color-blue) !important;
}
.text-black{
  color:var(--color-black) !important;
}
.text-red{
  color: var(--color-red) !important;
}
.text-grey{
  color: var(--color-grey) !important;
}
.text-grey-light{
  color: var(--color-grey-light) !important;
}
.text-orange{
  color: var(--color-orange) !important;
}
.text-purple{
  color:var(--color-purple) !important;
}
#weather{
  font-size:var(--fs-9);
}
#btn-login{
  background-color: var(--color-white);
  color:var(--color-primary);
  border:1px solid var(--color-primary);
  font-size: var(--fs-8);
  transition:ease .15s;
}
#btn-login:hover{
  color:var(--color-white);
  background-color: var(--color-primary);
}
.flex-none{
  flex:none !important;
}
.flex-warp{
  flex-wrap: wrap !important;
}
.swiper-pagination-bullet{
  opacity: 1;
  background: #D9D9D9;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: var(--color-primary);
}

.fs-5{
  font-size: var(--fs-5) !important;
}
.fs-6{
  font-size: var(--fs-6) !important;
}
.fs-7{
  font-size: var(--fs-7) !important;
}
.fs-8{
  font-size: var(--fs-8) !important;
}
.fs-9{
  font-size: var(--fs-9) !important;
}
.link-primary{
  color: var(--color-primary) !important;
  display: block;
}
.link-primary:hover{
  color: var(--color-primary) !important;
  text-decoration: underline;
  text-decoration-color:var(--color-primary) !important;
}
.link-black{
  color: var(--color-black);
}
.link-black:hover{
  color:var(--color-primary);
}

.mt-begin{
  margin-top:0.75rem;
}
.m-form{
  margin:1rem auto;
}
.p-con{
  padding:0.625rem 0.75rem;
}
.img-cover{
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transition: ease .25s;
}
#service .swiper-wrapper{
  display: flex;
  flex-direction: row;
  align-content: stretch;
}
#service .swiper-slide picture, .municipal-news picture{
  overflow: hidden;
  display: block;
  width: 100%;
  border-radius: .5rem;
  aspect-ratio: 2 / 1;
}
.municipal-news picture{
  flex: none;
  width: 124px;
  height: 93px;
}
#service .swiper-slide:hover picture img, .municipal-news:hover picture img, .pic-news-general:hover img{
  transform: scale(1.1);
}
#service .swiper-slide h3{
  background-color: var(--color-yellow);
  margin-bottom:0;
}

#news .swiper-slide picture, .pic-news-general picture{
  overflow: hidden;
  display: block;
  width: 100%;
  border-radius: .5rem;
  aspect-ratio: 3 / 2;
}

.sw-nav div[class*="swiper-button"]{
  background-color: rgba(0,0,0,0.3);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-image: url(../images/icon/next.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
}
.sw-nav div[class*="swiper-button"]:hover{
  background-color: rgba(13,97,95,0.8);
}
.sw-nav div[class*="swiper-button"]::after{
  display: none;
}
.sw-nav .swiper-button-next{
  right: 1rem
}
.sw-nav .swiper-button-prev{
  left: 1rem;
  transform: scaleX(-1);
}

.mb-title{
  margin-bottom: 10px;
}
.pb-swiper{
  padding-bottom:1.8rem;
}

.municipal-news .municipal-desc{
  background-color: var(--color-green-light);
  flex: 1 1 0%;
}
.municipal-news .municipal-desc h2, .municipal-news .municipal-desc h3{
  line-height: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#menu-service a:hover h3{
  color:var(--color-primary) !important;
}
.img_menu_service{
  width:40px;
  height: 40px;
}
.modal-md{
  max-width: 600px;
}
.btn-primary{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover, .btn-primary:focus, :not(.btn-check)+.btn:active{
  background-color: var(--color-primary-hover) !important;
  border-color: var(--color-primary-hover) !important;
}
.btn-green{
  background-color: var(--color-green);
  border-color: var(--color-green);
  color:var(--color-white);
}
.btn-green:hover, .btn-green:active{
  background-color: #53a018 !important;
  color: var(--color-white) !important;
}
.btn-green-light{
  background-color: #95D5B2;
  border-color: #95D5B2;
  color:var(--color-primary);
}
.btn-green-light:hover, .btn-green-light:active{
  background-color: #ace7c7!important;
  border-color: #ace7c7!important;
  color:var(--color-primary);
}
.btn-orange{
  background-color: var(--color-orange);
  color:var(--color-white);
}
.btn-orange:hover, .btn-orange:active{
  background-color: #ffa143 !important;
  color:var(--color-white)!important;
}
.btn-blue{
  background-color: var(--color-blue);
  color:var(--color-white);
}
.btn-blue:hover, .btn-blue:active{
  background-color: #1c61bd !important;
  color:var(--color-white) !important;
}
.btn-grey{
  color:var(--color-white) !important;
  background-color: var(--color-grey-light);
  border-color: var(--color-grey-light);
}
.btn-grey:hover, .btn-grey:focus, .btn-grey:active{
  background-color: #646464 !important;
}
.btn.icon-plus::before{
  display: block;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/plus.svg);
  background-size: contain;
}
.btn:disabled{
  background-color: var(--bg-web);
  border-color: var(--bg-web);
  color:#ABB7C2;
}
.w-btn-1{
  width: 100%;
  max-width: 100%;
}
.flex-auto{
  flex: 1 1 auto;
}

#breadcrumbNav{
  /*top:60px;*/
  min-height: 60px;
  display: flex;
  align-items: center;
  /*position: fixed;*/
  width: 100%;
  border-radius: 0 0 20px 20px;
  /*z-index: 1029;*/
}
#breadcrumbNav::before{
  pointer-events: none;
  content:'';
  display: block;
  width: 120%;
  right:0;
  height: 100%;
  position: absolute;
  background: rgb(255,255,255);
  background: -moz-linear-gradient(358deg, rgba(255,255,255,0.08) 48%, rgba(255,255,255,0) 50%);
  background: -webkit-linear-gradient(358deg, rgba(255,255,255,0.08) 48%, rgba(255,255,255,0) 50%);
  background: linear-gradient(358deg, rgba(255,255,255,0.08) 48%, rgba(255,255,255,0) 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}
.bg-nav-green{
  background: var(--bg-nav-green);
}
.bg-nav-green-light{
  background: var(--bg-nav-green-light);
}
.bg-nav-grey{
  background: var(--bg-nav-grey);
}
.bg-nav-red{
  background: var(--bg-nav-red);
}
.bg-nav-orange{
  background: var(--bg-nav-orange);
}
.bg-nav-blue{
  background: var(--bg-nav-blue);
}
.bg-yellow{
  background-color: var(--color-yellow);
}
.bg-nav-sos{
  background: var(--bg-nav-sos);
}
.border-form{
  border:unset;
  border-radius:unset;
  filter: unset;
  background-color: unset;
}
.border-box, .border-alert{
  border:1px solid var(--border-color-form);
  border-radius: 1rem;
  filter: drop-shadow(0px 3px 3px #a2a2a269);
  background-color: var(--color-white);
}
.border-shadow{
  filter: drop-shadow(0px 3px 3px #a2a2a269);
}
.border-alert{
  height: calc(100dvh - 316px);
}
.h-benefit{
  height: calc(100dvh - 236px);
}
input.form-control, select.form-select{
  border-color:var(--input-border);
  height:52px !important;
  min-height: 52px !important;
}
input.form-control::placeholder, select.form-select:invalid{
  color: var(--input-placeholder);
}
.form-check{
  padding-left:2.5em;
}
.form-check .form-check-input{
  margin-left: -2.5em;
}
.form-check-input:disabled{
  background-color: var(--input-border) !important;
}
input[type="radio"]{
  width: 30px;
  height: 30px;
}
input[type="checkbox"]{
  width: 20px;
  height: 20px;
}
input.input-date, input.input-time{
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
input.input-date{
  background-image: url(../images/icon/calendar.svg);
}
input.input-time{
  background-image: url(../images/icon/time.svg);
}
.form-check input[type="radio"].form-check-input:checked{
  background-color: var(--color-primary);
}
.form-check .form-check-label{
  padding-top:.5rem;
}
select.form-select option{
  color:var(--color-black);
}
.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
  color: var(--input-placeholder);
  transform: scale(.75) translateY(-.6rem) translateX(.15rem);
}
.form-floating>.form-control-plaintext:focus, .form-floating>.form-control-plaintext:not(:placeholder-shown), .form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown){
  padding-top:1.1rem;
}
/* input.form-control:focus{
  border-color: var(--color-primary);
  box-shadow: 0 0 0 .25rem #0d8d8b25;
} */
input.just-validate-error-field, select.just-validate-error-field, textarea.just-validate-error-field{
  border-color: var(--color-red);
}
.form-switch input[type="checkbox"]{
  width: 50px;
  height: 26px;
}
.form-check-input:checked{
  background-color: #95D5B2;
  border-color: #95D5B2;
}

.btn-copy{
  padding: 0;
  border:none;
  background:none;
  background-image: url(../images/icon/copy.svg);
  background-size: cover;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
}
.btn{
  height: 52px;
}
.btn-addlist{
  border:1px solid var(--input-border);
  background-color: var(--color-white);
  height: 34px;
  display: flex;
  font-size: var(--fs-8);
  gap:.25rem;
  align-items: center;
  justify-content: center;
}
.btn-addlist::before{
  content:'';
  display: block;
  width: .875rem;
  height: .875rem;
  background-image: url('../images/icon/plus_black.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-addlist:hover{
  background-color: var(--input-border);
}
.p-form{
  padding:0 .75rem;
}
.p-status{
  padding:.75rem;
}
.p-box{
  padding:1rem .75rem;
}
.btn-contact{
  background-color: var(--color-primary);
  display: block;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.btn-contact:hover{
  background-color: var(--color-primary-hover);
}
.filter-white{
  filter: brightness(10);
}

#btn-youtube, #btn-facebook{
  column-gap: 30px;
}
#btn-youtube{
  background-color: rgba(255,0,0,74%);
}
#btn-facebook{
  background-color: rgba(60,90,153,74%);
}
.btn-hover:hover{
  box-shadow: 0px 0px 8px 0px rgba(82, 82, 82, 1);
  -webkit-box-shadow: 0px 0px 8px 0px rgba(82, 82, 82, 1);
  -moz-box-shadow: 0px 0px 8px 0px rgba(82, 82, 82, 1);
}
.img-thank,.img-success{
  max-width: 100%;
  width: 300px;
  height: auto;
}
#contentThank, #loadingCon{
  height:calc(100dvh - 200px);
}

#contentSuccess{
  height:calc(100dvh - 140px);
}

/**
 * ==============================================
 * Dot Falling
 * ==============================================
 */
 .dot-falling {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 9999px 0 0 0 var(--color-primary);
  animation: dot-falling 1s infinite linear;
  animation-delay: 0.1s;
}
.dot-falling::before, .dot-falling::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-falling::before {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--color-primary);
  color: var(--color-primary);
  animation: dot-falling-before 1s infinite linear;
  animation-delay: 0s;
}
.dot-falling::after {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--color-primary);
  color: var(--color-primary);
  animation: dot-falling-after 1s infinite linear;
  animation-delay: 0.2s;
}

.table-payment-month{
  font-size: var(--fs-9);
}
.table-payment-month thead th{
  background-color: var(--color-primary);
  color:var(--color-white);
}
.table-payment-month .form-check-input:checked, .form-check-input.check-primary:checked{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.form-check-input:checked:disabled {
  border-color: var(--input-border) !important;
}
.table-payment-month .row-success td{
  background-color:#EDEDED;
}

@keyframes dot-falling {
  0% {
    box-shadow: 9999px -15px 0 0 rgba(152, 128, 255, 0);
  }
  25%, 50%, 75% {
    box-shadow: 9999px 0 0 0 var(--color-primary);
  }
  100% {
    box-shadow: 9999px 15px 0 0 rgba(152, 128, 255, 0);
  }
}
@keyframes dot-falling-before {
  0% {
    box-shadow: 9984px -15px 0 0 rgba(152, 128, 255, 0);
  }
  25%, 50%, 75% {
    box-shadow: 9984px 0 0 0 var(--color-primary);
  }
  100% {
    box-shadow: 9984px 15px 0 0 rgba(152, 128, 255, 0);
  }
}
@keyframes dot-falling-after {
  0% {
    box-shadow: 10014px -15px 0 0 rgba(152, 128, 255, 0);
  }
  25%, 50%, 75% {
    box-shadow: 10014px 0 0 0 var(--color-primary);
  }
  100% {
    box-shadow: 10014px 15px 0 0 rgba(152, 128, 255, 0);
  }
}
.select-type-2{
  position: relative;
}
.select-type-2 select{
  padding-top:1rem;
}
.select-type-2 label{
  content:attr(data-placeholder);
  position: absolute;
  color:var(--color-grey-light);
  left:1rem;
  top:.25rem;
  transform: translateY(0);
  transition: ease .1s;
  font-size: var(--fs-8);
}
.select-type-2 select:invalid + label{
  font-size: var(--fs-6);
  top:1.1rem;
}
label{
  color:var(--input-placeholder);
  background:none;
}
label::after{
  background:none !important;
}

.news-main-img img{
  display: block;
  width: 100%;
  max-height: 150px;
}
.new-gallery{
  display: flex;
  flex-wrap: wrap;
  gap:1rem;
}
.new-gallery img{
  width: 100px;
  height: 100px;
  cursor: zoom-in;
}

.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-input{
  background-image: url(../images/icon/search.svg);
  background-position: left 1rem center;
  background-repeat: no-repeat;
  padding-left:48px;
}

#tabMain1{
  border:none;
  display: flex;
  flex-wrap: nowrap;
  gap:.5rem;
}
#tabMain1 button{
  height:34px;
  width:100px;
  background-color: var(--color-white);
  border: 1px solid var(--input-border);
  border-radius:.5rem;
  max-width: 100%;
  color:var(--color-black);
  font-weight: 400;
}
#tabMain1 button.active{
  background-color: var(--color-primary);
  color:var(--color-white);
  border-color: var(--color-primary);
}
#tabMain1 button::before, #tabMain1 button::after{
  display: none;
}
.tab-sub{
  border:none;
  column-gap:1.875rem;
}
.tab-sub .nav-link{
  border:none;
  background:unset !important;
  padding: .25rem 0;
}
.tab-sub .nav-link:hover{
  color:var(--color-primary);
}
.tab-sub .nav-link.active{
  border-bottom:3px solid var(--color-primary);
  color:var(--color-primary);
}
.form-file > input[type="file"]{
  width: 0;
  height: 0;
  display: none;
  padding: 0;
  pointer-events: none;
}
.form-file > label{
  height: 52px;
  border:1px solid var(--input-border);
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: .5rem;
  padding: 1rem;
  padding-right: 0;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.form-file > label.hasfile:after{
  position: absolute;
  right:0;
  flex:none;
  margin-left:auto;
  background-color: var(--color-white) !important;
  content: '';
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 1rem;
  width: 52px;
  height: 52px;
  background-image: url(../images/icon/hasfile.webp) !important;
  background-size: 30px 30px !important;
  background-position: right 1rem center !important;
  background-repeat: no-repeat !important;
}
.form-file-2 input[type="file"]{
  display: none;
}
.form-file-2 .icon{
  width: 30px;
  height: 30px;
  background-image: url(../images/icon/hasfile.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.form-file-2.hasfile .icon{
  background-image: url(../images/icon/hasfile_2.webp);
}
.form-file-2 label{
  border:1px solid var(--color-blue);
  padding: .25rem 1rem;
  border-radius: .5rem;
  color:var(--bg-nav-blue)
}
.form-file-2.hasfile{
  border-color: var(--color-primary) !important;
}
.form-file-2 .detail-file{
  display: none;
  align-items: center;
  justify-content: space-between;
}
.form-file-2.hasfile .detail-file{
  display: flex;
}
.form-file-2 .btn-remove{
  color:var(--color-red);
  background: none;
  border:none;
  font-size: var(--fs-7);
  display: flex;
  align-items: center;
  gap:.25rem;
}
.form-file-2 .btn-remove::before{
  content: '';
  width: 1rem;
  height: 1rem;
  display: block;
  background-image: url(../images/icon/delete_red.svg);
  background-position: center;
  background-repeat: no-repeat;
}
.status-con{
  padding-right: calc(var(--bs-gutter-x)* .5);
  padding-left: calc(var(--bs-gutter-x)* .5);
}
.status-con .d-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.col-span-1{
  grid-column: span 1 / span 1;
}
.col-span-2{
  grid-column: span 2 / span 2;
}
.status-submitted{
  border: 1px solid var(--bg-nav-grey);
  background-color: #f2f2f2;
}
.status-rejected{
  border: 1px solid var(--bg-nav-red);
  background-color: #FEF3F3;
}
.status-pending{
  border: 1px solid var(--bg-nav-orange);
  background-color: #FFF6EE;
}
.status-completed{
  border: 1px solid var(--bg-nav-green-light);
  background-color: #F7FBF4;
}
.status-inprogress{
  border: 1px solid var(--bg-nav-blue);
  background-color: #EFF5FD;
}
.status-con .hr{
  display: none;
}

input.show-calendar + .flatpickr-calendar .flatpickr-day{
  color:#8CCE58;
}

input.show-calendar + .flatpickr-calendar .flatpickr-disabled{
  color:#E60E0E;
}
input.show-calendar + .flatpickr-calendar .flatpickr-day.full-booked{
  color:#FF7D04;
}
input.show-calendar + .flatpickr-calendar .flatpickr-day.prevMonthDay, input.show-calendar + .flatpickr-calendar .flatpickr-day.nextMonthDay {
  color:#3939394d !important;
}
.res-time-box{
  border:1px solid var(--input-border);
  padding:1rem;
  border-radius:.5rem;
  width: 100%;
  background-color: var(--color-white);
  transition:ease .1s;
}
.res-time-box:hover, .res-time-box.active{
  color:var(--color-white);
  background-color: #95D5B2;
}
.res-time-box.disabled{
  cursor: not-allowed;
  color:var(--input-border);
  background-color: #98A2B3;
}
.doc-reservation:hover{
  background-color: var(--color-blue);
  color:var(--color-white) !important;
}
.doc-reservation:hover *{
  transition:ease .1s;
  color:var(--color-white) !important;
}

#step{
  margin:0;
  padding:0;
  list-style:none;
  display: flex;
  justify-content: center;
  counter-reset: step-counter;
  width: 360px;
  max-width: 100%;
  margin:auto;
}
#step li{
  position: relative;
  font-size: var(--fs-8);
  text-align: center;
  flex: 1;
  color: #ABB7C2;

}
#step li::before {
  content: counter(step-counter); /* Add number dynamically */
  counter-increment: step-counter;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border: 1px solid var(--input-border);
  font-size: var(--fs-5);
  border-radius: 100%;
  background: white;
  color: #ABB7C2;
}
#step li:not(:first-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 2px;
  background: #999;
  z-index: -1;
}

#step li.active,  #step li.completed{
  color: #95D5B2; /* Bright green for active text */
}

#step li.active::before, #step li.completed::before {
  border-color: #95D5B2;
  background: #95D5B2;
  color: white;
}
#step li.active::after, #step li.completed::after{
  background: #95D5B2;
}
.btn-green-ar, .btn-white-ar, .btn-blue-ar, .btn-green-download{
  padding:.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #95D5B2;
  color:var(--color-primary);
  /* width: 100%; */
  border:none;
  border-radius: .5rem;
  height: 52px;
  transition: ease .1s;
}
.btn-green-download{
  justify-content: center;
  gap:.5rem;
}
.btn-green-ar::after, .btn-white-ar::after, .btn-blue-ar::after, .btn-green-download::after{
  content:'';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/back.svg);
  background-size: contain;
  rotate: 180deg;
}
.btn-green-download::after{
  background-image: url(../images/icon/download_payment.svg);
  rotate: 0deg;
}
.btn-green-ar:hover, .btn-green-download:hover{
  background-color: var(--color-primary);
  color:var(--color-white);
}
.btn-green-ar:hover::after, .btn-green-download:hover::after{
  filter: brightness(10);
}
.btn-white-ar{
  background-color: var(--color-white);
  border:1px solid var(--input-border) !important;
}
.btn-white-ar:hover{
  background-color: var(--input-border);
}
.btn-blue-ar{
  background-color: #EFF5FD;
  color:var(--color-blue) !important;
  border:1px solid var(--color-blue) !important;
}
.btn-blue-ar:hover{
  background-color: #d0e4ff;
}

.vertical-steps {
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: relative;
  margin-top:-1.25rem;
}

.vertical-steps li {
  position: relative;
  margin-left: 1rem;
  padding: 10px 0 0 30px;
  border-left: 4px solid #E6E6E6; /* สีเส้นแนวตั้งเริ่มต้น */
  color: #9D9D9D; /* สีข้อความเริ่มต้น */
}
.vertical-steps li > div{
  transform: translateY(2px);
}
.vertical-steps li.active > div{
  transform: translateY(5px);
}
.vertical-steps li::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 100%;
  width: 16px;
  height: 16px;
  background-color: #E6E6E6; /* สีจุดเริ่มต้น */
  border-radius: 50%;
  transform: translateY(-100%);
}

.vertical-steps li:first-child {
  border-color:#ffffff00;
}
.vertical-steps li.active{
  font-size: var(--fs-5);
}
.vertical-steps li.active::after{
  content: '';
  position: absolute;
  left: -8px;
  top: 100%;
  width: 12px;
  height: 12px;
  border:2px solid #FFF;
  transform: translateY(-117%);
  border-radius: 50%;
}
.vertical-steps li.success{
  color:var(--color-green);
}
.vertical-steps li.success::before{
  background-color:var(--color-green);
}
.vertical-steps li.success + li[class]{
  border-left-color:var(--color-green);
}

.vertical-steps li.pending{
  color:var(--color-orange);
}
.vertical-steps li.pending::before{
  background-color:var(--color-orange);
}
.vertical-steps li.pending + li[class]{
  border-left-color:var(--color-orange);
}

.vertical-steps li.reject{
  color:var(--color-red);
}
.vertical-steps li.reject::before{
  background-color:var(--color-red);
}
.vertical-steps li.reject + li[class]{
  border-left-color:var(--color-red);
}

#qrPayment{
  width: 280px;
  height: auto;
  max-width: 100%;
}
#btnMoreDoc{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap:1rem;
}
#btnMoreDoc:after{
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(../images/icon/back.svg);
  background-size: contain;
  rotate: 180deg;
  transition:ease .1s;
}
#btnMoreDoc[aria-expanded="true"]:after{
  rotate:270deg;
}
.list-months{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:.5rem;
}
.list-months > div{
  background-color: var(--bg-grey);
  border:1px solid var(--input-border);
  border-radius: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-8);
  height: 26px;
}
.list-months > div[class]{
  color:var(--color-white);
  border:none;
}

.upload-container {
  width: 100%;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  min-height: 354px;
  background-color: #F9F9F9;
}

.upload-container input[type="file"] {
  display: none;
}

.upload-container .upload-label {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  height: 100px;
  width: 150px;
  max-width: 100%;
  cursor: pointer;
  background-color: #FFF;
  border-radius: 5px;
  color: var(--color-font);
}

.upload-container .preview-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 1rem;
}

.upload-container .preview-image {
  position: relative;
  width: 200px;
  height: 200px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.upload-container .preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-container .remove-btn {
  position: absolute;
  top: .25rem;
  right: .25rem;
  background: var(--color-red);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: .8;
}
.upload-container .remove-btn:hover {
  opacity: 1;
}

.upload-container .error-message {
  color: red;
  font-size: 14px;
  /* display: none; */
  margin-top:1rem;
}
.review-content{
  margin-top:1rem;
  display: flex;
  flex-direction: row;
  gap:1.5rem;
}
.review-content .review{
  cursor: pointer;
  border-radius: 100%;
}
.review[data-score="5"]:hover, .review.active[data-score="5"]{
  filter: brightness(0) saturate(100%) invert(59%) sepia(16%) saturate(2980%) hue-rotate(43deg) brightness(93%) contrast(95%);
}
.review[data-score="4"]:hover, .review.active[data-score="4"]{
  filter: brightness(0) saturate(100%) invert(89%) sepia(16%) saturate(313%) hue-rotate(78deg) brightness(91%) contrast(88%);
}
.review[data-score="3"]:hover, .review.active[data-score="3"]{
  filter: brightness(0.35) saturate(100%) invert(90%) sepia(59%) saturate(300%) hue-rotate(0deg) brightness(105%) contrast(101%);
}
.review[data-score="2"]:hover, .review.active[data-score="2"]{
  filter: brightness(0) saturate(100%) invert(62%) sepia(88%) saturate(1271%) hue-rotate(2deg) brightness(104%) contrast(104%);
}
.review[data-score="1"]:hover, .review.active[data-score="1"]{
  filter: brightness(0) saturate(100%) invert(53%) sepia(56%) saturate(500%) hue-rotate(310deg) brightness(95%) contrast(100%);
}
.pagination-container ul{
  display: flex;
  justify-content: center;
  list-style: none;
  margin:0;
  padding:0;
  gap:.5rem;
}
.pagination-container ul li{
  display: flex;
  align-items: center;
  justify-content:center;
  color:var(--input-border);
}
.pagination-container ul li.active{
  background-color:var(--color-primary);
  color:var(--color-white);
}
.pagination-container ul li.paginationjs-page{
  border:1px solid var(--input-border);
  border-radius: .5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
}
#settingLogout:hover .text-black{
  color:var(--color-red) !important;
}

.modal-header, .modal-footer{
  border:none;
}
.modal-header .btn-close{
  position: absolute;
  right: 1rem;
}
@media (min-width: 576px) {
  .p-form, .p-status{
    padding:1.5rem;
  }
  .border-form{
    border:1px solid var(--border-color-form);
    border-radius: 1rem;
    filter: drop-shadow(0px 3px 3px #a2a2a269);
    background-color: var(--color-white);
  }
  .status-con{
    padding:0;
  }
  .table-payment-month{
    font-size: var(--fs-8);
  }
  .w-btn-1{
    width: 336px;
  }
  
}

@media (min-width: 768px) {
  body{
    padding-bottom: 0;
  }
  #weather,#btn-login{
    font-size:var(--fs-7);
  }
  #topMenu{
    position: relative;
  }
  #topMenu > ul{
    margin-left:auto;
    width: auto;
    display: flex;
  }
  #otherMenu{
    border-left:1px solid var(--color-grey);
  }
  .nav-link{
    color:var(--color-font);
    font-size:var(--fs-7);
    font-weight: 500;
    height: auto;
  }
  .nav-link::before, .nav-link::after{
    display: none !important;
  }
  .mt-begin{
    margin-top:2.5rem;
  }
  .m-form{
    margin:2.5rem auto;
  }
  .fs-5-md{
    font-size:var(--fs-5) !important;
  }
  .fs-6-md{
    font-size:var(--fs-6) !important;
  }
  .mb-title{
    margin-bottom: 1rem;
  }
  .sw-nav div[class*="swiper-button"]{
    width: 30px;
    height: 30px;
  }
  .sw-nav .swiper-button-next{
    right: 1.25rem;
  }
  .sw-nav .swiper-button-prev{
    left: 1.25rem;
  }
  .municipal-news picture{
    width: 100%;
    height: auto;
  }
  .municipal-news .municipal-desc h2, .municipal-desc h3{
    line-height: 1.25rem;
    -webkit-line-clamp: 3;
  }
  .border-alert{
    height: auto;
  }
  .img-thank,.img-success{
    width: 200px;
    height: auto;
  }
  #contentThank, #loadingCon{
    height:calc(100dvh - 136px);
  }
  #contentSuccess{
    height:calc(100dvh - 80px);
    min-height: 540px;
  }
  .grid-md-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #tabMain1{
    gap:1.5rem;
  }
  #tabMain1 button{
    height:40px;
    width:158px;
  }
  .status-con .hr{
    width: 1px;
    display: flex;
    height: auto;
    background-color: var(--input-border);
  }

  .btn-addlist{
    height: 40px;
    font-size: 1rem;
  }
  .table-payment-month{
    font-size: var(--fs-7);
  }
  
}

@media (min-width: 992px) {
  body{
    padding-top: 76px;
  }
  header > nav{
    height: 76px;
  }
  #breadcrumbNav{
    top:76px;
  }
  .fs-5-lg{
    font-size:var(--fs-5) !important;
  }
  .fs-6-lg{
    font-size:var(--fs-6) !important;
  }
  .sw-nav div[class*="swiper-button"]{
    width: 36px;
    height: 36px;
  }
  .p-con{
    padding:24px 40px;
  }
  .img_menu_service{
    width:64px;
    height: 64px;
  }
  .p-form, .p-status{
    padding:2.5rem;
  }
  .list-months{
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  
}

@media (min-width: 1200px) {
  .nav-link{
    font-size:var(--fs-6);
  }
  #weather{
    font-size:var(--fs-6);
  }
  #btn-login{
    background-color: var(--color-dark-blue);
    border-color:var(--color-dark-blue);
    color:var(--color-white);
    max-width: 100%;
    width: 336px;
    height: 40px;
    font-size: var(--fs-6);
  }
  #btn-login:hover{
    background-color: var(--color-dark-blue);
    filter: brightness(110%);
    box-shadow: 0px 0px 8px 0px rgba(82,82,82,1);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(82,82,82,1);
    -moz-box-shadow: 0px 0px 8px 0px rgba(82,82,82,1);
  }
  #btn-login > div{
    transform: translateX(-20px);
  }
  .fs-5-xl{
    font-size:var(--fs-5) !important;
  }
  .fs-6-xl{
    font-size:var(--fs-6) !important;
  }
  #service .swiper-slide picture{
    height: 220px;
  }
  .sw-nav div[class*="swiper-button"]{
    width: 40px;
    height: 40px;
  }
  .municipal-news .municipal-desc h3{
    line-height: 1.5rem;
  }
  .grid-xl-cols-5{
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}