nav {
    background-color: #fff;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    position: relative;
}

nav a {
    color: #404852;
    text-decoration: none;
    padding: 10px;
    display: block;
    transition: background-color 0.3s;
}

nav a:hover {
    color: #fff;
}

/* Submenu styles */
nav ul ul {
    display: none;
    position: absolute;
    top: 30px;
    left: 15px;
    background-color: #fff;
}

nav ul li:hover>ul {
    display: block;
}

nav ul ul li {
    display: inline-block;
    width: 270px;
    float: none;
    position: relative;
}

nav ul ul li:hover {
    background-color: #9BACCD;
}

nav ul ul ul {

    display: none;
    position: absolute;
    top: 0;
    /* Adjusted to align with the top of its parent */
    left: 100%;
    background-color: #fff;
}

nav ul ul li:hover>ul {
    display: block;
}

nav ul ul ul li {
    display: inline-block;
    width: 270px;
    float: none;
    position: relative;
}

#statistik-giwang-ekraf>ul {
    overflow-y: auto;
    max-height: 600px;
}

.btn-home {
    padding: 1.25rem 2.25rem;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    font-family: 'Inter';
    font-style: normal;
}

.logo {
    margin-left: 10px;
}

.logo-title {
    color: #fff;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.text-home-title-one {
    color: #010101;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
}

.text-home-one {
    color: #010101;
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    text-align: justify;
    font-family: 'Inter';
    font-style: normal;
}

.text-home-title-one-light {
    color: #fff;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
}

.text-home-one-light {
    color: #fff;
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    text-align: justify;
    font-family: 'Inter';
    font-style: normal;
}

.container-home img {
    max-width: 100%;
    max-height: 100%;
}

.destinasi-wisata-title {
    color: #000;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
}

.home-bottom-left-text {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.container-home {
    position: relative;
    text-align: center;
    color: white;
    width: 336;
    height: 281;
}

.container-home-berita-terbaru {
    display: flex;
    position: relative;
    justify-content: center;
}

#tentang-sumsel {
    background-color: #2A4B8D;
}

#berita-lainnya {
    background-color: #2A4B8D;
}

#berita-terbaru {
    background-color: #2A4B8D;
}

#info-app {
    background-color: #2A4B8D;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

#info-app-white {
    background-color: #fff;
    color: #000000;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.container-home-info {
    display: flex;
    position: relative;
    justify-content: end;
}

.page-section-home {
    padding: 3rem 0;
}

.berita-terbaru-title {
    color: #000;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
}

.berita-lainnya-title {
    color: #fff;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
}

.custom-col-berita-home {
    float: left;
    width: 370px;
    margin: 0px 10px;
    background-color: #fff;
    border-radius: 8px;
}

.home-bottom-berita-container {
    position: absolute;
    width: 370px;
    height: 163px;
    bottom: 0px;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.home-berita-date {
    position: absolute;
    top: 0px;
    margin-left: 30px;
    margin-top: 18px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #010101;
}

.home-berita-desc {
    position: absolute;
    top: 0px;
    margin-top: 50px;
    font-weight: 600;
    font-size: 22px;
    line-height: 26.63px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    color: #000000;
}

.text-copyright {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #2A4B8D;
}

.bg-blue {
    background-color: #2A4B8D !important;
}

.text-copyright-white {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #fff;
}

/** css visi misi **/

.nav-visimisi {
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
}

.title-visimisi {
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    color: #fff;
}

header.visimisihead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), url("../../../frontend/img/core-img/bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

header.visimisihead h1,
header.visimisihead .h1 {
    font-size: 2.25rem;
}

@media (min-width: 992px) {
    header.visimisihead {
        height: 336px;
        min-height: 336px;
        padding-top: 4.5rem;
        padding-bottom: 0;
    }

    header.visimisihead p {
        font-size: 1.15rem;
    }

    header.visimisihead h1,
    header.visimisihead .h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {

    header.visimisihead h1,
    header.visimisihead .h1 {
        font-size: 3.5rem;
    }
}

.visi-title {
    color: #000;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
}

.visi-content {
    color: #000;
    font-weight: 600;
    font-size: 48px;
    font-style: italic;
    line-height: 58px;
    text-align: center;
}

.misi-content {
    color: #000;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
}

.page-section-misi {
    padding: 6rem 0;
}

.page-section-berita-lainnya {
    padding: 6rem 0;
}

.page-section-wisata {
    padding: 6rem 0;
}

.struktur-organisasi-title {
    color: #000;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    text-align: center;
}

.custom-col-wisata-kuliner {
    float: left;
    width: 370px;
    height: 441px;
    margin: 0px 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container-wisata-kuliner {
    display: flex;
    position: relative;
    justify-content: center;
}

.container-center {
    display: flex;
    position: relative;
    justify-content: center;
}

.wisata-kuliner-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
}

.wisata-kuliner-desc {
    position: absolute;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

.btn-wisata-kuliner {
    padding: 0.50rem 1.25rem;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
}

.custom-col-berita {
    float: left;
    width: 370px;
    height: 441px;
    margin: 0px 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container-berita {
    display: flex;
    position: relative;
    justify-content: center;
}

.custom-col-gallery {
    float: left;
    width: 370px;
    height: 263px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0px 10px;
    padding: 0px;
}

.container-gallery {
    display: flex;
    overflow: hidden;
    justify-content: center;
}

.custom-col-katalog-data {
    float: left;
    width: 214px;
    margin: 0px 25px;
    background-color: #fff;
    border-radius: 8px;
}

.container-katalog-data {
    display: flex;
    position: relative;
    justify-content: center;
}

.home-bottom-katalog-data-container {
    position: absolute;
    width: 214px;
    height: 281px;
    bottom: 0px;
    color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.katalog-data-content {
    font-weight: 400;
    font-size: 22px;
    line-height: 27px;
    padding-right: 5rem;
    padding-left: 5rem;
    margin-bottom: 4rem;
}

.katalog-data-title {
    position: absolute;
    bottom: 0px;
    width: 76px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
}

.nav-tabs .nav-link {
    background-color: #fff;
    color: #000;
}

.nav-tabs .nav-link.active {
    background-color: #2A4B8D;
    color: #fff;
}

.btn-penduduk {
    color: #6F7887;
    background-color: #fff;
    border-color: #6F7887;
    width: 40%;
    height: 50px;
}

.btn-penduduk:hover {
    color: #6F7887;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem #fff;
}

.btn-penduduk.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem #fff;
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #6F7887;
}

.table> :not(:first-child) {
    border-top: none;
}

.w-statistik-2 th {
    width: 50%;
}

.w-statistik-2-up td {
    width: 10%;
}

.w-statistik-3 th {
    width: 10%;
}

.w-statistik-5 th {
    width: 10%;
}

.w-statistik-6 th {
    width: 10%;
}

.w-statistik-11 th {
    width: 5%;
}

.w-statistik-3 a {
    color: #2A4B8D;
}

.form-select {
    width: 40%;
    padding: 15px 10px;
    color: #6F7887;
    background-color: #fff;
    border: 1px solid #6F7887;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
}

.form-select:focus {
    border-color: #6F7887;
    outline: 0;
    box-shadow: 0 0 0 0.25rem #fff;
}

.w-statistik-penduduk-5 {
    flex: 0 0 auto;
    width: 50%;
}

.w-statistik-penduduk-5 .dropdown-item {
    width: 230px;
}

.card-wilayah-chart {
    box-shadow: 0px 16px 16px rgba(50, 50, 71, 0.08), 0px 24px 32px rgba(50, 50, 71, 0.08);
    transition: 0.3s;
    width: 555px;
    height: 497px;
    padding: 20px;
}

#dougnout-chart {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.card-bar-chart {
    box-shadow: 0px 16px 16px rgba(50, 50, 71, 0.08), 0px 24px 32px rgba(50, 50, 71, 0.08);
    transition: 0.3s;
    width: 100%;
    height: 497px;
    padding: 20px;
}

.text-title-wilayah-chart {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}

#dougnout-chart {
    width: 100%;
    padding: 20px 20px 50px 20px;
}

#line-chart-1,
#line-chart-2 {
    width: 100%;
    margin: 20px 20px 50px 20px;
}

#bar-chart-custom {
    margin: 50px 0px;
}

.text-title-wilayah {
    font-weight: 600;
    font-size: 22px;
    line-height: 26.63px;
}

.w-statistik-2 th,
td,
.w-statistik-2-up th,
td,
.w-statistik-3 th,
td,
.w-statistik-5 th,
td,
.w-statistik-6 th,
td {
    vertical-align: middle;
    height: 74px;
}

.wilayah-normal {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #404852;
}

.wilayah-total-average {
    background-color: #B8BFCD;
    color: #010101;
}

.up-left {
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    color: #010101;
}

.up-right {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #606060;
}

.text-down-chart {
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    color: #404852;
}

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

.isi-detail-berita {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 22px;
    line-height: 26.63px;
    color: #000000;
}

@media (max-width: 1400px) {
    #mainNav .navbar-nav .nav-item .nav-link {
        font-size: 12px;
    }

    /* #mainNav .navbar-nav .nav-item .nav-link {
        color: rgba(255, 255, 255, 0.7);
        padding: 0 0.2rem;
    } */
}

@media (max-width: 1200px) {
    #mainNav .navbar-nav .nav-item .nav-link {
        color: rgba(255, 255, 255, 0.7);
        padding: 0 0.2rem;
    }
}