@import url("simple-line-icons.css");

@keyframes blink {
  0%, 100% { opacity: 1; } /* Fully visible */
  50% { opacity: 0; }     /* Fully hidden */
}

html {
  scroll-behavior: smooth;
}
.sarabun-thin {
    font-family: "Sarabun", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .sarabun-extralight {
    font-family: "Sarabun", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .sarabun-light {
    font-family: "Sarabun", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .sarabun-regular {
    font-family: "Sarabun", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .sarabun-medium {
    font-family: "Sarabun", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .sarabun-semibold {
    font-family: "Sarabun", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .sarabun-bold {
    font-family: "Sarabun", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .sarabun-extrabold {
    font-family: "Sarabun", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .sarabun-thin-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .sarabun-extralight-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .sarabun-light-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .sarabun-regular-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .sarabun-medium-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .sarabun-semibold-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .sarabun-bold-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .sarabun-extrabold-italic {
    font-family: "Sarabun", sans-serif;
    font-weight: 800;
    font-style: italic;
  }
  
.alert, .brand, .btn-simple, .h1, .h2, .h3, .h4, .h5, .h6, .navbar, .td-name, a, body, button.close, h1, h2, h3, h4, h5, h6, p, td {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
.small{
  font-size: 0.8rem;
}
.form-switch.form-switch-sm {
  margin-bottom: 0.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-sm .form-check-input {
  height: 1rem;
  width: calc(1rem + 0.75rem);
  border-radius: 2rem;
}

.form-switch.form-switch-md {
  margin-bottom: 1rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-md .form-check-input {
  height: 1.5rem;
  width: calc(2rem + 0.75rem);
  border-radius: 3rem;
}

.form-switch.form-switch-lg {
  margin-bottom: 1.5rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-lg .form-check-input {
  height: 2rem;
  width: calc(3rem + 0.75rem);
  border-radius: 4rem;
}

.form-switch.form-switch-xl {
  margin-bottom: 2rem; /* JUST FOR STYLING PURPOSE */
}

.form-switch.form-switch-xl .form-check-input {
  height: 2.5rem;
  width: calc(4rem + 0.75rem);
  border-radius: 5rem;
}
#line_login_btn{
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    padding: 29px 100px;
    background-image: url('../../../uploads/content/images/line/btn_login_base.png');
    background-size: cover;
    background-position: center;
}
#line_login_btn:hover{
    background-image: url('../../../uploads/content/images/line/btn_login_hover.png');
}
#line_login_btn:active {
    background-image: url('../../../uploads/content/images/line/btn_login_press.png');
}
.text-grey{
  color: #ccc;
}
.dropzone {
  padding: 0px !important;
  border-radius: 1rem;
  background: #ddd !important;
  min-height: 10px;
}
.dropzone .dz-preview.dz-image-preview {
  background: #fff0;
}
.badge-disabled {
  background-color: #bfbfbf;
}
.image-container {
  width: 150px; /* Set the width of the square container */
  height: 150px; /* Set the height of the square container */
  overflow: hidden;
  position: relative;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the container */
}
.image-sortable .image-thumbnail i {
  position: absolute;
  bottom: 1px;
  color: #ffffff9c;
  padding:0 4px;
}
.image-thumbnail i.x{
  position: absolute;
  padding:0 4px;
  top:-8px;
  right:-1px;
  bottom: auto;
}
.card .card-header:first-child, .card-light .card-header:first-child {
  border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}
.card-title {   
   color: var(--bs-card-title-color);
}
.card .card-header:has(~ .card-footer .form-check-input:not(:checked)){
  background-color: #f25961  !important;
}
.card .card-header:has(~ .card-footer .form-check-input:not(:checked)) .btn,
.card .card-header:has(~ .card-footer .form-check-input:not(:checked)) .card-title{
  color: #ffffff !important;
}
hr.hr-blurry {
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 54%) 50%, rgba(0, 0, 0, 0) 100%);
         
}
.rounded-top-left {
  border-top-left-radius: 0.375rem;
}
.rounded-top-right {
  border-top-right-radius: 0.375rem;
}
.rounded-bottom-left {
  border-bottom-left-radius: 0.375rem;
}
.rounded-bottom-right {
  border-bottom-right-radius: 0.375rem;
}
textarea.autoExpand{
  width: 100%;
  max-width: 600px;
  min-height: 50px; /* Set default minimum height */
  height: 50px;     /* Default height before typing */
  padding: 8px;
  font-size: 16px;
  box-sizing: border-box;
  resize: none; /* Prevent manual resizing */
  overflow: hidden; /* Hide overflow */
}
.block-autocomplete  > ul > li.list-group-item{
  background:#edededeb;
}

.blink {
  animation: blink 1s infinite; /* Blink animation */
}

.bg-darkgreen{
    background-color: #23531a !important;
}
.text-darkgreen{
    color: #23531a !important;
}
.text-lightgreen{
    color: #b6d132 !important;
}