﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #2a6a47;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #2a6a47;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
body.auth{

}
.d-block {
    display: block !important;
    margin: auto;
}
td.visualize{
    padding:2px;
}
    td.visualize .element {
        padding: 0px;
        width: 100%;
        height: 20px;
        background-color: red;
        display: table;
    }
        td.visualize .element > span {
            height: 100%;
            max-width: 100%;
            background-color: green;
            display: table;
        }
.login-brand {
    max-height: 80px;
    margin: auto;
    float: none;
    display: block;
}
.range-fields > label{
    display:block;
}

label.required{
    position:relative;
}
    label.required:after {
        position: absolute;
        color: red;
        content: '*';
        font-size: 15px;
        width: 20px;
        right: -22px;
    }
.page-content-header-text{
    margin-bottom:15px;
}
h1.page-content-header-text-title {
    padding-bottom: 0px !important;
}
#documentViewer{
    min-width:100% !important;
    width:100% !important;
}
.dropdown {
    min-height: 30px;
}
aside.page-sidebar {
    background-color: #f6f8fc !important;
}
.sidebar-nav .nav .nav-link,
.sidebar-nav .nav-link-text {
    color: var(--bs-nav-link-color);
}
.stat-data-number {
    font-size: 1.8rem;
    line-height: 2rem;
}
.stat-data-number .fa {
    margin-right: 6px;
    color: #0074ca;
}
    .stat-data-number .percent{
        margin-left:4px;
        font-size:60%;
        font-weight:500;
    }
    .stat-data-number .sub-data {
        margin-left: 20px;
        font-size: 1.5rem;
        line-height: 1.8rem;
        float: right;
    }
    .stat-data-number .sub-data .fa {
        margin-right: 3px;
    }
.data-card-header-title-icon {
    /*text-transform: uppercase;*/
    font-size: 15px !important;
}
.data-card.card{
    border-radius:0 0 4px 4px;
}
#household-updates-by-type,
#case-resolution-by-type {
    height: 600px;
}
.highcharts-title {
    display: block !important;
    visibility: visible !important;
}

/*
html, body, main.page-wrapper,
section.page-layout {
    height: 100%;
    margin: 0;
    padding: 0;
}*/

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

main.page-wrapper,
section.page-layout {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}
.bd-brown {
    border-top: 3px solid rgb(145 101 54);
}
.bd-orange {
    border-top: 3px solid rgb(238 64 53);
}
.bd-green {
    border-top: 3px solid rgb(67 168 63);
}
.bd-orange .fa {
    color: rgb(238, 64, 53);
}

.bd-brown .fa {
    color: rgb(145, 101, 54);
}

    .bd-green .fa {
        color: rgb(67, 168, 63);
    }
.kpi-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 100%;
}
.kpi-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom:25px;
}

    .kpi-card i {
        font-size: 28px;
        margin-bottom: 10px;
    }

.kpi-value {
    font-size: 25px;
    font-weight: bold;
}

.kpi-label {
    color: #555;
    margin-top: 5px;
}

.kpi-percent {
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
}
#heads-category-by-district{
    min-height:500px !important;
}

.dataTables_length {
    margin-top: 0px;
    margin-left : 2px;
    width: auto;
    float: left;
    margin-right: 20px;
}
div.dt-buttons > .dt-button, div.dt-buttons > div.dt-button-split .dt-button{
    line-height:1em !important;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0;
    white-space: nowrap;
    float: left;
}
.icon-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.data-card .card-body {
    padding: 1rem 1.25rem;
}

.data-card h5 {
    font-size: 1.4rem;
}
.cross-summary-table td small {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
}

.cross-summary-table th,
.cross-summary-table td {
    text-align: center;
    vertical-align: middle;
}

.cross-summary-table .table-light th {
    text-align: center;
}

/* Heatmap effect based on percentage values */
.heat-low {
    background-color: #e8f5e9; /* light green */
}

.heat-medium {
    background-color: #c8e6c9;
}

.heat-high {
    background-color: #a5d6a7;
}

.heat-very-high {
    background-color: #81c784;
}

.summary-row {
    font-weight: 600;
    background-color: #f8f9fa;
}
.card-header {
    padding: 10px 10px 0;
}
.extract-dashboard{
    margin-bottom:10px;
}
.badge {
    font-size: 0.9rem;
    padding: 0.4em 0.6em;
    display: inline-flex;
    align-items: center;
}
.tooltip-table {
    border-collapse: collapse;
    width: 100%;
}

    .tooltip-table th, .tooltip-table td {
        padding: 5px 10px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .tooltip-table tr:hover {
        background-color: #f0f0f0;
    }

    .tooltip-table th {
        background-color: #f8f8f8;
        font-weight: bold;
    }