/* style the search and classifier results */
/* mainly the document rows here */

#resultsTable {
	line-height: 130%;
	margin: 0;
	padding: 0;
	/* border: 1px solid #f00; */
}

#resultsTable ul {
	margin: 0 0 0 20px;
	padding: 0;
}

#resultsTable li {
	list-style: none;
	margin: 0 0 .2em 0;
	/* border: 1px solid #00f; */
}

#resultsTable li a {
	padding: 3px 3px 3px 3px;
	background-repeat: no-repeat;
	background-position: 0 .1em;
}


/* #resultsTable .document a { background-image: url('../images/book.png');} */
#resultsTable .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
#resultsTable .shelf>a { background-image: url('../images/bookshelf.png'); }



/* this holds the document icon plus the document title, plus any other metadata */
.documentContainer {
    valign: top;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.documentContainer a {
      display: inline-flex;
      align-items: flex-start;
      color: inherit;
}

.documentContainer a img {
      flex-shrink: 0;
      margin-right: 12px;
      margin-top: 2px;
}

/* page or book icons */
.documentIcon {
      margin: 0 5px;
}

/* source icon (pdf, word etc) or thumb icon (for images) */
.documentSourceIcon {
      min-width: 35px;
      text-align: center;
      vertical-align: top;
}

.documentSourceIcon img {
      max-width: 35px;
      height: auto;
}

/* favourite icon - star */
.documentFavouriteIcon {
    vertical-align: top;
}

/* the main part of the result */
.documentTitle {  
      display: block;
      line-height: 1.5;
}

/* secondary metadata */
.documentExtra {
    font-size: 0.9rem;
}
/* search result snippets for solr collections */
.documentSnippets {
    flex-basis: 100%; /* puts them to a new line */
}

.snippetList li {
    font-size:0.7em;
}

/* the matching search term */
.snippetText{
    background-color: yellow;
    font-style:italic;
}

