/* ===== PENGUMUMAN CAROUSEL ===== */

#pengumuman-modal .pengumuman-carousel-inner {
    height: 50vh;
    max-height: 50vh;
    min-height: 50vh;
}

.pengumuman-carousel-item {
    height: 100%;
}

.pengumuman-carousel-content {
    height: 100%;
    overflow-y: auto;
    padding: 1.25rem;
}

.pengumuman-carousel-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
}

/* Scrollbar */
.pengumuman-carousel-content::-webkit-scrollbar {
    width: 2px;
}
.pengumuman-carousel-content::-webkit-scrollbar-thumb {
    background: rgba(92, 92, 92, 0.1);
    border-radius: 4px;
}

/* Remove modal scrollbar */
#pengumuman-modal .modal-body {
    overflow: hidden !important;
}

@media (max-width: 576px) {
    #pengumuman-modal .pengumuman-carousel-inner {
        height: 55vh;
    }
}

.pengumuman-carousel-item p {
    color: #000;
}

/* Carousel controls */
#pengumuman-carousel .carousel-control-prev-icon,
#pengumuman-carousel .carousel-control-next-icon {
    filter: invert(1);
}

#pengumuman-carousel .carousel-control-prev {
    transform: translateX(-50%);
}

#pengumuman-carousel .carousel-control-next {
    transform: translateX(50%);
}

#pengumuman-carousel .carousel-control-prev,
#pengumuman-carousel .carousel-control-next {
    width: 8%;
}

/* Button */
.pengumuman-btn-tutup {
    background: #ff9c00;
    width: 100%;
    margin: 0 auto;
}
