@charset "UTF-8";
/*
  Copyright 2024 Esri
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.​
*/
.esri-filter-list calcite-accordion {
  border: 1px solid rgb(217, 218, 218);
}
.esri-filter-list__reset-btn {
  width: 162px;
  padding: 20px;
}
.esri-filter-list__optional-btn {
  width: 100%;
  padding: 20px;
  display: flex;
}
.esri-filter-list__optional-btn calcite-button {
  width: 100%;
}
.esri-filter-list__optional-btn > calcite-button:first-of-type {
  margin-right: 6px;
}
.esri-filter-list__filter-container {
  height: 100%;
  border: 1px solid rgb(217, 218, 218);
  box-sizing: border-box;
  background: #f4f3f4;
}
.esri-filter-list__header-container {
  padding: 20px;
  border-bottom: 1px solid rgb(217, 218, 218);
  display: flex;
  justify-content: space-between;
}
.esri-filter-list__header-container > * {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
.esri-filter-list__reset-container {
  display: flex;
  justify-content: flex-end;
}
.esri-filter-list__filter-item-container {
  border-bottom: 1px solid rgb(217, 218, 218);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.esri-filter-list__filter-item-container--accordion {
  padding: 20px;
}
.esri-filter-list__filter-item-container--single {
  padding: 20px;
}
.esri-filter-list__filter-item-container--user-input {
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.esri-filter-list__filter-item-container--user-input > span {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: normal;
}
.esri-filter-list__filter-item-container--user-input calcite-combobox {
  width: 100%;
  font-size: 16px;
}
.esri-filter-list__number-input-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
.esri-filter-list__number-input-container calcite-slider {
  width: 90%;
}
.esri-filter-list__date-picker-input-container {
  display: flex;
  align-items: center;
  justify-content: unset;
  width: 100%;
}
.esri-filter-list__date-picker-input-container calcite-action {
  height: 48px;
  border: 1px solid var(--calcite-ui-border-1);
}
.esri-filter-list__filter-title {
  margin-right: 20px;
}
.esri-filter-list__filter-title > p {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}
.esri-filter-list__checkbox-container {
  display: flex;
}
.esri-filter-list__checkbox-container calcite-checkbox {
  height: 18px;
}
.esri-filter-list__operator-description {
  background: white;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 20px 0 20px;
}
.esri-filter-list.esri-filter-list--light .esri-filter-list__header-container {
  background: #fff;
}
.esri-filter-list.esri-filter-list--light .esri-filter-list__reset-container {
  background: rgb(244, 243, 244);
}
.esri-filter-list.esri-filter-list--light .esri-filter-list__filter-item-container {
  background: #fff;
}
.esri-filter-list.esri-filter-list--light .esri-filter-list__select {
  background: #fff !important;
  border: 1px solid #a9a9a9 !important;
  color: #4c4c4c !important;
}
.esri-filter-list.esri-filter-list--dark .esri-filter-list__header-container {
  background: #2b2b2b;
  color: #fff;
}
.esri-filter-list.esri-filter-list--dark .esri-filter-list__reset-container {
  background: #353535;
}
.esri-filter-list.esri-filter-list--dark .esri-filter-list__filter-item-container {
  background: #353535;
}
.esri-filter-list.esri-filter-list--dark .esri-filter-list__select {
  background: #2b2b2b;
  border: 1px solid #4a4a4a;
  color: #fff;
}
.esri-filter-list.esri-filter-list--dark .esri-filter-list__operator-description {
  background: #353535;
}

calcite-panel.count-page {
  position: relative;
  height: 100vh;
  z-index: 2;
  overflow: auto;
  padding: 0 1.5em 0 1.5em;
  width: auto;
}

.count-page-buttons {
  display: flex;
  justify-content: center;
  padding: 0.25em;
}

/*
  Copyright 2024 Esri
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.​
*/
.search-panel {
  padding: 0;
}
.search-panel .search-container-panel {
  display: flex;
  height: 50px;
  background-color: var(--calcite-color-background);
  color: var(--calcite-color-text-1);
}
.search-panel .esri-search__form .esri-input[type=text],
.search-panel .esri-input[type=number] {
  padding-left: 16px;
}
.search-panel .esri-search--show-suggestions .esri-search__suggestions-menu,
.search-panel .esri-search--sources .esri-search__sources-menu,
.search-panel .esri-search__container,
.search-panel .search-suggest-menu,
.search-panel .esri-menu {
  z-index: 2;
}
.search-panel .esri-search__container .esri-search__input {
  height: 48px;
}
.search-panel .esri-search {
  --calcite-color-border-input: transparent;
  flex-grow: 1;
}
.search-panel .esri-search__submit-button, .search-panel .esri-search__clear-button {
  background-color: var(--calcite-color-background);
  color: var(--calcite-color-text-1);
  height: 50px;
  width: 60px;
}
.search-panel .esri-search__sources-button {
  height: 50px;
}
.search-panel .esri-search__submit-button:hover {
  filter: opacity(80%);
}
.search-panel .esri-search__warning-body {
  display: none;
}
.search-panel .esri-search calcite-notice {
  display: none;
}
.search-panel .esri-search__input::-moz-placeholder, .search-panel .esri-search__input:-ms-input-placeholder, .search-panel .esri-search__input::-webkit-input-placeholder {
  color: #595959;
  opacity: 1;
}
.search-panel .esri-search__input-container {
  border-bottom: none;
}
html[dir=rtl] .search-panel__clear-button {
  left: 0;
  right: unset;
  border-right: solid 1px rgba(110, 110, 110, 0.3);
}
.search-panel.hide-search-btn .esri-search__submit-button {
  display: none;
}
.search-panel .esri-widget--button {
  border: none;
}

button.esri-search__clear-button.esri-widget--button {
  border-right: solid 1px var(--calcite-color-border-3);
}

@media only screen and (max-width: 859px) {
  .esri-search__form .esri-input[type=text] {
    font-size: 16px;
  }
}
.esri-feature a {
  color: #0079c1;
  text-decoration: underline;
}

h4.esri-feature__title {
  padding-inline-start: 8px;
  font-weight: 600;
}

.esri-feature__title {
  padding: 0px !important;
  font-size: var(--calcite-font-size--1) !important;
  font-weight: var(--calcite-font-weight-medium);
  line-height: 1.25;
  color: var(--calcite-color-text-2);
  transition-property: color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  overflow-wrap: break-word;
  word-break: break-word;
}

.esri-feature a:hover,
.esri-feature a:focus {
  color: #0079c1;
}

.esri-legend--card__label-container {
  margin-bottom: 32px;
}

/* Esri Directions widget overrides */
.esri-directions__toolbar-buttons,
.esri-directions__save-section,
.esri-directions__stops,
.esri-directions__clear-route-button {
  display: none;
}

.esri-date-picker__calendar {
  width: 240px;
  margin: auto;
}

.icon-ui-map-pin:before {
  color: #595959;
}

button.directions-button {
  border: 1px solid rgb(224, 224, 224);
  border-radius: 2px;
  color: #0079c1;
}

@media only screen and (max-width: 859px) {
  .gt-container {
    grid-auto-flow: column;
    grid-auto-columns: 100vw;
    grid-template-columns: none;
  }
  .no-map #noResults {
    bottom: unset !important;
  }
  .no-map.panelSize-s .gt-container,
  .no-map.panelSize-m .gt-container,
  .no-map.panelSize-l .gt-container {
    height: 100vh;
    grid-template-rows: auto auto 0 1fr;
  }
  .esri-ui-manual-container > .esri-component {
    display: none;
  }
  /*Hide results panel when no results are found on mobile*/
  .no-results .gt-container {
    grid-template-rows: max-content max-content auto min-content;
  }
  /*In Mobile View when full height toggle is pressed */
  .results-full-height .gt-container,
  .no-map .gt-container {
    grid-template-rows: auto auto 0 1fr;
    grid-template-areas: "header" "refine" "map" "sidebar";
  }
  .map-alert #noResults {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100vw;
    height: auto;
    max-height: 40vh;
    overflow: auto;
  }
  .results-full-height #resultsPanel {
    position: relative;
    bottom: 0;
  }
  .detail-panel,
  .info-panel,
  .no-header .detail-panel {
    flex: 1 1 auto;
    height: calc(50vh - 100px);
    overflow: hidden;
  }
  #filterPanel,
  #printPanel {
    z-index: 2;
    height: calc(100svh - 100px);
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
  }
  #printPanel {
    height: calc(100vh - 50px);
    top: 50px;
  }
  .results-full-height #resultsPanel {
    height: calc(100vh - 210px);
    overflow-y: auto;
    display: flex;
    flex: 1 1 auto;
  }
  .mobile-view-expand .esri-ui {
    bottom: 0 !important;
  }
  .mobile-view-expand .esri-ui-inner-container {
    bottom: 0 !important;
  }
  .mobile-view-expand .esri-ui-inner-container .esri-ui-bottom-right {
    bottom: 15px !important;
  }
  .mobile-view-expand #resultsPanel,
  .mobile-view-expand .search-panel {
    display: none;
  }
  .toggle-panel.no-tools {
    display: flex;
  }
  .mobile-close-button {
    width: 90vw;
    display: flex;
    justify-content: space-between;
  }
  /*Touch device*/
}
@media only screen and (max-width: 859px) and (pointer: coarse) {
  .esri-zoom,
  .keyboard-expand {
    display: none;
  }
}
.no-map #languageSwitcherButton {
  height: 50px;
}
.no-map .map {
  visibility: hidden;
}
.no-map .count-page {
  height: 100vh;
}
.no-map .mobile-expand {
  display: none;
}
.no-map #resultsPanel {
  height: calc(100vh - 100px);
}
.no-map .zoom-action {
  display: none;
}
.no-map .detail-panel, .no-map .info-panel {
  height: calc(100vh - 100px);
}
.no-map.no-header .detail-panel {
  height: calc(100vh - 50px);
}
.no-map.panelSize-s .gt-container, .no-map.panelSize-m .gt-container, .no-map.panelSize-l .gt-container {
  grid-template-columns: 100vw;
}
.no-map.gt-container, .no-map.no-results .gt-container {
  grid-template-columns: auto;
  grid-template-rows: max-content max-content 1fr 1px;
  grid-template-areas: "header" "refine" "sidebar" "map";
}

body {
  display: initial;
  flex-direction: unset;
  font-size: 16px;
  height: 100%;
  overflow: hidden;
  background: var(--calcite-color-background);
}

html {
  position: fixed;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/*Search placeholder text*/
calcite-autocomplete {
  --calcite-autocomplete-input-placeholder-text-color: var(--calcite-color-text-1);
}

.calcite-mode-light,
.calcite-mode-dark {
  --calcite-accordion-item-icon-spacing-end: 0;
  --calcite-color-border-2: transparent;
}

.calcite-mode-light {
  --calcite-color-background: #fff;
}

.calcite-mode-dark .esri-directions__route-item calcite-icon {
  --calcite-ui-icon-color: #fff;
}

calcite-panel {
  --calcite-color-border-3: transparent;
}

.calcite-mode-dark {
  --calcite-color-border-2: transparent;
  --calcite-modal-scrim-background: transparent;
}
.calcite-mode-dark nav.action-bar calcite-action {
  --calcite-color-background: var(--calcite-color-foreground-current);
  --calcite-color-foreground-1: #adadad1a;
  border: none;
}
.calcite-mode-dark #filterButton,
.calcite-mode-dark #sketchButton {
  border-left: solid 1px #4c4c4c;
}
.calcite-mode-dark .info-button.esri-widget--button {
  --calcite-ui-icon-color: #adadad;
}
.calcite-mode-dark .toggle-panel {
  background: var(--calcite-color-background);
  color: var(--calcite-color-text-1);
}
.calcite-mode-dark a:visited {
  color: #00a0ff;
}
.calcite-mode-dark .esri-slider.esri-widget {
  background: var(--calcite-color-background);
}
.calcite-mode-dark .esri-slider__thumb {
  background-color: #0079c1;
}
.calcite-mode-dark .detail-panel {
  border: none;
  z-index: 1002;
}
.calcite-mode-dark .group-accordion-content,
.calcite-mode-dark .esri-feature,
.calcite-mode-dark .feature-group {
  background-color: transparent;
  color: var(--calcite-color-text-1);
}

.calcite-mode-light .panel-refine-results {
  background-color: var(--calcite-color-background);
  border-top: solid 1px var(--calcite-color-border-3);
}
.calcite-mode-light .info-button.esri-widget--button {
  --calcite-color-foreground-3: #fff;
  --calcite-ui-icon-color: #6e6e6e;
}

instant-apps-export {
  --instant-apps-export-action-background: transparent;
  --instant-apps-export-action-background-hover: var(--calcite-button-transparent-hover);
  --instant-apps-export-action-background-press: var(--calcite-button-transparent-press);
  --instant-apps-export-background: var(--calcite-color-background);
  --instant-apps-export-action-icon-color: var(--calcite-color-text-1);
}

instant-apps-filter-list {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.configurable-application__view-container {
  height: 100%;
  width: 100%;
}

.esri-view {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.configurable-application--loading {
  text-align: center;
  display: block;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: var(--calcite-color-background);
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../assets/loader-ie9.gif);
}
.configurable-application--loading .configurable-application__view-container {
  display: none;
}

.loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 40px;
  position: absolute;
}

.app-error {
  background-position: top center;
  width: 100%;
  position: absolute;
  z-index: 2;
  margin: 0;
  top: 30%;
  text-align: center;
  height: 100%;
}

calcite-panel.esri-nearby-app__tip[closed] {
  height: 0;
}

.show-scoreboard .esri-ui-bottom-left,
.show-scoreboard .esri-ui-bottom-right {
  bottom: 35px;
}

#noResults {
  display: none;
}

.map-alert #noResults {
  display: block;
  --calcite-ui-icon-color: #007ac2;
}
.map-alert #noResults .esri-nearby-app__tip {
  display: flex;
  flex-direction: row;
  gap: 5px;
}
.map-alert #noResults .esri-nearby-app__tip-link {
  display: flex;
  margin: 1em 2em;
}
.map-alert #noResults .esri-nearby-app__tip-message {
  font-size: var(--calcite-font-size--1);
  line-height: 1.5rem;
  padding: 0 0.5em;
}
.map-alert #noResults .esri-nearby-app__tip-message p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

#filterButton {
  height: 50px;
  max-height: 50px;
}

#filterButton,
#sketchButton {
  border-left: solid 1px var(--calcite-color-border-3);
}

.sketch-notification {
  position: relative;
  margin: 0 !important;
  height: auto;
  left: 0;
  z-index: 99;
}

/*Results panel */
.panel-refine-results {
  padding: 1.5rem 0 0.25rem 0;
}

/* Filter Panel */
.panel-filter-bar {
  margin: 1em 12px 10px 12px;
}
.panel-filter-bar .filter-button:hover,
.panel-filter-bar .filter-button:focus,
.panel-filter-bar .filter-button:active {
  background-color: transparent;
  color: inherit;
}

.group-accordion-section.accordion-section,
.group-accordion-content li {
  border: solid 1px var(--calcite-color-border-3);
}

.group-accordion-icon {
  float: right;
}

.accordion {
  border: none;
  background: transparent;
}

calcite-accordion {
  padding: 0 12px;
  border-top: none;
}
calcite-accordion .solo {
  --calcite-color-border-2: transparent;
}
calcite-accordion .distance {
  padding-inline-start: 0.25em;
  margin-top: 7px;
  font-size: smaller;
}
calcite-accordion .distance svg {
  height: 12px;
  width: 12px;
  margin-inline-end: 2px;
  fill: #4c4c4c;
}
calcite-accordion .solo-section > .feature-group-container h2.esri-widget__heading {
  padding: 0.5em 0.1em;
}
calcite-accordion .solo-section .header {
  display: none;
}
calcite-accordion .solo-section .feature-group.dark h2.esri-widget__heading.esri-feature__title {
  background-color: transparent;
}
calcite-accordion calcite-accordion-item {
  --calcite-accordion-item-border: transparent;
  --calcite-accordion-item-background: transparent;
  background: transparent;
}

.accordion-icon,
.accordion-section > .accordion-title > .accordion-icon > svg {
  vertical-align: text-top;
  line-height: 1.2em;
}

.accordion-section .accordion-title {
  background: #f8f8f8;
  font-weight: 500;
  min-height: 1.5em;
  font-size: 16px;
  letter-spacing: 0.28px;
  color: #595959;
}

.accordion-count {
  float: right;
}

.group-accordion-count {
  float: left;
  padding: 0.25em 0.5em;
  font-size: 12px;
  background-color: #fff;
  color: #6d6d6d;
  margin-inline-end: 0.5rem;
  height: 18px;
  text-align: center;
}

.accordion-content {
  padding: 0.3em 1em 1em 1em;
  background: #fff;
  line-height: 20px;
  cursor: pointer;
}

.group-accordion-content {
  background: #fff;
  padding: 0 12px;
}
.group-accordion-content li {
  min-height: 30px;
  margin-top: 7px;
  border-bottom: solid 1px #e1e1e1;
  padding-bottom: 7px;
}

/* Styles for grouped features*/
.feature-group {
  background: transparent;
  padding: 4px 8px 4px 9px;
}

.feature-group-container {
  min-height: 30px;
  margin-top: 7px;
  border-bottom: none;
  padding-bottom: 7px;
}

.feature-group-container:last-child {
  border-bottom: none;
}

.feature-group-container.accordion-section-selected:last-child {
  border-bottom: 1px solid;
  border-color: rgba(12, 121, 190, 0.58);
}

.no-content > .accordion-title > .accordion-icon,
.no-content > .accordion-content,
.no-content.is-active > .accordion-content {
  display: none;
}

.group-accordion-section .accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline-start: 12px;
}

.title-text {
  flex: 1 0 auto;
  margin-inline-start: 0.25em;
  word-break: break-all;
  max-width: 80%;
}

.flex-count {
  display: inline-flex;
  align-items: center;
}

.accordion-section {
  border: 1px solid #efefef;
  margin-top: 7px;
  margin-bottom: 7px;
}

.accordion-section-selected {
  border: 1px solid;
  border-color: rgba(12, 121, 190, 0.58);
  border-radius: 2px;
  border-bottom: solid 1px rgba(12, 121, 190, 0.58);
}

.accordion-title {
  border-top: none;
  margin-top: 1px;
  background: #fff;
}
.accordion-title:focus, .accordion-title:hover {
  outline: auto 2px Highlight;
  outline: auto 5px -webkit-focus-ring-color;
}

.accordion-icon.group-accordion-icon,
.accordion-section > .accordion-title > .accordion-icon.group-accordion-icon > svg {
  color: #323232;
  vertical-align: middle;
}

p:empty {
  padding: 0;
}

/* Side panel styles */
.side-panel {
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wrapper {
  height: 100%;
  position: relative;
}

/* Detail Panel styles includes collapse all / open all links*/
.toggle-panel {
  height: 36px;
  color: #474749;
  font-size: 0.75rem;
  line-height: 0.75rem;
  display: flex;
}
.toggle-panel calcite-icon {
  padding: 0 0.5em;
  vertical-align: bottom;
}

.total-count.results {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.right-toggle-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 1.3em;
}

html[dir=rtl] .right-toggle-actions {
  margin-right: unset;
  margin-left: 1em;
}

.count-title-text {
  margin-right: 0.5em;
  width: auto !important;
  text-align: center;
  padding: 0.25em 0.5em;
  font-size: 13px;
  color: #151515 !important;
  background-color: #ddd;
  word-break: keep-all !important;
}

html[dir=rtl] .count-title-text {
  margin-right: unset;
  margin-left: 0.5em;
}

.toggle-content-btn svg {
  fill: #0079c1;
  height: 18px;
  width: 18px;
  vertical-align: text-top;
}

.top-nav .btn-transparent,
.top-nav .btn-clear {
  color: inherit;
}

.btn-transparent.btn-detail {
  vertical-align: baseline;
}

.close-right {
  width: 30px;
  height: 30px;
  float: right;
  margin-bottom: 10px;
  margin-right: 8px;
}

.detail-panel,
.filter-panel,
#printPanel,
#infoPanel {
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.detail-full-height #filterPanel,
.detail-full-height #resultsPanel {
  display: none;
}

.filter-panel,
#printPanel {
  padding: 0;
  height: 100%;
}

.detail-panel .svg-icon {
  background: transparent;
}

.phone-hide {
  margin-top: 1em;
}

.share-footer {
  width: 100%;
  justify-content: flex-start;
  height: 40px;
}

calcite-panel {
  --calcite-color-border-3: transparent;
}

.detail-panel {
  height: 100%;
}
.detail-panel.collapse {
  height: 44px;
  overflow: hidden;
  filter: drop-shadow(5px 5px 5px rgba(255, 255, 255, 0.3));
}
.detail-panel.collapse .esri-share, .detail-panel.collapse .details-content, .detail-panel.collapse .details-title {
  display: none;
}
.detail-panel .panel {
  border-color: #a9a9a9;
}

/* Mobile map messages */
.alert.is-active {
  bottom: 0;
  position: absolute;
  right: 0;
  left: 0;
  max-width: 100%;
  max-height: 50%;
  overflow: auto;
}

.alert-green {
  background-color: #fff;
  border-color: #ccc;
}

.alert span {
  max-width: calc(100% - 35px);
}

.alert-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.24rem;
}

.message-text {
  padding-inline-start: 16px;
  margin-bottom: 0;
  margin-block-end: 0;
}

/* Grouped Accordion*/
nav.action-bar {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
}

.action-bar > calcite-action {
  align-items: flex-end;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-bar .btn-clear {
  padding: 0.25rem 0.5rem;
  border-color: var(--calcite-color-border-3);
}

.esri-widget__table {
  margin-bottom: 0;
}

.esri-component.no-title .esri-popup__main-container {
  width: auto;
  max-width: 200px;
}

.clear-btn.esri-component {
  display: block;
  width: fit-content;
  margin: 10px auto;
  text-align: center;
}

.esri-ui-manual-container > .clear-btn.esri-component {
  position: unset;
}

.clear-btn.esri-icon-close:before {
  margin-inline-end: 0.35em;
  font-size: 15px;
  vertical-align: middle;
  margin-top: 2px;
}

.esri-view-width-xsmall .esri-ui-top-right .esri-expand--auto .esri-expand__container--expanded,
.esri-view-width-xsmall .esri-ui-bottom-right .esri-expand--auto .esri-expand__container--expanded {
  top: 42px;
}

/*Make sure expand content is on top */
.esri-ui-corner .esri-component .esri-expand__content {
  z-index: 1004;
}

.esri-ui-top-right,
.esri-ui-top-left {
  top: 5px;
}

/*  Title fade area */
.text-fade {
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 35px);
  text-overflow: ellipsis;
}

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.app-error details,
.app-error summary {
  display: revert;
}

.esri-nearby-ga-alert-button {
  float: right;
}

html[dir=rtl] .esri-nearby-ga-alert-button {
  float: left;
}

.hidden {
  display: none;
  visibility: hidden;
}

.hide {
  display: none !important;
}

.btn-center {
  margin-inline-start: auto;
  margin-inline-end: auto;
  text-align: center;
}

.btn-fill {
  width: 90%;
  height: 42px;
}

ul.template {
  margin-block-end: 0;
  margin-block-start: 0;
}

#offscreenResults {
  position: absolute;
  left: -100000px;
  top: auto;
  overflow: hidden;
}

.dark #offscreenResults {
  background: #323232;
  color: #fff;
}

.esri-filter-list {
  height: 100%;
}

.esri-filter-list__header-container {
  display: none !important;
}

calcite-panel.esri-filter-list h3 {
  font-size: 16px;
}
calcite-panel.esri-filter-list h3 calcite-icon {
  padding-inline-end: 0.5rem;
}

.active-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.active-filters calcite-chip {
  cursor: pointer;
  margin-inline-start: 1em;
}

.tips ul {
  list-style-type: none;
  margin: 0;
  text-align: left;
  padding: 5px;
}

.filter-title {
  font-size: 16px;
}
.filter-title calcite-icon {
  padding-inline-end: 0.5em;
}

.esri-view-width-greater-than-xsmall .esri-ui-corner .esri-component .esri-expand__content .esri-elevation-profile {
  width: 500px;
}

.esri-view-width-less-than-xsmall .esri-ui-corner .esri-component .esri-expand__content .esri-elevation-profile {
  width: 350px;
}

.esri-menu__list-item--focus,
.esri-menu__list-item:hover,
.esri-menu__list-item:focus {
  background-color: #4c4c4c;
  color: #fff;
}

.related-feature {
  margin-top: 1em;
}

:any-link {
  color: var(--calcite-color-text-link);
}

#sidePanel > div.info-panel > calcite-panel > div > div > figure > a {
  width: inherit;
}

.esri-filter-list__filter-item-container--user-input {
  height: fit-content;
}

.dark .esri-filter-list__filter-container {
  background: inherit;
  border-color: #474749;
}

.image {
  margin: 0;
}
.image img {
  width: inherit;
}

.measure-active {
  height: 32px;
  width: 32px;
}

.right-toggle-actions {
  display: flex;
}

.print-popup {
  display: none;
}

.esri-popup__collapse-icon {
  display: none;
}

#refinePanel {
  border-bottom: solid 1px var(--calcite-color-border-3);
}

.embed-app__header__logo {
  margin-left: 0.25em;
  max-height: 55px;
}

/*This class lets us shrink the map when the no-results notification is active*/
.map-alert #mapPanel {
  height: calc(100vh - 58px);
}

.no-header.map-alert #mapPanel {
  height: 100vh !important;
}

calcite-block {
  border-color: var(--calcite-color-border-3);
  border-width: 1px;
}

.header calcite-icon {
  fill: #fff;
  color: #fff;
}

/*Info panel*/
.info-panel {
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: nowrap;
  z-index: 0;
}

.info-header {
  flex-shrink: 0;
}

.details-content {
  display: flex;
  flex-direction: column;
  padding: 1em 1em 0.5em 1em;
}

.details-content {
  display: flex;
  flex-direction: column;
  padding: 1em 1em 0.5em 1em;
}

.locate-btn {
  width: fit-content;
  padding: 0.25em;
}

.info-content {
  flex-grow: 1;
  min-height: 2em;
  overflow-y: auto;
  overflow-x: hidden;
}

.instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal {
  margin-top: 1em;
}

.info-footer {
  flex-shrink: 0;
  color: transparent;
}
.info-footer instant-apps-social-share {
  --calcite-ui-icon-color: var(--calcite-color-text-1);
  --instant-apps-social-share-width--s: 90%;
  --instant-apps-social-share-width--m: 90%;
  --instant-apps-social-share-width--l: 90%;
  --instant-apps-social-share-width-horizontal--s: 90%;
  --instant-apps-social-share-width-horizontal--m: 80%;
  --instant-apps-social-share-width-horizontal--l: 90%;
}

.gt-container {
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-rows: max-content max-content auto 50%;
  grid-template-areas: "header" "refine" "map" "sidebar";
}

.sidebar {
  grid-area: sidebar;
}

.map {
  grid-area: map;
}

.header {
  grid-area: header;
}

.refine {
  grid-area: refine;
}

/* Flex Styles so side panel scrolls*/
#sidePanel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#resultsPanel {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.toggle-panel {
  display: flex;
  flex: 0 0 auto;
}

.scrollable-content {
  flex: 1 1 auto;
  overflow-y: auto;
  background-color: var(--calcite-color-background);
  color: var(--calcite-color-text-1);
}

calcite-block.scoreboard {
  width: 100%;
}

@media only screen and (min-width: 860px) {
  .mobile-close-button {
    display: none;
  }
  .detail-panel,
  .filter-panel,
  #printPanel,
  #infoPanel {
    z-index: 1;
    position: relative;
    bottom: 0;
    height: 100%;
  }
  .info-panel {
    overflow: hidden;
    height: 100%;
  }
  .mobile-expand {
    display: none;
  }
  .toggle-panel.no-tools {
    display: none;
  }
  /*Adjust side panel width/height*/
  .panelSize-s .gt-container {
    grid-template-columns: 25vw auto;
  }
  .panelSize-m .gt-container {
    grid-template-columns: 41.66vw auto;
  }
  .panelSize-l .gt-container {
    grid-template-columns: 50vw auto;
  }
  .no-results .gt-container,
  .results-full-height .gt-container,
  .gt-container {
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "header  header" "refine map" "sidebar map";
  }
  #filterPanel,
  #printPanel {
    overflow-y: auto;
    height: calc(100vh - 100px);
  }
  .no-header #filterPanel,
  .no-header #printPanel {
    height: calc(100vh - 50px);
  }
  #resultsPanel,
  #printPanel {
    flex: 1 1 auto;
    height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .detail-panel {
    flex: 1 1 auto;
    height: calc(100vh - 100px);
  }
  .sketch-tools #resultsPanel,
  #printPanel,
  .detail-panel {
    height: calc(100vh - 150px);
  }
  .sketch-tools #infoPanel {
    height: calc(100vh - 170px);
  }
  .esri-ui-manual-container > .esri-component {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .scoreboard-mobile-container {
    display: none;
  }
  calcite-panel.esri-nearby-app__tip {
    height: calc(100vh - 40px);
    overflow-y: auto;
  }
  .sketch-tools calcite-panel.esri-nearby-app__tip {
    height: calc(100vh - 140px);
  }
}
calcite-panel.esri-nearby-app__tip {
  --calcite-font-weight-medium: 400;
}
calcite-panel.esri-nearby-app__tip .warning-icon {
  --calcite-icon-color: var(--calcite-color-status-warning);
  padding: 0 5px 0 5px;
}
calcite-panel.esri-nearby-app__tip .inline-no-results-message {
  display: flex;
}
calcite-panel.esri-nearby-app__tip calcite-icon {
  --calcite-icon-color: var(--calcite-color-text-2);
}

.scoreboard {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
}

.dist {
  margin: 0px;
  padding: 0.75rem;
}

.description {
  background-color: #ddd;
  width: auto !important;
  color: #151515 !important;
  text-align: center;
  padding: 0.25em 0.5em;
  font-size: 13px;
  margin: 0 1em;
  word-break: keep-all !important;
}

nav.action-bar calcite-action {
  --calcite-ui-icon-color: var(--calcite-color-brand);
  border: solid 1px var(--calcite-color-text-3);
}

@media screen {
  #infoPanel.info-modal {
    position: unset;
  }
}
instant-apps-splash {
  --instant-apps-splash-content-max-height: 60vh;
}

.feature-group .esri-features__content-feature {
  margin-bottom: 0.25em;
}

.panel-sketch-panel {
  border-top: solid 1px var(--calcite-color-border-3);
}
.panel-sketch-panel calcite-action.selected {
  border: solid 2px;
  border-color: var(--calcite-color-brand);
}
.panel-sketch-panel__sketch-toolbar {
  display: flex;
  flex: 1;
  justify-content: flex-start;
  gap: 2rem;
  background-color: var(--calcite-color-foreground-1);
}
.panel-sketch-panel__sketch-toolbar_buffer-options {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-sketch-panel__sketch-toolbar_buffer-options calcite-input-number:nth-of-type(1) {
  max-width: 120px;
}

.single-click-search #mapSearchButton {
  display: none;
}

calcite-autocomplete {
  padding: 0.5em;
}

.esri-search__dropdown {
  border-right: solid 1px var(--calcite-color-border-3);
  width: 44px;
  padding: 0.5em;
}

html[dir=rtl] .esri-search__dropdown {
  border-right: none;
  border-left: solid 1px var(--calcite-color-border-3);
}
