html {
	height: 100%;
}

body {
	background-color: #fff;
	height: 100%;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	margin: 0;
	padding: 0;
}

h1 {
	text-align: center;
}

#pent, #pents, #info {
	padding: 10px;
	margin: 0 auto;
	max-width: 800px;
	background-color: #fff;
	border-radius: 5px;
	
	display: flex;
}

#pent > * {
	align-self: center;
}

#pent table {
	position: relative;
	width: 100%;
	table-layout: fixed;
	margin: 0;
	border-collapse: collapse;
	text-align: center;
}

#pent table td {
	position: relative;
	margin: 0;
	padding: 0;
	height: 17px;
	border: solid 1px black;
}

#pent table td:first-child {
	width: 3%;
	border-left: none;
	border-right: solid 4px black;
}

#pent table tr:last-child td {
	border-left: none;
	border-bottom: none;
	border-right: none;
	height: 0;
}

.p-marker {
	display: block;
	
	position: absolute;
	margin: -5px;
	left: 50%;
	top: -1px;
	
	width: 6px;
	height: 6px;
	border: solid 2px transparent;
	
	border-radius: 10px;
}

.p-marker.show {
	background-color: #f00;
	border-color: #f00;
}

.p-marker.show-b {
	border-color: #f00;
}

.p-marker:hover {
}

.p-marker > span {
	display: none;
	position: absolute;
	top: -16px;
	left: 8px;
	color: #999;
}

.p-marker.show > span, .p-marker.show-b > span {
	display: block;
}

.button {
	margin: 5px;
	padding: 5px;
	background-color: #ddd;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
	text-align: center;
}

.button.sel {
	background-color: #aaa;
}

.box {
	background-color: #ddd;
	border-radius: 5px;
	width: 100%;
	text-align: center;
	margin: 5px;
	padding: 5px;
}

#trans-down, #trans-up {
	width: 20px;
	height: 100px;
	line-height: 100px;
	font-weight: bold;
}

.desc {
	text-align: center;
	font-style: italic;
	margin-top: 3em;
}