table {
    width: 100%
}

nav.breadcrumbs {
    display: none;
}

dd .value-content img {
    float: left;
    margin-top: 0.3em;
}

.form-search {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    flex-grow: 2;
    flex-shrink: 1;
    max-width: 960px;
    margin: 0px auto;
}

.thumbnailImg {
    cursor: pointer;
}

.field .field-meta {
    display: none;
}

.form-search button.search-submit {
    padding: 5.5px 7.5px;
    text-transform: uppercase;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-height: 10vh; */
    width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 100;
}

#output {
    margin-top: 55px;
}

.keywords-doc-title:first-of-type {
    margin-top: 8px;
}

.keywords-doc-title {
    margin-top: 210px;
    display: none;
}

.search-results-list h4:first-of-type {
    margin-top: 0px;
}

.search-results-list h4 {
    margin-top: 120px;
}

.loading-message {
    font-size: 1.5em;
    color: #999;
    position: relative;
}

dt {
    font-size: 13px;
    text-transform: uppercase;
}

.transcribed-span {
    font-size: 13px;
    text-transform: uppercase;
}

.map-effect {
    filter: saturate(69%) contrast(37%) hue-rotate(350deg) brightness(147%);
    /* filter: saturate(25%) contrast(125%) hue-rotate(0deg) brightness(105%); */
    /* 			filter:saturate(100%) contrast(100%) hue-rotate(0deg) brightness(100%);; */
}

.wrapper-lib {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: auto;
    flex-direction: row;
    margin-bottom: 60px;
    gap: 10px;
}

.logo-lib {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: flex-start;
    width: 16%;
}

.logo-lib-img {
    /*max-height: 200px;*/
    /*max-width:50%;*/
    margin-bottom: 21px;
    width: 100%;
    height: auto;
}

.description-lib {
    display: block;
    /* justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column; */
    width: 75%;
}

.lib-caption {
    color: #666;
    font-size: 90%;
    line-height: 20px;
}

.lib-image-holder {
    float: right;
    width: 50%;
    margin-left: 21px;
}

.ripple {
    position: relative;
    width: 10px;
    height: 10px;
    /* max-width: 25px; */
    /* max-height: 25px; */
}

.ripple::before,
.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #d41116;
    opacity: 0;
    animation: ripple 3s infinite;
}

.ripple::after {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

body.item-set .metadata {
    width: 100%;
}

.item-set-items ul {
    padding-inline-start: 0px;
}

h2 .title {
    font-weight: 400;
    font-size: 30px;
    width: 100%;
}

#search-page h2 .title {
    font-size: 60px;
}

#search-page h2 {
    text-align: center;
}

header nav ul li.active {
    font-weight: 400;
}

header a {
    /* text-decoration: none; */
    text-decoration: none;
    color: #d41116;
}

header a:link {
    /* text-decoration: none; */
    text-decoration: none;
    color: #d41116;
}

header a:visited {
    color: #d41116;
}

header a:active,
header a:hover {
    color: #d41116;
    text-decoration: underline;
    text-decoration-color: #606060;
}

body.item-set #content .metadata~* {
    width: 100%;
    margin: auto;
}

.description {
    display: inline-block;
    width: 75%;
}

.greyed-out-text {
    color: #999;
}

.liblogo {
    display: inline-block;
    position: relative;
    float: right;
    width: 16%;
    margin-left: 2%;
}

.liblogo p {
    margin-top: 0em;
    margin-bottom: 0em;
    color: #999;
    text-transform: uppercase;
    font-size: 13px;
}

.liblogo-wrapper-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    gap: 21px;
}

.liblogo-wrapper-col {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
}

.blocks {
    width: 100%;
}

.top-trans-left {
    flex: 1 1 100%;
    padding: 13px;
    text-align: right;
    background-color: #fff;
    margin-top: 13px;
    /* padding-right: 37px; */
}

.top-trans-right {
    width: 0%;
    flex: 1;
    max-width: 100px;
    display: flex;
    /* flex: 0 0 10%; */
    background-color: #fff;
    margin-top: 13px;
}

button.orig-trans-btn {
    background-color: rgba(255, 255, 255, 0.0);
    /* text-decoration: underline; */
    /* text-decoration-color: #d41116; */
    font-weight: 600;
    color: #000;
    margin-top: 0px;
    margin-left: 13px;
    cursor: default;
}

button.orig-trans-btn.not-selected {
    color: #999;
    text-decoration: underline;
    text-decoration-color: #d41116;
    font-weight: 400;
    cursor: pointer;
}

.trans-btn-grp {
    width: 100%;
    text-align: right;
}

.translation>p:first-child,
.transcription>p:first-child {
    margin-block-start: 0em;
}

.thumbnails {
    float: right;
    width: 10%;
}

.viewOrigBtn {
    display: block;
    width: 100%;
    display: none;
    margin-top: 13px;
    cursor: pointer;
}

.viewOrigImage {
    cursor: pointer;
}

.view-arrows {
    width: 21px;
    height: auto;
}

.view-full-width {
    width: 100%;
    /* max-width: 50px; */
    height: auto;
}

.orig-btn {
    width: 21px;
    margin-right: 8px;
    margin-top: 6px;
}

.trans-container {
    display: none;
    /* row-gap: 20px; */
    /* column-gap: 20px; */
    /* align-items: flex-end; */
    /* justify-content: center; */
    /* background-color: #efe6df; */
    /* padding-left: 13px; */
    align-items: stretch;
    flex-wrap: wrap;
}

.trans-container:not(:first-of-type) {
    padding-top: 34px;
}

.trans-container.selected {
    /* align-items: flex-start; */
}

.view-state-btns {
    /* max-width: 100px; */
    display: flex;
    flex: 0 0 45%;
    justify-content: start;
    align-items: flex-end;
    padding: 13px 10px 0px 15px;
    flex-direction: column;
    margin-bottom: 0px;
    margin-top: 0px;
    background: #efe6df;
    /* display: none; */
}

.view-state-btns a {
    font-size: 16px;
    cursor: pointer;
}

.add-flex {
    display: flex;
}

.adjust-for-untranscribed-selected {
    margin: -140px 0px -117px auto;
}

.adjust-for-untranscribed {
    width: 322px;
    padding-right: 16px;
    margin: -47px -15px -117px auto;
}

.vController-btn {
    display: inline-block;
    height: auto;
    padding-top: 5px;
    cursor: pointer;
}

.vController-btn img {
    width: 30px;
}

.imageContainer-init {
    justify-content: flex-start;
}

.imageContainer-after {
    justify-content: flex-end;
}

.fullWidthBtn {
    /* margin-bottom: 21px; */
}

.trans-inner-text {
    max-width: 800px;
    margin: 0px auto;
}

.osdViewer {
    /* min-height: 1000px; */
    width: 100%;
    height: 100vh;
    background-color: #000;
    position: relative;
}

.blocks {}

.reference-block {
    margin-top: 40px;
}

#map {
    height: 400px;
    width: 75%;
}

.highlight {
    background-color: #d44d1136;
    font-weight: bold;
}

#loading {
    text-align: center;
    padding: 10px;
    display: none;
    height: 25vh;
    font-size: 1em;
    /* row-gap: 10px; */
    column-gap: 25px;
}

@media screen and (min-width: 800px) {
    th,
    td {
        border-bottom: 0px solid #ababab;
    }
}

@media (max-width: 768px) {
    .form-search {
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
    }
    #map {
        height: 50vh;
        margin-bottom: 21px;
    }
    /*.add-flex {
        display: none;
    }*/
    .readmore {
        max-width: 100%;
    }
    .description {
        display: inline-block;
        width: 93%;
        padding: 0px 10px;
    }
    li.item-containing-list .item-button-list .description {
        width: 100%;
        padding: 0px;
    }
    .liblogo {
        position: relative;
        float: left;
        width: 100%;
        margin: 21px 10px;
    }
    .liblogo img {
        width: 50%;
        float: left;
    }
    .lib-image-holder {
        float: left;
        width: 100%;
        margin-left: 0px;
    }
    .logo-lib {
        width: 50%;
        padding: 21px;
    }
    .wrapper-lib {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .description-lib {
        width: 100%;
    }
    #map {
        width: 100%;
    }
    .keywords-doc-title {
        margin-left: 10px;
    }
    #output {
        margin-left: 21px;
        margin-right: 21px;
    }
    #content {
        padding: 0 0 30px;
        overflow: hidden;
    }
    #content h2 {
        margin-left: 21px;
        margin-right: 21px;
    }
    dl {
        margin-left: 10px;
        margin-right: 21px;
    }
    .readmore-btn,
    .readless-btn {
        margin: 10px 10px;
    }
    .description-lib p {
        padding: 21px;
    }
    .map-wrapper h4 {
        padding-left: 21px;
    }
    #content h1 {
        padding: 0 10px;
    }
    .resource-list .resource-thumbnail {
        margin-left: 0px;
    }
    ul.resource-list .resource h4 {
        /* padding-right: 15px; */
    }
    body.item-set .metadata {
        width: 97%;
        padding-left: 11px;
    }
    .top-trans-left {
        padding: 13px 13px 13px;
    }
    .top-trans-right {
        display: none;
    }
    .lib-caption {
        padding-left: 21px;
    }
    h2 .title {
        font-size: 26px;
    }
}