@charset "UTF-8";

/* --- LETTER LISTING --- */
.letter {
	height: auto;
}

.letter > .k {
	float: left;
	width: 100px;
	font-size: 1.75em;
	height: 1.4em;
	line-height: 1.4em;
	background: #575e79 url(images/blue_grad.png) left bottom repeat-x;
	color: #fff;
	text-align: center;
	padding-top: 10px;
	margin-top: -10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 0px 2px 3px  #000;
	-moz-box-shadow: 0px 2px 3px #000;
	-webkit-box-shadow: 0px 2px 3px #000;
	
}

.letter .detail {
	font-size: .8em;
	color: #666;
	margin-left: 70px;
	margin-top: 20px;
	padding: 0 20px 3px 40px;
	background: #a4a4a4 url(images/note_bg.png) left top repeat-x;
	border-top: solid 1px #ddd;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.letter .detail div {
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.letter .ks,
.letter .font,
.letter .name {
	font-family: 'Times', serif;
	font-weight: bold;
	font-size: 1.25em;
	color: #000;
	letter-spacing: .1em;
}

.letter .ipa {
	color: #000;
	font-weight: normal;
	font-size: 1.55em;
}

/* --- IDEOGRAPH LISTING --- */
.character {
	height: auto;
	margin-bottom: 20px;
}

.character > .k {
	float: left;
	width: 100px;
	font-size: 1.75em;
	height: 1.4em;
	line-height: 1.4em;
	margin-top: -10px;
	background: #575e79 url(images/blue_grad.png) left bottom repeat-x;
	color: #fff;
	text-align: center;
	padding-top: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 0px 2px 3px  #000;
	-moz-box-shadow: 0px 2px 3px #000;
	-webkit-box-shadow: 0px 2px 3px #000;
}

.character .detail {
	font-size: .8em;
	color: #666;
	margin-left: 70px;
	margin-top: 20px;
	padding: 0 20px 3px 40px;
	background: #a4a4a4 url(images/note_bg.png) left top repeat-x;
	border-top: solid 1px #ddd;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.character .detail div {
	display: inline-block;
	zoom: 1;
	*display: inline;
}

.character .ks,
.character .font {
	font-family: 'Times', serif;
	font-weight: bold;
	font-size: 1.25em;
	color: #000;
	letter-spacing: .1em;
}

.character .ipa {
	color: #000;
	font-weight: normal;
	font-size: 1.55em;
}

.character .desc {
	font-weight: normal;
	color: #000;
}

.character .detail div:last-child {
	display: block;
	zoom: 1;
	margin-top: 5px;
}


/* --- TRANSLATION --- */
.translation {
	display: block;
	zoom: 1;
	padding: 5px 15px;
	background: #ddd;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #000;
	}
	
div.content_section .translation h1,
div.content_section .translation h2,
div.content_section .translation h3 {
	color: #000;
	text-shadow: 0 0 2px #000;
	-moz-text-shadow: 0 0 2px #000;
	-webkit-text-shadow: 0 0 2px #000;
	margin: 10px 0;
}

div.content_section .translation h4,
div.content_section .translation h5 {
	color: #575e79;
	text-shadow: 0 0 2px #575e79;
	-moz-text-shadow: 0 0 2px #575e79;
	-webkit-text-shadow: 0 0 2px #575e79;
	margin: -10px 0 10px;
}

div.content_section .translation h4:first-child,
div.content_section .translation h5:first-child {
	margin-top: 10px;
}

div.content_section .translation p {
	color: #000;
}

.translation .hr { color: #721919; text-shadow: 0px 0px 2px #FF2A2A; }
.translation .ho { color: #89480C; text-shadow: 0px 0px 2px #F68115; }
.translation .hy { color: #7D5F11; text-shadow: 0px 0px 2px #F2DF14; }
.translation .hg { color: #1F4117; text-shadow: 0px 0px 2px #49E424; }
.translation .hb { color: #173C8D; text-shadow: 0px 0px 2px #2292F6; }
.translation .hp { color: #412258; text-shadow: 0px 0px 2px #A551DC; }

.translation .togglers {
	font-size: .5em;
	font-weight: bold;
	letter-spacing: .2em;
	text-transform: uppercase;
	margin: 15px 0 10px;
}

.translation .togglers .toggle_en,
.translation .togglers .toggle_gl_full,
.translation .togglers .toggle_gl_pop {
	background: #aaa;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 2px 4px;
	margin: 0 1px;
	text-decoration: none;
	outline: none;
}

.translation .togglers .toggle_en:hover,
.translation .togglers .toggle_gl_full:hover,
.translation .togglers .toggle_gl_pop:hover,
.translation .togglers .toggle_en.open,
.translation .togglers .toggle_gl_full.open,
.translation .togglers .toggle_gl_pop.open {
	background: #7d2828;
	color: #fff;
}

.translation .tr_word {
	margin: 0;
	display: inline-block;
	zoom: 1;
	*display: inline;
	text-align: center;
	position: relative;
	width: auto;
}

.translation .tr_word .k {
	background-color: #ddd;
	margin: 0;
	font-size: 1.3em;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	border: solid 1px #ddd;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	width: auto;
}

.translation .tr_word .k.open {
	background-color: #fff;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	margin: 0 2px;
	border: solid 1px #aaa;
	border-bottom-color: #444;
}

.translation .tr_word .k.open.pop-up {
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: solid 1px #aaa;
	margin-top: 4px;
}

.translation .tr_word .k.open.over {
	background-color: #ede398;
}

.translation .tr_word .k.open .punct {
	color: #ccc;
}

.translation .tr_block .br {
	display: block;
	zoom: 1;
	margin: 0;
	padding: 0;
	border: 0;
	height: 0;
}

.translation .tr_block .br.open {
	border-bottom: solid 1px #fff;
	border-top: solid 1px #aaa;
	margin: 20px 0;
}

.translation .tr_word .k .spacer {
	display: inline;
}

.translation .tr_word .k.open .spacer {
	display: none;
}


.translation .tr_word .gl_hide {
	position: relative;
	top: auto;
	left: auto;
	margin: 0;
}

.translation .tr_word .gl_hide.pop-up {
	position: absolute;
	top: 100%;
	display: none;
	z-index: 1000;
	width: 200%;
}

.translation .tr_word .gl_hide .arrow {
	display: none;
}

.translation .tr_word .gl_hide.pop-up .arrow {
	display: block;
	zoom: 1;
	margin: 0;
	background: url(images/bubble_up_arrow.png) 12px bottom no-repeat;
	height: 10px;
}

.translation .tr_word .gl_hide .bubble {
	display: block;
	zoom: 1;
	background: #444;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	padding: 7px;
	margin: 0 2px 10px;
	color: #ddd;
}

.translation .tr_word .gl_hide.pop-up .bubble {
	display: table-cell;
	background: #444;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	box-shadow: 0px 3px 3px  #000;
	-moz-box-shadow: 0px 3px 3px #000;
	-webkit-box-shadow: 0px 3px 3px #000;
	padding: 7px;
	margin: 0;
	color: #ddd;
}

.translation .tr_word .gl_hide .bubble span {
	color: #ddd !important;
}

.translation .tr_word .ks {
	font-size: .7em;
	padding: 3px 0px;
	color: #aaa;
}

.translation .tr_word .ipa {
	font-size: 1em;
	font-weight: bold;
	padding: 3px 0px;
}

.translation .tr_word .gl {
	font-size: .75em;
	padding: 3px 0px;
}

.translation .en {
	background: #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 5px 0;
	padding: 5px 10px;
	font-size: .75em;
}