/* everything */
body {
	background-color: #ffffcf;
	font-family: sans-serif;
	font-size: 18px;
	margin: auto;
	width: 95%;
	padding-bottom: 20px;
}
div.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
table,
th,
td {
	border: 1px solid gray;
	border-collapse: collapse;
	padding: 3px 5px 3px 5px;
}
tr:target {
    outline: 3px solid black;
    background-color: #FAFAA7;
}
button {
	padding: 5px 10px 5px 10px;
	font-size: 16px;
	box-shadow:
		rgba(50, 50, 93, 0.1) 0px 6px 12px -2px,
		rgba(0, 0, 0, 0.1) 0px 3px 7px -3px;
}
ul {
    list-style-position: inside;
}

/* main */
img.archive-link:hover {
	content: url("../content/site/wp-content/themes/comicpress/images/cmcbut2.png");
}
img.podcasts-link:hover {
	content: url("../content/site/wp-content/themes/comicpress/images/pcbut2.png");
}
img.community-link:hover {
	content: url("../content/site/wp-content/themes/comicpress/images/combut2.png");
}

/* lists */
div.title h1 {
	margin-bottom: 0px;
}
table.sortable {
	box-shadow:
		rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
		rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	text-wrap: balance;
}
table.sortable th.sortable {
	cursor: pointer;
}
table.podcast-list td:first-child,
table.podcast-list th:first-child,
table.comic-appearances-list td:first-child,
table.comic-appearances-list th:first-child{
	text-align: right;
}
table.comic-list td:nth-child(2),
table.comic-list th:nth-child(2) {
    text-align: right;
}
table.comic-list td:first-child {
    padding: 0;
    border: none;
}
div.icon {
    background-repeat: no-repeat;
    margin-left: auto
}
img.thumbnail {
    object-fit: contain;
    overflow: hidden;
    display: block;
    height: 100%;
}
div.grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
div.grid-cell {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 200px;
    border: 1px solid gray;
    padding: 5px;
    font-size: 22px;
}

/* content */
div.title {
	max-width: 500px;
	text-wrap: balance;
}
div.title h2 {
	margin-bottom: 0px;
}
div.title p.date, div.title p.links, div.title p.series {
	margin: 0px;
}
p.date, p.links, p.series {
	color: gray;
	font-size: 14px;
}
div.navigation {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 3px;
	padding: 10px;
}
div.button-group {
	display: flex;
	flex-direction: row;
	column-gap: 3px;
}

/* comic */
div.comic {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 3px;
	max-width: 1080px;
}
div.comic img,
div.comic video,
div.comic iframe {
	max-width: 100%;
	height: auto;
}
div.comic img {
	display: block;
}
div.comic audio {
    width: 100%;
}
div.comic video,
div.comic-shadow {
	box-shadow:
		rgba(50, 50, 93, 0.5) 0px 6px 12px 0px,
		rgba(0, 0, 0, 0.5) 0px 3px 7px 0px;
}
div.comic-image {
	position: relative;
	height: max-content;
}
div.comic-shadow {
	position: absolute;
	pointer-events: none;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
div.extra {
	text-wrap: balance;
}
p.hover {
	font-size: 16px;
	font-style: italic;
}
div.blog {
	display: flex;
	flex-direction: column;
}
div.blog img,
div.blog video,
div.blog iframe {
	max-width: min(100%, 720px);
	max-height: 720px;
}
div.blog p.date {
	margin-bottom: 0;
}
div.blog p:not(.date) {
	margin-top: 4px;
}

/* podcast */
div.podcast {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 3px;
}
div.podcast audio {
	width: 100%;
}
div.podcast img,
div.podcast video {
	width: 500px;
	max-width: 100%;
	box-shadow:
		rgba(50, 50, 93, 0.5) 0px 6px 12px 0px,
		rgba(0, 0, 0, 0.5) 0px 3px 7px 0px;
}
div.summary {
	text-wrap: balance;
}
div.chapters {
	display: flex;
	flex-direction: column;
	align-items: center;
}
div.chapters table td:first-child,
div.chapters table th:first-child {
	text-align: right;
}

/* character */
div.character {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 3px;
}
div.character img {
	max-width: 100%;
}

/* gallery */
div.gallery audio {
	width: 100%;
}
div.gallery img,
div.gallery video {
	width: 100%;
	max-width: 1440px;
	box-shadow:
		rgba(50, 50, 93, 0.5) 0px 6px 12px 0px,
		rgba(0, 0, 0, 0.5) 0px 3px 7px 0px;
}
