body {
	line-height: 1.3em;
	text-align: center;
	margin: 0px;
	padding: 15px 0px 0px 0px;
}

div, table {
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-size: 12px;
}

img {
	border: 0px;
}

div#main {
	background-color: #ffffff;
	padding: 10px;
	width: 620px;
	text-align: justify;
	margin: auto;
	border: 1px solid #555555;
} html>body div#main {
	width: 600px;
}

div#header {
	width: 600px;
	min-height: 80px;
	margin: auto;
	padding-bottom: 4px;
	/*border-bottom: 2px solid #5f0f72;*/
}

#userbox {
	font-size: 11px;
	color: #5f0f72;
	text-align: right;
	line-height: 1.5em;
	float: right;
	min-height: 80px;
} #userbox a, #userbox a:visited, #userbox a:hover {
	color: #5f0f72;
} #userbox table td {
	min-height: 80px;
	vertical-align: middle;
} #userbox input.text {
	width: 70px;
	border: 1px solid #5f0f72;
	padding: 0px;
	font-size: 10px;
	margin-bottom: 2px;
	text-align: center;
} #userbox input#submit {
	font-size: 10px;
	font-weight: bold;
	background: #5f0f72;
	padding: 0px 0px 2px 0px;
	border: 0px;
	color: #ffffff;
} #userbox input#remember {
	margin: 2px 2px 0px 0px;
} #userbox span.error {
	font-size: 80%;
}

div#footer {
	width: 600px;
	text-align: center;
	border: 0px;
	border-top: 1px;
	border-color: #888888;
	border-style: dotted;
	padding: 0px;
	padding-top: 10px;
}

#gotofooter {
	width: 620px;
	margin: 0 auto;
	text-align: center;
	padding: 10px 0;
	text-shadow: #fff 0px 0px 4px;
} #gotofooter a, #gotofooter a:visited {
	font-family: garamond, times new romans;
	font-weight: bold;
	font-size: 28px;
	color: #111;
} #gotofooter a:hover {
	color: #333;
}

/*************************/
/** BEGIN DROPDOWN MENU **/
/*************************/

ul.dropdown, ul.dropdown li, ul.dropdown ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: bold;
}

ul.dropdown { /* places position, stack order */
	position: relative;
	z-index: 597;
	float: left;
	width: 600px;
	font: normal 12px;
	border-bottom: 3px solid #800149;
	margin-bottom: 8px;
}

ul.dropdown li {
	float: left;
	line-height: 1.3em;
	vertical-align: middle;
	padding: 0px;
	background: #fff;
	color: #be0000;
} ul.dropdown li.hover, ul.dropdown li:hover { /* places position, stack order */
	position: relative;
	z-index: 599;
	cursor: default;
} ul.dropdown li:hover > ul {
	visibility: visible;
} ul.dropdown li a {
	display: block;
	padding: 3px 12px;
}

ul.dropdown ul { /* hides the dropdowns */
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 598;
	width: 140px;
	background-color: #333;
	color: #be0000;
	font-size: 11px;
	border-bottom: 3px solid #800149;
}

ul.dropdown ul li {
	float: none;
	background-color: transparent;
	color: #000;
	filter: none;
}

ul.dropdown ul ul {
	top: 1px;
	left: 99%;
}

ul.dropdown a:link,	ul.dropdown a:visited { /* FIRST LEVEL... */
	color: #800149;
	background: #fff;
	text-decoration: none;
} ul.dropdown a:hover {
	color: #fff;
	text-decoration: none;
	background: #800149;
} ul.dropdown a:active {
	color: #fff;
}

ul.dropdown ul a:link, ul.dropdown ul a:visited { /* NON-FIRST LEVEL... */
	color: #800149;
	background: #fff;
} ul.dropdown ul a:hover {
	color: #fff;
	text-decoration: none;
	background: #800149;
} ul.dropdown ul a:active {
	color: #fff;
}

ul.dropdown *.dir {
	padding-right: 12px;
	background-image: none;
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

ul.dropdown li.dir {
	padding: 7px 20px 7px 14px;
}

ul.dropdown ul li.dir {
	padding-right: 15px;
}

ul.dropdown ul a {
	padding: 4px 5px 4px 14px;
	width: 121px; /* Especially for IE */
} ul.dropdown ul a:hover {
	background: #800149;
}

/* CSS 2.1 */
ul.dropdown li:hover > a.dir {
	background-color: #800149;
	color: #fff;
} ul.dropdown ul li:hover > a.dir {
	background-color: #800149;
	color: #fff;
}

/***********************/
/** END DROPDOWN MENU **/
/***********************/

div.copy {
	text-align: center;
	font-size: 9px;
	width: 100%;
}

.floatR {
	float: right;
	margin: 5px;
	margin-right: 0px;
} .floatL {
	float: left;
	margin: 5px;
	margin-left: 0px;
}

h1 {
	font-size: 160%;
	border: 0px;
	padding: 1px 0 6px 0;
	border-bottom: 1px;
	border-color: #888888;
	border-style: dotted;
} h2 {
	font-size: 125%;
}

.small {
	font-size: 75%;
	line-height: 1.2em;
} .ind {
	margin-left: 20px;
	margin-right: 20px;
}

a:link, a:visited {
	color: #800149;
	text-decoration: none;
} a:hover {
	text-decoration: underline;
}

.text {
	font-size: 12px;
	width: 180px;
	padding: 4px;
	background-color: #fafafa;
	border: 1px solid #0092a3;
} .text:focus {
	background-color: #fefefe;
} select.text {
	width: 190px;
} .message {
	background-color: #fafafa;
	border: 1px solid #0092a3;
	padding: 6px;
	width: 468px;
	font-size: 12px;
	line-height: 1.5em;
} .message:focus {
	background-color: #fefefe;
} input.submit {	
	color: #ffffff;
	background-color: #0092a3;
	border: 0px;
	padding: 4px 6px;
	font-weight: bold;
	margin: 3px;
}

div.center {
	width: 100%;
	text-align: center;
}

div#quiz {
	margin: 0px;
	margin-top: 15px;
	margin-bottom: 15px;
	width: 600px;
	text-align: center;
}

.score {font-size: 90%;	font-weight: bold;}
.HiraTAG {color: #ff7200;}
.KataTAG {color: #267d00;}
.KWtag {color: #0500c6;}
.KVtag {color: #be0000;}

span.informant {
	font-size: 150%;
	font-weight: bold; 
}

span#correct {color: #28ab00;}
span#incorrect {color: #c00000;}

div#ad {
	text-align: center;
	width: 468px;
	margin: 0 auto;
}

form {
	display: inline;
}

#wordstable {
	font-size: 11px;
	border: 0px;
	width: 100%;
	line-height: 1.0em;
} #wordstable td {
	background-color: #ffe9e4;
	text-align: center;
	padding: 1px;
} #wordstable th {
	background-color: #ffd1c7;
	text-align: center;	
	padding: 1px;
} #wordstable .desc {
	width: 200px;
} #wordstable .buttons {
	background-color: #ffffff;
	width: 26px;
} #wordstable .kana {
	width: 60px;
} #wordstable input, #wordstable select {
	width: 100%;
	font-size: 11px;
	text-align: center;
	border: 0px solid #ff886e;
	background-color: #ffe9e4;
} #wordstable input:focus {
	background-color: #ffffff;
}

#verbstable {
	font-size: 12px;
	border: 0px;
	width: 100%;
	line-height: 1.1em;
} #verbstable td {
	background-color: #e9ffe9;
	text-align: center;
} #verbstable th {
	background-color: #c7ffc7;
	text-align: center;	
} #verbstable .desc {
	width: 250px;
} #verbstable .shrink {
	width: 80px;
} #verbstable .buttons {
	background-color: #ffffff;
	width: 26px;
} #verbstable input, #verbstable select {
	width: 100%;
	font-size: 12px;
	text-align: center;
	border: 0px solid #e4ffe4;
	background-color: #e9ffe9;
} #verbstable input:focus {
	background-color: #ffffff;
}

select#editor, select#editor option {
	font-size: 10px;
} textarea#editor {
	padding: 4px;
	width: 100%;
	height: 400px;
}

.error {
	color: #dd0000;
}

div#register {
	width: 100%;
	text-align: left;
} div.register2 {
	text-align: right;
	width: 250px;
}

span.checkbox {
	width: 10px;
	height: 10px;
	padding: 0 5px 0 0;
	background: url(images/buttons/smallcheck.png) no-repeat;
} span.radio {
	width: 19px;
	height: 25px;
	padding: 0 5px 0 0;
	background: url(radio.gif) no-repeat;
	display: block;
	clear: left;
	float: left;
} span.select {
	position: absolute;
	width: 158px; /* With the padding included, the width is 190 pixels: the actual width of the image. */
	height: 21px;
	padding: 0 24px 0 8px;
	color: #fff;
	font: 12px/21px arial,sans-serif;
	background: url(select.gif) no-repeat;
	overflow: hidden;
}

ul#setmenu {
	padding: 0px 0;
	margin: 0px;
	list-style-type: none;
	text-align: left;
	line-height: 20px;
}

ul#setmenu li {
	display: inline;
	margin: 0;
}

ul#setmenu li a, ul#setmenu li a:visited {
	text-decoration: none;
	position: relative;
	z-index: 1;
	padding: 3px 7px;
	margin-right: 2px;
	color: #006975;
	background: #ffffff;
	border-bottom: 1px solid #0092a3;
}

ul#setmenu li a:hover {
	text-decoration: none;
	background: #eaf3f4;
	color: #006975;
}

ul#setmenu li a.selected {
	background: #e3eeef;
	border: 1px solid #0092a3;
	border-bottom: 1px solid #e3eeef;
}

div#settings {
	width: 598px;
	padding: 10px;
	background: #e3eeef;
	border: 1px solid #0092a3;
} html>body div#settings {
	width: 578px;
}

table.kana {
	border: 0px;
	line-height: 1.0em;
} table.kana td {
	background: #ffffff;
	text-align: center;
	padding: 4px;
	border: 2px solid #e3eeef;
	border-top: 1px solid #53b8c4;
	border-left: 1px solid #53b8c4;
	font-size: 15px;
} table.kana th {
	background: #e3eeef;
	text-align: center;
	padding: 4px;
	border: 1px solid #e3eeef;
} table.kana td.transp {
	background: #e3eeef;
	border-top: 1px solid #e3eeef;
	border-left: 1px solid #e3eeef;
}

fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

table#bgswrap {
	border: 0px;
} table#bgswrap td {
	text-align: center;
	padding: 3px;
} table#bgswrap div {
	width: 60px;
	height: 60px;
	border: 5px solid #9dcdd1;
}

table.userinfo td {
	padding: 3px;
	vertical-align: middle;
	line-height: 1.2em;
} table.userinfo td.tag {
	font-weight: bold;
	text-align: right;
	width: 140px;
}

table.moremusic td {
	padding: 3px 5px 3px 5px;
	vertical-align: top;
	line-height: 1.2em;
} table.moremusic td.artist {
	font-weight: bold;
	text-align: right;
	width: 140px;
}

table.users {
	font-size: 11px;
	border: 0px;
	width: 100%;
	line-height: 1.1em;
} table.users td {
	background-color: #f4e6f7;
	text-align: left;
	padding: 2px;
} table.users th {
	background-color: #e4c4ec;
	text-align: center;	
	padding: 2px;
}

table.contact {
	width: 100%;
} table.contact td {
	padding: 3px;
	vertical-align: middle;
	line-height: 1.2em;
} table.contact td.tag {
	text-align: right;
	width: 120px;
	font-weight: bold;
}

span#kana {
	font-size: 60px;
	line-height: 60px;
} span#word {
	font-size: 25px;
	line-height: 25px;
}

div#global img {
	margin: 8px 0px -8px 0px;
}

div#badurl {
	margin: 0px auto;
	margin-top: 40px;
	border: 1px solid #999;
	background: #fafafa;
	width: 400px;
	padding: 15px;
	text-align: center;
	font-size: 20px;
	line-height: 1.6em;
	font-family: georgia;
}

#quizselect {
	width: 100%;
	text-align: center;
} #quizselect img {
	padding: 0px 5px;
}