.navbar-nav .nav-link:hover {
    background-color: #2C2F36;
    border-radius: 10px;
}

.half-background {
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgb(255, 255, 255) 50%);
}

.table-responsive {
    overflow-x: scroll;
}

.navbar-horizontal-scroll {
    overflow-x: auto;
    white-space: nowrap;
}

.navbar-horizontal-scroll .nav-link {
    padding: 15px;
    color: #000000;
}

.navbar-horizontal-scroll .nav-link:hover {
    color: #000000;
}

.card {
    border-radius: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(50%);
    /* Mengubah warna ikon menjadi lebih gelap */
}

.carousel-control-prev {
    left: -50px;
    /* Posisi lebih keluar */
}

.carousel-control-next {
    right: -50px;
    /* Posisi lebih keluar */
}

.btn-transparent {
    height: 70px;
    background-color: transparent;
    border: none;
    padding: 0;
    position: relative;
    transition: border-color 0.3s ease-in-out;
}

.btn-transparent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
}

.btn-transparent:hover::after {
    background-color: black;
}

.btn-transparent.active::after {
    background-color: black;
}

.table-responsive {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.text_justify {
    text-align: justify;
}


.contentWrapper {
    width: 95%;
    margin: 0 auto;
    position: relative;
}

.tabsWrapper {
    width: 100%;
    height: 40px;
    overflow: hidden;
    position: relative;
}
.tabsWrapper > ul > li{
    min-width: 25%;
    text-align: center;
    border-bottom: solid 2px #BBB;
    height: 40px;
    z-index: 10999;
}

.tabs {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    bottom: -25px;
    left: 0;
    right: 0;
    white-space: nowrap;
    overflow: auto;
}

.tabs li {
    display: inline-block;
    padding: 3px 8px;
    cursor: pointer;
    height: 100px;
}

.tabs li.active {
    background-color: white;
    border-bottom: solid 3px #000;
}

.next,
.previous {
    position: absolute;
    padding: 2px 4px;
    top: 0;
    background-color: white;
}

.next {
    right: -25px;
}

.previous {
    left: -25px;
}

.tabContent {
    width: 100%;
    background-color: white;
    padding: 15px;
}

.pdam-button{
    cursor: pointer;
    border-radius: 20px; 
    border: solid 1px #BBB;
}
.pdam-button:hover{
    border: solid 1px blue !important;
}
.pdam-button.active {
    border: solid 1px blue !important;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}
#pdam_list {
    display: flex;
    overflow-x: hidden;
    white-space: nowrap;
    height: 230px;
}
.pdam-button {
    flex: 0 0 auto;
    margin-right: 10px;
    white-space: normal;
}
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: spin 0.7s linear infinite;
animation: spin 0.7s linear infinite;
}

@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
#scroll-prev {
    position: absolute;
    top: 59%;
    left: -20px;
    transform: translateY(-50%);
    z-index: 1000;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#scroll-next {
    position: absolute;
    top: 59%;
    right: -20px;
    transform: translateY(-50%);
    z-index: 1000;
    border: 1px solid #ffffff;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
#image_pdam {
        height: 90px;
}
.div_provinsi {
        height: 365px;
        margin-left: 10px;
}
.card_nopel {
        height: 365px;
        /* margin-left: -15px; */
}
.medsos {
        margin-left: auto;
        margin-right: auto;
}
.carouselExampleControls {
        width: 94%;
}
.nav1 {
        height: 80px;
        padding-top: 20px;
}
@media (max-width: 767px) {
    .navbar-toggler {
        margin-top: -60px;
        margin-left: 315px;
    }
    .nav1 {
        width: 80%;
        height: 95px;
        margin-left: -30px;
    }

    .appLogo{
        height: 8px;
    }

    .nav1 h3 {
        font-size: 16px;
        padding-left: 20px;
        padding-top: 6px;
    }
    .carouselExampleControls {
        width: 90%;
    }
    .notice {
        font-size: 12px;
    }
    .notice_icon {
        width: 15px;
        height: 15px;
    }

    .nav1 .input-group-text {
        background-color: #2C2F36;
    }

    .nav1 .form-control {
        background-color: #2C2F36;
        font-size: 12px;
        padding: 0.25rem 0.5rem;
    }
    .pilih_provinsi {
        font-size: 14px;
    }
    .div_provinsi {
        height: 230px;
    }
    #pdam_list {
        display: flex;
        overflow-x: hidden;
        white-space: nowrap;
        height: 150px;
        margin-top: -15px;
    }
    .cari_pdam {
        margin-left: -10px;
    }
    .tabsWrapper > ul > li{
        border-bottom: solid 2px #BBB;
        height: 30px;
    }
    .tabs li {
        font-size: 10px;
        height: 50px;
    }
    .tabs li.active {
        background-color: white;
        border-bottom: solid 3px #000;
    }
    .contentWrapper {
        width: 90%;
    }
    .pdam-button {
        height: 100px;
    }
    .card_nopel {
        height: 100%;
    }
    .div_nopel {
        padding-top: 35px;
    }
    .card_nopel h3 {
        font-size: 10px;
    }
    #selectedPDAM, #sub_ket {
        font-size: 8px;
    }
    #image_pdam {
        height: 30px;
    }
    #no_pel {
        height: 20px;
        font-size: 8px;
    }
    #cari_nopel {
        font-size: 10px;
        margin-top: -30px;
    }
    #scroll-prev {
        position: absolute;
        top: 48%;
        left: -20px;
        transform: translateY(-50%);
        z-index: 1000;
        border: 1px solid #ffffff;
        background-color: #ffffff;
        padding: 5px 10px;
        border-radius: 5px;
        cursor: pointer;
    }

    #scroll-next {
        position: absolute;
        top: 48%;
        right: -20px;
        transform: translateY(-50%);
        z-index: 1000;
        border: 1px solid #ffffff;
        background-color: #ffffff;
        padding: 5px 10px;
        border-radius: 5px;
        cursor: pointer;
    }
    .about_title {
        font-size: 20px;
    }
    .footer {
        margin-left: 18px;
    }
    .medsos {
        margin-left: 50px;
    }
    .footer_payment {
        margin-top: 30px;
    }
    .footer_payment_title {
        width: 110%;
        text-align: center;
    }
    .footer_payment_icon {
        width: 115%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .footer_payment_icon img {
        margin: 8px;
    }
    .copyright {
        text-align: center;
    }
    .btn_hubungi{
        width:100%!important;
        border-radius:5px!important;
    }
    .about{
        display:block!important;
    }
    .about_content{
        max-width:100%!important;
        width:100%!important;
    }
    .prov{
        margin-left:auto!important;
        margin-right:auto!important;
        padding:0px!important;
    }
    .div_provinsi{
        margin-left:0px!important;
    }
    .image_pdam img{
        width:40px!important;
        height:auto!important;
    }
    .pdam_terpilih{
        position:relative!important;
        width:100%!important;
        margin-bottom:0px!important;
    }
}