@charset "utf-8";
/* CSS Document */
/* PH */

body {
background-color: white;
color: black;
font-family: sans-serif;
font-size: 4vw;
line-height: 144%;
margin: 4.8vw;
padding: 0;
text-size-adjust: none;
}

a {
color: mediumblue;
text-decoration: underline;
}

h1 {
font-weight: bold;
font-size: 120%;
margin: 0;
padding: 0;
}

h2 {
font-weight: bold;
font-size: 100%;
margin: 0;
padding: 0;
}

h4 {
font-weight: normal;
font-size: 80%;
letter-spacing: 0.04vw;
margin: 0;
padding: 0;
text-transform: uppercase;
}

p {
margin: 0 0 4.8vw;
}

ol,
ul {
list-style-position: inside;
margin: 0;
padding: 0;
}

ol li ol {
list-style: none;
margin: 4.8vw;
}

img {
height: auto;
width: 100%;
}

nav {
margin: 4.8vw 0 0;
}

main {
align-items: flex-start;
border-bottom: 1px solid black;
border-top: 1px solid black;
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 9.6vw 0;
padding: 9.6vw 0;
}

main .b2 {
margin: 0 0 4.8vw 0;
width: 100%;
}

main .b3 {
flex: 1;
}

main .b4 {
width: 100%;
margin: 0 0 4.8vw 0;
}

#Filter .b4 {
background-color: white;
margin-top: -4.8vw;
padding-top: 4.8vw;
position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
}

#Filter input {
border: 1px solid black;
box-sizing: border-box;
font-size: 4vw;
padding: 3.2vw;
width: 100%;
}

#Filter .cat,
#Filter .sort {
cursor: pointer;
}

#Filter .sort.asc:after {
color: black;
content: " (▲)";
visibility: visible; 
}

#Filter .sort.desc:after {
color: black;
content: " (▼)";
visibility: visible; 
}

#Filter .sort:after {
color: lightgray;
content: " (▲)";
visibility: visible;
}

#Filter ul {
list-style: none;
margin-top: -1.2vw;
}

#Filter li {
border-bottom: 1px dotted black;
overflow: auto;
padding: 4.8vw 0;
}

#Filter li:last-child {
border-bottom: none;
}

#Filter li:hover {
background-color: ghostwhite;
}

#Filter li img {
display: none;
}

#Filter li .cat,
#Filter li .tag {
display: none;
}

#Filter li .year:before {
content: "(";
}

#Filter li .year:after {
content: ")";
}

#Filter li .title,
.title {
font-weight: bold;
text-decoration: underline;
}

#Filter li .book {
text-decoration: underline;
}

#Filter li .publisher {
font-style: italic;
}

#Filter li .title:after,
#Filter li .publisher:after,
#Filter li .country:after,
#Filter li .pages:after,
#Filter li .book:after {
content: ",";
}

#Filter li .notes {
clear: right;
display: block;
font-size: 80%;
line-height: 144%;
margin-top: 2.4vw;
}

#Filter li span:last-of-type:after {
content: none;
}

#Filter li details {
font-size: 80%;
width: 100%;
}

#Filter li details:first-of-type,
#Filter li details[open]:first-of-type {
margin-top: 2.4vw;
}

#Filter li details[open] {
margin-bottom: 2.4vw;
}

#Filter li details > summary {
cursor: pointer;
text-transform: uppercase;
}

.media {
align-items: center;
aspect-ratio: 16 / 9;
background-color: powderblue;
color: mediumblue;
display: flex;
font-size: 80%;
justify-content: center;
text-transform: uppercase;
width: 100%;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel {
background-color: powderblue;
color: #000;
}

/* TB */
@media only screen and (min-width: 768px) {

body {
font-size: 1.6vw;
margin: 2.4vw;
}

p {
margin: 0 0 2.4vw;
}

ol li ol {
margin: 1.2vw;
}

nav {
margin: 2.4vw 0 0;
}

main {
flex-direction: row;
margin: 2.4vw 0;
padding: 2.4vw 0;
}

main .b2 {
margin: 0 4.8% 0 0;
width: 47.6%;
}

main .b4 {
width: 21.4%;
margin: 0 4.8% 2.4vw 0;
}

main .b2:nth-child(2n), 
main .b4:nth-child(4n) {
margin-right: 0; 
}

#Filter .b4 {
margin-top: -2.4vw;
padding-top: 2.4vw;
}

#Filter input {
font-size: 1.6vw;
padding: 0.8vw;
}

#Filter ul {
margin-top: -1.2vw;
}

#Filter li {
padding: 1.2vw 0;
}

#Filter li img {
display: block;
float: left;
height: auto;
margin-right: 1.2vw;
width: 4.8vw;
}

#Filter li .notes {
margin-top: 1.2vw;
}

#Filter li details {
width: 80%;
}

#Filter li details:first-of-type,
#Filter li details[open]:first-of-type {
margin-top: 1.2vw;
}

#Filter li details[open] {
margin-bottom: 1.2vw;
}
}

/* LP */
@media only screen and (min-width: 1024px) {

body {
font-size: 1.12vw;
}

#Filter input {
font-size: 1.12vw;
}
}

/* DP */
@media only screen and (min-width: 1440px) {

body {
font-size: 0.8vw;
}

#Filter input {
font-size: 0.8vw;
}
}