html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: "Merriweather Sans", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: rgb(30, 30, 30);
    position: relative;
    background-color: transparent;
}

header{
    position: sticky;
    top:0;
    left:0;
    right: 0;
    z-index: 1000;
}
 
.lmlogo {
    max-height: 50px;
}

header .breadcrumb.container{
    padding-bottom: 0;
    padding-top: 5px;
    padding-left: 10px;
    margin-bottom: 0.5rem;
    border-top: 1px solid #eee;
    font-size: 1.5vw;
}

header .navbar{
    padding-bottom:0;
}

@media (max-width: 991px) {

    .container {
        max-width: 100%;
        padding: 10px;
    }

    header .breadcrumb.container {
        font-size: 15px;
    }
}

@media (min-width: 1400px) {

    header .breadcrumb.container {
        font-size: 21px;
    }
}

.maincon{
    padding-bottom: 70px;
}

.form-check-input {
    border-color: rgba(0, 0, 0, .5);
}

.e-grid, .e-grid .e-rowcell,
.e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input {
    font-family: "Merriweather Sans", sans-serif;
    font-size: 16px;
}
    .e-grid .e-headercelldiv{
        font-size: 15px;
        font-weight: bold;
    }

    .btn, .form-select,
    label, .col-form-label {
        font-size: 16px;
    }
/*
a :not(.btn), header > nav a.text-dark:hover,
h1, h2, h3, h4, h5, h6,
.themecol1 {
    color: rgb(116, 30, 140) !important;
}*/

a:not(.btn), header > nav a.text-dark:hover:not(.btn),
h1, h2, h3, h4, h5, h6,
.themecol1{
    color: rgb(116, 30, 140) !important;
}

/*header > nav a.text-dark:hover {
    color: white !important;
}*/

    a.btn-primary {
        color: #fff !important;
    }

h1 {
    font-weight: 600;
}

h2 {
    font-weight: 600;
}

.btn-link {
    color: #A017CB;
}

    .btn-link:hover {
        color: #741e8c;
    }

    .current-user{
        padding-top: 9px;
        font-size: 14px;
    }

header > nav a.text-dark {
    color: rgb(63, 62, 62) !important;
    font-size: 15px;
    transition: none;
}
    header > nav .dropdown-menu a.nav-link.text-dark:hover{
        color: rgb(255,255,255) !important;
    }

    header .navbar-nav > li {
        border-bottom: 2px solid transparent;
        padding-top: 10px;
        padding-right: 2px;
    }

    header .navbar-nav > li:hover {
        border-bottom: 2px solid rgb(116, 30, 140);
    }
    header .navbar-nav > li.nobum:hover {
        border-bottom: 2px solid transparent;
    }

header .dropdown-menu a {
    color: rgb(63, 62, 62) !important;
    font-size: 16px;
}

header .dropdown-menu li:hover {
    background-color: #A017CB;
}

    header .dropdown-menu li:hover a {
        color: #fff !important;
    }


footer {
    background-color: rgb(243, 243, 243);
    font-size: 13px; 
    padding: 15px;  
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
}


.narrowform {
    max-width: 400px;
    margin: 0 10%;
}

.table thead th {
    text-align: center;
}

.table th {
    font-weight: normal;
}

table.table tr *.leftborder {
    border-left: 1px solid #ccc;
}


.table .subtotal {
    border-top: 3px solid #333;
}

.table .total {
    border-top: 2px solid #000; 
    font-weight: bold;
    color: rgb(116, 30, 140);
    font-size: 110%;
}
 
table.table > :not(:first-child) {
    border-top: 0px;
}

table.table tr td, table.table tr th{
    border: 0px;
}

.calcbreakdown .rate {
    font-style: italic;
}

.calcbreakdown .num{
    text-align: center;
}

.num {
    text-align: right;
}

.table.table-nostretch {
    width: auto;
}


/* applies only to the div in _EnergyAndCreditConsumptionChartPartial */
.chartparent .datepicker-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between elements */
    width: auto;
    margin: 0;
}

.chartparent select.form-control {
    appearance: auto !important;
}

.chartparent #container {
    min-height: 65vh;
}

.chartparent .search-button {
    width: 540px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}
.chartparent .dl-button {
    width: 990px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: white;
    border-radius: 4px;
}

.chartparent .search-button i {
    font-size: 18px;
}
.chartparent .dl-button i {
    font-size: 18px;
}

.toggle-button {
    font-size: 12px;
}

/* For the 'manage site' accordion in the site's dashboard */
.accordion-arrow {
    transition: transform 0.2s ease-in-out;
}

.accordion-header button:not(.collapsed) .accordion-arrow {
    transform: rotate(-180deg);
}


/* Styles for Dashboard Key and Status Indicators */
.color-key {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.color-box {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 4px; /* Optional: A little rounding to match Bootstrap's feel */
}

.cred-negative, .lastcred.error, .status.problem {
    background-color: #ffdddd; /* Using hex for better consistency */
    border: 1px solid #d9534f;
}

.cred-positive, .lastcred.success, .status.allgood {
    background-color: #dff0d8;
    border: 1px solid #5cb85c;
}

.lastcred.inprogress, .status.warning {
    background-color: #fcf8e3;
    border: 1px solid #8a6d3b;
}

.cred-zero {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
}



    /* until here*/

@media (max-width: 991px) {
    header span.nav-link {
        font-size: 12px;
        overflow-wrap: anywhere;
    }
    .e-grid, .e-grid .e-rowcell,
    .e-input-group input.e-input, .e-input-group.e-control-wrapper input.e-input, .e-input-group textarea.e-input, .e-input-group.e-control-wrapper textarea.e-input,
    .e-grid .btn{
        font-size: 14px;
    }
}
