/* สีแดง กระพริบ */
.has-error .help-block{
    color: red;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}


#loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050; /* ให้อยู่ด้านบนสุด */
    background-color: rgba(255, 255, 255, 0.8); /* ทำพื้นหลังโปร่งแสง */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.select2-container {
    width: 100% !important;
}

.concessions-style {
    background-color: #028391 !important;
    border-color: #666666 !important;
}


.flash-red {
    color: red;
    animation: flash 1s linear infinite;
}

@keyframes flash {
    50% {
        opacity: 0;
    }
}

.card-body .gallery-item img {
    height: auto;
    width: 90%;
    object-fit: cover;
    padding: 2px;
}

/* ปรับขนาดในปฏิทิน */
/* .fc-event .fc-content .fc-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
} */

/* 
.images-item img {
    height: 250px !important; 
    object-fit: cover !important;
    width: auto !important;
    margin: 1px;
}

#request-image img {
    height: 100px !important;
    object-fit: cover !important;
    width: auto !important;
} */

#repair .img-thumbnail {
    height: 300px !important;
    object-fit: cover !important;   
}

.hover-row:hover {
    background-color: #f5f5f5; /* เปลี่ยนสีพื้นหลัง */
    cursor: pointer; /* เปลี่ยน cursor เมื่อ hover */
    transition: background-color 0.3s ease; /* เพิ่มเอฟเฟกต์นุ่มนวล */
}

.item-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* เพิ่มการเปลี่ยนแปลงที่ราบรื่น */
}

.item-hover:hover {
    transform: scale(1.05); /* ขยายขนาดรายการ */
}

