.tab-content-wrapper h5 {
    margin-bottom: 10px;
}
.marker-cluster div span {
    font-weight: bold;
    font-family: "Poppins";
}
.era-modal {
    font-size: 0.9rem;
}
.motif-grid {
    display: grid; 
    grid-template-columns: repeat(8, 1fr); 
    grid-gap: 10px;
}
@media only screen and (max-width: 767px) {
    .motif-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media only screen and (max-width: 480px) {
    .motif-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 0;
    }
}
.motif-input-wrapper {
    display: flex; 
    flex-direction: column; 
    padding: 7.5px 0;
}
.motif-input-wrapper:hover {
    cursor: pointer;
}
.motif-grid .motif-input-wrapper .motif-input-img {
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);                
    transition: box-shadow 0.3s ease-in-out;
    margin: 0 auto 7.5px auto; 
    width: 75%;
    border: solid 1px #d6d6d6;
}
@media only screen and (max-width: 480px) {
    .motif-grid .motif-input-wrapper .motif-input-img {
        width: 50%;
    }
}
.motif-grid .motif-input-wrapper .motif-input-img:hover {
    box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.3);
}
.m-archive-tab-navigation {
    margin-top: 20px;
}
#assessment-table-wrapper {
    display: flex;
    column-gap: 25px;
}
#assessment-table-wrapper h5 {
    margin-top: 10px;
}
#assessment-report .vertical-headings.narrow-headings th {
    height: auto;
    padding: 5px 0;
}
@media only screen and (max-width: 767px) {
    #assessment-table-wrapper {
        display: block;
    }

    .m-archive-speccoll table.horizontal-headings th {
        min-width: 150px;
    }
}
@media only screen and (max-width: 480px) {
    .m-archive-speccoll table.horizontal-headings th {
        min-width: 100px;
    }
}
.m-archive.m-archive-speccoll img.motif {
    margin: 0 2.5px 2.5px 0; 
    border: solid 1px #d6d6d6;
    width: auto; 
}
#nadrap-motifs img.motif {
    max-height: 40px;
}
.m-archive.m-archive-speccoll .results-motif {          
    border: solid 1px #d6d6d6;
    margin: 5px 15px 5px 0; 
}
@media only screen and (max-width: 480px) {
    .results-motif {
        width: 40px;
    }
}
#show-assessment-report:hover {
    cursor: pointer;
}
.tile-grid {
    display: grid;
    grid-gap: 5px;
}
.image-tile-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media only screen and (max-width: 767px) {
    .image-tile-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media only screen and (max-width: 480px) {
    .image-tile-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.icon-tile-grid {
    grid-template-columns: 1fr 1fr 1fr;
}
@media only screen and (max-width: 767px) {
    .icon-tile-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.pano-tile-grid .full-width-wrapper {
    width: 100%;
    min-height: auto;
}
.preview {
    opacity: 1;
    transition: 1s ease;
}
.preview:hover {
    cursor: zoom-in;
    opacity: 0.5;
}
.image-tile-grid .grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 200px;
    border: solid 1px #d8d8d8;
}
.icon-div {
    display: flex;
    flex-direction: column;
    border: solid 1px #eee;
    padding: 5px;
    text-align: center;
}
.icon-tile-grid .icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px auto;
}
@media only screen and (max-width: 767px) {
    .icon-tile-grid .icon {
        width: 25px;
        height: 25px;
    }
}
.show-more-images {
    grid-column: 1/-1;
    text-align: right;
    font-size: 0.9rem;
}
.media-archive-type {
    background-color: #eee;
    padding: 5px 10px;
}
h3.media-archive-type {
    font-size: 1.1rem;
}
.media-type-heading-wrapper {
    position: relative;
}
.media-type-heading-iiif-link {
    position: absolute; 
    bottom: 0; 
    right: 0; 
    font-size: 0.95rem;
}
@media only screen and (max-width: 767px) {
    .media-type-heading-wrapper {
        margin-bottom: 5px;
    }
    .media-type-heading-iiif-link {
        position: relative; 

    }
}
.iiif-logo {
    width: 20px; 
    position: relative; 
    bottom: 2px; 
    margin-left:2.5px;
}
.iiif-logo-contrast {
    width: 27.5px;
    padding: 2.5px;
    background-color: #eee;
    border-radius: 8%;
}
.fa-clipboard {
    cursor: pointer;
}
#order-input {
    width: 55%;
}
.back-to-top {
    text-align: right;
}
#help h5 {
    font-size: 1rem;
}
.era_dialog {
    position: fixed;
    z-index: 16;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .4);
    max-width: 100%;
    max-height: 100%;
}
