.dp-dataset-metadatum {
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.dp-dataset-metadatum__row {
  display: flex;
  column-gap: 10px;
}

.dp-dataset-metadatum__header {
  font-size: 11px;
  color: #454545;
  margin-bottom: 6px;
}

.dp-dataset-metadatum__body {
  font-size: 14px;
}

.dp-resource-header {
  display: flex;
  justify-content: space-between;
}

.dp-resource-icon-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 10px;
}

.dp-resource-icon-mini {
  height: 23px;
  background-color: #DDDDDD;
  border-top: solid 4px;
  height: 19px;
  padding: 0px 5px 0px 5px;
  display: flex;
  align-items: center;
}

.dp-resource-icon-label {
  color: #454545;
  font-family: "Courier New";
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.3px;
}

.dp-resource-icon-mini.dp-resource-tabular {
  border-top-color: #96B223; /* lime 500 */
}
.dp-resource-icon-mini.dp-resource-gis {
  border-top-color: #0396B7; /* cyan 600 */
}
.dp-resource-icon-mini.dp-resource-textual {
  border-top-color: #F61C35; /* red 500 */
}
.dp-resource-icon-mini.dp-resource-website {
  border-top-color: #FCC832; /* amber 400 */
}
.dp-resource-icon-mini.dp-resource-feed {
  border-top-color: #EC7AA0; /* fuchsia 400 */
}
.dp-resource-icon-mini.dp-resource-tree {
  border-top-color: #F5A00C; /* amber 500 */
}
.dp-resource-icon-mini.dp-resource-3d {
  border-top-color: aqua;
}
.dp-resource-icon-mini.dp-resource-transport {
  border-top-color: darkslategray;
}
.dp-resource-icon-mini.dp-resource-api {
  border-top-color: #9380CC; /* violet 500 */
}
.dp-resource-icon-mini.dp-resource-archive {
  border-top-color: fuchsia;
}
.dp-resource-icon-mini.dp-resource-bitmap {
  border-top-color: dodgerblue;
}
.dp-resource-icon-mini.dp-resource-generic {
  border-top-color: wheat;
}

.dp-filter-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Sorting of search results */

.dp-search-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.dp-search-result-summary {
  font-size: 16px;
  line-height: 24px;
  font-family: Arial, sans-serif;
  color: rgb(0, 0, 0);
  font-weight: 700;
  flex-grow: 1;
}

.dp-search-result-sort {
  min-width: 200px;
}

/* custom select */

.dp-select select {
  /* A reset of styles, including removing the default dropdown arrow */
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 10px;
  padding-right: 20px;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;

  /* Stack above custom arrow */
  z-index: 1;

  /* Remove focus outline, will add on alternate element */
  outline: none;
}

.dp-select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;

  min-height: 43px;
  min-width: 15ch;
  max-width: 30ch;

  border: 2px solid #000;
  border-radius: 0px;
  padding: 0 10px 0 0;
  margin: 0;

  font-size: 1em;
  font-family: Arial, sans-serif;
  color: #000;
  cursor: pointer;

  /* Optional styles, remove for transparency */
  background-color: #fff;
  background-image: none;
}

/* Custom arrow */
.dp-select::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", FontAwesome;
  font-weight: 700;
  margin-left: 0.5em;
  display: inline-block;
  vertical-align: baseline;
  justify-self: end;
}

.dp-select select,
.dp-select::after {
  grid-area: select;
}

.dp-select select:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.dp-select select:focus+.focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid #0076dd;
  border-radius: inherit;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .075) inset, 0 0px 8px 0px rgba(102, 175, 233, .8);
  outline: 2px solid #fff;
  outline-offset: 0px;
}


/* message boxes with icons */

.dp-message {
  display: flex;
  justify-content: space-between;
}

.dp-message-icon {
  align-self: center;
  font-size: 300%;
  padding-left: 10px;
}

/* dataset images */

.textbildbreit .dataset img {
  max-height: 450px;
}