:root {
    --primary-bg-color: #0818A8;
    --primary-text-color: #fff;
    --secondary-bg-color: #1B1212;
    --primary-font-size: 22px;
    --secondary-font-size: 18px;
    --paragraph-font-size: 15px;
}

.h5, h5 {
    font-size: 1.25rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-heading-color);
}
p{
    font-size: var(--paragraph-font-size) !important;
}
a{
    text-decoration: none;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8f8f8 !important;
    color: #292961;
    font-family: Roboto, sans-serif;
    font-size: 14px;
}
#app{
    width: 100%;
    height: auto;
    position: relative;
}
#app .main{
    position: relative;
}
section {
    margin: 60px 0;
}
.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 22px;
}
.cp{
    padding: 12px;
}
.active{
    border-bottom: 2px solid var(--primary-bg-color);
}

/* Header Design */
.header {
    width: 100%;
    height: 125px;
    background-color: var(--primary-bg-color);
}
.header-body{
    width: 100%;
    height: auto;
    position: fixed;
    background-color: var(--primary-bg-color);
    z-index: 9999;
    padding-top: 30px;
}
.header .logo_img{
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
}
.header .logo_title span{
    color: var(--primary-text-color);
    font-size: var(--secondary-font-size);
    font-weight: 600;
}
.header .logo_title p{
    font-size: 14px;
    color: var(--primary-text-color);
}
.header .nav .nav-item .nav-link {
    color: var(--primary-text-color);
    font-size: var(--secondary-font-size);
}
.header #menu-open-body{
    display: none;
}
.header .nav .menu-actions li{
    display: none;
    cursor: pointer;
}
.header .nav{
    width: 100%;
    height: 100%;
    position: relative;
}
.header .nav .menu-actions li{
    position: absolute;
    font-size: 40px;
    right: 0;
    top: 0;
}

/* End od header design */

/* Banner Design */
.banner {
    max-height: 500px;
    position: relative;
}

.carousel .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-text {
    color: #fff;
    left: 16%;
    position: absolute;
    top: 32%;
}
.banner-text h2 {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 24px;
}
.banner .savvy-slick-carousel i.next-button-slick{
    position: absolute;
    right: 10px;
    top: 50%;
    bottom: 50%;
    color: blue;
    font-size: var(--primary-font-size);
    font-weight: 900;
    cursor: pointer;
}
.banner .savvy-slick-carousel i.prev-button-slick{
    position: absolute;
    left: 10px;
    top: 50%;
    bottom: 50%;
    color: blue;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}
.slick-slide img {
    height: 300px;
    max-height: 300px;
    object-fit: cover;
    filter: brightness(75%);
}
.image-gallery .slick-slide img {
    height: 175px;
    max-height: 175px;
    object-fit: cover;
    filter: brightness(75%);
}
.banner-text-area {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.banner-text-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.banner-text-body h1 {
    font-weight: 900;
    color: #fff;
    font-size: var(--primary-font-size);
}
.banner-text-body p{
    font-weight: 900;
    color: #fff;
    font-size: var(--secondary-font-size);
}

/* End of Banner design */

/* Footer Design */
.footer{
    background-color: var(--secondary-bg-color) !important;
}
.footer p, .footer p a{
    color: var(--primary-text-color);
    font-size: var(--secondary-font-size);
}
/* End of footer design */

/* Design of gis links */
.gis-items .card {
    /* border: 1px solid #e4e4e4; */
    position: relative;
}
.gis-cover {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.gis-items .gis-card-img-top {
    height: 74px;
    margin-bottom: 15px;
}
.card-img, .gis-card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}
.card-img, .card-img-bottom, .gis-card-img-top {
    width: 100%;
}
.gis-items .card-title {
    color: #474c4f;
    font-size: 18px;
    font-weight: 700;
    height: 48px;
    margin-bottom: 0;
    text-align: center;
}
/* End of gis links */

/* Design of survey report */
.section-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}
.statistics {
    border: 1px solid #e4e4e4 !important;
    padding: 15px !important;
}
.statistics-head h5 {
    color: #474c4f;
    font-size: 16px;
}
.progress, .progress-stacked {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: var(--bs-secondary-bg);
    --bs-progress-border-radius: var(--bs-border-radius);
    --bs-progress-box-shadow: var(--bs-box-shadow-inset);
    --bs-progress-bar-color: #fff;
    --bs-progress-bar-bg: #0d6efd;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
}
.progress, .progress-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.progress {
    height: 1rem;
    overflow: hidden;
    font-size: .675rem;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.progress, .progress-stacked {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: var(--bs-secondary-bg);
    --bs-progress-border-radius: var(--bs-border-radius);
    --bs-progress-box-shadow: var(--bs-box-shadow-inset);
    --bs-progress-bar-color: #fff;
    --bs-progress-bar-bg: #0d6efd;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius);
}

/* End of survey report */

/* Design of Local Profile */
.local-block_item {
    border-right: 1px solid #e4e4e4;
    padding: 20px 0;
    text-align: center;
}
.local-block_item h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
    text-wrap: nowrap;
}
.local-block_item p {
    color: #878a99;
    font-size: 16px;
}
/* End of local Profile */

/* Design of Municipality Population details */
.munici-detail .list-group {
    border-radius: 6px;
}
.list-group {
    border-radius: .25rem;
    display: flex
;
    flex-direction: column;
    margin-bottom: 0;
    padding-left: 0;
}
.munici-detail .list-group-item:first-child {
    border-top: 1px solid #e4e4e4;
}
.list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}
.list-group-item+.list-group-item {
    border-top-width: 0;
}
.munici-detail .list-group-item {
    border-bottom: 1px solid #f7f7f7;
    border-top: 0;
    padding: 12px 20px;
}
.list-group-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    color: #212529;
    display: block;
    padding: .5rem 1rem;
    position: relative;
    text-decoration: none;
}
.munici-detail .list-group-item p:first-child {
    width: 300px;
}
.munici-detail .list-group-item p {
    color: #878a99;
}
.munici-detail .list-group-item p i {
    margin-right: 25px;
}

/* End of Municipality Population details */

/* Design of ward datas home */
.theme-table-wrap .theme-table thead th {
    padding: 13px 20px;
    white-space: nowrap;
}
.theme-table-wrap .theme-table td, .theme-table-wrap .theme-table th {
    border-bottom: 1px solid #e4e4e4;
    color: #474c4f;
    font-size: 14px;
    font-weight: 400;
}
.theme-table-wrap .theme-table th{
    font-weight: 600;
}
.theme-table-wrap .theme-table tbody td {
    /* border-bottom: 1px solid #f7f7f7; */
    padding: 6px 20px;
    vertical-align: middle;
}
/* End of design ward datas home */

/* Design of Notices */
.section-head {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}
.view-all {
    color: #474c4f;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 30px 10px;
}
.notice-block .card-block:first-child {
    padding-top: 0;
}
.notice-block .card-block {
    border-bottom: 1px solid #f7f7f7;
    padding: 20px 0;
}
.notice-block .card-block_body {
    max-width: 80%;
    overflow: hidden;
    padding-right: 20px;
}
.notice-block .card-image {
    border-radius: 4px;
    display: flex;
    flex-shrink: 0;
    height: 80px;
    margin-right: 15px;
    overflow: hidden;
    width: 80px;
}
.notice-block .card-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.details {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--paragraph-font-size);
}
.notice-block .card-block_time {
    white-space: nowrap;
}
.notice-block .card-block p {
    color: #878a99;
}
.notice-block .card-block p i {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
}
/* End of Notices */

/* Design Of Side Navigation */
.side-navigation .card-header{
    font-size: var(--primary-font-size);
    font-weight: 600;
    background-color: #fff !important;
}
.side-navigation .card-header h5 button{
    color: #000;
}
.side-navigation .collapse ul li label {
    color: #000;
}
.side-navigation .collapse ul li label:hover{
    color: var(--primary-bg-color);
    cursor: pointer;
}
/* End of Side Navigation */

/* Highchart css design */
#container {
    height: 400px;
}

.highcharts-figure,
.highcharts-data-table table {
    /* min-width: 310px;
    max-width: 800px; */
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-description {
    margin: 0.3rem 10px;
}


.highcharts-figure,
.highcharts-data-table table {
    /* min-width: 310px;
    max-width: 800px; */
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-description {
    margin: 0.3rem 10px;
}


.custom-table {
    font-family: Arial, sans-serif;
    font-size: 6px;
    text-align: left;
    margin-top: 10px;
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
}

.custom-table .table-header {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.custom-table .table-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

.custom-table .table-footer {
    margin-top: 10px;
    font-style: italic;
    color: #555;
}

.custom-table span {
    flex: 1;
    text-align: left;
}

.custom-table span:nth-child(2), .custom-table span:nth-child(3) {
    text-align: right;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Individual gallery item */
.gallery-item {
    width: 180px;
    text-align: center;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-right: 15px;
}

.gallery-item:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.gallery-image {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

/* Description container */
.gallery-description {
    padding: 15px;
}

/* Title styling */
.gallery-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Excerpt styling */
.gallery-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

/* Contact details styling */
.gallery-contact p {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0;
}

.gallery-contact a {
    color: #007bff;
    text-decoration: none;
}

.gallery-contact a:hover {
    text-decoration: underline;
}

/* View More button */
.view-more {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 0.9em;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-more:hover {
    background-color: #bdc1c6;
}

.dashed-line {
    border-top: 2px dashed #ccc; /* Dashed line with light gray color */
    width: 100%; /* Full width */
    margin: 20px 0; /* Add some spacing around the line */
}

.side-navigation .side-navigation-body{
    width: auto;
    height: auto;
    background-color: #f5f5f5;
    color: white;
    position: fixed;
    left: 0;
    z-index: 1001;
    display: flex;
    justify-content: end;
    align-items: baseline;
    transition: transform 0.3s ease;
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
}
#sidebar {
    width: 250px;
    height: calc(100vh - 150px);
    background-color: #add8e67a;
    color: white;
    position: fixed;
    /* top: 0; */
    left: 0;
    transform: translateX(-100%); /* Hidden by default */
    transition: transform 0.3s ease; /* Smooth transition for opening/closing */
    z-index: 9991; /* Ensure it appears above other elements */
}

#sidebar.open {
    transform: translateX(0); /* Slide into view when 'open' class is added */
}
/* Menu Toggle Button */
#menu-toggle {
    color: #000;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
    margin: 10px 0 10px 0;
}
#menu-toggle i{
    font-size: 40px;
    color: var(--primary-bg-color);
}


@media (min-width: 768px) {
    #sidebar {
        display: block; /* Always show the sidebar on medium and larger screens */
        position: relative; /* Normal flow for larger screens */
        width: 100%; /* Adjust width for larger screens */
        transform: translateX(0); /* Ensure it's visible */
    }
}

/* Card Header Styling */
.card-header {
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #444; /* Default background color */
    color: white; /* Text color */
}

.card-header:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Button Styling */
.sidebar-btn {
    text-decoration: none !important;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    text-align: left;
    transition: color 0.3s ease, background-color 0.3s ease;
    color: white; /* Default text color */
    padding: 5px 10px;
    border-radius: 5px; /* Rounded corners */
}

.sidebar-btn:hover {
    color: var(--primary-bg-color);
    text-decoration: none;
}

/* Chevron Icon Rotation */
.sidebar-btn i {
    transition: transform 0.3s ease;
}

.sidebar-btn.collapsed i {
    transform: rotate(0deg); /* Default */
}

.sidebar-btn:not(.collapsed) i {
    transform: rotate(180deg); /* Rotate when expanded */
}

/* Card Body Styling */
.card-body {
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    background-color: #555; /* Slightly lighter background for card body */
    color: white; /* Text color */
}

/* Checkbox Styling */
.menu-checkbox {
    accent-color: #007bff; /* Use Bootstrap primary color for checkboxes */
}
.menu-checkbox:checked + .form-check-label {
    color: #007bff; /* Blue color for the label when checkbox is checked */
    font-weight: bold; /* Optional: Make the text bold */
    transition: color 0.3s ease; /* Smooth transition for color change */
}
.form-check-label {
    font-size: 14px;
    color: #ccc; /* Default text color */
    transition: color 0.3s ease;
}

.form-check-label:hover {
    color: #007bff; /* Change color on hover */
}

/* Search Section Styling */
.search-container {
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for better visibility */
    z-index: 1000; /* Ensure it appears above the map */
    width: 200px; /* Fixed width for the search box */
    position: absolute;
}
.search-container-body{
    padding-left: 25px;
}

.search-container .form-label {
    font-weight: bold; /* Bold labels for better readability */
}

.search-container .form-control {
    border-radius: 4px; /* Rounded input fields */
}

.search-container .btn {
    border-radius: 4px; /* Rounded button */
}



#map {
        height: calc(100vh - 150px);
        width: 100%;
        border: 2px solid #ccc;
        border-radius: 5px;
        position: relative;
    }
    .map-buttons {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1000;
    }
    .map-button {
        width: 40px;
        height: 40px;
        background-color: white;
        border: 2px solid #ccc;
        border-radius: 50%;
        display: flex; /* Use flexbox for centering */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: background-color 0.2s, transform 0.2s;
        position: relative; /* Ensure proper positioning */
    }
    .map-button:hover {
        background-color: #f0f0f0;
        transform: scale(1.1);
    }
    .map-button:active {
        background-color: #e0e0e0;
    }
    .map-button.disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
    #distance-display {
        margin: 10px;
        font-size: 18px;
        font-weight: bold;
    }
    .icon {
        font-size: 18px; /* Adjust the size of the icon */
        font-weight: bold;
        display: flex; /* Ensure the icon behaves like a flex container */
        justify-content: center; /* Center the icon horizontally */
        align-items: center; /* Center the icon vertically */
        height: 100%; /* Take full height of the parent */
        width: 100%; /* Take full width of the parent */
        text-align: center; /* Ensure text is centered */
        line-height: 1; /* Reset line-height to avoid misalignment */
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    #sidebar {
        padding: 5px;
        width: 70%; /* Adjust width for smaller screens */

    }

    .map-buttons {
        top: 5px; /* Adjust position for smaller screens */
        right: 5px;
    }

    .map-button {
        width: 35px; /* Slightly smaller buttons */
        height: 35px;
    }

    #distance-display {
        font-size: 16px; /* Adjust font size for smaller screens */
    }
}


/* End of highchart css design */

/* Breadcrumb design */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: 0;
}
/* End of breadcrumb design */

/* Notice page design */
.notice_detail{
    background-color: #fff;
    min-height: calc(100vh - 170px);
    padding: 30px 50px;
    border-top: 5px solid #292961;
}
.notice_detail_title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.notice_detail_title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.notice_detail_title .date {
    color: #878a99;
    font-size: 14px;
    font-weight: 400;
}
.notice_detail_title .date i {
    margin-right: 10px;
}
.notice-detail_img {
    border-radius: 4px;
    height: 341px;
    margin-bottom: 30px;
    overflow: hidden;
}
.notice-detail_img img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}
.notice-detail_description {
    color: #878a99;
    font-size: 14px;
    font-weight: 300;
    line-height: 25.6px;
}
/* End of notice page design */