.grecaptcha-badge {
    visibility: hidden;
}

.nav-link {
    border-bottom: 1px solid #ba1e0d;
}

.dropdown-menu {
    text-align: center;
}

.bg-gray {
    background: rgb(220, 220, 230);
}

.text-gold {
    color: rgb(255, 255, 160);
}

#back_to_top {
    display: none;
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 9999;
}

#back_to_top i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #ffc107;
    color: #eee;
    transition: all 0.5s;
}

#back_to_top i:hover {
    background: #ffd137;
    color: #fff;
}

.bg-permatan {
    background-image: url("../images/pengurus.jpg");
    background-position: center;
    background-size: cover;
}

.layer-primary {
    background-color: rgba(186, 30, 13, 0.7);
    min-height: 375px;
    display: flex;
    align-items: flex-end;
}

.icon-section {
    color: rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.icon-section:hover {
    color: rgba(0, 0, 0, 0.5);
}

.news-header {
    padding: 1rem;
    min-height: 4.5rem;
    border-top: 1px solid #d9230f;
}

.news-body {
    background-position: center;
    background-size: cover;
    min-height: 16rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
}

.news-image {
    background-position: center;
    background-size: cover;
    height: 15rem;
    border: 1px solid #d9230f;
}

.footer-section {
    border-left: 2px solid #ff8080;
    padding-left: 1rem;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.border-photo {
    padding: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.gal-border {
    margin: 6px;
    border: 1px solid #d9230f;
}

.gallery {
    display: flex;
    flex-flow: row wrap;
}

.gal-item {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 576px) {
    .gal-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (min-width: 992px) {
    .gal-item {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .nav-link {
        padding-bottom: 0.25rem;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 1rem;
        margin-right: 1rem;
        border-bottom: 0;
    }

    .nav-item.active > a.nav-link {
        border-bottom: 5px solid rgb(255, 255, 160);
    }

    .nav-item > a.nav-link:hover {
        border-bottom: 5px solid #fff;
    }

    .dropdown-menu {
        text-align: left;
    }
}