.alert-debug {
  background-color: #fff;
  border-color: #d6e9c6;
  color: #000
}

.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48
}

.bg-dark {
  background: #25384a !important
}

.cost-label {
  color: #39af7e
}

.energy-savings-label {
  color: #39af7e
}

.electricity-label {
  color: #1f77b4
}

.fossil-fuel-label {
  color: #c35f19
}

.ghg-label {
  color: #b79f03
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Lato", system-ui, sans-serif;
  font-weight: 600
}

h1 {
  text-transform: none;
  font-size: 1.6em !important;
  padding-top: 30px
}

h2 {
  font-size: 1.4em !important
}

.std-button {
  min-width: 200px;
  margin-right: 1rem
}

.sm-button {
  min-width: 120px;
  margin-right: 1rem
}

.action-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px dotted #ccc;
  align-items: center;
  background: #fff
}

.action-buttons .btn {
  min-width: 120px
}

.action-button {
  min-width: 120px
}

.tooltip {
  opacity: 1 !important
}

.tooltip-inner {
  text-align: left;
  color: #000 !important;
  background-color: #fff9e0 !important;
  border-radius: .4rem;
  border: 1px solid #e0decf !important;
  padding: .7rem;
  box-shadow: 3px 3px 10px #00000011;
  max-width: 17rem
}

.tooltip.bs-tooltip-top .arrow:before {
  border-top-color: #e0decf !important
}

.tooltip.bs-tooltip-bottom .arrow:before {
  border-bottom-color: #e0decf !important
}

.tooltip.bs-tooltip-left .arrow:before {
  border-left-color: #e0decf !important
}

.tooltip.bs-tooltip-right .arrow:before {
  border-right-color: #e0decf !important
}

.toast-body {
  position: relative
}

.toast-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: .25rem .5rem;
  background-color: transparent;
  border: none;
  color: inherit;
  opacity: 1
}

.toast-close:hover {
  opacity: .8
}

body {
  padding-top: 115px
}

.site-header {
  backdrop-filter: saturate(180%) blur(20px)
}

.site-header #unit_switch_form {
  display: flex;
  flex-direction: row;
  color: #fff;
  align-items: center
}

.site-header #unit_switch_form .toggle-group .btn-secondary {
  background-color: #4c8e40 !important
}

#sidebarMenu .nav-item a.active {
  position: relative
}

#sidebarMenu {
  border-right: 5px solid #e6e6e6
}

#sidebarMenu .nav-item a {
  color: #000;
  border-bottom: 1px solid #e9e9e9;
  border-top: 1px solid #f1f1f1
}

#sidebarMenu .nav-item a.active {
  color: #fff
}

#sidebarMenu .nav-item:hover, #sidebarMenu .nav-item:focus {
  color: #eee;
  background-color: rgba(0, 0, 0, .2)
}

#sidebarMenu .nav-item a.active:after {
  content: "";
  position: absolute;
  right: 0px;
  top: 0px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-right: 15px solid #e6e6e6;
  border-bottom: 20px solid transparent
}

.info-bar-wrapper {
  border-bottom: 1px dotted #888
}

.info-bar-wrapper .info-bar {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: .5rem;
  min-height: 3.5em;
  display: flex;
  flex-direction: row;
  align-items: center
}

.info-bar-wrapper .info-bar .page-title {
  width: 100%;
  max-width: 600px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.info-bar-wrapper .info-bar .breadcrumb-item {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden
}

footer {
  padding-top: 1rem;
  width: 100%;
  background: #e9e9e9;
  background: linear-gradient(-45deg, #fcf9f9, #faf8f8);
  border-top: 1px solid rgba(0, 0, 125, .2)
}

footer .show-footer-btn {
  padding: 1rem
}

footer .version-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: .5rem 0;
  font-size: .9rem;
  background: #c5c8ca;
  color: #fff
}

footer .version-box .version {
  background: rgba(0, 0, 0, .2);
  padding: .1rem 1rem;
  border-radius: .2rem;
  min-width: 10rem;
  text-align: center
}

footer .version-box .version-label {
  color: #e1e1e1
}

footer .version-box .version-number {
  color: #fff
}

footer .container {
  width: 100%;
  min-height: 80px;
  padding-top: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between
}

footer h1 {
  text-transform: uppercase;
  margin: 10px 0px 10px;
  padding: 0px 0px 5px;
  font-size: 1em !important;
  color: #000;
  text-align: left;
  border-bottom: 1px dotted #777
}

footer h2 {
  text-transform: uppercase;
  margin: 5px 0px 8px;
  padding: 0px 0px 3px;
  font-size: 1em !important;
  text-align: left;
  color: #000;
  border-bottom: 1px dotted #777
}

footer h3 {
  text-transform: uppercase;
  margin-top: 8px;
  font-size: 0.85em !important;
  text-align: left;
  color: rgba(0, 0, 0, .6);
  font-weight: 600;
}

footer .footer-section {
  margin-bottom: 0.5rem;
}

footer .footer-section a[data-toggle="collapse"] {
  display: block;
  cursor: pointer;
}

footer .footer-section a[data-toggle="collapse"]:hover {
  color: #333 !important;
}

footer .footer-section a[data-toggle="collapse"][aria-expanded="true"] i {
  transform: rotate(180deg);
}

footer nav ul {
  list-style-image: none;
  margin-left: 0px;
  padding-left: 10px;
  margin-bottom: 0.3rem;
}

footer nav ul li {
  font-weight: 400 !important;
  list-style: none;
  margin: 0px 0px 2px 0px;
  line-height: 1.4;
}

thead {
  background: #f1f1f1
}

.app-base .info-bar {
  margin-left: 1rem
}

.app-base #sidebarMenu {
  min-height: calc(100vh - 136px)
}

.app-base .app-content {
  margin: .5rem;
  height: 100%
}

.app-base .portfolios .div_portfolio_desc {
  display: none
}

.app-base .portfolios .div_buildings_desc {
  display: none
}

.app-base .portfolios .div_portfolio_form:hover + .div_portfolio_desc {
  display: block;
  color: #142e3c
}

.app-base .portfolios .div_buildings_table:hover + .div_buildings_desc {
  display: block;
  color: #142e3c
}

.app-base .portfolios .form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1)
}

.app-base .portfolios .form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25)
}

.app-base .recent-list {
  border: 1px dotted #ccc;
  background-image: linear-gradient(45deg, #cae2fd, #eef5fd);
  padding: 1rem;
  margin-bottom: 1rem;
  min-height: 300px;
  border-radius: .5rem;
  max-height: 500px;
  height: 100%;
  width: 100%;
  flex-wrap: wrap;
  overflow-y: scroll
}

.app-base .better-card {
  min-width: 16rem;
  width: 16rem;
  margin-bottom: 1rem
}

.app-base .better-card .card-header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden
}

.app-base .recent-header {
  margin-bottom: 1rem
}

.app-base .generation-error {
  border: 1px dotted #ccc;
  background: #f9f9f9;
  border-radius: .5rem;
  padding: 1rem;
  margin: 1rem
}

.app-base .app-info-bar {
  display: flex;
  flex-direction: row;
  border-bottom: 1px dotted #888
}

.app-base .app-info-bar .app-title-bar {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  padding: 1rem 1rem 1rem .75rem;
  min-height: 3.5em;
  align-items: center
}

.app-base .app-info-bar .app-title-bar .page-title {
  width: 100%;
  max-width: 600px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.app-base .app-info-bar .app-title-bar .breadcrumb-item {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden
}

.app-base .app-info-bar .app-command-bar {
  display: flex;
  flex-direction: row;
  flex-grow: 0;
  align-items: center;
  padding-right: 1rem
}

.crud-card .alert-secondary {
  background-color: #f9f9f9;
  border-color: #f8f8f8;
  color: #666
}

.crud-card .card-body .input-section-header {
  display: flex;
  padding-bottom: .2rem;
  border-bottom: 1px dotted #ccc;
  margin-bottom: 2rem;
  flex-direction: row;
  align-items: center
}

.crud-card .card-body .input-section-header .section-title {
  flex-grow: 1;
  font-size: 1.1rem !important;
  margin-bottom: .3rem
}

.crud-card .card-body .form-group > label {
  font-weight: 700
}

.crud-card .card-body .form-row:nth-last-of-type(2) {
  border-bottom: none
}

.crud-card .card-body .input-field-help {
  background-color: #f1f1f1;
  padding: 1.5rem;
  border-radius: 1rem
}

.crud-card .card-body .input-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.crud-card .card-body #saving_target_text {
  width: 10rem;
  text-align: left
}

.crud-card .card-body .savings-target-text-wrapper, .crud-card .card-body .benchmark-statistics-text-wrapper {
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.crud-card .card-body #savings-target-graphic {
  display: flex;
  flex-direction: row;
  justify-content: center
}

.crud-card .card-body #savings-target-graphic img {
  min-height: 140px;
  max-height: 180px
}

.crud-card .card-body .range-slider {
  display: flex;
  flex-direction: row;
  align-items: center
}

.crud-card .card-body .range-slider .custom-range {
  width: 300px
}

.crud-card .card-body .range-slider .range-slider__value {
  min-width: 6.5rem;
  border: 1px solid #e2f8e2;
  background-color: #e2f8e2;
  border-radius: 1rem;
  padding: .5rem;
  font-size: 2.5rem
}

.crud-card .card-body .enable-net-zero {
  display: flex;
  flex-direction: row;
  align-items: flex-start
}

.crud-card .card-body .enable-net-zero p {
  margin-left: 1rem
}

#overview_details h4 {
  font-size: 1.6rem
}

#overview_details h5 {
  margin: 2rem 2rem 1rem 0;
  border-bottom: 1px dotted #ccc;
  padding: 0 0 1rem .7rem;
  font-size: 1.4rem
}

#overview_details table th {
  background-color: #f3f3f3
}

#overview_details table td {
  background-color: #fcfcfc
}

#portfolio-buildings-list {
  margin: 1rem 0 3rem
}

#portfolio-buildings-list table {
  width: 100%
}

#portfolio-buildings-list thead, #portfolio-buildings-list tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed
}

#portfolio-buildings-list tbody {
  display: block;
  overflow-y: auto;
  table-layout: fixed;
  max-height: 500px
}

.portfolio-analytics-action {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  padding: 1rem;
  border: 1px solid #f1f1f1;
  border-radius: .5rem;
  align-items: flex-start
}

.in-progress-wrapper {
  max-width: 500px;
  width: 100%;
  border: 1px dotted #ccd;
  background: #f1f1f1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center
}

.in-progress-message {
  margin-left: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center
}

.form-header-note {
  display: flex;
  flex-direction: row;
  border: 1px solid #f1f1f1;
  border-radius: .5rem;
  text-align: justify;
  font-size: 1rem;
  padding: .5rem;
  background-color: #f9f9f9;
  margin-bottom: 1rem
}

.form-header-note i {
  flex-grow: 0;
  width: 5rem;
  padding-top: .2rem;
  padding-left: .2rem;
  justify-content: center;
  font-size: 1.5rem;
  color: #333
}

.form-header-note div {
  flex-grow: 1;
  color: #333;
  margin-left: .5rem;
  text-align: left
}

.form-note {
  color: #777;
  margin-bottom: 1.5rem;
  margin-top: -0.5rem;
  font-size: .9rem
}

.form-note i {
  color: #777
}

.asteriskField {
  color: #c00
}

.video-callout {
  border: 1px dotted #efc84a
}

.block-callout {
  padding: 0;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  display: flex;
  margin-bottom: 20px
}

.block-callout .icon-block {
  background-color: #e1e1e1;
  align-content: center;
  padding: .75rem 1rem 1rem
}

.block-callout .icon-block .icon-image {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px
}

.block-callout .callout-text {
  align-content: center;
  line-height: 1.5em;
  font-size: 1em;
  padding: 10px 10px 10px 20px
}

.block-callout .callout-text h2 {
  margin-top: .7em;
  text-transform: capitalize
}

.measure-block {
  border: 1px dotted #ccc;
  padding: .5rem;
  border-radius: .5rem;
  margin-bottom: 1rem
}

.measure-block .action {
  display: flex;
  flex-direction: row;
  padding: 1rem;
  margin: 1rem 1rem 1rem 0
}

.measure-block .action .action-label {
  font-weight: bold;
  margin-right: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center
}

.measure-block .action .action-description {
  width: 100%
}

.measure-block .block-callout {
  margin-left: 2rem
}

.health-info-callout {
  border: 1px dotted #e7d7fd
}

.health-info-callout .icon-block {
  background-color: #e7d7fd
}

.health-info-callout .icon-block .fa {
  font-weight: 900;
  font-size: 2rem;
  color: #9852f9
}

.resources-callout {
  border: 1px dotted #aaa
}

.resources-callout .icon-block {
  background-color: #eee
}

.resources-callout .icon-block .fa {
  font-weight: 900;
  font-size: 2rem;
  color: #555
}

.rest-api-docs {
  margin-top: 2rem
}

.rest-api-docs pre code {
  margin: 0;
  background-color: #eee;
  border: 1px solid #999;
  display: block;
  padding: 20px
}

.rest-api-docs .tldr-guide {
  margin: 2rem 0;
  padding: 0 2rem 0;
  border: 1px dotted #999;
  border-radius: 1rem;
  background: #fffaef
}

.rest-api-docs h2 {
  margin-top: 3rem;
  padding-bottom: .5rem;
  border-bottom: 1px dotted #555;
  margin-bottom: 1rem;
  text-transform: uppercase
}

.rest-api-docs h3 {
  margin-top: 3rem;
  font-weight: bold;
  font-size: 1.2rem !important
}

.rest-api-docs h4 {
  margin-top: 2rem;
  color: #777;
  font-size: 1.1rem !important;
  font-weight: bold
}

.rest-api-docs .endpoints .endpoint {
  display: flex;
  flex-direction: row;
  margin: 1rem 0;
  align-items: center
}

.rest-api-docs .endpoints .endpoint .endpoint-label {
  min-width: 80px
}

.ag-grid-header-class-center .ag-header-cell-label {
  justify-content: center
}

.changelog h1 {
  font-size: 1.5rem
}

.changelog h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dotted #ccc
}

.changelog h3 {
  font-size: 1.1rem
}

.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center
}

.marketing h2 {
  font-weight: 400
}

.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem
}

.featurette-divider {
  margin: 4rem 0
}

.featurette h2 {
  margin-top: .4rem;
  margin-bottom: 1.5rem
}

.featurette:last-child {
  margin-bottom: 3rem
}

.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05rem;
  border: 1px solid blue
}

.featurette .cityscape {
  object-fit: cover;
  height: 100%;
  width: auto
}

@media only screen and (max-width: 991px) {
  .featurette .cityscape {
    height: auto;
    width: 100%
  }
}

@media (min-width: 40em) {
  .featurette-heading {
    font-size: 50px
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 0rem
  }
}

.htmx-indicator {
  display: none
}

.htmx-request .htmx-indicator {
  display: inherit
}

.htmx-request.htmx-indicator {
  display: inherit
}

.featurette img {
  border-radius: .3rem
}

.jumbotron {
  background: linear-gradient(-45deg, #fcf9f9, #faf8f8);
  border-radius: 0;
  border-bottom: 1px solid #ddd
}

.building-jumbotron {
  height: 100%;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 7rem;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background: #87cefa;
  border-bottom: 1px dotted #007bff;
  background: linear-gradient(to top, #e7f5fd 0%, #cbe9fc 100%)
}

.building-jumbotron .texture-container {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%
}

.building-jumbotron .texture-container img {
  height: 100%;
  width: 100%
}

.building-jumbotron .building-container {
  position: absolute;
  bottom: 0;
  left: -20px;
  right: -20px;
  height: 100%;
  overflow: clip
}

.building-jumbotron .building {
  position: absolute;
  bottom: -20px;
  animation: show-building 1s ease-in-out;
  animation-delay: calc(var(--delay) * 0.1s);
  animation-fill-mode: forwards;
  transform-origin: bottom center;
  transform: scale(0)
}

.cost-color {
  background: #39af7e
}

@keyframes show-building {
  from {
    transform: scale(0)
  }
  to {
    transform: scale(1)
  }
}

.overview-results .overview-result {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem
}

.overview-results .overview-result .result-title {
  font-size: 1.5rem
}

.overview-results .overview-result .result-values {
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  font-weight: bold
}

.overview-results .overview-result mark {
  background: transparent
}

/*For the logo carousel*/
.logo-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.logo-carousel {
    display: flex;
    animation: slide 20s linear infinite;
    width: fit-content;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

.logo-slide {
    min-width: 150px; /* Reduced from 200px to 180px */
    padding: 0 5px; /* Further reduced from 10px to 5px */
    text-align: center;
}

.logo-slide img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Move left by half the width */
    }
}


/* For API client Option 2*/
/* API Client Solutions section styles */
.partner-logos img {
    transition: all 0.2s ease;
    filter: grayscale(100%);
    opacity: 0.8;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}


.client-solution {
    transition: all 0.3s ease;
}

.client-solution:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* If you want to add more specific styling, you could include these as well */
.client-solution .fas {
    color: #0d6efd; /* Bootstrap primary color */
}

.client-solution h3 {
    margin-bottom: 1rem;
}

.client-solution p {
    color: #6c757d; /* Bootstrap secondary/muted color */
}
