@import url('https://fonts.googleapis.com/css?family=Lato|Special+Elite|Averia+Serif+Libre');

body {
	padding: 0px;
	margin: 0px;
	background: white;
	font-family: 'Lato', serif;
	font-weight: normal;
	font-size: 14px;
}

h1 {
	text-align: center;
	font-family: 'Averia Serif Libre', serif;
	font-size: 34px;
	font-weight: bold;
	color: #BBB;
}

h2 {
	text-align: center;
	font-family: 'Special Elite', serif;
	font-size: 26px;
	font-weight: bold;
	color: #48B;
}

div.basic_stats, div.histogram_others {
	text-align: center;
	padding-bottom: 20px;
}

span.value {
	font-weight: bold;
}

a:link,
a:visited,
a:hover,
a:active {
	color: #48B;
	text-decoration: none;
}

a.fav {
	background-image: url("rating-star.png");
	background-repeat: no-repeat;
	padding-left: 20px;
}

table,
dl,
.heatmap {
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
}

.heatmap {
	display: block;
}

#footer {
	text-align: center;
	font-weight: normal;
	color: #999;
	font-size: 10px;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	text-decoration: none;
	font-weight: bold;
	color: #666;
}

.list tr:nth-child(odd) {
	background-color: #e2eaf1;
}

.list tr:nth-child(even) {
	background-color: #f0f8ff;
}

.list th {
	background-color: #fff;
	font-weight: bold;
}

.list td {
	color: #000;
	padding-left: 10px;
	padding-right: 10px;
}

.dt td {
	background: #DDD;
	color: #000;
	text-align: center;
}

.dt th {
	font-weight: bold;
	width: 4em;
}

td.dt_zero {
	color: #fff;
}


/* histogram */

.bar {
	font-size: .8em;
	line-height: 1;
	text-transform: uppercase;
	width: 500px;
	height: 40px;
	margin-left: 200px;
	background: repeating-linear-gradient( to right, #ddd, #ddd 1px, #fff 1px, #fff 10%);
}

.bar:after {
	content: "";
	display: block;
	background-color: #48B;
	background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5));
	width: var(--percent);
	margin-bottom: 10px;
	height: 90%;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.text {
	/*  font-weight: 600;*/
	display: flex;
	align-items: center;
	height: 40px;
	width: 200px;
	background-color: white;
	position: absolute;
	left: 0;
	justify-content: flex-end;
}

dl {
	display: flex;
	background-color: white;
	flex-direction: column;
	width: 100%;
	max-width: 700px;
	position: relative;
	padding: 20px;
	padding-top: 0;
}


/* collapsible */

.toggle {
	display: none;
}

.lbl-toggle {
	display: inline;
	font-weight: bold;
	font-family: 'Lato', serif;
	color: #48B;
	cursor: pointer;
	border-radius: 7px;
	transition: all 0.25s ease-out;
	padding-left: 1em;
	margin-left: auto;
	margin-right: auto;
}

.lbl-toggle:hover {
	color: #A02020;
}

.lbl-toggle::before {
	content: ' ';
	display: inline-block;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid currentColor;
	vertical-align: middle;
	margin-right: .7rem;
	transform: translateY(-2px);
	transition: transform .2s ease-out;
}

.toggle:checked+.lbl-toggle::before {
	transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
	font-size: 12px;
	max-height: 0px;
	overflow: hidden;
/* 	transition: max-height .25s ease-in-out; */
}

.toggle:checked+.lbl-toggle+.collapsible-content {
	max-height: 10000em;
	width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.collapsible-content .content-inner {
	background: rgba(240, 245, 255, 1);
	padding: .5rem 1rem;
}


/* index-related rules */

.row {
	display: flex;
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.column {
	flex: 50%;
}

.center {
	text-align: center;
}

input[type=number] {
	width: 60px;
}
