html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

.chart-area, .chart-pie, .chart-bar {
    position: relative;
    height: 300px;
    width: 100%;
}

.report-table {
    font-size: 0.85rem;
}

.report-header {
    background-color: #f8f9fc;
    border-bottom: 2px solid #e3e6f0;
}

.season-selector .btn {
    border-radius: 0;
}

    .season-selector .btn:first-child {
        border-top-left-radius: .35rem;
        border-bottom-left-radius: .35rem;
    }

    .season-selector .btn:last-child {
        border-top-right-radius: .35rem;
        border-bottom-right-radius: .35rem;
    }





.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  color: var(--text);
}

.form-label {
    font-size: 12px;
    margin-bottom: 2px;
}

.form-control-sm, .form-select-sm {
    font-size: 13px;
    padding: 4px 8px;
}

.compact-btn {
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.compact-alert {
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 10px;
}

.card {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-header {
    padding: 8px 15px;
}

.img-thumbnail {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}
/* QA Index */
:root {
    --primary: #2c8a4f;
    --primary-light: #e8f5ee;
    --secondary: #f8b400;
    --text: #333333;
    --text-light: #6c757d;
    --border: #e0e0e0;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

/* Compact header */
.compact-header {
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.compact-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* Compact breadcrumb */
.compact-breadcrumb {
    padding: 0;
    background: transparent;
    font-size: 11px;
    margin-bottom: 8px;
}

    .compact-breadcrumb .breadcrumb-item a {
        color: var(--primary);
        text-decoration: none;
    }

/* Summary badges */
.summary-badge {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 5px;
    background-color: var(--primary-light);
}

/* Compact table */
.compact-table {
    width: 100%;
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 0;
}

    .compact-table thead th {
        background-color: rgba(44, 138, 79, 0.05);
        color: var(--secondary);
        font-weight: 600;
        padding: 8px 10px;
        position: sticky;
        top: 0;
    }

    .compact-table tbody td {
        padding: 8px 10px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

    .compact-table tbody tr:hover {
        background-color: rgba(44, 138, 79, 0.05);
    }

/* Status badges */
.status-badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
}

/* Compact buttons */
.compact-btn {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin: 0 2px;
}

/* Search box */
.compact-search {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid var(--border);
    height: 30px;
}

/* Toolbar */
.compact-toolbar {
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compact-table {
        display: block;
        overflow-x: auto;
    }

    .compact-toolbar .btn-group {
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* Todo Task Index */


/* Compact header styling */
.compact-header {
    padding: 8px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.compact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Compact breadcrumb */
.compact-breadcrumb {
    padding: 0;
    background-color: transparent;
    font-size: 11px;
    margin-bottom: 8px;
}

    .compact-breadcrumb .breadcrumb-item a {
        color: var(--primary-color);
        text-decoration: none;
    }

/* Summary badges */
.summary-badge {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 5px;
    background-color: var(--primary-light);
}

/* Compact table styling */
.compact-table {
    width: 100%;
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 0;
}

    .compact-table tbody td {
        padding: 8px 10px;
        border-bottom: 1px solid var(--border-color);
        vertical-align: middle;
    }

    .compact-table tbody tr:hover {
        background-color: rgba(44, 138, 79, 0.05);
    }

/* Status badges */
.status-badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

/* Compact buttons */
.compact-btn {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin: 0 2px;
}

/* Search box */
.compact-search {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    height: 30px;
}

/* Toolbar */
.compact-toolbar {
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compact-table {
        display: block;
        overflow-x: auto;
    }
}


/* Compact header styling */
.compact-header {
    padding: 8px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.compact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Compact breadcrumb */
.compact-breadcrumb {
    padding: 0;
    background-color: transparent;
    font-size: 11px;
    margin-bottom: 8px;
}

    .compact-breadcrumb .breadcrumb-item a {
        color: var(--primary-color);
        text-decoration: none;
    }

/* Summary badges */
.summary-badge {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 5px;
}

/* Compact table styling */
.compact-table {
    width: 100%;
    font-size: 12px;
    border-collapse: separate;
    border-spacing: 0;
}

    
    .compact-table tbody td {
        padding: 8px 10px;
        border-bottom: 1px solid var(--border-color);
        vertical-align: middle;
    }

    .compact-table tbody tr:hover {
        background-color: rgba(44, 138, 79, 0.05);
    }

/* Status badges */
.status-badge {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

/* Compact buttons */
.compact-btn {
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    margin: 0 2px;
}

/* Search box */
.compact-search {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    height: 30px;
}

/* Toolbar */
.compact-toolbar {
    padding: 8px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compact-table {
        display: block;
        overflow-x: auto;
    }
}



.high-consumption {
    color: red;
    font-weight: bold;
}

.medium-consumption {
    color: orange;
}

.low-consumption {
    color: green;
}



#home_bg {
    background-image: url(../lib/imgs/home/municipal.1.BG.jpg);
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    opacity: 0.9;
    border-bottom:2px solid darkorange;
}

#auth_bg {
    background-image: url(../lib/imgs/home/municipal.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    color: white;
    border-radius: 4px 0px 0px 4px;
    border-top: 3px solid orange;
}

/*--------------------------------------------------------------------------------------
       CONTROLS  (Remember this includes form controls etc.)           
  --------------------------------------------------------------------------------------*/

/* Search Textboxes on each page */
.searchPhraseTextbox {
    min-height: 30px;
    border-radius: 3px;
    padding-left: 2px;
    min-width:295px;
    border: 1px solid green;
    margin-bottom:3px;
}

/* dropdown control css on each page */
.wardDropdownFilter {
    border-radius: 2px;
    min-height: 30px;
    padding-left: 2px;
    width: 220px;
    border: 1px solid grey;
}

.dropdownListing {
    position: relative;
    display: inline-block;
}

.dropdown-content-listing {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    font-size:12px;
    font-family:Corbel;
    color:darkgreen;
}

.dropdownListing:hover .dropdown-content-listing {
    display: block;
}
/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
    background-color: var(--accent-color);
    height: 100%;
    padding: 20px;
}

.contact .info-item {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    color: var(--contrast-color);
    background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
}

    .contact .info-item:last-child {
        margin-bottom: 0;
    }

    .contact .info-item i {
        font-size: 20px;
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        color: var(--contrast-color);
        font-size: 20px;
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .info-item:hover i {
        background: var(--contrast-color);
        color: var(--accent-color);
    }

.contact .php-email-form {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    padding: 30px;
}

    .contact .php-email-form input[type=text],
    .contact .php-email-form input[type=email],
    .contact .php-email-form textarea {
        font-size: 14px;
        padding: 10px 15px;
        box-shadow: none;
        border-radius: 0;
        color: var(--default-color);
        background-color: var(--surface-color);
        border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    }

        .contact .php-email-form input[type=text]:focus,
        .contact .php-email-form input[type=email]:focus,
        .contact .php-email-form textarea:focus {
            border-color: var(--accent-color);
        }

        .contact .php-email-form input[type=text]::placeholder,
        .contact .php-email-form input[type=email]::placeholder,
        .contact .php-email-form textarea::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 70%);
        }

    .contact .php-email-form button[type=submit] {
        color: var(--contrast-color);
        background: var(--accent-color);
        border: 0;
        padding: 10px 30px;
        transition: 0.4s;
        border-radius: 50px;
    }

        .contact .php-email-form button[type=submit]:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 20%);
        }


/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #222222; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #172a28; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #008374; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff; /* The default color of the main navmenu links */
    --nav-hover-color: #008374; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #01433c; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #008374; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f2f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #008374;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #ffffff;
    --surface-color: #00b6a1;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.2s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

