:root {
  --icon-rotate-duration: 0.3s;

  /* Spacings */
  --page-width: 956px;
  --page-min-hmargin: 80px;
  --page-vmargin: 80px;

  --info-section-width: 500px;
  --info-table-hmax: 900px;

  --assumed-screen-width: 1440px;

  --sidebar-width: 360px;

  --sidepage-margin: 16px;
  --sidepage-margin-with-scroll: calc(
    var(--sidepage-margin) - var(--scrollbar-width)
  );
  --half-sidepage-margin: calc(var(--sidepage-margin) / 2);
  --half-sidepage-margin-with-scroll: calc(
    var(--half-sidepage-margin) - var(--scrollbar-width)
  );

  --sidepage-large-margin: 68px;
  --sidepage-large-margin-with-scroll: calc(
    var(--sidepage-large-margin) - var(--scrollbar-width)
  );
  --half-sidepage-large-margin: calc(var(--sidepage-large-margin) / 2);
  --half-sidepage-large-margin-with-scroll: calc(
    var(--half-sidepage-large-margin) - var(--scrollbar-width)
  );

  --topbar-height: 65px;
  --landing-panel-overflow: 68px;

  --infobar-height: 100px;
  --short-infobar-height: 64px;
  --large-infobar-height: 80px;

  --banner-height: 56px;
  --banner-padding: 16px;

  /* searchbar */
  --top-searchbar-set-max-width: 458px;
  --top-searchbar-max-width: min(var(--top-searchbar-set-max-width), calc(100vw - 324px));
  --top-searchbar-min-width: 238px;
  --top-searchbar-height: 40px;
  --main-searchbar-height: 56px;
  --main-searchbar-width: 604px;

  /* tabs */
  --tabs-height: 56px;

  --scrollbar-width: 4px;

  /* calculated margins */
  --assumed-screen-width-margin: calc(
    (100vw - var(--assumed-screen-width)) / 2
  );
  --assumed-screen-width-or-sidepage-margin: max(
    var(--sidepage-margin),
    var(--assumed-screen-width-margin)
  );
  --assumed-screen-width-or-sidepage-margin-with-scroll: max(
    var(--half-sidepage-margin),
    calc(var(--assumed-screen-width-margin) - var(--half-sidepage-margin))
  );
  --assumed-screen-width-or-sidepage-margin-with-active-scroll: max(
    var(--half-sidepage-margin-with-scroll),
    calc(
      var(--assumed-screen-width-margin) -
        var(--half-sidepage-margin-with-scroll)
    )
  );
  --assumed-screen-width-or-0px: max(
    0px,
    calc(
      var(--assumed-screen-width-margin) -
        var(--half-sidepage-margin-with-scroll)
    )
  );

  /* calculated widths */
  --assumed-screen-sidebar-width: max(
    var(--sidebar-width),
    calc(var(--sidebar-width) + ((100vw - var(--assumed-screen-width)) / 2))
  );
  --assumed-screen-content-width: min(
    var(--assumed-screen-width),
    calc(100vw - (var(--sidepage-margin) * 2))
  );


  --map-popup-max-width: 300px;
  --map-popup-color: var(--white);
  --map-popup-offset: 0px; /* default value */


  /* defaults - set dynamically through events */
  --opacity-transition-scaler: 0;
  --searchbar-transition-scaler: 1;

  --facts-grid-layout-gap: 24px;
  --facts-grid-column-count: 3;
  --facts-grid-item--min-width: 260px;

  /* Colors (move to UI-Assets) */
  --purple-80: #a15db1cc;

  /* Drop shadows */
  --default-dropshadow: 0px 12px 32px rgba(0, 0, 0, 0.05),
    0px 2px 4px rgba(0, 0, 0, 0.15);
  --map-element-filter-dropshadow: drop-shadow(0px 12px 32px rgba(0, 0, 0, 0.05))
    drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
  --setion-header-dropshadow: 0px 12px 6px rgba(0, 0, 0, .12);
  --floating-button-dropshadow: 0px 2px 6px rgba(0, 0, 0, .2);
}

sup {
  line-height: 0;

  font-size: 0.83em;
  vertical-align: super;
}

body:not(.overflowable):not(.scroll-bar) {
  overflow: hidden;
  color: var(--gray);
}

input {
  text-overflow: ellipsis;
}

textarea:disabled,
input:disabled {
  -webkit-text-fill-color: var(--gray-disabled);
}

datatable {
  display: block;
}

.overflow-ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nowrap {
  white-space: nowrap;
}

.restrict-to-first-container {
  display: inline-block !important;
}

.restricted-by-first {
  width: 0 !important;
  min-width: 100% !important;
  justify-content: flex-start !important;
}

.contents,
.restricted-by-first > * {
  display: contents !important;
}

.emphasis {
  padding-bottom: 8px;

  background: var(--white);
  color: var(--gray);

  position: sticky;
  left: 0px;
  bottom: 0px;

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

/* scroll bar */
.scroller {
  margin: 0px var(--half-sidepage-margin) 0px 0px;
  scrollbar-width: thin;
  scrollbar-color: var(--divider);
}

body:not(.single-content) .template4 .content2 .scroll-container.scroller {
  margin: 0px var(--half-sidepage-large-margin) 0px 0px;
}

/* for vertidal and horizantal */
.scroller::-webkit-scrollbar {
  width: var(--scrollbar-width);
  height: var(--scrollbar-width);
}
.scroller::-webkit-scrollbar-thumb {
  border-radius: 200px;
  min-height: 60px;
}

.scroller:not(.highlight)::-webkit-scrollbar-thumb {
  background: var(--divider);
}

.scroller.highlight::-webkit-scrollbar-thumb {
  background: var(--purple);
}
.scroller::-webkit-scrollbar-thumb:hover {
}
.scroller::-webkit-scrollbar-track {
  margin-top: 8px;
  margin-bottom: 8px;
}

.scroll-container {
  overflow: auto;
  transition: height 0.3s ease;
}

body:not(.single-content) .template4 .content1 .scroll-container,
body:not(.single-content) .template1 .scroll-container,
body:not(.single-content) .on-demand-panel .scroll-container {
  padding-top: 0px;
  padding-right: var(--half-sidepage-margin) !important;
  padding-bottom: 0px;
  padding-left: var(--sidepage-margin) !important;
}

body:not(.single-content) .template4 .content1 .scroll-container.has-scroll,
body:not(.single-content) .template1 .scroll-container.has-scroll,
body:not(.single-content) .on-demand-panel .scroll-container.has-scroll {
  padding-top: 0px;
  padding-right: var(--half-sidepage-margin-with-scroll) !important;
  padding-bottom: 0px;
  padding-left: var(--sidepage-margin) !important;
}

body:not(.single-content) .template4 .content2 .scroll-container {
  padding-top: 0px;
  padding-right: var(--half-sidepage-large-margin) !important;
  padding-bottom: 0px;
  padding-left: var(--sidepage-large-margin) !important;
}

body:not(.single-content) .template4 .content2 .scroll-container.has-scroll {
  padding-top: 0px;
  padding-right: var(--half-sidepage-large-margin-with-scroll) !important;
  padding-bottom: 0px;
  padding-left: var(--sidepage-large-margin) !important;
}

.single-content .template4 .content2 .scroll-container,
.single-content .page:not(.template4) .scroll-container,
.single-content .on-demand-panel .scroll-container {
  padding-top: 0px;
  padding-right: var(
    --assumed-screen-width-or-sidepage-margin-with-scroll
  ) !important;
  padding-bottom: 0px;
  padding-left: var(--assumed-screen-width-or-sidepage-margin) !important;
}

.results .scroller {
  margin: inherit !important;
}

.results .scroller.has-scroll {
  padding-right: 10px;
}

.project-page .shift-for-scroll,
.results .shift-for-scroll {
  margin-right: -14px;
}

.accordian-content .project-disclaimer:not(:first-child) {
  margin-top: 24px;
}

.accordian-content .project-disclaimer .link {
  display: inline-flex;
}

.accordian-content .project-disclaimer .link:before {
  content: " ";
  white-space: pre;
}

/* icon */

.icon-wrapper {
  display: flex;
}
.icon-text {
  padding-top: 2px;
}

/* banner */

.banner {
  grid-area: banner;

  position: relative;
  overflow: hidden;

  background: var(--purple-80);
  color: var(--white);

  height: var(--banner-height);

  transition: height 0.8s;

  z-index: 100;
}

.banner.closed {
  height: 0px;
}

.banner-content-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  height: var(--banner-height);
  width: 100%;

  padding-right: var(--banner-padding);
  padding-left: var(--banner-padding);
  box-sizing: border-box;
}

.banner > .banner-content-wrapper > .banner-content[mobile] {
  display: none;
}

.banner > .banner-content-wrapper > .banner-content:not([mobile]) {
  display: flex;
}

.banner > .banner-content-wrapper > .banner-content {
  gap: var(--banner-padding);
  align-items: center;
}

.banner > .banner-content-wrapper > .si-x {
  position: absolute;
  right: var(--banner-padding);
  cursor: pointer;
  font-weight: 700;
}

/* map */

.mapboxgl-ctrl-group.mapboxgl-ctrl.long {
  width: 55px;
}

.mapboxgl-ctrl-group.long button {
  width: 55px;
}

.mapboxgl-ctrl-group button.on {
  border: 1px solid blue;
}

.mapboxgl-ctrl-bottom-right > .mapboxgl-ctrl-group button {
  overflow: visible;
}

.main-page-container {
  margin-top: var(--page-vmargin);
  max-height: calc(100% - var(--page-vmargin));
  width: 100%;
  overflow: auto;
}

.main-page {
  box-sizing: border-box;
  padding-left: 0px;
  padding-right: 0px;
  transition: padding-left 0.3s, padding-right 0.3s;
  overflow: auto;
}

.main-page > * {
  padding-left: 8px;
}

.info-section {
  padding: 32px 16px;
  border: 1px solid var(--black60);

  width: var(--info-section-width);
}

.info-table {
  max-height: 100%;
}

.scrollable {
  overflow: scroll;
  overflow-x: hidden;
}

.main,
.views {
  display: flex;
  flex-direction: column;
  transition: height 0.3s ease;
}

.main.min {
  height: auto;
}

.advanced-search {
  padding-top: 76px !important;
}

.inline-footer {
  padding-top: 20px;
  padding-bottom: 20px;
}

.hairline-top {
  border-top: 1px solid var(--divider);
}

/* footer */
.search-header {
  display: flex;
  justify-content: space-between;
}

#total-count {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.filter-toolbar {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-empty-space {
  height: 64px;
}

.version {
  display: flex;
  min-height: 56px;
  width: -webkit-fill-available;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}
.all-views-button {
  justify-content: center;
  text-align: center;
}

.current-ver {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  justify-content: center;
  text-align: center;
}

.open .current-ver {
  max-width: 120px;
}

.new-view-button {
  justify-content: center;
  text-align: center;
}

.bookmark-button {
  border: none;
  background-color: inherit;
  justify-content: center;
}

.open-share-modal {
  grid-column: 2 / 3;
  border: none;
  background-color: inherit;
  justify-content: center;
}

.placeholder-div {
  width: 68px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:  unset !important;
}

::placeholder { /* Most modern browsers support this now. */
   color:  unset !important;
}

.open-button {
  border: none;
  background-color: inherit;
  justify-content: center;
}

.open-button button {
  display: flex;
  width: 70px;
}

.close-button {
  border: none;
  background-color: inherit;
  justify-content: center;
}

.clear-all-button {
  justify-content: center;
  text-align: center;
}

.add-filter-button {
  justify-content: center;
  text-align: center;
}

.info {
  z-index: 1;
  background: white;
}

.border {
  border: 1px solid var(--gray-icons);
}

.node-card {
  background: var(--white);
  color: var(--gray-text);
  border: 1px solid var(--gray-icons-50);
  border-radius: 20px;
  
  padding: 16px;

  cursor: pointer;
}

.node-card:hover {
  background: var(--gray-map-area);
  border: 1px solid var(--gray-disabled);
}

.node-card.active {
  background: var(--gray-map-area);
  border: 1px solid var(--gray-icons-75);
}

.node-card .info-row > .body-18 {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

.class-list:not(.paginated) .info .class-subcard:last-child {
  padding-bottom: 8px;
}

.class-list.paginated {
  margin-top: 12px;
}

.info .class-subcard {
  padding-bottom: 24px;
}

.info .class-subcard {
  padding-top: 16px;
}

.info .class-subcard ~ .class-subcard {
  padding-top: 24px;
}

.info .class-subcard > div:first-child .info-row {
  margin-top: 0px;
}

.info .class-subcard > div:not(:first-child) .info-row {
  margin-top: 16px;
}

.info .class-subcard:not(:last-of-type) {
  border-bottom: 1px solid var(--divider);
}

.no-decoration,
.advanced-search-link,
.no-decoration *,
.advanced-search-link * {
  text-decoration: none !important;
}

.advanced-search-text {
  display: block !important;
  width: 136px;
}

.info-card .info {
  background: white;
}

.info-card .header {
  padding-top: 16px;
  padding-left: 0px;
  padding-right: 0px;

  display: flex;

  justify-content: space-between;
  align-items: flex-start;

  cursor: pointer;
  color: var(--black);

  user-select: none;
}

.info-card[noclick="true"] {
  pointer-events: none;
}

.info-card:not(.inline) {
  padding-bottom: 16px;
}

.accordian-content > *:not(:first-child) {
  margin-top: 16px;
}

.accordian-content a {
  display: block;
}

.link-card {
  display: block;
  text-decoration: none;

  width: 100%;
}

.link-card > * {
  border: 1px solid var(--divider);
  box-sizing: border-box;

  border-radius: 4px;
  padding: 12px 14px 12px 16px;
}

.action-group[explanation]:after,
.link-card[explanation]:after {
  content: attr(explanation);

  margin-top: 4px;
  display: flex;
  justify-content: flex-end;

  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0em;

  color: var(--gray-icons);

  width: 100%;

  text-align: end;
  pointer-events: none;
}

.link-card:not(.no-action) {
  cursor: pointer;
}

.link-card.symbium-link {
  margin-left: 8px;
}

.link-card:hover:not(.no-action) > * {
  border: 1px solid var(--purple-50) !important;
}

.link-card:hover:not(.no-action) div,
.link-card:hover:not(.no-action) icon {
  color: var(--purple);
}

.permit-container:not(:last-child) {
  margin-bottom: 24px;
}

.rows {
  display: flex;
  flex-wrap: wrap;
}

.disabled {
  cursor: default !important;
}

.index,
.clickable {
  cursor: pointer;
}

.clickable {
  pointer-events: all;
}

.not-clickable {
  pointer-events: none;
}

button.text-btn {
  border-color: transparent;
  pointer-events: none;
}

.index.activeIndex {
  color: orange;
}

.info-row {
  display: block;
}


/* general */

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

.full-width {
  width: 100% !important;
}

.full-height {
  height: 100% !important;
}

.full {
  width: 100%;
  height: 100%;
}

.flex-box {
  display: flex;
}

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

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

.flex.left {
  justify-content: flex-start;
}
.flex-start {
  justify-content: flex-start !important;
}
.flex.right {
  justify-content: flex-end;
}

.flex-end {
  justify-content: flex-end !important;
}

.flex.center {
  justify-content: center;
}

.flex.baseline {
  align-items: baseline !important;
}

.flex.align-end {
  align-items: flex-end !important;
}

.flex.align-start {
  align-items: flex-start !important;
}

.flex.align-top {
  align-items: flex-start !important;
  height: 100%;
}

.flex-col {
  flex-direction: column;
}

.left-col {
  flex-direction: column;
  align-items: flex-start;
}

.flex-even {
  justify-content: space-between;
}

.align-top {
  align-items: self-start;
}

.vertically-centered {
  align-items: center;
}
.flex-col.vertically-centered {
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 40px;
}

.grid-full-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex: 1;
}

.grid-full-3 > *:first-child {
  justify-self: start;
}

.grid-full-3 > *:nth-child(2) {
  justify-self: center;
}

.grid-full-3 > *:nth-child(3) {
  justify-self: end;
}

.grid-20-1 {
  display: grid;
  grid-template-columns: repeat(1, 20px);
  grid-column-gap: 4px;
}

.grid-20-2 {
  display: grid;
  grid-template-columns: repeat(2, 20px);
  grid-column-gap: 4px;
}

.grid-20-3 {
  display: grid;
  grid-template-columns: repeat(3, 20px);
  grid-column-gap: 4px;
}

.grid-20-4 {
  display: grid;
  grid-template-columns: repeat(4, 20px);
  grid-column-gap: 4px;
}

.grid-20-5 {
  display: grid;
  grid-template-columns: repeat(5, 20px);
  grid-column-gap: 4px;
}

.grid-20-6 {
  display: grid;
  grid-template-columns: repeat(6, 20px);
  grid-column-gap: 4px;
}

.grid-20-7 {
  display: grid;
  grid-template-columns: repeat(7, 20px);
  grid-column-gap: 4px;
}

.grid-20-7 {
  display: grid;
  grid-template-columns: repeat(7, 20px);
  grid-column-gap: 4px;
}

.wrap {
  flex-wrap: wrap;
}
.right {
  margin-left: auto;
}
.left {
  margin-right: auto;
}
.center-on-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100% - 32px);
  width: 100%;
}

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

.decoration-only-hover {
  text-decoration: none;
}
.decoration-only-hover:hover {
  text-decoration: underline;
}

.text-bold {
  font-weight: bold !important;
}

.flex-min {
  flex: 0 0 min-content;
}
.flex-max {
  flex: 1 1 100%;
}
.flex-grow {
  flex: 1;
}

.no-vertical-margin {
  margin-top: 0px;
  margin-bottom: 0px;
}

.gap-4 {
  margin-top: 4px !important;
}

.gap-8 {
  margin-top: 8px !important;
}

.gap-12 {
  margin-top: 12px !important;
}

.gap-16 {
  margin-top: 16px !important;
}

.gap-24 {
  margin-top: 24px !important;
}

.gap-28 {
  margin-top: 28px;
}

.gap-32 {
  margin-top: 32px;
}

.gap-48 {
  margin-top: 48px;
}

.gap-64 {
  margin-top: 64px;
}

.gap-72 {
  margin-top: 72px;
}

.gap-96 {
  margin-top: 96px;
}


.gap--16 {
  margin-top: -16px;
}

.bgap-8 {
  margin-bottom: 8px !important;
}

.bgap-12 {
  margin-bottom: 12px !important;
}

.bgap-16 {
  margin-bottom: 16px !important;
}

.bgap-24 {
  margin-bottom: 24px !important;
}

.bgap-32 {
  margin-bottom: 32px !important;
}

.gap-1x {
  height: 4px;
}

.gap-2x {
  height: 8px;
}

.gap-3x {
  height: 12px;
}

.gap-4x {
  height: 16px;
}

.gap-5x {
  height: 20px;
}

.gap-6x {
  height: 24px;
}

.gap-7x {
  height: 28px;
}

.gap-8x {
  height: 32px;
}

.hgap-1x {
  width: 4px;
}

.hgap-2x {
  width: 8px;
}

.hgap-3x {
  width: 12px;
}

.hgap-7x {
  width: 28px;
}

.hgap-4 {
  margin-left: 4px;
}

.hgap-right-4 {
  margin-right: 4px;
}

.hgap-right-8 {
  margin-right: 8px;
}

.hgap-right-12 {
  margin-right: 12px;
}

.hgap-right-16 {
  margin-right: 16px;
}

.hgap-right-32 {
  margin-right: 12px;
}

.hgap-6 {
  margin-left: 6px !important;
}

.hgap-8 {
  margin-left: 8px !important;
}

.hgap-12 {
  margin-left: 12px !important;
}

.hgap-16 {
  margin-left: 16px !important;
}

.hgap-32 {
  margin-left: 32px !important;
}

.hgap-80 {
  margin-left: 80px !important;
}

.hgap--6 {
  margin-left: -6px !important;
}

.flex-hgap-16 {
  gap: 0px 16px;
}

.width-80 {
  width: 80px;
}

.width-98 {
  width: 98px;
}

.width-200 {
  width: 200px;
}

.width-284 {
  width: 284px;
}

.page {
  position: absolute;
  display: grid;
}

.project-frame {
  position: fixed;
}

.page,
.project-frame {
  width: 100%;
  height: calc(100% + var(--banner-height));
  border: none;

  left: 0;
  bottom: 0;

  overflow: hidden;

  transition: height 0.8s;
}

.child-window .page,
.page.has-banner,
.page.has-banner .project-frame {
  height: 100%;
}

.nav {
  grid-area: nav;
  background-color: #ededed;
  z-index: 2;
  text-align: center;
}
.nav h1 {
  margin: 0px 0px 4px;
}

body:not(.single-content) .map.fullwidth {
  width: 100vw;
}

body:not(.single-content) .map {
  background-color: var(--gray-divider);
}

.select-row {
  padding-top: 8px;
  padding-bottom: 8px;
  background: lightgrey;
}

.select-row select {
  flex: 1;
  background: lightgrey;
  border: none;
}

.select-row select:focus {
  outline: none;
}

.info-card {
  flex: 1;
  background: white;
  font-size: 20px;
}

.info-card ~ .info-card {
  margin-top: unset !important;
}

.expanded > .info-card:not(.placeholder):not(.inline):first-child,
.info-card:not(.placeholder):not(.inline):not(:first-child) {
  border-top: 1px solid var(--divider);
  margin-top: 16px;
}

.single-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 12px;
}

.single-line > * {
  flex: 1 1 fit-content;
  min-width: 34%;
}

.info-card ul {
  padding-inline-start: 28px;
}

.object .info-card .header {
  cursor: default;
}

.object {
  margin-top: 16px;
}

.info-card .caret::after {
  content: "\e9af";
}

.info-card .caret:not(.open) {
  transform: rotate(180deg);
}

.info-card .caret {
  transition: transform 0.3s;
}

*:not(.inspect-card) > .info-row {
  margin-top: 16px;
}

.hairline {
  min-height: 1px;
  max-height: 1px;
  width: 100%;
  border-top: 1px solid var(--divider);
  box-sizing: border-box;
}

/* Font */
.grey {
  color: grey;
}

.link,
.link * {
  color: var(--purple) !important;
  text-decoration: underline;
  cursor: pointer;
}

.inline-link {
  text-decoration: none;
  font-weight: 700;
  color: inherit;
}

.inline-link > icon {
  display: inline;
}

.inline-link.external:after {
  content: "\2009\e95e";
  font-family: si-icon!important;
  speak: never;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: contents;
}

/*   */
.link.external:after {
    content: "\2009\e95e";
    font-family: si-icon!important;
    speak: never;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    font-weight: 500;
    display: contents;
}

/* Tabs */

.filter-clear-container {
  border-top: 2px solid transparent;
  display: flex;
  align-items: center;
  text-align: left;
  height: 54px;
}

/* Result Cards */

.result-card {
  background-color: white;
  padding: 16px 0px 24px 0px;
  border-top: 1px solid var(--divider);
}
.result-card.selected {
  border: 1px solid blue;
}

/* Main Search Bar */
.main-search input {
  border: none;
  background-image: none;
  background-color: var(--white);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
}

.main-search input:focus {
  outline: none;
}

.main-search {
  display: flex;
  position: relative;
  z-index: 1;
}

.main-search ~ .search-blocker {
  display: none;
}

.autocomplete-main img {
    width: unset;
}

.topbar.dynamic-landing:not(.is-pinned) #login {
  --login-distance-from-right: calc(
    var(--assumed-screen-width-or-sidepage-margin) + 
    1.75px
  );
  position: fixed;
  top: 12px;
  right: var(--login-distance-from-right);
}

.topbar.dynamic-landing #login {
  --login-dropshadow-opacity: calc(.12 * (1 - var(--opacity-transition-scaler)));
  box-shadow: 0px 2px 6px rgba(0, 0, 0, var(--login-dropshadow-opacity));
}

.topbar:not(.dynamic-landing) .main-search {
  max-width: var(--top-searchbar-max-width);
  min-width: var(--top-searchbar-min-width);
  height: var(--top-searchbar-height);
}

.topbar.dynamic-landing .main-search {
  width: calc(
    var(--top-searchbar-max-width) +
    (var(--searchbar-transition-scaler) * (var(--main-searchbar-width) - var(--top-searchbar-max-width)))
  );
  max-width: var(--main-searchbar-width);
  min-width: var(--top-searchbar-min-width);

  height: calc(
    var(--top-searchbar-height) + 
    (var(--searchbar-transition-scaler) * (var(--main-searchbar-height) - var(--top-searchbar-height)))
  );
  min-height: var(--top-searchbar-height);
  max-height: var(--main-searchbar-height);
}

.topbar.dynamic-landing .autocomplete-main input {
  font-size: calc(
    14px + (var(--searchbar-transition-scaler) * 4px)
  );
}

.topbar > .toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#login > button.tool {
 width: 70px;
}

#landing-page #login {
  top: 0px;
  right: 0px;
  position: absolute;
}

#landing-page .btn-login-success,
#landing-page #login .button-hoverbutton {
  right: var(--assumed-screen-width-or-sidepage-margin) !important;
}

.topbar > .toolbar .btn-login-success {
  margin-left: 16px;
}

.topbar > .toolbar button.tool {
  width: max-content;
  min-width: 40px;
  height: 40px;

  border-radius: 200px;
  border: none;
  padding: 0;

  font-weight: 600;
  font-size: 14px;
  font-style: normal;

  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1;
}

/*#landing-page {
  padding-left: var(--assumed-screen-width-or-0px);
  padding-right: var(--assumed-screen-width-or-0px);
  overflow-x: hidden;
  box-sizing: border-box;
}

#landing-page > #footer {
  margin-left: calc(var(--assumed-screen-width-or-0px) * -1);
  margin-right: calc(var(--assumed-screen-width-or-0px) * -1);
}


.landing .main-search {
  width: 1000px;
}*/

.landing-content {
  padding-left: var(--assumed-screen-width-or-0px);
  padding-right: var(--assumed-screen-width-or-0px);
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.landing-content > * {
  margin-left: calc(var(--assumed-screen-width-or-0px) * -1);
  margin-right: calc(var(--assumed-screen-width-or-0px) * -1);
  box-sizing: border-box;
}

.landing-content > :first-child {
  height: calc(100vh - var(--landing-panel-overflow));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.landing-content > :not(:first-child) {
  --allow-for-topbar-and-overflow: calc(var(--landing-panel-overflow) + var(--topbar-height));
  height: calc(100vh - var(--allow-for-topbar-and-overflow));
  padding: 60px 48px;
  justify-content: flex-start;
  gap: 24px;
}

.landing-content > :nth-child(odd) {
  background: var(--white);
  color: var(--black);
}

.landing-content > :nth-child(even) {
  background: linear-gradient(89.97deg,#d58074 -8.12%,#ac5287 50.98%,#6851c0 99.94%);;
  color: var(--white);
}

.landing-content #footer {
  height: fit-content !important;
}

.landing-content .symbium-footer {
  background: unset !important;
  padding: unset !important;
}

.landing-content .title {
  font-family: Inter;
  font-style: normal;
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
}

.landing-content .smalltitle {
  font-family: Inter;
  font-style: normal;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0em;
}

.landing-content .topbar {
  background-color: rgba(254, 254, 254, var(--opacity-transition-scaler));
  border-bottom: 1px solid rgba(221, 221, 221, var(--opacity-transition-scaler));
}

.facts-grid-template,
.title-with-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 48px;
}

.list-with-image {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.list-with-image > .image {
  flex: 1 1 calc(100% - 424px);
}

.list-with-image > .list {
  flex: 0 1 400px;
}

.facts-grid {

  --facts-gap-count: calc(var(--facts-grid-column-count) - 1);
  --facts-total-gap-width: calc(var(--facts-gap-count) * var(--facts-grid-layout-gap));
  --facts-grid-item--max-width: calc((100% - var(--facts-total-gap-width)) / var(--facts-grid-column-count));

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(var(--facts-grid-item--min-width), var(--facts-grid-item--max-width)), 1fr));
  grid-gap: var(--facts-grid-layout-gap);

  width: 100%;
  height: 100%;

}

.facts-grid.align-center {
  align-items: center;
  justify-items: center;
}

.facts-grid.align-left {
  align-items: flex-start;
  justify-items: flex-start;
}

.facts-grid > .fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.facts-grid > .fact > :first-child {
  font-family: Inter;
  font-style: normal;
  font-weight: 800;
  font-size: 60px;
  line-height: 60px;
  color: var(--purple);
}

.facts-grid > .fact > :last-child {
  font-family: Inter;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 40px;
  letter-spacing: -0.003em;
  color: var(--gray-icons);
}

.logos > div {
  max-height: 120px;
  max-width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.logos img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#coverage_list .basic_list {
  max-width: 200px;
}

.list > .basic_list > div {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.005em;
}

.list > .basic_list > ul {
  font-family: Inter;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;

  padding-inline-start: 24px;
  margin-block-start: 8px;
  margin-block-end: 8px;
}

.landing-content #map {
  height: 100%;
  width: 100%;
  min-width: 560px;
  cursor: pointer;
}

.landing-content #map * {
  pointer-events: none;
}

.topbar:not(.none-hidden) .hidden-topbar-element {
  opacity: var(--opacity-transition-scaler);
  pointer-events: none !important;
}

.topbar:not(.none-hidden) .hidden-topbar-element * {
  pointer-events: none !important;
}

.main-tutorial.video-container {
  min-height: 0;
  pointer-events: none;
}

.centered-topbar {
  height: calc(var(--topbar-height) + 1px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.topbar.is-pinned {
  position: fixed;
}

.summary-container {
  position: fixed;
  bottom: 24px;
  left: 0px;
  width: 100vw;
  display: flex;
  justify-content: center;
}

.border-bottom {
  border-bottom: 1px solid var(--divider);
}

.scroll-to-footer {
  position: absolute;
  bottom: 48px;
}

/* Scroll */
.loading {
  margin-bottom: 16px;
}

/* Filters */
.add-filters {
  margin-top: 24px;
  padding: 8px 16px;
  background-color: white;
  color: blue;
  cursor: pointer;
  text-align: center;
  width: fit-content;
}

.subfilters {
  margin-left: 24px;
}

.expand.active {
  cursor: pointer;
}

.expand:not(.active) {
  color: grey;
}

#expand {
  width: 71px;
}

.unit {
  width: 100%;
  font-size: 16px;
}

/* This cause conflict in auth modal style */

body.still-loading .blocker,
.loadingscreen-default {
  background: linear-gradient(
    89.97deg,
    #d58074 -8.12%,
    #ac5287 50.98%,
    #6851c0 99.94%
  );
}

.full-page {
  position: fixed;

  top: 0px;
  left: 0px;

  height: 100%;
  width: 100%;
}

.full-screen {
  position: fixed;

  top: 0px;
  left: 0px;

  height: 100%;
  width: 100%;

  justify-content: center;

  z-index: 999999;
}


.child-window.active-workspace {
  transition: z-index 0s linear;
}

.child-window .full-screen {
  top: var(--topbar-height);
  left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  height: calc(100% - var(--topbar-height));
}

.block-map-events .map:after {
  position: absolute;

  top: 0px;
  left: 0px;

  height: 100%;
  width: 100%;

  content: "";
}

.block-map-events .map button:not(#tutorial) {
  pointer-events: none;
  color: var(--gray-divider) !important;
}

.modal {
  display: none;
}

.error-modal {
   z-index: 999999999;
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid var(--black);
  width: 80%;
  opacity: 1 !important;
  z-index: 99999999;
  position: relative;
}

.modal-content textarea,
.modal-content input {
  width: 100%;
  margin-bottom: 10px;
}

.modal-content h4 {
  padding: 0px;
  margin: 0px;
  margin-bottom: 10px;
}

.modal-close {
  content: "x";
  position: absolute;
  padding: 10px;
  top: 0;
  right: 0;
  color: var(--black);
  cursor: pointer;
}

.access-control-modal {
  width: min(95vw,800px);
  display: flex !important;  
}

.access-control-modal>:first-child {
  max-width: min(95vw,800px) !important;
}

.access-control-modal > *:first-child {
  flex: 1;
}

.share-modal {
  padding-bottom: 24px !important;
}

.workflow-modal.modal-template1,
.button-modal-container {
  display: grid;
  grid-template-areas:
    "modal-content1"
    "modal-footbar";
  grid-template-rows: 1fr var(--topbar-height);
  grid-template-columns: 1fr;

  padding-bottom: 0px !important;
}

.button-modal-text {
  grid-area: modal-content1;
}

.button-modal-text > *:last-child {
  padding-bottom: 24px !important;
}

.workflow-modal .modal-footbar,
.button-modal-button-group {
  grid-area: modal-footbar;

  display: flex;

  border-top: 1px solid var(--gray-divider);
  margin: 0px -32px 0px -48px;
  padding-left: 48px;
  padding-right: 48px !important;

  align-items: center;
}

.list-modal-item:not(first-child) {
  margin-top: 8px;
}

.filter-modal {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
  width: 100%;
}

.tooltip-scroll {
  max-height: 400px;
}

.tooltip-body {
  max-height: min(680px,calc(90vh - 120px)) !important;
}

.tooltip-body img {
  max-width: 100%;
}

.modal-scroll {
  overflow: auto;
}

/* Customize Tooltip Sequence */
body .tooltip-helper-backdrop {
  z-index: 99999;
}

body .tooltip-helper-active-description {
  background-color: var(--black);
  padding: 72px 48px 0px 48px;
  border-radius: 16px;

  display: grid;
  grid-template-areas:
        "modal-content1"
        "modal-footbar";
  grid-template-rows: 1fr var(--topbar-height);
  grid-template-columns: 1fr;

  max-width: min(600px,95vw);
  min-width: min(600px,95vw);
  max-height: min(800px,90vh);
  height: fit-content;
  width: fit-content;
  text-align: left;
  box-sizing: border-box;

  transition-duration: unset;
  transition-timing-function: unset;
}

body .tooltip-helper-active-description {
  color: var(--white);
}

body .tooltip-helper-active-description > p {
  padding: 0px 0px 24px 0px;
  grid-area: modal-content1;
  height: unset;
}

body .tooltip-helper-active-description > p h2 {
  text-align: center;
}

body .tooltip-helper-arrow {
  border-bottom-color: var(--black);
  
  transition-duration: unset;
  transition-timing-function: unset;
}

body .tooltip-helper-footer {
  grid-area: modal-footbar;

  border-top: 1px solid var(--white);

  margin: 0px -48px 0px -48px;
  padding: 0px 48px 0px 48px;

  height: unset;

  justify-content: flex-end;
}

/*****************************/

.inline {
  display: inline;
}

.result-card.inline-block {
  display: inline-block;
  width: 80%;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-row.space-between {
  justify-content: space-between;
}

.no-display {
  display: none !important;
}

#url {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}

.nav button {
  margin: auto;
}

.absolute {
  position: absolute;
}

.hide-in-plain-sight {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.width-inherit {
  width: inherit;
}
/* === START of LANDING page === */
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scroll-bar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scroll-bar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#landing-page .autocomplete-main {
  width: min(90vw, 640px);
}

/* === END of LANDING page === */

/* MAPBOX STYLING - all with '!important' to ensure that these styles override mapbox*/

.mapboxgl-popup {
  filter: var(--map-element-filter-dropshadow) !important;
  box-shadow: none !important;
}

.mapboxgl-popup-content {
  background: var(--map-popup-color) !important;
  padding: 16px 24px !important;
  pointer-events: none !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.mapboxgl-popup.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
  border-bottom-color: var(--map-popup-color) !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
  border-left-color: var(--map-popup-color) !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
  border-right-color: var(--map-popup-color) !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
  border-top-color: var(--map-popup-color) !important;
}

.mapboxgl-popup {
  max-width: var(--map-popup-max-width) !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-top,
.mapboxgl-popup.mapboxgl-popup-anchor-top-right,
.mapboxgl-popup.mapboxgl-popup-anchor-top-left {
  top: var(--map-popup-offset);
}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom,
.mapboxgl-popup.mapboxgl-popup-anchor-bottom-right,
.mapboxgl-popup.mapboxgl-popup-anchor-bottom-left {
  top: calc(-1 * var(--map-popup-offset));
}

.mapboxgl-popup.mapboxgl-popup-anchor-left {
  left: var(--map-popup-offset);
}

.mapboxgl-popup.mapboxgl-popup-anchor-right {
  left: calc(-1 * var(--map-popup-offset));
}

.mapboxgl-popup.mapboxgl-popup-anchor-top > .mapboxgl-popup-content,
.mapboxgl-popup.mapboxgl-popup-anchor-right > .mapboxgl-popup-content,
.mapboxgl-popup.mapboxgl-popup-anchor-bottom > .mapboxgl-popup-content,
.mapboxgl-popup.mapboxgl-popup-anchor-left > .mapboxgl-popup-content {
  border-radius: 8px !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-top-right > .mapboxgl-popup-content{
  border-radius: 8px 0px 8px 8px !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-top-left > .mapboxgl-popup-content {
  border-radius: 0px 8px 8px 8px !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom-right > .mapboxgl-popup-content {
  border-radius: 8px 8px 0px 8px !important;
}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom-left > .mapboxgl-popup-content {
  border-radius: 8px 8px 8px 0px !important;
}

.mapboxgl-popup,
.mapboxgl-popup :not(.mapboxgl-popup-tip) {
  outline: 0;
}

.popup-title {
  color: var(--black);
}

.popup-title ~ .popup-content {
  margin-top: 8px;
}

/* TO GENERAL */
.frac-width-80 {
  max-width: 80%;
}

.indent-1:before {
  content: " ";
  white-space: pre;
}

.indent-after-1:after {
  content: " ";
  white-space: pre;
}

.main-action-button {
  max-width: 354px !important;
  min-width: unset !important;
  position: relative;
}

.main-action-button > button {
  width: 100%;
}

.main-action-button > button[reduced_padding="true"] {
  padding: 0px 32px;
}

.visible {
  overflow: visible;
}

.no-scroll {
  overflow: hidden;
}

/* buttons */

.extend-button.medium-small-button,
.extend-buttons .medium-small-button {
  width: min-content;
  padding-left: 16px;
  padding-right: 16px;
}

button:disabled {
  pointer-events: none;
}

button {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

button.link-button {
  position: relative;
}

button.link-button > a {
  position: absolute;
  top: 0;
  left: 0;
  
  width: 100%;
  height: 100%;
  
  border-radius: inherit;
  color: inherit;
}

button > div {
  min-width: 0px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

button.floating {
  position: absolute;

  z-index: 1000;

  box-shadow: var(--floating-button-dropshadow);
}

button.hamburger {
  overflow: visible;
  position: relative;
}

button > .hamburger-menu {
  position: absolute;
  width: 184px;
  box-sizing: border-box;
  padding: 20px 24px;
  z-index: 9999999 !important;
  background: var(--white);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  top: 50px;
  right: 0px;
  box-shadow: var(--widget-dropshadow);
  border-radius: 16px;
}

button > .hamburger-menu > * {
  width: 100%;

  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

button > .hamburger-menu > :not(.hamburger-divider) {
  color: var(--gray-text);
  text-decoration: none;
  text-align: left;
  cursor: pointer;

  padding: 6px 0px;
}

button > .hamburger-menu > :not(.hamburger-divider):hover {
  font-weight: 500;
  color: var(--black);
}

button > .hamburger-menu > .hamburger-divider {
  height: 1px;
  background-color: var(--gray-divider);

  margin: 8px 0px;
}


.checklist > *:not(:first-child) {
  margin-top: 24px;
}

.info-width {
  outline: 0;
}

.restrict-width-to-parent {
  max-width: 100%;
}

.width-120 {
  width: 120px;
  max-width: 100%;
}

.width-248 {
  width: 248px;
  max-width: 100%;
}

.width-400 {
  width: 400px;
  max-width: 100%;
}

.width-600 {
  width: 600px;
  max-width: 100%;
}

.height-120 {
  height: 120px;
  max-height: 100%;
}

.vmargin-16 {
  margin-top: 16px;
  margin-bottom: 16px;
}
.vmargin-10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.vmargin-8 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.vmargin-4 {
  margin-top: 4px;
  margin-bottom: 4px;
}

.hmargin-32 {
  margin-left: 32px;
  margin-right: 32px;
}

.views {
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: calc(100vh - 253px);
}

#projects > :first-child:not(.accordian) {
  padding-top: 16px;
}

#projects {
  border-top: 1px solid var(--gray-divider);
  padding-bottom: 16px;
}

.view-card {
  border: 1px solid var(--gray-divider);
  box-sizing: border-box;

  border-radius: 6px;

  padding: 24px;

  cursor: pointer;
}

.view-card:not(:first-child) {
  margin-top: 8px;
}

.view-card:last-child {
  margin-bottom: 16px;
}

.view-card.active {
  background-color: var(--gray-form-bg);
}

.view-card:hover {
  border: 1px solid var(--gray-icons);
}

.standard-width {
  width: fit-content;
}

.min-width,
.width-min-content {
  width: min-content !important;
}

.width-max-content {
  width: max-content !important;
}

/***********
 * TOOLTIP *
 ***********/

.tooltip-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}


/************************
 * EXTEND MAPBOX STYLES *
 ************************/

/* Create new CSS file for this TODO */

.mapboxgl-ctrl-bottom-right {
  pointer-events: unset !important;
  padding: 12px 14px 24px 12px;
}

.mapboxgl-ctrl-bottom-right > * button:not(.no-display) {
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 0px;
  position: relative;
}
.invisible {
  opacity: 0 !important;
}
.hide-in-position {
  opacity: 0 !important;
  pointer-events: none;
}
.high-z {
  z-index: 100;
}

.mapboxgl-ctrl-bottom-right > * button:first-child,
.mapboxgl-ctrl-bottom-right > * .replacement {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}
.mapboxgl-ctrl-bottom-right > * button:last-child {
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
}
.mapboxgl-ctrl-bottom-right > * {
  border-radius: 20px !important;
}
.mapboxgl-ctrl-bottom-right > *:not(:empty) {
  filter: var(--map-element-filter-dropshadow) !important;
  box-shadow: none !important;
}
.mapboxgl-ctrl-bottom-right > * button + button {
  border: none !important;
}
.mapboxgl-ctrl button:not(:disabled) {
  outline: none;
  box-shadow: none !important;
}
.mapboxgl-ctrl button:not(:disabled):not(.mapboxgl-ctrl-attrib-button):hover,
.mapboxgl-ctrl button.active-state,
.mapboxgl-ctrl button.active,
.prominent-icon:hover {
  background-color: var(--black) !important;
  color: white !important;
}
.mapboxgl-ctrl
  button:not(:disabled):not(.active-state):not(.active):not(:hover) {
  background-color: white !important;
  color: var(--gray-icons) !important;
}
.mapboxgl-ctrl-bottom-right > * button > span:not(.tooltip) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.mapboxgl-ctrl-bottom-right > *:last-child {
  margin-bottom: 0px !important;
}
.mapboxgl-ctrl-bottom-left {
  display: flex !important;
  flex-direction: row-reverse !important;
}
.mapboxgl-ctrl-bottom-left > * {
  padding: 0px !important;
  margin: 0px 8px 24px !important;
}
.mapboxgl-ctrl-bottom-left > :last-child {
  margin-left: 24px !important;
}
.mapboxgl-ctrl-attrib {
  background: transparent !important;
}
.mapboxgl-ctrl-attrib a {
  color: var(--gray-icons) !important;
  font-size: 12px !important;
  line-height: 24px !important;
}
.map-3d .si-cube {
  font-size: 16px;
}
.map-edit .si-pencil {
  font-size: 16px;
}
.toggle-map-view .si-globe,
.toggle-map-view .si-map_trifold {
  font-size: 20px;
}

.mapbox-gl-draw_ctrl-draw-btn {
  background-image: none !important;
}
.mapbox-gl-draw_ctrl-draw-btn > span {
  font-size: 16px;
}
.mapboxgl-ctrl-bottom-left {
  z-index: 0 !important;
}

.disable-card {
  opacity: 0.75 !important;
  pointer-events: none;
}

.disable-card * {
  color: var(--gray-icons) !important;
}


/************************
 * Child Window Styling *
 ************************/

.single-content #child-window {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.banner:not(.closed):not(.hidden) ~ .page #child-window > iframe {
  height: calc(100% - var(--banner-height));
  top: var(--banner-height);
}

#child-window.has-modal {
  z-index: 21000;
}

.template1 .content2:not(.section-cover).active-workspace {
  transition: opacity var(--expansion-duration) ease;
  opacity: 1;
}

.template1 .content2:not(.section-cover):not(.active-workspace) {
  transition: opacity var(--expansion-duration) ease,
    z-index 0s linear var(--expansion-duration);
  z-index: -1 !important;
  opacity: 0 !important;
}


/*tooltips*/

.map-btn {
  position: relative;
}

.mapboxgl-ctrl .tooltip,
.map-btn .tooltip {
  display: none;
  position: absolute;
  width: max-content;
  font-size: 13px;
  line-height: 20px;
  padding: 4px 8px;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

.mapboxgl-ctrl:not(.slider-cntrl-group) .tooltip,
.map-btn .tooltip {
  top: 6px;
  right: 48px;
}

.slider-cntrl-group .tooltip {
  top: auto;
  right: 162px;
  bottom: -4px;

  max-width: 200px;
}

.slider-cntrl-group .pitch ~ .tooltip {
  bottom: 16px;
}

.mapboxgl-ctrl button:hover .tooltip:before,
.mapboxgl-ctrl button.active .tooltip:before,
.map-btn:not(.inner):hover .tooltip:before,
.slider-cntrl-group:hover .tooltip:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;

  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--black);
  right: -5px;

  top: 9px;
}

.slider-cntrl-group:hover .tooltip:before {
  top: auto !important;
  bottom: 9px !important;
}

.mapboxgl-ctrl button:hover .tooltip,
.mapboxgl-ctrl button.active .tooltip,
.map-btn:not(.inner):hover .tooltip,
.slider-cntrl-group:hover .tooltip {
  display: block;
}

.rotate-slider {
  height: 154px;
}

.slider-cntrl-group .pitch {
  transform-origin: bottom right;
  transform: translateY(138px) translateX(34px) rotate(90deg);
}
.slider-cntrl-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
  margin-right: 8px !important;
}

/* The slider itself */
.slider-cntrl-group input[type="range"] {
  -webkit-appearance: none; /* Override default CSS styles */
  appearance: none;
  width: 150px; /* Full-width */
  height: 8px; /* Specified height */
  border-radius: 8px;
  background: var(--white); /* Grey background */
  outline: none; /* Remove outline */
  opacity: 1;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider-cntrl-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 12px; /* Set a specific slider handle width */
  height: 12px; /* Slider handle height */
  border-radius: 12px;
  background: var(--black); /* Green background */
  cursor: pointer; /* Cursor on hover */
  opacity: 1 !important;
}

.slider-cntrl-group input[type="range"]::-moz-range-thumb {
  width: 12px; /* Set a specific slider handle width */
  height: 12px; /* Slider handle height */
  border-radius: 12px;
  background: var(--black); /* Green background */
  cursor: pointer; /* Cursor on hover */
  opacity: 1 !important;
}

/* feedback */
.feedback {
  padding-top: 32px;
  margin-top: 0px;
  margin-bottom: 32px;
  text-align: left;
}

div ~ .expanded:empty {
  padding-bottom: 16px;
}

.expanded > .feedback {
  border-top: none;
}

/* Line spacing */
.text-spaced-40 {
  line-height: 40px !important;
}

/* filter icon */
.filter-count {
  margin-left: 4px;
  height: 20px;
  width: 20px;
  border-radius: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  right: -12px;
  top: 8px;
  background-color: var(--purple);
}

/* JUST FOR TESTING. REMOVE BEFORE PRODUCTION AND ENSURE ADDED TO UI ASSETS */

.login-group {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
}

.login-group .btn-login,
.login-group .btn-login-success {
  position: unset !important;
  margin-left: 36px;
}

#landing-page #login .button-hoverbutton {
  border: none;
  border-radius: 200px;
  background: var(--white);
  box-shadow: var(--login-dropshadow);
  position: relative;
  top: 24px;
  padding: 0;
}

#landing-page #login .button-hoverbutton:hover {
  background: var(--black);
}

.top-right-btns {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 0;

  display: flex;
}

.top-right-btns .btn-login,
.top-right-btns .btn-login-success {
  position: revert !important;
  margin: 24px 24px 0px 16px;
}

.block-content * {
  display: none;
}

.blocker {
  overflow: hidden !important;
  z-index: 999999 !important;
}

.section-blocker {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.section-blocker.block {
  transition: background-color var(--expansion-duration) ease;
  z-index: 9999;
  background-color: rgba(0,0,0,.75);
}

.section-blocker:not(.block) {
  transition: background-color var(--expansion-duration) ease,
    z-index 0s linear var(--expansion-duration);
  z-index: -1;
  background-color: transparent;
}

.section-cover {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-cover:not(.block) > * {
  opacity: 0;
}

.section-cover.block > * {
  opacity: 1;
}

.section-cover.block {
  z-index: 10000 !important;
  background-color: var(--white);
}

.section-cover:not(.block) {
  transition: background-color var(--expansion-duration) ease,
    z-index 0s linear var(--expansion-duration);
  z-index: -1 !important;
  background-color: transparent;
}

.tutorial-modal {
  width: min(95vw, 708px);
  max-height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

/* Video player styling */

.slick-slide {
  height: auto !important;
}

.tutorial-modal .video-container {
  width: min(95vw, 708px) !important;
}

.tutorial-modal video {
  width: min(95vw, 708px) !important;
}

.tutorial-modal .slick-track {
  display: flex;
}

.tutorial-modal .video-container video,
.tutorial-modal img,
.tutorial-modal .slick-list {
  object-fit: contain;
  border-radius: 16px 16px 0px 0px;
  background-color: var(--gray-divider);
}

.progress-bar {
  width: 100%;
  height: 4px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  background: linear-gradient(
    89.97deg,
    #7e4a93 -8.12%,
    #be5a99 48.16%,
    #ff6d6d 99.94%
  );
}

.progress-bar div {
  width: 100%;
  height: 4px;
}

.progress-bar div:not(.active) {
  background-color: var(--gray-divider);
}

.progress-bar .active {
  background-color: transparent;
}

/* Google Charts Styles */

.symbium-table {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.symbium-table table {
  table-layout:fixed; 
}

.flat-actions {
  display: flex;
  justify-content: right;
  align-items: center;
}

.flat-actions > *:not(:last-child) {
  margin-right: 16px;
}

.table-row:hover:not(.inspection) {
  background-color: rgba(255, 239, 247, 0.7) !important;
}

.table-row:hover:not(.inspection) .proj-hover {
  color: var(--purple) !important;
}

.inspection {
  position: relative;
}
.inspection .inspection-x {
  position: absolute;
  top: 20px;
  right: 0px;
}

.inspection td {
  position: relative;
  padding-top: 24px !important;
}

.table-cell {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.header-cell {
  padding: 12px 0px !important;
  background-color: var(--white);
  height: 64px;
}

.cell {
  min-width: 36px;
  border-left: none !important;
  border-right: none !important;
}

tr:not(.inspection) .cell {
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cell .end-row-before-icon {
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cell.allow-space-for-icon {
  max-width: 320px !important;
}

.google-visualization-table-table tr th,
.google-visualization-table-table tr td {
  border: unset;
}

.google-visualization-table-table tr th,
.google-visualization-table-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--divider);
}

.project-action.disabled * {
  color: var(--gray-disabled) !important;
}

.infobar-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.table thead th {
  z-index: 2;
  position: sticky !important;
  top: 0px !important;
  will-change: transform;
  transform: translateZ(0);
}

.table {
  overflow-y: scroll;
  height: 100%;
}

inputtable .table {
  margin-top: 0px;
}

/*Should really be its own font!!!!*/
.h2-reduced {
  font-size: 27px !important;
}

.header-13 {
  text-transform: uppercase;
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0em;
  text-align: left;
}

.button-xl-text {
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.002em;
}

.body-14 {
  line-height: 20px !important;
}

.body-17-medium {
  font-weight: 500 !important;
}

.gray-input-fields {
  color: var(--gray-input-fields);
}

.red-error {
  color: var(--red-error);
}

.black-important {
  color: var(--black) !important;
}

.no-animate {
  transition: none !important;
}

/* TABS AND PANES */
body:not(.single-content) .tabs-container.default .tabs {
  padding-left: var(--sidepage-margin);
  width: 100%;
}

.single-content .tabs-container.default .tabs {
  width: 100%;
  padding-right: var(--assumed-screen-width-or-sidepage-margin);
  padding-left: var(--assumed-screen-width-or-sidepage-margin);
}

/* Tutorial modal */

.tutorial-modal .text-container {
  padding: 28px 38px 16px 38px;

  display: flex;
  flex-direction: column;

  text-align: center;
}

.prominent-icon {
  background-color: white;

  height: 40px !important;
  width: 40px !important;

  line-height: 40px !important;
  vertical-align: middle;

  border-radius: 200px;
}

.small-prominent-icon {
  background-color: white;

  height: 24px !important;
  width: 24px !important;

  line-height: 24px !important;
  vertical-align: middle;

  border-radius: 200px;
}

.small-prominent-icon:hover {
  background-color: black;
  color: white;
}

.text-left {
  text-align: left !important;
}

.btn-info {
  box-shadow: var(--login-dropshadow);
  margin-top: 24px;
}

.si-icon-inline-5x {
  line-height: 20px;
  height: 20px;
  vertical-align: middle;
}

.si-icon-text-8x {
  font-size: 32px !important;
}

.si-icon-10x {
  height: 40px !important;
  width: 40px !important;
}

.si-icon-text-10x {
  font-size: 40px !important;
}

.si-icon-12x {
  height: 48px !important;
  width: 48px !important;
}

.si-i:before {
  content: "i";
  height: 30px;
}

.auto-line-height {
  line-height: inherit !important;
}

.multiselect-highlighted {
  border-color: var(--purple) !important;
  border-width: 2px !important;
  margin-top: -1px !important;
  margin-bottom: -1px !important;
  box-shadow: var(--widget-dropsha);
}

.inputlayout .filtermultiselect-container {
  max-width: unset;
}

/* END TESTING SECTION */

body:not(.single-content) .main-title * {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.main-title {
  white-space: nowrap;
  flex: 1;
}

.fake-sidebar,
.sidebar {
  background-color: var(--white);
}

.fake-sidebar {
  left: 0;
  border-right: 1px solid var(--gray-divider);
}

.sidebar-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.fake-sidebar,
.second-sidebar {
  position: fixed;
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
}

.content2 > .fake-sidebar {
  position: relative;
  top: 0px;
  overflow: unset;
}

.second-sidebar {
  left: var(--sidebar-width);
}

.fake-sidebar.active,
.second-sidebar.active {
   z-index: 2;
}

.second-sidebar:not(.active) {
  transition: z-index 0s linear var(--expansion-duration);
  z-index: -1;
}

.single-content .second-sidebar {
  width: var(--sidebar-width);
}

.second-sidebar > * {
  height: 100%;
  background: white;
  box-sizing: border-box;
}

.inspect .expander {
  justify-content: space-evenly;
}

.inspect .expander icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.inspect .expander icon:after {
  font-family: Inter;
  letter-spacing: 0em;
  font-size: 12px;
  line-height: 16px;
}

.inspect .expander icon.si-map_trifold:after {
  content: "Map";
}

.inspect .expander icon.si-notebook:after {
  content: "Info";
}

.on-demand-panel {
  display: grid;
  grid-template-areas:
    "infobar"
    "content1"
    "footbar";
  grid-template-rows: var(--infobar-height) 1fr var(--topbar-height);
  grid-template-columns: auto;
  height: 100%;
  width: 100%;
}

.footbar {
  z-index: 1;
  grid-area: footbar;
  border-top: 1px solid var(--gray-divider);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  background-color: var(--white);
}

.footbar .content {
  display: flex;
  align-items: center;
}

.on-demand-panel .footbar .content > * {
  background-color: var(--white);

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.on-demand-panel > .on-demand-x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}

.on-demand-message {
  display: flex;
}

.on-demand-message > * {
  flex: 1;
}

.pane {
  box-sizing: border-box;
}

.single-content .sidebar,
.single-content .pane {
  height: 100%;
}

#documents .link-card {
  margin-top: 16px;
}

.button-list > *:not(:first-child) {
  margin-top: 8px;
}

.button-list button {
  padding-left: 16px;
  padding-right: 16px;
}

button:disabled.coming-soon {
  border: 1px solid var(--purple-50) !important;
  color: var(--purple-50) !important;
}

button:disabled.coming-soon * {
  color: var(--purple-50) !important;
}

.action-group.active > .link-card > * {
  border: 2px solid var(--purple) !important;
}

.action-group button {
  padding-right: 16px;
  padding-left: 16px;
}

.info-card .action-button:not(:first-child) {
  margin-top: 8px;
}

.info-card .action-button:last-child {
  margin-bottom: 8px;
}

#documents .link-card:last-child {
  margin-bottom: 16px;
}

.action-button {
  height: 40px;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar.one-panel #action-box {
  display: none !important;
}

.lists .content1 {
  display: flex;
  justify-content: center;
}

body:not(.single-content) .infobar .content,
body:not(.single-content) .template1 .topbar,
body:not(.single-content) .template4 .topbar,
body:not(.single-content) .on-demand-panel .footbar .content {
  padding-left: var(--sidepage-margin);
  padding-right: var(--sidepage-margin);
}

.single-content .topbar,
.single-content .infobar .content,
.single-content .footbar .content {
  padding-left: var(--sidepage-margin);
  padding-right: var(--sidepage-margin);
}

/***********
 * Spinner *
 ***********/
.spinner-container {
  display: flex;
  overflow: visible !important;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

/* spinner/processing state, errors */
.spinner-container > *:first-child {
   border-radius: 50%;
   animation: spin 2s linear infinite;
}

.spinner {
  border: 3px solid var(--divider); /* Light grey */
  border-top: 3px solid var(--black);
  border-left: 3px solid var(--black);
  width: 20px;
  height: 20px;
}

.medium-spinner {
  border: 7px solid var(--divider); /* Light grey */
  border-top: 7px solid var(--black);
  border-left: 7px solid var(--black);
  width: 40px;
  height: 40px;
}

.big-spinner {
  border: 8px solid var(--divider);
  border-top: 8px solid var(--black);
  border-left: 8px solid var(--black);
  width: 50px;
  height: 50px;
}

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

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



/****************************
 * Grid Template Components *
 ****************************/

.topbar {
  grid-area: topbar;
  z-index: 16000;
  box-sizing: border-box;

  top: 0px;

  height: var(--topbar-height);
  width: 100%;

  display: grid;
  grid-template-areas:
    "left main right";
  grid-template-rows: 100%;
  grid-template-columns: var(--toolbar-width) 1fr var(--toolbar-width);
}

.topbar:not(.dynamic-landing) {
  border-bottom: 1px solid var(--gray-divider);
  background-color: var(--white);
}

.topbar > *:first-child {
  grid-area: left;
}

.topbar > *:nth-child(2) {
  grid-area: main;

  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar > *:nth-child(3) {
  grid-area: right;
}

.main .tabs {
  padding-right: var(--sidepage-margin);
}

.main .tabs .tab {
  width: 100%;
  min-width: fit-content;
}

.main .tabs .tab > * {
  justify-content: center;
}

.content {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.tabsbar {
  grid-area: tabsbar;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  background-color: var(--white);
}

.tabsbar:not(.nounderline) {
  border-bottom: 1px solid var(--gray-divider);
}

.infobar {
  z-index: 1;
  grid-area: infobar;
  position: relative;
  border-bottom: 1px solid var(--gray-divider);
  box-sizing: border-box;
  background-color: var(--white);
  width: 100%;
}

.infobar .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.infobar .info-group {
  max-width: 100%;
}

button.activated {
  border: 1px solid var(--pink-70);
  background-color: var(--pink-70);
  pointer-events: none;
}

.infobar .infobutton-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.infobar .infobar-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
}

.content1 {
  grid-area: content1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.content2 {
  grid-area: content2;
  overflow: hidden;
  position: relative;
  z-index: 0;
  width: 100%;
}

.template1 .content2 {
   display: flex;
}

.content2 #map {
  z-index: 0;
  width: 100%;
}

/*.content2 > #map {
  z-index: 0;
  position: fixed;
  top: var(--topbar-height);
  left: 0px;
  height: calc(100vh - var(--topbar-height));
  width: calc(100vw + var(--sidebar-width));
}*/

.modal-default:not(.has-x) > :first-child.internal-scroll {
  padding-left: 32px;
  padding-right: 16px;
}

.modal-default > :first-child.internal-scroll {
  max-width: unset;
  width: min(900px,95vw);
}

.modal-default .button-modal-container.internal-scroll .button-modal-text {
  overflow: hidden;
}

.button-modal-container.internal-scroll .button-modal-button-group {
  margin-left: -32px;
  margin-right: -16px;
}

.modal-default > .message-modal-container {
  min-width: fit-content !important;
}


/******************************
 * Notices and Scope Messages *
 ******************************/

.notice-message:empty {
  display: none;
}

.notice-message:not(:first-child) {
  margin-top: 12px;
}

.notice-message {
  position: relative;
  background: var(--gray-map-area);

  padding: 20px;

  border-radius: 8px;

  font-family: Inter;
  letter-spacing: 0em;
  font-size: 12px;
  line-height: 16px;
}

.notice-message > div:not(:first-child) {
  margin-top: 20px;
}

.notice-message .title {
  color: var(--black);
  font-weight: 700;
  margin-bottom: 4px;
}

.notice-message .message {
  color: var(--gray-text);
  font-weight: 500;
}

/* Combine successive notice messages into one box */
.notice-message:not(:empty) + .notice-message:not(:empty) {
  margin-top: -8px;
  padding-top: 8px;
  border-radius: 0px 0px 8px 8px;
}

.notice-message:not(:empty) + .notice-message:not(:empty)::before {
  top: 8px;
}

/* Requirement notice styling */
.requirement-notice > div {
  margin-left: 32px;
}

.requirement-notice.failed {
  background-color: var(--light-red-error);
}

.requirement-notice::before {
  content: "\e9d3";
  color: var(--gray-icons);

  font-family: si-icon !important;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  height: 24px;
  width: 24px;
  top: 20px;
  left: 20px;
  position: absolute;
}

.requirement-notice.passed::before {
  content: "\e9cc";
  color: var(--purple);
}

.requirement-notice.failed::before {
  content: "\eba7";
  color: var(--red-error);
}

/******************
 * Page Templates *
 ******************/

/* TEMPLATE 1 - Defined as desktop/mobile specific */

.template1 .content1 {
  z-index: 1;
}

.template1 .content1 .main {
  height: 100%;
  width: 100%;
  position: absolute;
}

.template4 .topbar,
.template1 .topbar, 
.template1-map .topbar {
  max-width: 100vw;
}


/* TEMPLATE 2 
   * full width 64px topbar followed by main content area and a 64px footer
  */
.template2 {
  grid-template-areas:
    "banner"
    "topbar"
    "content1";
  grid-template-rows: var(--banner-height) var(--topbar-height) 1fr;
  grid-template-columns: 100%;
}

.template2 .center-on-page {
  grid-area: content1;
}

/* TEMPLATE 3
   * full width 64px topbar followed by larger info bar, main content area, and footer
   * also used for single-content version of template 1
  */
.template3 {
  grid-template-areas:
    "banner"
    "topbar"
    "infobar"
    "content1"
    "footbar";
  grid-template-rows: var(--banner-height) var(--topbar-height) var(--short-infobar-height) 1fr var(--topbar-height);
  grid-template-columns: 100%;
}

/* TEMPLATE 4
   * full width 64px topbar followed by larger info bar, a sidebar split into a 
   * content area and a footer next to a larger, main-content area
   * area, and a footer
  */
/*.template4 {
    grid-template-areas: "topbar topbar"
                         "infobar infobar"
                         "content1 tabsbar"
                         "content1 content2";
    grid-template-rows: var(--topbar-height) var(--infobar-height) var(--tabs-height) 1fr;

    grid-template-columns: var(--assumed-screen-sidebar-width) 1fr;
  }*/

.template4 {
  grid-template-areas:
      "banner banner"
      "topbar topbar"
      "infobar content2"
      "content1 content2";
  grid-template-rows: var(--banner-height) var(--topbar-height) var(--large-infobar-height) 1fr;
  grid-template-columns: var(--sidebar-width) 1fr;
}

.template4 .infobar .content {
  align-items: flex-start !important;
}

.template4 .infobar,
.template4 .content2,
.template4 .content1 {
  background-color: var(--white);
}

body:not(.single-content) .template4 .tabsbar {
  display: none;
}

.template4 button.floating {
   bottom: 18px;
}

.single-content .template4 button.floating {
  right: 18px;
}

body:not(.single-content) .template4 button.floating {
  right: 44px;
}


/* no sidebar version of template 4
   * full width 64px topbar followed by larger info bar, a main content area, and a footer
   * different from template 3 based on the grid-area name of the main content area
   * useful for responsive HTML
*/
.single-content .template4 {
  grid-template-areas:
    "banner"
    "topbar"
    "infobar"
    "tabsbar"
    "content2";

  grid-template-rows: var(--banner-height) var(--topbar-height) var(--large-infobar-height) var(--tabs-height) 1fr;
  grid-template-columns: 100%;
}

.single-content .template4 .content1 {
  display: none;
}

.select2-container .select2-search--inline .select2-search__field {
    font-family: 'Inter' !important;
    line-height: 18px;
}

/* Desktop-only style */
@media screen and (min-width: 640px) and (min-height: 640px) {

  .single-content .panel {
    width: 100vw;

    position: relative;
    overflow: hidden;
  }

  .sidebar-loader {
    width: var(--sidebar-width);
  }

  body:not(.single-content) .content1 {
    z-index: 1;
    box-sizing: border-box;
    border-right: 1px solid var(--gray-divider);
  }

  body:not(.single-content) .panel {
    width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    height: max-content;
    border-radius: 16px;
    position: relative;
    overflow: visible;
    transition: height 0.3s ease;
  }

  .info {
    flex: 1 0 500px;
    box-sizing: border-box;
  }

  .box-shadow {
    box-shadow: var(--default-dropshadow);
  }

  .scroll-container {
    height: 100%;
  }

  body:not(.single-content).inspect .scroll-container,
  body:not(.single-content).search .scroll-container {
    max-height: calc(100vh - 326px);
  }

  .abtest1 .inspect .scroll-container {
    max-height: calc(100vh - 278px) !important;
  }

  [tab="map"] {
    display: none;
  }

  /*
   **************************
   * Desktop-only Templates *
   **************************
  */

  /* TEMPLATE 1
   * full width 64px topbar followed by sidebar and larger content area
   * inspect pages with map
  */
  body:not(.single-content) .template1 {
    grid-template-areas:
      "banner banner"
      "topbar topbar"
      "infobar content2"
      "content1  content2";
    grid-template-rows: var(--banner-height) var(--topbar-height) var(--infobar-height) 1fr;
    grid-template-columns: var(--sidebar-width) 1fr;
  }

  /* TEMPLATE 1 full MAP */
  body:not(.single-content) .template1.full-map {
    grid-template-columns: 0px 1fr
  }

  body:not(.single-content) .template4 .infobar,
  body:not(.single-content) .template4 .content1,
  body:not(.single-content) .template1 .infobar,
  body:not(.single-content) .template1 .content1,
  body:not(.single-content) .second-sidebar > * {
    width: var(--sidebar-width);
  }

  body:not(.single-content) .template4 .infobar,
  body:not(.single-content) .template1 .infobar,
  body:not(.single-content) .on-demand-panel .infobar,
  body:not(.single-content) .on-demand-panel .footbar {
    border-right: 1px solid var(--gray-divider);
  }

  .single-content .template1 .content2 {
    display: none;
  }

  .project-page .pane {
    padding-bottom: 200px !important;
  }

  .scope-section > .section-content > .section-title:not(.non-stick) {
    position: sticky;
    top: 0px;
  }

  .scope-section > .section-content > .section-title:not(.non-stick).is-pinned,
  .title-summary-bar.is-pinned {
    box-shadow: var(--setion-header-dropshadow);
    width: 100%;
    z-index: 5;
  }
}

#short-screen-warning {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 10000000;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-family: 'Inter';
    padding: 40px;
    text-align: center;
    line-height: 22px;
    display: none;
}


/* very short screen height and in landscape mode */
@media only screen and (max-height: 500px) and (orientation:landscape) {
    #short-screen-warning {
        display: flex;
    }

    /* to stop auto-focusing into the dropdown, making keyboard shown in landscape mode. If we can stop the behavior via js it would be more ideal */
    filtermultiselect {
        display: none !important;
    }
}

/* Larger desktop screens */
@media not screen and (max-width: 1100px) {
  .second-sidebar .crumb-container {
    display: none;
  }
}

/* Small desktop screens and smaller */
@media only screen and (max-width: 1100px) {
  .second-sidebar {
    left: 0;
  }

  .second-sidebar .on-demand-x {
    display: none;
  }

}

/* Larger desktop */
@media not screen and (max-width: 900px) {
  :root {
    --toolbar-width: 200px;
  }

  .topbar > .toolbar button.tool {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: content-box;
  }

  .topbar > .toolbar button.help:after {
    content: "Help";
  }

  .topbar > .toolbar button.my-projects:after {
    content: "My Projects";
  }

  tr .cell:first-child {
    padding-left: var(--sidepage-margin) !important;
  }

  tr .cell:last-child {
    padding-right: var(--sidepage-margin) !important;
  }

  tr .cell:not(:first-child) {
    padding-left: var(--half-sidepage-margin) !important;
  }

  tr .cell:not(:last-child) {
    padding-right: var(--half-sidepage-margin) !important;
  }
}

/* Smaller desktop */
@media only screen and (max-width: 900px) {
  :root {
    --toolbar-width: 140px;
  }

  .topbar > .toolbar button.tool {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: content-box;
  }

  .topbar > .toolbar button.help:after {
    content: "Help";
  }

  .topbar > .toolbar button.my-projects:after {
    content: "My Projects";
  }

  tr .cell {
    padding-right: var(--sidepage-margin) !important;
    padding-left: var(--sidepage-margin) !important;
  }

  .google-visualization-table-table thead {
      display: none;
  }
  .google-visualization-table-table tr.table-row {
      display: flex;
      flex-direction: column;
      border-bottom: 1px solid var(--divider);
      padding: 10px 0;
  }
  .google-visualization-table-table tr.table-row:last-of-type {
      border-bottom: none;
  }
  .google-visualization-table-table tr.table-row td.cell.table-cell {
      border-bottom: none;
      display: flex;
      align-items: center;
      padding-top: 5px !important;
      padding-bottom: 5px !important;
  }
  .google-visualization-table-table tr.table-row td.cell.table-cell[data-label] {
      max-width: 94vw;
  }
  .google-visualization-table-table tr.table-row td.cell.table-cell:not([data-label]) {
      max-width: 100%;
      display: flex;
      justify-content: space-between;
      height: 64px;
  }
  .google-visualization-table-table tr.table-row td.cell.table-cell > span {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
  }
  .google-visualization-table-table tr.table-row td.cell.table-cell[data-label]::before {
      content: attr(data-label);
      font-weight: 600;
      color: var(--black);
      text-transform: uppercase;
      min-width: 158px;
  }
}

/* Larger than pre-mobile style */
/* all screens except pre-mobile and smaller */
@media not screen and (max-width: 720px) {

    .topbar > .toolbar button.search {
      display: none;
    }

}


/* Pre-mobile style */
/* some specific selectors because we cannot change the html DOM structure */
@media only screen and (max-width: 720px) {

    .topbar.is-pinned .main-search,
    .topbar:not(.dynamic-landing) .main-search {
      display: none;
      position: fixed;
      top: calc(50vh - (var(--main-searchbar-height) / 2));
      height: var(--main-searchbar-height);
      width: 600px;
      min-width: min(var(--main-searchbar-width),90vw);
      z-index: 100 !important;
    }

    .topbar.is-pinned .main-search.open,
    .topbar:not(.dynamic-landing) .main-search.open {
      display: flex;
    }

    .topbar.is-pinned .main-search.open ~ .search-blocker,
    .topbar:not(.dynamic-landing) .main-search.open ~ .search-blocker {
      display: block;
      position: fixed;
      width: 100vw;
      height: 100vh;
      content: "";
      top: 0;
      left: 0;
      box-sizing: border-box;
      background-color: rgba(0,0,0,.75);
      z-index: 99;
    }

    .topbar.is-pinned .main-search.open ~ .search-blocker:after,
    .topbar:not(.dynamic-landing) .main-search.open ~ .search-blocker:after {
      font-family: si-icon!important;
      content: "\eba9";

      font-size: 24px;

      position: fixed;
      top: 24px;
      right: 24px;

      color: var(--gray-icons);
      z-index: 100;

      cursor: pointer;
    }

    .topbar > .toolbar button.search {
      font-size: 20px;
    }

    .project-page .scope .scroll-container > * {
        min-width: unset;
    }

    .permit-workflow dropdown {
        width: 100%;
    }

    div[id='input(permit,jobdetails)'] {
        display: block;
    }
    div[id='input(permit,jobdetails)'] .hgap-80 {
        margin: 20px 0 0 !important;
    }

    .inputlayout {
        grid-template-columns: 1fr !important;
    }

    .inputlayout > div:last-of-type {
        grid-template-columns: 1fr !important;
    }

    .input-table .table .tr:not(.stacked)>:not(:last-of-type).brand_model_column {
      margin-right: unset !important;
    }

    .input-table .table .group .brand_model_column:not(:last-of-type) {
      margin-right: unset !important;
    }

    .input-table .table .tr:not(.stacked) {
      display: block !important;
    }

    .input-table .table .group {
      display: block !important;
    }

    .epilog-button-modal .role-selector {
      width: 100%;
    }

    .results {
        padding-top: 0;
    }
    .results .table.shift-for-scroll {
        margin-top: 0;
    }

    .infobar-group .flat-actions.desktop-only {
        display: none;
    }

    body .title-28,
    body .section-content .section-title {
      font-size: 22px;
      line-height: 24px;
      font-weight: 600;
    }

    body h3 {
      font-size: 20px;
      line-height: 24px;
    }

    body .title-20,
    body .section-content .section-content .section-title {
      font-size: 18px;
      line-height: 20px;
    }

    body h4,
    body .section-content .section-content .section-content .section-title {
      font-size: 15px;
      line-height: 20px;
    }

    body .section-content .section-content .section-content .section-content .section-title,
    body h5 {
      font-size: 13px;
      line-height: 20px;
    }



    .content2 .body-14, .content2 .body-17 {
        font-size: 16px;
    }

    div[id='input(permit,applicationreview)'] {
        font-size: 14px;
    }

    #paymenttab #payments .data-table {
        margin-top: 20px;
    }

    .modal-default.has-x > .button-modal-container, .modal-default.has-x > .workflow-modal {
        padding: 55px 16px 0 32px !important;
        max-height: calc(min(800px,90vh) - 55px);
    }

    .modal-default > .message-modal-container > * {
        overflow: unset !important;
    }

    .workflow-modal > * {
        padding: 0;
    }
    .workflow-modal .modal-content1 {
        padding-right: 4px !important;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .workflow-modal .modal-content1 > * {
        padding: 2px;
    }
    .workflow-modal .modal-content1 > div > h2 {
        flex-direction: column;
    }
    .workflow-modal .modal-content1 > div > h2 #payment-amount::after {
        position: static;
    }
    .workflow-modal .modal-footbar,
    .button-modal-button-group {
      padding-left: 32px;
      padding-right: 32px !important;
    }

    .workflow-modal .modal-footbar,
    .modal-default.has-x .button-modal-button-group {
      margin: 0px -16px 0px -32px;
    }

    .button-modal-container .feedback-checkboxes-list {
        grid-template-columns: 1fr;
    }

    .signature {
        min-width: min(90vw, 400px) !important;
    }

    div[id='input(permit,applicationreview)'] .gap-24.flex.left {
        display: block;
    }

    #inspection-details .inner {
        flex-wrap: wrap;
        min-width: 100%;
        margin-top: 0px !important;
        margin-right: 0px !important;
    }
    #inspection-details .inner > * {
        min-width: 100% !important;
        max-width: unset !important;
        margin-top: 15px !important;
        margin-right: 0px !important;
    }
    #inspection-details .table > .tr > .inner:nth-child(2) > div:not(:nth-child(3)) {
        min-width: 50% !important;
    }

    #inspection-details .inner .select-selected.select-selected-valid {
        width: 100%;
        max-width: unset !important;
    }

    #inspection-details .inner div[column='scheduled_date'] {
        margin-right: 8px;
    }

    #inspection-details .inner div[column='scheduled_time'] {
        margin-left: 8px;
    }

    .page-btn {
      margin-left: 0px !important;
      margin-right: 0px !important;
    }

    .page-btn:not(.active) {
        display: none;
    }

    .required:not(.completed).show::after {
        font-size: 11px;
    }

    .template3 .content1 .results {
        width: calc(100% - 16px);
    }

    .tabs::-webkit-scrollbar {
      display: none;
    }

    .select-option-container.long-text {
      max-width: calc(100vw - 100px);
    }
}

/* Mobile-only style */
@media only screen and (max-width: 640px),
  only screen and (max-height: 640px) {

  /*
   *************************
   * Mobile-only Templates *
   *************************
  */

  /* TEMPLATE 1
   * full width 64px topbar followed by main content area
  */
  .template1 {
    grid-template-areas:
      "banner"
      "topbar"
      "infobar"
      "content1";
    grid-template-rows: var(--banner-height) var(--topbar-height) var(--infobar-height) 1fr;
    grid-template-columns: 100%;
  }

  .template1 .content2 {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    height: calc(100% - var(--topbar-height));
  }

  .template1 #child-window.active-workspace {
    z-index: 1;
  }

  .sidebar {
    width: 100vw;
    position: relative;
  }

  .second-sidebar {
    left: 0 !important;
  }

  .second-sidebar .expandable {
    width: 100vw;
  }

  .second-sidebar .scroll-container {
    height: 100%;
  }

  .active-workspace > .project-frame {
    z-index: 1;
  }

  .desktop-only {
    display: none;
  }

  .banner > .banner-content-wrapper > .banner-content[mobile] {
    display: flex !important;
  }

  .banner > .banner-content-wrapper > .banner-content:not([mobile]) {
    display: none !important;
  }

  .main-title #title {
    width: calc(100vw - (var(--sidepage-margin) * 2));
  }

  .main-title #title .clickable {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
  }

  .user-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .user-row .user-actions {
    margin-left: unset !important;
    margin-top: 16px;
  }

  .section-cover {
    top: var(--topbar-height);
  }

  .project-page .pane {
    padding-bottom: 100px !important;
  }

  /* Mobile actions table */
  .actions-table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .actions-table tr:not(:last-child) {
    border-bottom: 1px solid var(--gray-divider);
  }

  .actions-table tr:not(:first-child) {
    padding-top: 16px
  }

  .actions-table td {
    display: flex;
    flex-direction: column;
    min-width: auto;
    max-width: 100%;
  }

  .actions-table td:empty {
    display: none;
  }

  .actions-table td:not(.empty):before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--black);
    text-align: left;
    text-transform: uppercase;
    padding-bottom: 6px
  }

  .actions-table > tHead {
    display: none;
  }
    
  .sidebar-loader {
    width: 100vw;
  }
}

/* MOVE TO ASSETS */

.topbar .icon-default-main {
  left: 16px;
}

.topbar .autocomplete-main input {
  font-family: Inter;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0em;
}

.topbar:not(.dynamic-landing) .autocomplete-main input {
  font-size: 14px;
}

.autocomplete-as-input > .input-table-autocomplete-style:focus-within {
  border: 1px dashed var(--purple) !important;
  background: var(--focus-background);
}

.autocomplete-as-input > .input-table-autocomplete-style {
  border-radius: 3px!important;
}

.autocomplete-as-input .autocomplete-items>div>div {
    padding-left: 16px!important;
}

.topbar .autocomplete-items > div > div {
  padding: 12px 48px;
  font-family: Inter;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0em;
}

.logo-medium {
  height: 28px;
  width: 121px;
}
.logo-medium-container {
  display: flex;
  align-items: center;

  height: 40px;
  width: 130px;

  padding-top: 12px;
  padding-bottom: 2px;
}


/****************
 * SERVICE LIST *
 ****************/

.service-list > li:not(.disabled) {
  color: var(--gray);
}

.service-list > li.disabled {
  display: none;
}

/* Inspect tiles */

.fields .service-list > li {
  font-family: Inter;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.002em;
}

/* Map Popup tiles */

.mapboxgl-popup-content .service-list {
  padding-inline-start: 32px;
  margin-block-start: 8px;
  margin-block-end: 0px;
}



/* DATA TABLE */
.data-table th {
  font-weight: 600;
  color: var(--black);
  text-align: left;
  text-transform: uppercase;
  padding-top: 12px;
  padding-bottom: 12px;
}

.data-table td {
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}

.data-table tr th:not(:last-child),
.data-table tr td:not(:last-child) {
  padding-right: 48px;
}

.data-table tr th,
.data-table tr td {
  max-width: 300px;
  min-width: 100px;
  vertical-align: top;
}

.table-row-pad-right {
  padding-right: 20px;
}

/*data table cards layout*/
table.data-table.cards {
  display: block;
}
.data-table.cards > tHead {
  display: none;
}
.data-table.cards > tBody {
  display: block;
}
.data-table.cards tr {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
}
.data-table.cards tr:not(:last-child) {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-divider);
}
.data-table.cards tr:not(:first-child) {
  padding-top: 16px;
}
.data-table.cards td {
  display: flex;
  min-width: auto;
  max-width: 100%;
  padding: 4px 0px!important;
}
.data-table.cards td:empty {
  display: none;
}
.data-table.cards td:not(.empty):before {
  content: attr(data-label);
  font-weight: 600;
  display: table-cell;
  color: var(--black);
  text-align: left;
  text-transform: uppercase;
  flex: 0 0 160px;
}

.data-table.cards .summary-row td:not(.empty):not(.summary) {
  display: none;
}

/* Styling for Actions Table */
.actions-table {
  width: 100%;
}

.actions-table th {
  font-weight: 600;
  color: var(--black);
  text-align: left;
  text-transform: uppercase;
  padding-top: 12px;
  padding-bottom: 20px;
}

.actions-table td {
  padding-bottom: 24px;
}

.actions-table tr th,
.actions-table tr td {
  max-width: 500px;
  min-width: 120px;
  vertical-align: top;
}
