body {
  font-family: "Lato", sans-serif;
}

a {
  color: #098e8e;
  text-decoration: none;
}

a:hover {
  color: #20c3c4;
  text-decoration: underline;
}

a.btn {
  background-color: #31383c;
  border-color: #31383c;
}

a.btn:hover {
  background-color: #20c3c4;
  border-color: #20c3c4;
}

input[data-hook=search-query] {
  display: none;
}

.js input[data-hook=search-query] {
  display: block;
}

.js .js-hidden { display: none; }
.js-shown { display: none; }
.js .js-shown { display: block; }

.bg-primary {
  background-color: #20c3c4 !important;
}

.organization-card > p {
  text-align: start;
}

.organization-thumbnail img,
.category-thumbnail img {
  width: 64px;
}

dataset {
  display: block;
  border-bottom: 1px #d6d6d6 solid;
  padding-bottom: 10px;
  padding-top: 10px;
}

.list-group-item-truncate {
  display: inline-block;
  line-height: 1;
  width: 75%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.resource-description {
  font-size: 90%;
}

.datasets-count {
  display: inline-block;
}

.resource-details,
.show-resource-details {
  display: none;
}

.show-resource-details {
  font-size: 80%;
}

.card-grid {
  text-align: justify;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 1rem;
  grid-auto-flow: dense;
}

.card-grid-organizations {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(auto-fill, minmax(150px, 1fr));
}

.card-grid .card-grid-item:hover {
  background-color: #d4f8f8;
}

.card-grid .card-grid-item {
  min-width: 150px;
  text-align: center;
  border: none;
  padding: 10px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.card-grid .card-grid-item img {
  height: 80px;
  margin: auto;
}

.card-grid a {
  color: #000;
}

.view-code-link {
  margin: 1em;
}

.breadcrumb {
  background-color: #e9ecef;
  padding: .75rem 1rem;
  border-radius: .25rem;
}

nav {
  background-color: #31383c;
  color: #fff;
  padding-top: 2rem !important;
}

.nav-item .active {
  background-color: #20c3c4;
  border-radius: 4px;
}

.skip-to-content {
  background-color: #61c3c4;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  color: #fff;
  font-size: 1.25rem;
  left: 0;
  padding: 5px 10px;
  position: absolute;
  text-decoration: underline;
  top: -45px;
  transition: scale(1);
  z-index: 999
}

.skip-to-content:focus, .skip-to-content:active {
  color: #fff;
  outline: none;
  top: 0;
}
