.search-wrapper {
    position: relative;
    flex-grow: 1;
    align-self: baseline;
}

.wiki-search {
    max-width: 25rem;
    border: 0.2rem solid #0061a0;
    padding: 1rem 0.5rem 1rem 5rem;
    font-size: 1.6rem;
    display: block;
}

.search-icon {
    position: absolute;
    left: 1em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 1.5em;
    height: 1.5em;
}

.wiki-wrapper {
    margin-top: 4rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
}

.wiki-letter-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;;
}

.wiki-letter {
    color: var(--blue);
    font-size: 2em;
}

.wiki-entry-container {
    margin-left: 1em;
    color: var(--blue);
    display: flex;
    flex-direction: column;
    gap: .5em;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wiki-link {
    border: 2px solid var(--orange);
    display: block;
    padding: .25em .5em;
    text-decoration: none;
    display: flex;
    flex-wrap: wrap;
    gap: .25em;
    justify-content: flex-end;
}

.wiki-link strong {
    margin-right: auto;
}

.wiki-entry-container .show_more {
    margin-top: 1rem;
}

.wiki-entry-container .show_more:hover {
    text-decoration: none;
}

.wiki-entry.hide {
    display: none;
}

.wiki-entry.highlighted a {
    font-weight: bold;
}

.wiki-entry a,
.wiki-entry button {
    color: #0061a0;
    /* font-size: 1.2rem; */
    /* line-height: 1.2; */
}

.show_more {
    width: fit-content;
    align-self: center;
    padding: .5em 1.5em;
}

.risk-assessments .popup-select {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: var(--white);
    padding: 2rem;
    min-width: 30rem;
    border-radius: 0;
    width: calc(100% - 4rem);
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.25);
    max-width: 50rem;
}

.risk-assessments .popup-select:before {
    content: '';
    z-index: -1;
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,.5);
    transform: translate(-50%, -50%);
    mix-blend-mode: plus-lighter;
    pointer-events: color;
}

.risk-assessments .popup-close {
    font-size: 2em;
    position: absolute;
    display: inline-block;
    padding: 0 .25em;
    right: 0em;
    top: 0;
    background: none;
    color: var(--blue);
    transform: translateY(-66%);
}

.risk-assessments .popup-close:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    background-color: var(--white);
    transform: translate(-50%, -50%);
    z-index: -1;
    /* border: 2px  solid; */
    /* border-radius: 50%; */
}

.popup-select select {
    width: 100%;
    border: 2px solid var(--blue);
    padding: .5em;
}

/* .popup-select select{
  height: 44px;
  border: none;
  overflow: hidden;
  appearance: none;
}
.popup-select select::-moz-focus-inner {
  border: 0;
}
.popup-select select:focus {
  outline: none;
}
.popup-select select option{
  width: 60px;
  font-size: 1.2em;
  padding: 10px 0;
  text-align: center;
  margin-right: 20px;
  display: inline-block;
  cursor: pointer;
  border:rgb(204, 204, 0) solid 1px;
  border-radius: 5px;
  color: rgb(204, 204, 0);
  appearance: none;
} */

.category[data-mode="view"] .fields > :nth-child(even) {
    /* background-color: rgba(0,0,0,.1); */
}
.category[data-mode="view"] .fields > * > * {
    /* padding-left: 1.5em; */
}