@charset "UTF-8";

/* general redesign */
body {
	background-color: white;
	margin: 1em;
}

a {
	background: none;
	/* color: #002bb8; */
	color: #505050;
	font-weight: bold;
	text-decoration: none;
}

a:visited {
	/* color: #5a3696; */
	color: #505050;
}

a:active {
	/* color: #faa700; */
	color: #505050;
}

a:hover {
	text-decoration: underline;
}

/* general design */

.caption {
	font-weight: bold;
	margin-bottom: 0.25em;
	text-align: center;
	width: auto;
}

/* general divs */

.header {
	background-color: rgb(173,216,230);
	border: 1px black dashed;
	font-size: 20px;
	font-weight: bold;
	padding: 1em;
	text-align: center;
}

.content {
	margin-bottom: 2em;
	margin-top: 2em;
	text-align: center;
}

.footer {
	border-bottom: 1px solid #fabd23;
	border-top: 1px solid #fabd23;
	padding: 1em;
	text-align: center;
	font-size: 15px;
}

/*
	in the current version there are a lot of &nsbp; elements. they are used to define the space between to name 漢字.
	This solution should be fixed, as it is dirty code which blows up the html.
 */

.nowrap 
{
	white-space: nowrap;
}

/* default table design */
.myTable{
	border: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	text-align: center;
	table-layout: auto;
}

/* general table design used in page */
.myTable th {
	background-color: rgb(173,216,230);
}

.myTable td, .myTable th {
	border: 1px solid black;
	padding: 0.25em;
}

/* design for japanese names in order to treat character width the same */
td.name {
	letter-spacing: 0.2em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	text-align: left;
	white-space: pre;
	word-spacing: 0.7em;
}

/* index scheme */

.index th
{
	background-color: white
}

.index tr.male td 
{
	background-color: rgb(153,153,204);
}


.index tr.female td 
{
	background-color: rgb(204,153,153);
}

.index tr td.empty {
	background-color: rgb(255,255,224);
	width: 6em;
}

.index tr td.result {
	width: 6em;
}

.index tr td.notExisting 
{
	background-color: rgb(180,180,180);
}