html, body {
	font-family: sans-serif;
	font-size: 15px;
	margin: 0;
	overflow: hidden;
}

h2 {
	border-top: 1px solid #999;
	font-size: 0.9vw;
	font-weight: bold;
	margin: 0;
	text-align: left;
}
h3, h4 {
	border-top: 1px solid #999;
	color: #000;
	font-weight: normal;
	margin: 0;
	overflow: hidden;
	text-align: left;
	white-space: nowrap;
}
h3 { font-size: 0.7vw; padding: 1px 0.5em; }
h4 { font-size: 0.6vw; padding: 0 0.5em; }
h3 span, h4 span {
	display: inline-block;
	float: right;
	margin-left: 3em;
}


#pass {
	border-right: 2px ridge #666;
	cursor: default;
	display: inline-block;
	font-size: 0.9vw;
	font-weight: 200;
	height: calc(100vh - 16px);
	overflow-y: auto;
	padding: 8px;
	width: 16vw;
}

#pass a {
	color: #000;
	text-decoration: none;
}
#pass a:hover > p { background-color: #ccf; }
#pass a:hover > p > span { background-color: #99f; }
#pass p {
	border-radius: 0.25em;
	color: #000;
	margin: 0;
	padding: 1px 0 2px 8px;
}
#pass p.dt {
	border-top: 1px solid #999;
	padding-left: 0;
}
#pass p span {
	background-color: #66f;
	border-radius: 0.5em;
	color: #fff;
	padding: 0 5px;
	margin-right: 0.75em;
}
#pass p.bad {color: #666;}
#pass p.bad span {
	background-color: #eee;
	color: #999;
}
#pass p.i { color: #000; }
#pass p.i span { background-color: #aaa; }
#pass p.next {
	background-color: #cff;
	border-radius: 0.25em;
}
#pass p.next span {background-color: #abc;}
#pass p.rec {
	animation: passing 1s infinite;
	background-color: #fcc;
	border-radius: 0.25em;
}
#pass p.rec span {background-color: #900;}
#pass p.make span {background-color: #fc0;}
@-webkit-keyframes passing {
	0%, 49% { background-color: #fcc; }
	50%, 100% { background-color: #fee; }
}
#pass p.make {
	animation: making 1s infinite;
	background-color: #bfb;
	border-radius: 0.25em;
}
@-webkit-keyframes making {
	0%, 49% { background-color: #ff8; }
	50%, 100% { background-color: #ffd; }
}
#pass p.split {
	border-top: 1px dashed #ddd;
	margin-top: 2px;
	padding-top: 4px;
}


#pics {
	cursor: default;
	display: inline-block;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	right: 0;
	top: 0;
	width: calc(84vw - 16px);
}

.pic {
	display: block;
	margin: 0.5vw;
	vertical-align: top;
	text-align: center;
}

.comp h3, .comp h4 {
	border: none;
	border-radius: 0.5em;
	background-color: #ccc;
	margin-bottom: 3px;
}

.pic > div {
	display: table-cell;
	padding: 0 0.4vw;
	vertical-align: top;
}
.pic > div > div {
	border: 1px solid #999;
	border-radius: 4px;
}
.pic.comp img {
	max-height: 30vh;
	max-width: 100%;
}
.pic img {
	max-height: 30vh;
	max-width: 100%;
}
.pic.sm img { max-height: 20vh; }
