@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1:focus {
  outline: none;
}

a,
.btn-link {
  color: #0071c1;
}
.light-green {
  background-color: #6cae4708 !important;
}
.header-logo {
  height: 60px;
  margin-left: 30px;
}
.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.exposure-value-input {
  min-width: 75px !important;
  -moz-appearance: textfield;
  border: 1px solid #bbbbbb;
}

.exposure-value-input:focus-visible {
  border: 1px solid #777777;
  outline: none !important;
}

.exposure-value-input::-webkit-outer-spin-button,
.exposure-value-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.navmenu-icon {
  display: none;
}

.gray-background {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
}

.main {
  min-height: calc(100dvh - 86px);
  color: var(--neutral-foreground-rest);
  align-items: stretch !important;
}

.body-content {
  align-self: stretch;
  height: unset !important;
  display: flex;
}

.content {
  padding: 0.5rem 1.5rem;
  align-self: stretch !important;
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

.pollutant_tabs {
  margin-top: 30px;
}
.pollutant_tabs .mud-tabs-tabbar-inner,
.pollutant_tabs .mud-tabs-tabbar-wrapper.mud-tabs-centered {
  width: 100%;
}
.pollutant_tabs .mud-tooltip-root.mud-tooltip-inline {
  flex-grow: 1;
}

.pollutant_tabs .mud-tabs-scroll-button {
  display: none;
}
.pollutant_tabs .mud-tab {
  font-size: 16px;
  font-weight: bold;
}

.output-filters {
  display: flex;
  flex-direction: row;
  background-color: #f6f6f6;
}
.output-filters .filter-item .inner {
  background-color: #fff;
  height: 100%;
  padding: 10px;
  margin-top: -1px;
  margin-left: 1px;
  margin-right: -1px;
  border-top: solid 1px #e6e6e6;
  border-right: solid 1px #e6e6e6;
}
.output-filters .filter-item .content {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
.output-filters .filter-item .content .mud-button {
  width: 100% !important;
}
.output-filters .filter-item .headline {
  text-align: center;
  min-height: 45px;
}

.show-filter-button {
  padding: 36px 0 0 0 !important;
}

.currency-field,
.currency-conversion-field,
.price-year-conversion-field {
  display: inline !important;
  width: auto !important;
}
.currency-field .mud-input-control-input-container .mud-input-text {
  width: 75px;
}
.currency-conversion-field .mud-input-control-input-container .mud-input-text {
  width: 75px;
}
.price-year-conversion-field
  .mud-input-control-input-container
  .mud-input-text {
  width: 75px;
}
.chem-pollutant-divider {
  margin-left: -1px !important;
  margin-right: -1px !important;
}
.erf-fields {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}
.erf-fields p {
  text-align: center;
}
s .erf-fields .double-switch p {
  text-align: unset;
}
.damage-type-dialogue {
  padding: 12px;
}
.new-health-outcome {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.decade.mud-panel-expanded {
  margin-top: 1px !important;
  margin-bottom: 1px !important;
}
.double-switch {
  display: flex;
  flex-direction: row;
}
.double-switch .switch-label-1 {
  line-height: 38px;
  font-size: 1rem !important;
  padding-top: 7px;
  width: calc(50% - 29px);
}
.double-switch .switch-label-1 p {
  direction: rtl;
  float: right;
}
.double-switch .switch-and-label-2 {
  width: calc(50% + 29px);
}

.age-interval {
  width: 120px;
}

.affected-population {
  min-width: 300px;
  position: relative;
  border-left: solid 1px #fbfbfb;
}
.affected-population h3 {
  display: block;
  position: absolute;
  right: 36px;
  top: 28px;
}
.affected-population-population-amount {
  width: calc(60% - 14px);
  display: inline-block;
  margin-right: 15px;
}
.affected-population-population-amount.absolute-value {
  font-size: 16px;
}
.affected-population-population-percent {
  width: calc(40% - 14px);
  display: inline-block;
}
td .affected-population-population-percent {
  padding: 10.5px 14px;
  background: #fbfbfb;
}
.affected-population-population-percent.error-red {
  background: #eb9696;
}
.affected-population-population-percent.success-green {
  background: #96eb96;
}
.life-expectancy {
  width: 100%;
  margin-top: 10px;
}
.life-expectancy-label {
  display: inline-block;
  width: 40%;
  font-size: 16px;
}
.life-expectancy-input {
  display: inline-block;
  width: 60%;
}
.total-row {
  font-weight: bold !important;
  background: #fbfbfb;
}
.affected-population.total-row {
  border-left: solid 1px #e0e0e0;
}
.outcome-is-added {
  background-color: #f8fff8;
}
.sticky-table-duo {
  display: flex;
}
.sticky-table-duo .mud-table {
  box-shadow: var(--mud-elevation-0) !important;
}
.sticky-table-duo .mud-table.first-table {
  width: 50%;
}
.sticky-table-duo .mud-table.last-table {
  width: 50%;
}
.sticky-table-duo .mud-table tbody tr {
  height: 62px;
  max-height: 62px;
}
.sticky-table-duo .mud-table.first-table td:last-child {
  border-right: 1px solid var(--mud-palette-table-lines) !important;
}
.sticky-table-duo .mud-table.last-table td {
  min-width: 150px;
}

.cost-values-input,
.cost-values-dialog-input {
  position: relative;
}
.cost-values-input h3 {
  display: block;
  position: absolute;
  right: 26px;
  top: 20px;
  font-size: 18px;
  font-weight: normal;
  color: #888;
}
.cost-values-dialog-input h3 {
  display: block;
  position: absolute;
  right: 16px;
  top: 5px;
  font-size: 18px;
  font-weight: normal;
  color: #888;
}
.infant-vsl-value {
  display: inline-block;
  margin-top: 8px;
}
.infant-vsl-value-offset {
  display: inline-block;
  width: 16px;
  height: 32px;
  border-left: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  margin-left: 8px;
  margin-bottom: 20px;
}
.pollutant-child {
  background-color: #fdfdfd;
}
.pollutant-child-offset {
  display: inline-block;
  width: 32px;
  height: 24px;
  border-left: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  margin-left: 8px;
  margin-bottom: 4px;
}
.exposures-input {
  position: relative;
}
.exposures-input h3 {
  display: block;
  position: absolute;
  right: 30px;
  top: 14px;
  font-size: 14px;
  font-weight: normal;
  color: #888;
}
.exposures-unit {
  max-width: 80px;
}
.apexcharts-datalabel {
  text-shadow: 0 0 4px #000;
}

footer {
  display: grid;
  grid-template-columns: 10px auto auto 10px;
  background: var(--neutral-layer-4);
  color: var(--neutral-foreground-rest);
  align-items: center;
  padding: 10px 10px;
}

footer .link1 {
  grid-column: 2;
  justify-content: start;
}

footer .link2 {
  grid-column: 3;
  justify-self: end;
}

footer a {
  color: var(--neutral-foreground-rest);
  text-decoration: none;
}

footer a:focus {
  outline: 1px dashed;
  outline-offset: 3px;
}

footer a:hover {
  text-decoration: underline;
}

.alert {
  border: 1px dashed var(--accent-fill-rest);
  padding: 5px;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyN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wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem auto;
}

.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.loading-progress circle:last-child {
  stroke: #1b6ec2;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

code {
  color: #c02d76;
}

@media (max-width: 600px) {
  .main {
    flex-direction: column !important;
    row-gap: 0 !important;
  }

  nav.sitenav {
    width: 100%;
    height: 100%;
  }

  #main-menu {
    width: 100% !important;
  }

  #main-menu > div:first-child:is(.expander) {
    display: none;
  }

  .navmenu {
    width: 100%;
  }

  #navmenu-toggle {
    appearance: none;
  }

  #navmenu-toggle ~ nav {
    display: none;
  }

  #navmenu-toggle:checked ~ nav {
    display: block;
  }

  .navmenu-icon {
    cursor: pointer;
    z-index: 10;
    display: block;
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    border: none;
  }
}
.nav-header-bg {
  background-color: #d1debd !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.center-text-table,
.center-text-table th,
.center-text-table td {
  text-align: center;
}
.full-height-slider,
.full-height-slider .mud-slider-container {
  height: 100%;
}
.min-max-text {
  line-height: 200% !important;
  text-align: center;
}
.align-content-to-end {
  flex-direction: row-reverse;
  display: flex;
}
.light-green {
  background-color: #d1debd !important;
}
.mud-dialog-actions .mud-button {
  width: 100%;
  font-size: 16px;
}
.module-icon {
  font-size: 20px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: -40px;
}
.module-name {
  font-size: 20px;
  color: #424242;
  margin-top: -40px;
}
.chem-icon {
  color: #9c27b0;
}
.air-icon {
  color: #fff;
}
.module-ribbon {
  position: absolute;
  bottom: 0;
  height: 13px;
  width: 100%;
  left: 0;
}
.faded-button {
  color: #9a9 !important;
  border-color: #9a9 !important;
}
.start-page-image {
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  margin-top: -16px;
  margin-bottom: 20px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.start-page-text {
  width: 630px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.start-page-logo {
  width: 400px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.start-page-logo-wrapper {
  position: absolute;
  width: calc(100% + 64px);
  height: 175px;
  bottom: 0;
  left: -32px;
  background-color: rgba(256, 256, 256, 0.6);
}
.start-page-text .mud-typography-h1 {
  text-align: center;
  margin-bottom: 20px;
}
.start-page-item {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.first-row {
  background: #fbfbfb;
}
.first-row .first-column,
.first-column {
  font-weight: bold;
}
.first-row td .mud-input {
  background-color: #fff;
}
.shared-field-pre-input {
  line-height: 3.03 !important;
  padding: 0 14px;
}
.custom-box-shadow {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px !important;
}
.mud-list-item.mud-list-item-selected {
  background-color: rgba(
    76,
    175,
    80,
    0.1
  ) !important; /* Light green background */
  color: #4caf50 !important; /* Green text */
  font-weight: 500;
}

.mud-nav-link.active {
  color: #4caf50 !important;
  font-weight: 500;
}
.sidebar-collapsed {
  width: 56px !important;
  transition: width 0.3s;
}

.sidebar-expanded {
  width: 220px !important;
  transition: width 0.3s;
}

.content-collapsed {
  width: calc(100% - 64px) !important;
  transition: width 0.3s;
}

.content-expanded {
  width: calc(100% - 250px) !important;
  transition: width 0.3s;
}

.mud-nav-link.active {
  background-color: rgba(76, 175, 80, 0.1) !important;
  color: #4caf50 !important;
}

.nav-toggle-button.top {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  z-index: 10;
}
.mud-main-content {
  padding-top: 3rem !important;
}

.logo {
  display: flex;
  align-content: center;
  justify-content: center;
}

.header {
  font-size: large;
  font-weight: bold !important;
}
.custom-nav-link {
  width: 160px !important;
  display: flex;
  align-items: center;
}
