.search {
  width: 600px;
  margin: 50px;
  display: block;
}

.grants {
    margin: 10px;
    padding: 1em;
    border: 0.1em solid black;
}


.activities {
    padding: 1em;
    font-size: 10pt;
}

.people {
    padding: 1em;
    font-size: 10pt;
}

.org {
    padding: 1em;
    line-height: 1.2em;
}

.results {
    width: 500px;
    margin: 50px;
    display: block;
}


.searchBox {
    margin: 10px;
    margin-bottom: 20px;
}

.list {
    line-height: 1.3em;
}


.instructions {
    margin-top: 50px;
}

.about {
    padding: 1em;
    margin-top: 50px;
}

#fields {
    padding: 1em;
//    visibility: hidden;
}



#searchInput {
    flex: 3;
    width: 350px;
    padding: 10px 50px;
    font-size: 13px;
}

.search-btn {
      flex: 1;
      padding: 10px 16px;
      font-size: 14px;
}

.text-below-marker {
  min-width: 100px;
  left: -50px;
  text-align: center;
  min-height: 1.2em;
  border: 1px solid red;
}

  .sidebar {
    height: 98%;
    width: 0;
    position: fixed;
    z-index: 1;
    overflow-y: scroll;
    transition: 0.2s;
    padding-right: 10px;
    scrollbar-width: thin;
  }
  
  
  .sidebar .closebtn {
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 2px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;
  }
  
  .openbtn {
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 2px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 14px;
  }

  .openbtn:hover {
    background-color: #444;
  }
  
  #main {
    transition: margin-left .2s;
    padding: 3px 3px 3px 3px;
  }



  .hovertext {
    position: relative;
    border-bottom: 1px dotted blue;
  }
  
  .hovertext:before {
    content: attr(data-hover);
    visibility: hidden;
    opacity: 0.3;
    width: 390px;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 3px 3px;
    font-size: 13px;
    transition: opacity 0.2s ease-in;
  
    position: absolute;
    z-index: 1;
    left: 10px;
    top: 100%;
  }
  
  .hovertext:hover:before {
    opacity: 0.9;
    visibility: visible;
  }

  .hovertext_bottom {
    position: relative;
    border-bottom: 1px dotted blue;
  }
  
  .hovertext_bottom:before {
    content: attr(data-hover);
    visibility: hidden;
    opacity: 0.3;
    width: 390px;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 3px 3px;
    font-size: 13px;
    transition: opacity 0.2s ease-in;
  
    position: absolute;
    z-index: 1;
    left: 10px;
    bottom: 100%;
  }
  
  .hovertext_bottom:hover:before {
    opacity: 0.9;
    visibility: visible;
  }

  .label-checkbox-harm {
    cursor: pointer;
  }
  
  .label-checkbox-harm  input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
  }
  
  .label-checkbox-harm  span {
    padding: 4px 5px;
    border: 1px solid #ccc;
    display: inline-block;
    color: #aaaaaa;
    /* border-radius: 0px; */
    margin: 1px;
    background: #f5f5f5;
    user-select: none;
    font-size: 14px;
  }

  .label-checkbox span {
      font-size: 14px;
  }
  
  .label-checkbox-harm  input:checked + span {
    box-shadow: inset 1px 1px 2px rgb(36, 36, 36);
    /* transform: translateY(1px); */
    color: black;
    text-shadow: 0 0 3px white, 0 0 3px white;
    background: #ff8888;
  }      

  .collapsible {
    background-color: #aaa;
    color: white;
    cursor: pointer;
    padding: 2px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 12px;
  }
  
  .active, .collapsible:hover {
    background-color: #555;
  }
  
  .content {
    padding: 0 6px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
  }

/* try to hide the tooltip if we're on mobile device */  
@media (hover: none) {
  .leaflet-tooltip-pane { display: none; }
}  
