.chart {
	width:50%;
	height:100%;
	min-width: 400px;
	position: relative;
	margin: auto;
}

.affection {
	min-height: 300px;
	width: 30%;
}

.alternative {
	min-height: 200px;
	min-width 200px;
	width: 30%;
}

.maintable {
	width: 100%;
	min-width: 800px;
}

.subtable {
	width: 100%;
	min-width: 350px;
}

.dark {
	background-color: #aaaaaa;
}

table:{
	border-collapse: collapse;
}

td {
	min-width: 200px;
	text-align: right;
}

td:first-child {
	border-right: 24px solid white;
}

td:last-child {
	border-left: 24px solid white;
}

.light td{
	border: 0px;
}
.dark td{
	border: 0px;
}

td .name{
	min-width: 500px;
	overflow: hidden;
	text-align: center;
}

.subchart {
	display: inline-block;
	width: 48%;
	min-width: 300px;
	min-height: 500px;
	position: relative;
	margin: auto;
}

.right {
	float: right;
	padding: 0px 20px 0px 20px;
	height: auto;
}

.button {
	cursor: pointer;
	padding: 4pt 10pt;
	background: #dddddd;
	border: 1px solid #b0b0b0;
	text-shadow: 0 1px 0 #fff;
	border-radius: 4pt;
	color: #222;
	min-width: 5px;
}

.button_group {
	padding-top: 20px;
	margin: auto;
	text-align: center;
	max-width: 100%;
}

.button:hover {
	background: #ededed;
}

.button-pressed,
.button-pressed:hover {
	border: 1px solid #3276CB;
	background: #509EFF;
	text-shadow: 0 -1px 0 #2163B6;
	color: white;
}

.hbutton:hover {
	background-color: #A1317D;
}

.hbutton {
	background-color: #A96998;
	overflow: auto;
}

.nav {
	width: 100%;
	height: 40px;
	background-color: #333333;
	text-align: center;
	text-align: center;
	padding: 15px 0px 0px 0px;
}

.nav-link, .nav-link-sel {
	height: 20px;
	background-color: #FFD0FF;
	padding: 5px;
	margin-left: 5px;
	margin-right: 5px;
	font-weight: bold;
}

.nav-link-sel {
	background-color: #A680A8;
}

.hidebutton {
	margin-top: 20px;
	margin-bottom: 0px;
}
