/* Styles for buttons in the Clients table */
body {
    background-color: #1f3550;
    color: darkgrey;
    padding: 20px;
}

select:disabled {
    background-color: #545457 !important; /* Gray background */
    color: #9ea5ac; /* Dimmed text color */
    cursor: not-allowed; /* Pointer feedback */
}

input:disabled {
    background-color: #545457 !important; /* Gray background */
    color: #9ea5ac; /* Dimmed text color */
    cursor: not-allowed; /* Pointer feedback */
}

/* Colors for buttons and divs and containers and and and and and. Everything to do with a color. */
.aqua-color-background {
    background-color: #1f3550;
    color: white;
}

.tab-container-dark-aqua {
    background-color: #1b2b39;
    color: white;
    margin: 0 10px;
    padding: 0 10px
}
.aqua-color-background-hover:hover {
    background-color: #0099cc;
    color: white;
}

.aqua-color-text {
    color: #0099cc;
    font-weight: bolder;
}

.alert {
    color: #2b2a2f;
    font-weight: bolder;
    text-align: center;
}

.danger {
    background-color: #f36d5c;
}

.success {
    background-color: #9fdd71;
}

.warning {
    background-color: #e49745;
}

.aqua-color-text-dark {
    color: #253b5a;
    font: 400 12px/1.5 Helvetica, Verdana, sans-serif;
}

.secondary-background {
    background-color: #2b2a2f;
    border-color: transparent;
    color: white;
}

.dark-blue-background {
    background-color: #021434;
    border-color: transparent;
    color: white;
}

.dark-blue-text {
    color: #021434;
    font-weight: bolder;
}
.aqua-color {
    background-color: #0099cc;
    border-color: transparent;
}

.aqua-color:hover {
    background-color: ghostwhite;
    color: #0099cc;
    border-color: transparent;
}

.aqua-color-hover:hover {
    background-color: #253b5a;
}

.light-gray_background {
    background-color: #f2f2f2;
    color: #1f3550;
}

.navbar-background-color {
    background-color: aliceblue;
}

.light-text {
    color: aliceblue;
}

/* the default color of the <a>*/
a {
    color: #0099cc;
}
a:hover {
    color: #aba8a8;
}

.delete-btn {
    background-color: red;
    border: none;
}

.green-icon {
    color: green !important;
    font-size: 22px;
}

.red-icon {
    color: red !important;
    font-size: 22px;
}

.gray-icon {
    color: grey !important;
    font-size: 22px;
}
/* This marks the end of our hours of wasted time playing with colors */
.email-group-list {
    display: block;
    margin-top: 1rem; /* Add margin-top to create space above */
    margin-bottom: 0;
    padding: 0 0 0 1rem;
}

.navbar-image {
    position: absolute;
    left: 20px;
    height: 50px;
    padding: 5px;
}

.width-100 {
    width: 100%;
}

.width-50 {
    width: 50%;
}

.height-50 {
    height: 50%;
    position: relative;
    top: 47%
}

.rate-remove {
    height: 50%;
    position: relative;
    top: 38px
}

.form-control-50 {
    display: block;
    width: 50%;
}
.form-control-90 {
    display: block;
    width: 90%;
}
.rate_row {
    margin: 0 8vw 25px 8vw;
}
.action-btn-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  font-size: 70%;
  margin-bottom: 3px;
  flex: 1;
  min-width: max-content;
}

.inline-row{
    display: flex;
    padding-right: 3px
}

.inline-row-center{
    display: flex;
    justify-content: center;
}

.align-right {
    display: flex;
    flex-direction: row-reverse;
    padding: 0 0 5px 0;
}

.row-margin-5 {
    margin-right: 5px;
}

.no-wrap {
    white-space: nowrap;
}

.action-btn + .action-btn {
  margin-left: 3px;
}

.border {
  border: 2px solid #000;
  padding: 15px;
  border-radius: 5px;
}


.form-container {
    align-items: center;
}

.form-control {
    width: calc(100% / 3);
}

.form-control-date-dropdown {
    width: fit-content;
}

.email-form-group {
    padding-top: 50px;
}

.spaced-label {
    width: 110px;
}

.report-label {
    font-weight: bold;
    padding-bottom: 3px;
    padding-top: 5px;
    }

    #generate-button {
      margin-top: 20px;
    }


.search-icon {
    font-size: 18px;
  cursor: pointer;
  margin: 20px 10px 0 0;
}

.search-container {
    margin-left: 0;
}

.report-container {
    background-color: aliceblue;
    color: #2b2a2f;
}

.monthly_date_checkbox {
    position: relative;
    top: 2px;
    left: 4px;
    transform: scale(1.5);
}

.hide-graph-tab {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: rgba(31, 53, 80);
    z-index: 10;
}

.hidden {
  display: none;
}

.textbox-h100 {
    height: 100px;
}

.column1, .column2 {
    display: flex;
    align-items: center; /* This vertically aligns the item(s) in the center */
    padding: 10px 0 10px 0;
}

#content_frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: #0099cc 3px solid;
    padding: 10px 0 10px 0;
}

.column1 {
    float: left;
    width: 60%;
    padding-right: 30px;
    justify-content: flex-end;
}
.column2 {
    float: left;
    width: 40%;
    justify-content: center;
}

.height-100 {
    height: 100%;
}

.column {
    float: left;
    width: 50%;
}

.column-footer {
    float: left;
    width: 33.333%;
}

.dark-blue-line {
    border-bottom: #021434 5px solid;
    border-radius: 0;
}

.dark-aqua-line {
    border-bottom: #1f3550 3px solid;
    border-radius: 0;
}

.menu-row {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 60px;
    margin-bottom: 10px;
}

.first-button {
    border-left: darkgrey 1px solid;
    margin-left: 0;
}

.menu-button {
    width: 140px;
    border-right: darkgrey 1px solid;
    border-bottom: #021434 0 solid;
    border-radius: 0;
}
.menu-button.active {
    border-bottom: #0099cc 4px solid;
    border-top: 0;
    width: 140px;
    border-right: darkgrey 1px solid;
    border-radius: 0;
}

.sub-menu-row {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 10px;
    margin-bottom: 10px;
}

.sub-first-button {
    border-left: darkgrey 1px solid;
    margin-left: 0;
}

.sub-menu-button {
    width: 120px;
    border-right: darkgrey 1px solid;
    border-bottom: #021434 0 solid;
    border-radius: 0;
    font-size: small;
    color: aliceblue;
}
.sub-menu-button.active {
    border-bottom: #0099cc 4px solid;
    border-top: 0;
    width: 120px;
    border-right: darkgrey 1px solid;
    border-radius: 0;
    color: darkgrey;
}

.sub-sub-menu-button {
    width: 120px;
    border-right: darkgrey 1px solid;
    border-bottom: #021434 0 solid;
    border-radius: 0;
    font-size: small;
    color: aliceblue;
}
.sub-sub-menu-button.active {
    border-bottom: #0099cc 4px solid;
    border-top: 0;
    width: 120px;
    border-right: darkgrey 1px solid;
    border-radius: 0;
    color: darkgrey;
}

#pdfContainer {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#pdfContainerDrop {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#pdfContainerFlow {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#pdfContainerSites {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#pdfContainerGroups {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#pdfContainerCombined {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#pdfContainerFlow {
        width: 100%;
        height: 74em; /* Adjust as needed */
    }

#cost, #rates, #consumption, #flow{
    display: none;
}

.footer {
    width: 100%;
    padding: 0 10px 0 10px;
}

.loader {
      display: none;
      border: 16px solid #f3f3f3; /* Light grey */
      border-top: 16px solid #3498db; /* Blue */
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.large-checkbox {
        transform: scale(1.7); /* Increase size */
        margin-right: 10px; /* Optional spacing */
        margin-left: -4px;
    }

/* Align width with Bootstrap form-control */
.select2-container {
    width: 34% !important;
}

.select2-container .select2-selection--single {
    padding-left: 4px;
    padding-top: 2px;
    height: 36px !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 2px !important;
}

/* Match Bootstrap's border radius and box shadow on .form-control */
.select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Match Bootstrap's focus styles on .form-control */
.select2-container--focus .select2-selection {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select2-container--focus .select2-selection--multiple {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Set color for placeholder */
.select2-selection__placeholder {
    color: #6c757d;
}

/* Set color for selected item */
.select2-selection__choice {
    color: #495057;
}

/* Set color for search input */
.select2-search__field {
    color: #495057;
}

/* Base style for the issues column */
#sitesTable .client-row td:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;  /* Adjust based on your preference */
    max-height: 30px;
    cursor: pointer;  /* Optional: show a hand cursor on hover to indicate interactivity */
}

/* Hover effect to show full text */
#sitesTable .client-row td:last-child:hover {
    overflow: visible;
    white-space: normal;
    position: relative;
    z-index: 1;  /* Ensure it appears above other table cells */
}

.client-row-inactive a {
    /*background-color: #aba9a9;*/
    /*color: rgb(114, 114, 114);*/
}

.client-row-inactive {
    background-color: #2b2a2f;
    color: rgb(114, 114, 114);
}

.client-row-suspended a {
    background-color: #312d2d;
    color: #ff2b00;
}

.client-row-suspended {
    background-color: #312d2d;
    color: #ff2b00;
}

.dropdown-menu {
    background-color: aliceblue;
}

.selected-sites-container {
    background-color: aliceblue;
    color: #2b2a2f;
    padding: 10px;
    margin: 10px 0 10px 0;
    border-radius: 5px;
    width: 50%;
}

.no-bullets {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.round-div {
    margin: 10px;
    width: 260px;   /* or any other size */
    height: 260px;  /* should be the same as width to make it a circle */
    border-radius: 50%; /* this makes the edges round */
    border: #3498db 12px solid; /* This creates the white border with 10px width */
    font-weight: 900;
    /* Additional styles for visualization */
    background-color: aliceblue; /* background color */
    color: #1f3550; /* text color */
    text-align: center; /* Center text horizontally */
    line-height: 100px; /* Align text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-heading {
    font-size: 2rem;
    font-weight: 900;
    color: #1f3550;
}
.highlight-figures {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1f3550;
}

.round-div-small {
    margin: 10px;
    width: 165px;   /* or any other size */
    height: 165px;  /* should be the same as width to make it a circle */
    border-radius: 50%; /* this makes the edges round */
    border: #3498db 8px solid; /* This creates the white border with 10px width */
    font-weight: 800;
    /* Additional styles for visualization */
    background-color: aliceblue; /* background color */
    color: #1f3550; /* text color */
    text-align: center; /* Center text horizontally */
    line-height: 60px; /* Align text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-heading-small {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f3550;
}
.highlight-figures-small {
    font-size: 1rem;
    font-weight: 700;
    color: #1f3550;
}

.center-text {
    text-align: center;
    vertical-align: middle;
}

.flex-center-center {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
}

@media (max-width: 767px) {
    .action-btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .rate_row {
        margin: 0 0 25px 0;
    }
    .action-btn + .action-btn {
        margin-left: 0;
    }
    .width-50 {
        width: 100%;
    }
    .form-control {
        width: 90%;
    }
    .login-logo {
        width: 90%;
    }
    .sub-menu-button {
        font-size: x-small;
        width: 100px;
    }
    .sub-menu-button.active {
        font-size: x-small;
        width: 100px;
    }
    .d-flex {
        flex-wrap: wrap;
    }
    .col-form-label  {
        display: block;
    }
    .menu-row {
        display: flex;
        justify-content: center;
    }
    .row {
        justify-content: center;
        align-content: center;
        align-items: center;
    }
}

.table th:last-child,
.table td:last-child {
  text-align: center;
}

@media (max-width: 992px) {
    .column1 {
        float: none;
        width: 100%;
    }
    .column2 {
        float: none;
        width: 100%;
    }
    .navbar-nav {
        background-color: aliceblue;
        width: 100%;
        text-align: center;
        border-radius: 5px;
    }
    .navbar-collapse {
        position: absolute;
        display: flex;
        left: 50%;
        top: 95%;
        width: 100%;
        transform: translateX(-50%);
        align-items: center;
        flex-direction: column;
    }
    #navbarNav {
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        z-index: 1;
    }
    .navbar-brand {
        position: static;
        transform: none;
    }
    .navbar-image {
        height: 30px;
        position: static;
        left: unset;
    }
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        z-index: 1;
    }
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 560px) {
    .navbar-image {
        height: 30px;
    }
}


