@charset "UTF-8";

/* #### Special #### */
:lang(zh) {
	font-size:125%;
}
.ipa {
	font-family:"Lucida Sans Unicode", "DejaVu Sans", san-serif;
	font-size:110%;
}
.hide {
	display:none;
}
.error {
	margin:3em 0;
	text-indent:0;
	text-align:center;
	color:red;
}
.noindent,
.center,
#content p.fp,
#content p.br,
#content .indent,
h2 + p,
h3 + p,
h4 + p,
#content p.label,
#content p.more,
.CodeSample,
.WrongCodeSample,
.TerminalCommand,
.quizblock p {
	text-indent:0;
}
/* Index :: Headlines */
#headline .more a {
	padding-left:10px;
	font-size:x-small;
	font-weight:bold;
	background:url('../media/img/more.png') left no-repeat;
}
#headline .more a:after {
	content:'\2026';
}
#indexNav {
	padding:1em;
	text-align:center;
}
/* Index :: Custom boxes */
.others h2 {
	font-variant:small-caps;
	color:#999;
	border-bottom:1px solid #999;
}

/* Contents :: Author */
#auth {
	margin-bottom:15px;
	margin-top:-10px;
	text-align:right;
	font-weight:bold;
}
#auth,
#auth a:link,
#auth a:visited {
	color:gray;
}
#auth a:hover {
	color:#444;
}
/* Contents :: Quotes */
#abtr {
	color:#444;
	margin:4px 10px 20px 6mm;
}
q:before { content: '\201C' }
q:after  { content: '\201D' }
#content .indent {
	margin-left:6mm;
}
/* Contents :: Boxes */
.CodeSample {
	margin:4px 2em 6px 1.5em;
	padding:.7em;
	background-color:#f6f6f6;
	border:1px inset #444;
}
.WrongCodeSample {
	margin:4px 2em 6px 1.5em;
	padding:.7em;
	background-color:#f8efef;
	border:1px inset #444;
}
.TerminalCommand {
	font-family:miscfixed, "Courier New", monospace;
	font-size:13px;
	color:#fff;
	margin:4px 2em 6px 1.5em;
	padding:.5em;
	background-color:#000;
	border:1px solid #b6b8b8;
}
.quizblock {
	margin-bottom:15px;
	padding:5px;
	border:1px solid silver;
	background:#cfd7f0;
}
/* Contents :: Diagrams, Lines */
.table {
	padding:7px 0 7px 0;
}
.img {
	text-align:center;
	margin:5px 3px;
}
.center {
	text-align:center;
	padding:5px;
}
.limg {
	float:left;
	padding:0 5px 3px 0;
}
.rimg {
	float:right;
	padding:0 0 3px 5px;
}
.rimg, .limg {
	font-size:x-small;
	color:#000080;
}
.clear {
	clear:both
}
.ngang {
	background-color:#000080;
	height:1px
}
.doc {
	background-color:#000080;
	width:1px
}
/* Content :: Captions */
#content p.label {
	margin:3px 3px 10px 3px;
	text-align:center;
	font-weight:bold;
	color:#444;
}
caption {
	padding:3px 0 5px 0;
	font-weight:bold;
	color:#444;
}
#content p.more {
	text-align:right;
	font-style:italic;
}
.more a {
	font-style:normal;
}
.desc {
	margin-left:2em;
	text-align:justify;
}
.references {
	margin-top:2em;
	text-align:center;
}
#alphabet {
	padding:10px;
	text-align:center;
	font-size:3em;
	color:#0066FF;
}
#alphabet:before {
	content:'- ';
}
#alphabet:after {
	content:' -';
}
#next, #nextPosts {
	background:url('../media/img/next.png') 2px 0.3em no-repeat;
}
#prev, #prevPosts {
	background:url('../media/img/prev.png') 2px 0.3em no-repeat;
}
#cmore, #relPosts {
	background:url('../media/img/cmore.png') 2px 0.3em no-repeat;
}
#random_link {
	text-align:right;
	font-size:x-small;
	font-weight:bold;
}

/* Language & Life Magazine */
table.nnds_index td {
	padding-bottom:.5em;
	vertical-align:top;
}
table.nnds_index td + td + td {
	text-align:right;
	color:#000090;
}
.nnds_cat {
	padding:10px 5px;
	text-align:center;
	font-size:14px;
	font-weight:bold;
	color:#999;
}
.nnds_auth {
	padding-right:1.5em;
	text-align:right;
	font-weight:bold;
}

/* Books */
.booksList small {
	color:gray;
}

/* Quiz */
.quizForm {
	width:400px;
	margin-top:3em;
	background-color:#ffffe0;
	border:1px solid silver;
}
.quizForm p {
	text-align:right;
}