html {
  margin: 0px;
  background: #fff;
  font-family: system-ui;
  font-size: 14px;
}

body {
  margin: 0;
}

text{
  cursor: default;
  /* text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff; */
}

svg{
  overflow: visible;
  user-select: none;
}

#umap_nearest{
  width: 100%;
  grid-column: screen;

  .active circle, circle.active{
    stroke: #000;
    stroke-width: 2;
    fill-opacity: 1;
  }
}

.two-col-umap {
  /* max-width: 1800px; */
  /* min-width: 1200px; */
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(700px, 1fr) minmax(0, 700px);
  overflow: hidden;
  gap: 10px;
  border: 1px solid #ddd;

}


.right-col{
  display: grid;
  position: relative;
  grid-template-rows: auto 1fr;

  .feature-container{
    margin-top: 10px;
  }
  .active-feature{
    height: 1em;
    line-height: 1em;
    pointer-events: none !important;
  }

  .chip-title{
    display: none;
  }

  .feature-examples{
    height: calc(100%);
    width: 100%;
    overflow: auto;
    overflow-y: auto;
    overflow-x: scroll;
  }
}




.big-umap-container {

  text.clerp{
    /* font-family: monospace; */
    font-size: 11px;
    text-shadow: 0 1px 0 #FBFAF9, 1px 0 0 #FBFAF9, 0 -1px 0 #FBFAF9, -1px 0 0 #FBFAF9;
    fill: rgba(0,0,0,0);
    transition: fill 200ms;
  }
  text.clerp.visible{
    fill: #999;
  }
  text.clerp.active{
    fill: #000;
    transition: fill 0ms;
  }
  text{
    pointer-events: none;
  }

  .zoom-instructions.hidden{
    transition: all .3s;
  }

  .umap-legend{
    .paper-link{
      width: calc(100% + 10px + 10px);
      margin-left: -10px;
      margin-top: -10px;
      padding-left: 15px !important;
    }

    overflow: hidden;
    background: #fff;
    padding: 10px;
    position: absolute;
    border-radius: 10px;
    left: 10px;
    top: 10px;
    line-height: 1em;

    select, div{
      font-weight: 700;
      font-size: 12px;
    }
    select{
      border: 1px solid #ccc;
      padding: 3px 0px;
    }
  }
  
}


