@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

html,
body {
  height: 100%;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
}

.material-symbols-outlined {
  font-variation-settings: "wght" 300;
}

.material-symbols-outlined.bold-symbol {
  font-variation-settings: "wght" 500;
}

#body-container {
  height: 100%;
}

.form-control::placeholder {
  font-style: italic;
  color: grey;
  opacity: 0.4;
}

.nav-flush .nav-link {
  border-radius: 0;
}

#status-bar {
  margin-top: -32px;
  background-color: #8bc54085;
  color: #242056b8;
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
}

#status-bar span {
  font-style: italic;
}

#main-container {
  margin-left: 65px; /* Same as the width of the sidebar */
  padding-top: 56px;

  height: 100%;
  /*overflow-y: auto;*/
  width: 100%;
  z-index: 1;
}

#main-container #main-tabContent {
  height: 100%;
  z-index: 1;
  background-color: rgb(245 245 245 / 86%);
  position: relative;
  overflow: auto;
}

.tab-s {
  width: 350px;
}

.map {
  top: 0px;
  width: 100%;
  z-index: 2;
}

div.map-background {
  top: 56px;
  position: absolute;
  width: 100%;
  z-index: 0;
  bottom: 0;
  left: 0;
}

.tab-pane {
  width: 100%;
  height: 100%;
}

.tab-overlapping,
.tab-left {
  padding: 10px;
  z-index: 3;
}

.tab-m {
  min-width: 500px;
}

.bottom-selector {
  margin-bottom: 110px;
  overflow-y: auto;
  overflow-x: hidden;
}

#map-area-box {
  background-color: #ffffff8a;
  font-weight: bold;
  font-size: 15px;
}

#main-container #main-tabContent.show-results {
  width: 50%;
  overflow-y: auto;
}

#main-container #main-tabContent.show-carbontracker {
  width: 90%;
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.9);
}

#main-container #main-tabContent.full-screen {
  width: 100%;
  overflow-y: auto;
  background-color: rgba(255, 255, 255);
}

#sidebar-left {
  height: 91vh; /* Full-height: remove this if you want "auto" height */
  width: 65px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  /*top: 56;  Stay at the top */
  left: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  overflow-y: auto;
  padding-top: 0px;

  margin-top: 56px;
  z-index: 100;
  background-color: whitesmoke;
}

#sidebar-left img {
  width: 30px;
}

#sidebar-left .nav-item a.disabled img {
  opacity: 0.3;
}

#sidebar-left .nav-link {
  padding: 10px;
}

#sidebar-left a:hover {
  background-color: grey;
}

#sidebar-left a.active {
  background-color: grey;
}

#waiting-bg-report,
#waiting-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 99999;
  text-align: center;
  font-weight: bold;
}

#waiting-bg > div {
  width: 300px;
}

.waiting-bg-blank {
  background-color: gray;
}

.waiting-bg-startup {
  background-color: rgba(236, 233, 233, 0.94);
}

.waiting-bg-task {
  background-color: rgba(100, 100, 100, 0.75);
}

#waiting-bg-report > div {
  width: 70%;
  height: 90%;
}

#waiting-bg-report iframe {
  width: 100%;
  height: 100%;
}

#sidebar-right {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 350px; /* Set the width of the sidebar */
  display: none;
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 3; /* Stay on top */
  top: 56px; /* Stay at the top */
  right: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding: 10px;
  margin-top: 0px;
  z-index: 2;
  background-color: rgb(245 245 245 / 86%);
}

#sidebar-right div.container {
  margin-top: 25px;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 100px;
}

.tab-title {
  font-size: 18px;
  font-weight: bold;
}

.min-width {
  min-width: 110px;
}

.uom {
  max-width: 70px;
  background-color: #e9ecef;
}

#pills-building #buildingUseType {
  margin-bottom: 50px;
}

#pills-building #ab {
  margin-top: 35px;
  text-align: center;
}

#pills-building #ab .form-check {
  padding: 0px;
  width: 65px;
  text-align: center;
  margin: 5px;
}

#pills-building #ab .form-check .form-check-input {
  float: none;
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#building-help img {
  height: 100px;
  margin-top: 10px;
  margin-right: 15px;
}

#shape-help .p-tile-tab img {
  height: 150px;
}

#pills-shape-settings {
  width: 100%;
}

.comingsoon {
  text-align: center;
  color: red;
  font-weight: bold;
}

.coming-soon {
  color: gray;
}

.help-container {
  font-size: 14px;
}

#pills-results {
  width: 100%;
}

#results-toolbar {
  position: relative;
  max-width: 100%;
  height: 50px;
  z-index: 4;
  padding: 5px;
}

#results-toolbar .results-toolbar-filters {
  width: 950px;
  margin-top: 5px;
}

#results-sortby span {
  width: 160px;
  display: inline-block;
  text-align: left;
}

#results_count {
  font-size: 10pt;
  margin-top: 18px;
}

#results-toolbar > div {
  margin-left: 5px;
}

#results-toolbar label {
  width: 100%;
}

#results-mapcontainer {
  position: relative;
  height: 90%;
  margin-left: 50%;
  /*border:2px dashed red;*/
  z-index: 2;
}

#liveediting-mapcontainer {
  position: relative;
  height: 90%;
  margin-left: 600px;
  /*border:2px dashed red;*/
  z-index: 2;
  display: none;
}

#results_main_container {
  height: 100%;
}

#results_solutions {
  height: 100%;
  overflow-y: auto;
}

#results_solutions .card {
  margin-bottom: 10px;
  border-width: 2px;
}

#results_solutions .solution-selected {
  border-color: rgba(15, 133, 237, 0.45);
}

#results_solutions .solution-header img {
  height: 40px;
  clear: right;
  margin-top: 3px;
  margin-bottom: 5px;
}

#results_solutions .card-body p {
  margin-bottom: 0px;
  font-size: 10pt;
}

#results_solutions .card-body p.solution-u {
  font-style: italic;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 12pt;
}

#results_solutions .card-body p math {
  font-size: inherit;
  font-style: inherit;
  font-family: inherit;
}

#results_solutions .card-body p math mn {
  font-size: inherit;
  font-style: inherit;
  font-family: inherit;
}

#results_solutions .card-body .solution-carbon-value {
  font-size: 22pt;
  font-weight: bold;
  color: black;
}

#results_solutions .card-body .solution-carbon-um {
  font-weight: bold;
  color: gray;
}

#results_solutions .card-body .solution-biggreen {
  font-size: 14pt;
  font-weight: bold;
  color: green;
}

#results_solutions .card-body .solution-bigred {
  font-size: 14pt;
  font-weight: bold;
  color: rgb(128, 0, 0);
}

#results_solutions .card-body .solution-verysmall {
  font-size: 7pt;
}

#results_solutions .card-body .solution-ranking.solution-green {
  border: 1px solid green;
  background-color: rgba(0, 128, 0, 0.185);
}

#results_solutions .card-body .solution-ranking.solution-red {
  border: 1px solid rgb(128, 0, 0);
  background-color: rgba(128, 0, 0, 0.185);
}

#results_solutions .card-body .solution-ranking {
  font-size: 10pt;

  border-radius: 8px;
  width: 110px;
  text-align: center;
  position: relative;
  margin-right: 0px;
  margin-left: auto;
}

#results_solutions .card-body .solution-ranking-rank {
  font-weight: bold;
  font-size: 14pt;
}

#results_solutions .card-body .solution-struct p {
  margin-bottom: 10px;
}

#results_solutions .card-body .solution-ranking.solution-red {
  border: 1px solid rgb(128, 0, 0);
  background-color: rgba(128, 0, 0, 0.185);
}

#results_solutions .solution-details img {
  height: 150px;
  margin-top: 3px;
  margin-bottom: 5px;
}

#results_solutions .solution-details-plot {
  width: 200px;
  height: 150px;
}

.custom-tooltip {
  --bs-tooltip-bg: #393939;
  --bs-tooltip-opacity: 1;
}

.cursor-pointer {
  cursor: pointer;
}

.mapboxgl-ctrl-reposition {
  padding: 0.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: medium;
}

a:focus-visible {
  outline-offset: 3px;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger {
  color: white !important;
}

.v-input .v-field--disabled,
.v-btn-group .v-btn--disabled {
  opacity: 0.7;
}

.v-field__prepend-inner {
  color: gray;
  font-size: 12px;
}

.lh-sm {
  line-height: 1.2 !important;
}

div.tooltip-donut {
  position: absolute;
  text-align: center;
  padding: 5px;
  background: #ffffff;
  color: #313639;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  pointer-events: none;
  font-size: 0.9rem;
}

.line-hidden {
  display: none;
}

.mapboxgl-ctrl-group button {
  width: 2.5rem;
  height: 2.5rem;
}
.mapboxgl-ctrl button:not(:disabled):hover {
  background-color: #fff3cd;
}

.mapboxgl-ctrl-group button.active {
  background-color: #ffe69c;
}

.min-width-450 {
  min-width: 450px;
}

@media (max-width: 450px) {
  .min-width-450 {
    min-width: 100%;
  }
}

.fs-xs {
  font-size: 0.66rem;
}

.fs-sm {
  font-size: 0.8rem;
}

.fs-md {
  font-size: 1rem;
}

.fs-lg {
  font-size: 1.2rem;
}

.min-h-100 {
  min-height: 100%;
}

.border-b-white {
  border-bottom: 1px solid white;
}

.text-list ul {
  padding-left: 1em;
  margin: 0.5em 0 1em;
}

.text-list li {
  list-style: square;
  padding: 0.2em 0.5em;
}

.mt-22 {
  margin-top: 88px !important;
}

.grecaptcha-badge {
  visibility: hidden;
}
