@charset "UTF-8";
:root {
  --primary-color: #006666;
  --second-color: #000000;
}

.dataTable .form-switch .form-check-input {
  height: 16px !important;
}

.icon_edit {
  color: #00AC46;
  font-size: 18px;
  cursor: pointer;
}

.icon_view {
  color: #FFAE1A;
  font-size: 18px;
  cursor: pointer;
}

.icon_delete {
  color: #fe6a49;
  font-size: 18px;
  cursor: pointer;
}

.red_star {
  color: red;
}

.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}

.dz-preview .dz-image img {
  width: 120px !important;
  height: 120px !important;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.gallery_compare {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.image {
  width: 120px;
  height: 120px;
  border: 2px solid rgba(0, 102, 102, 0.2117647059);
  overflow: hidden;
  border-radius: 5%;
}

.image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.sortable-ghost {
  opacity: 0.5;
}

.card-placard {
  border: none;
}

.card-placard .text-date {
  position: absolute;
  top: 5%;
  right: 5%;
}

.card-placard .img-placard {
  position: absolute;
  top: 50%;
  right: 10%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 40%;
}

.customizer-links {
  display: none;
}

.gallery-item.thumbnail {
  border: 3px solid var(--primary-color);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.gallery-item.thumbnail::after {
  content: "รูปปก";
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
}

#gallery-wrapper {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0); /* สี overlay พร้อมความโปร่งแสง */
  z-index: 10; /* ซ้อนทับบน gallery */
  display: none; /* ซ่อน overlay เริ่มต้น */
  cursor: not-allowed;
}

.overlay.active {
  display: block; /* แสดง overlay เมื่อมี class 'active' */
}

.img-report {
  width: 100%;
  height: 350px; /* กำหนดความสูงที่ต้องการ */
  -o-object-fit: fill;
     object-fit: fill; /* ตัดภาพให้พอดีกับกรอบ */
}

.img-report-placard {
  width: 100%;
  height: 250px; /* กำหนดความสูงที่ต้องการ */
  -o-object-fit: fill;
     object-fit: fill; /* ตัดภาพให้พอดีกับกรอบ */
}

.read-only-bg {
  background-color: #e9ecef !important;
}

#add_speaker, #add_video {
  width: auto !important;
}

.email-wrap .dropdown .dropdown-toggle #sch_job_id {
  background-color: transparent !important;
}/*# sourceMappingURL=main.css.map */
