/* Taken from Dwarven Search v1 */

body {
    background-color: white;
    color: #1f2d3d;
}

a,
a.item-set-link {
    color: #1551b5;
}

a:hover,
a.item-set-link:hover {
    color: #2173fc;
}

a:visited,
a.item-set-link:visited {
    color: #1551b5;
}

a.item-piece-link {
    color: #b5152f;
}

a.item-piece-link:hover {
    color: #f92447;
}

a.item-piece-link:visited {
    color: #b5152f;
}

h3,h4 {
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
}

#result-hint-list h4 {
    margin: 18pt 0pt;
}

a.item-title {
    font-weight:bold;
    text-decoration: none;
    line-height: 1.2;
    font-size: 18px;
}

a.sub-item-title:hover,
a.item-title:hover {
    text-decoration: underline;
}

.sub-item h4, .sub-item h4 a {
    font-size: 22px;
    line-height: 1.2;
    font-weight: bold;
}
a.sub-item-title {
    font-weight: normal;
    text-decoration: none;
}

.img-container {
    /* width: 300px; */
    height: 300px;
    background-color: black;
}

img.item-photo {
    /* margin-bottom: 10pt; */
    /* border-radius: 4pt; */
    display: block;
    margin: 0 auto 10pt;
}

.search-btn {
    color: white;
    background-color: black;
}

.search-btn:hover {
    color: white;
    background-color: rgb(24, 23, 23);
}

.form-check-input {
    color: gray;
    border-color: gray;
    background-color: white;
}

.form-check-input:checked {
    color: black;
    border-color: black;
    background-color: black;
}

.modal-header {
    border-bottom: 1px solid #7c0d20;
}

#loading {
    left: 50%;
    top: 50%;
    position: fixed;
}

h1.bb_title {
    margin-block-start: 14px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 26pt;
}

h1.bb_title a {
    text-decoration: none;
    color: black;
}

h1.bb_title a:hover {
    text-decoration: none;
}

i.bb_title {
    font-size: 11pt;
}

.search-keyword:focus {
    outline: none;
}

.search-btn:focus {
    outline: none;
}

.search-by-keyword {
    position: relative;
    display: inline-block;
}

.search-dropdown-content {
    /* width: 600px;
    z-index: 9999;
    position: absolute;
    left: 50% - calc(300px); */
    background-color: white;
    color: black;
    border: 1px solid gray;
    margin: 4pt 0pt 0pt 0pt;
    border-radius: 4pt;
}

.search-dropdown-content a {
    padding: 4px 8px;
    text-decoration: none;
    display: block;
    font-size: 10pt;
    color: #1551b5;
}

.search-dropdown-content a:hover {
    color: #2173fc;
    background-color: #eeeeee;
}

.search-dropdown-content a.a_piece {
    color: #b5152f;
}

.search-dropdown-content a.a_piece:hover {
    color: #f92447;
}

.display-all-btn {
    margin: 10pt;
    background-color: black;
    color: white;
    border: 1px solid black;
    font-weight: bold;
}

.toggle-all-img-btn {
    float: right;
}

ul.desc_list {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}
ul.desc_list li { display: inline-block; font-size: 16px }
ul.desc_list li:before { content: "/ " }
ul.desc_list li:first-child::before { content:''; }

.main-footer {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    color: #869099;
    padding: 1rem;
}

a.a_link {
    color: #1551B5;
}

a.a_link:hover {
    color: #007bff;
}

.bg-dwarven-red {
    /* color: white;
    background-color: #B5152F; */
    color: black;
    background-color: white;
}

.img-fluid, .img-thumbnail {
    max-width: 100%;
    height: auto;
}

.img-container {
    height: auto;
    background-color: black;
}

@media (min-width:1200px) {
    .img-container {
        height: 320px;
    }
}