#recent-items {
    display: grid;
    grid-gap: 4px;
    grid-template-columns: 100%;
    grid-auto-rows: min-content;
}

.recent-item-row {
    display: grid;
    grid-gap: 18px;
    grid-template-columns: 100px 1fr;
    grid-template-areas:
            "thumbnail item";
    margin-top: 8px;
    border-top: 1px solid #bababa;
}

.recent-item-identifier {
    text-align: left;
    font-weight: bold;
    color: #555;
}

.recent-item-identifier span {
    font-weight: normal;
}

.recent-item-thumbnail {
    grid-area: thumbnail;
    margin-top: 8px;
}

.recent-item-thumbnail img {
    width: 80px;
    border: 1px solid #ccc;
    padding: 3px;
}

.recent-item-title {
    color: #6088a5;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 16px;
}

.recent-item-add {
    float: right;
    margin-right: 40px;
}

.recent-item-remove {
    cursor: pointer;
}

#recent-items-clear-all {
    color: #C76941;
    cursor: pointer;
}

#recent-items-clear-all,
#recent-items-as-search-results {
    padding-left: 18px;
    font-weight: normal;
}

.recent-item-metadata {
    padding-left: 12px;
    padding-bottom: 2px;
    display:inline-block;
    vertical-align: top;
}

.recent-item-metadata,
.recent-item-metadata span {
    font-size: 12px;
}

.recent-item-metadata span {
    font-style: italic;
    color: #888;
    padding-right: 4px;
}

span.recent-item-type-emphasis {
    color: green;
    font-weight:bold;
    font-style: normal;
    font-size: 14px;
}

#recent-relationships-section {
    grid-area: relationship;
}

.recent-relationships-title,
.recent-items-title {
    font-size:14px;
    font-weight: bold;
}

.recent-items-message {
    margin-top: 12px;
}

a.recent-item-flag img {
    cursor: pointer;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 0.7;
    background-color: transparent;
    width: 16px;
}

a.recent-item-flag img:hover {
    opacity: 1.0;
}

.relationships-editor-metadata .element-name {
    font-weight: bold;
    margin-left: 16px;
}

.recent-relationship {
    cursor: pointer;
    margin-top: 8px;
    padding: 4px 4px 6px 6px;
    font-size: 13px;
    background-color: #e8e8e8;
    color: #666666;
    border-radius: 3px;
}

.recent-item-identifier {
    margin-top: 6px;
}

.recent-identifier:hover,
.recent-relationship:hover {
    background-color: #dbdbdb;
}

.admin-links a,
.admin-links a:visited {
    color: #104485 !important;
}

.admin-links a:hover {
    color: #588caf !important;;
}

