html, body {
  height: 100%;
}

body {
  background-color: #121713;
  color: #f4d14d;
  margin: 10px;
  font-family: serif;
  display: flex;
  flex-direction: column;
}

.subheading {
  text-align: center;
}

.content {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  text-align: center;
}

h1, h2 {
  text-align: center;
}

hr {
  border: 1px dashed #c4951c;
}

p {
  font-size: 13pt;
}

a {
  color: #55aa1f;
}

a:hover {
  color: #ea921d;
}

a:active {
  color: #df3f19;
}

.bought {
  opacity: 0.35;
}

.bought:hover {
  opacity: 1;
}

.starlist {
  text-align: left;
}

.starlist li {
	list-style:none;
}

.starlist li:before {
  content: "★";
  margin: 0 1ch;
}

@media only screen and (min-width: 2000px) {
  body {
    margin: 0 15%;
  }
  .content {
    padding: 10px;
    border-left: 1px dashed #c4951c;
    border-right: 1px dashed #c4951c;
  }
}

@media only screen and (min-width: 600px) {
  .linklist {
  	float:left;
  	width:100%;
  	margin-bottom:15px;
  	position:relative;
  }
  .linklist ul {
  	clear:left;
  	float:right;
  	list-style:none;
  	margin:10px 0 0 0;
  	padding:0;
  	position:relative;
  	right:50%;
  	text-align:center;
  }
  .linklist ul li {
  	display:block;
  	float:left;
  	list-style:none;
  	margin:0;
  	padding:0;
  	position:relative;
  	left:50%;
  }
  .linklist ul li a {
  	margin:0 0 0 1px;
  	text-decoration:none;
  	line-height:1.3em;
  }

  .linklist li:not(:first-child):before {
    content: "🝰";
    margin: 0 1ch;
  }
}

.bibtable table {
  width: 100%;
  border-collapse: collapse;
}

.bibtable th, .bibtable td {
  border: 2px solid #f4d14d;
  padding: 5px;
  border-style: outset;
}

.bibtable img {
  max-width: 300px;
  max-height: 300px;
}

@media only screen and (max-width: 600px) {
  .bibtable {
    overflow-y: scroll;
  }
  .bibtable img {
    max-width: 150px;
    max-height: 150px;
  }
  
  .linklist {
    text-align: left;
  }
  
  .linklist ul {
  	padding:0;
  }
  .linklist ul li {
  	list-style:none;
  }
  .linklist ul li a {
  	margin:0 0 0 1px;
  	text-decoration:none;
  	line-height:1.3em;
  }

  .linklist li:before {
    content: "⇒";
    margin: 0 1ch;
  }
}