.mainchar{color: #0000cc;}
.credits{color: #666666; font-size: 0.8em}
.wordmeaning{
	color: #000000; 
	font-size: 1.3em;
	font-family: "Bitstream Vera Sans", "Lucida Sans Unicode", "Lucida Grande", Arial;
}
.typedesc{color: #555555; font-size: 0.9em}
.cardjyutping{color: #554C8F; background-color: #FFEEEE; font-size: 1.2em; font-style: italic; font-family: verdana}
.cardpinyin{color: #554C8F; background-color: #FFFFDD; font-size: 1.2em; font-style: italic; font-family: verdana}
.pron{color: #0022dd; font-style: italic; margin-left: 1em;}

.wordflagtext{
	font-size: 0.8em;
	color: #444444;
}
.wordlevel{
	font-style: italic;
	font-weight: bold;
}

.charnotes,.wordnotes{
	font-size: 9pt;
	color: #336633;
	border: 1px #bbbbbb dashed;
	padding: 1em;
}
div.classifier{
	color: #666666;
}

.charstrokecount{
	float: left;

	font-style: normal;
	font-weight: bold;
	width: 32%;
	font-family: arial;
	font-size: 11pt;
}

.charradical{
	float: left;
	font-style: normal;
	font-weight: bold;
	width: 32%;
	font-family: arial;
	font-size: 11pt;
	
}


.charlevel{
	font-style: italic;
	font-weight: bold;
	float: left;
	width: 34%;
	font-family: arial;
	font-size: 11pt;
}



table.cardborder{
	border-top: #eeeeee 1px solid;
	border-right: #dddddd 1px solid;
	border-bottom: #bbbbbb 3px solid;
	border-left:  #bdbdbd 1px solid;
}
table.wordcard{
	background-color: #fffffd;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/tiled_bg1.jpg");
	width: 75%;
	max-width: 1024px;
	text-align: left;
}	
table.sentencecard{
	background-color: #fffffd;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/tiled_bg3.jpg");
	width: 75%;
	max-width: 1024px;
	text-align: left;
}	
table.charactercard{
	background-color: #fffffd;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/tiled_bg2.jpg");
	width: 75%;
	max-width: 1024px;
	text-align: left;
}	
table.glyphcard{
	background-color: #fffffd;
	width: 75%;
	max-width: 1024px;
}	
td.plain{ background: none;}
td.white{ background-color: white;}


.dictionarycredits{
	color: #444444;
	clear: both;
	padding: 2px;
	margin-top: 0;
	background-color: #D7F1E5;
	border-top: #94B7A6 1px dashed;
	border-bottom: #94B7A6 1px solid;
	text-align: center;
}

.cantodictexamplesblock{
	background-repeat: no-repeat;
	background-position: bottom right;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/bottom_right_bg1.jpg");
	border: 1px #ccccdd solid;
}
div.example_in_block{ /* separartes single sentences in c/w detail view */
	margin-top: 4px;
	margin-bottom: 4px;
}

.cantodictcharacterblock{
	background-repeat: no-repeat;
	background-position: bottom right;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/bottom_right_bg1.jpg");
	border: 1px #ccccdd solid;
}
.cantodictwordblock{
	background-repeat: no-repeat;
	background-position: bottom right;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/bottom_right_bg1.jpg");
	border: 1px #ccccdd solid;
}

.cantodictbg1
{
	background-repeat: no-repeat;
	background-position: bottom right;
	background-image: url("http://www.cantonese.sheik.co.uk/images/cantodict/bottom_right_bg1.jpg");
	border: 1px #ccccdd solid;
}


.word{
	font-size: 50pt;
	color: #090012;
	font-family: 'AR PL UKai HK','AR PL UKai','AR PL ZenKai Uni','AR PL KaitiM Big5','DFKai-SB','KaiTi','FangSong','AR PL UMing','MingLiu';
}
.sentence{
	font-size: 30pt;
	color: #090012;
	font-family: 'AR PL UKai HK','AR PL UKai','AR PL ZenKai Uni','AR PL KaitiM Big5','DFKai-SB','KaiTi','FangSong','AR PL UMing','MingLiu';
}


/* word examples */
.wordexamplesheader{
	font-size: 8pt;
}
.wordexample{
	font-size: 16pt;
	font-family: 'AR PL UMing',MingLiu,'AR PL ShanHeiSun Uni','nj chinese traditional',mssong,'ms song';
}

.wordexamplemeaning{
	font-style: italic;
}
.wenote{
	font-size: 8pt;
	color: #448844;
}


.tone{
font-size: 80%;
top: -1ex;
left: 1px;
position: relative;
}

/* used by database scripts */
.listjyutping{background-color: #FFEEEE; color: #000000; font-style: italic}
.listpinyin{background-color: #FFFFDD; color: #000000; font-style: italic}
.summary_jyutping{background-color: #FFEEEE; color: #000000; font-style: italic}
.summary_pinyin{background-color: #FFFFDD; color: #000000; font-style: italic}

/* used for alternate rows in lists */
tr.bgalt{
	background-color: #f6fffb;
}

table.collapsed{
  border-collapse: collapse;
}

#glyph{
	width: 400px;
	border: #333333 1px solid;
	padding: 8pt;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	background-color: #FFF3DF;
	text-align: left;
	clear: both;
}
#glyph label{
	width: 14em;
	float: left;
	margin-bottom: 4px;
}
#glyph input select{
	float: left;
	margin-bottom: 4px;
}
#glyph br{
	clear: both;
}

#glyphPayPal{
	width: 400px;
	border: #333333 1px solid;
	padding: 8pt;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	background-color: #FFF3DF;
	text-align: center;
	clear: both;

}

form.searchbox{
	/* CantoDict searchbox */
	border: #333333 1px solid;
	padding: 4pt;
	background-color: #f2fff3;
	margin-top: 2pt;
	margin-bottom: 2pt;
	background-repeat: no-repeat;
	background-position: bottom right;
	background-image: url("http://www.cantonese.sheik.co.uk/images/backgrounds/search-box.jpg");
}

input.cantodict_search_input{
	/* font size and family changes with Javascript now */
}

#searchbox option.title{
	color: blue;
}
#searchbox option{
	font-family: 'AR PL UMing',MingLiu,'AR PL ShanHeiSun Uni','nj chinese traditional',mssong,'ms song';
}

#search_info_label{
	font-size: 8pt;
	color: #222288;
}

div.search_recentexamples{
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	max-width: 700px;
	background-color: #fffaf0;
	border: #999999 1px solid;
	padding: 6pt;
	text-align: left;
}

span.list_note{ /* used in example and search lists to show additional note field */
	font-size: 8pt;
	color: #336633;
}

a.help{cursor: help;}			   

/* parser CSS */
a.wordlink, a.wordlink:visited{
	color: black;
}
a.wordlink:hover{
	background-color: #ffccaa; 
	color: black;
}

a.wordbg1,a.wordbg1:visited{
	border-bottom: 1px #66bb77 dashed;
}
a.wordbg1:hover,a.wordbg1:hover{
	background-color: #ffccaa;
	border-bottom: 1px #ee2222 dashed;
}

a.wordbg2,a.wordbg2:visited{
	border-top: 1px #66bb77 dashed;
}
a.wordbg2:hover,a.wordbg2:hover{
	background-color: #ffccaa;
	border-top: 1px #ee2222 dashed;
}


a.charlink,a.charlink:visited {color: black;}
a.charmissinglink{
	cursor: no-drop;
	color: black;
	border-bottom: 1px #ee0000 dashed;
}
a.charmissinglink:link{color: black;}
a.charmissinglink:visited{color: black;}

a.charlink:hover{background-color: #ffccaa; color: black}
a.charmissinglink:hover{background-color: #ffccaa; color: black}



a.cantodicteditorlink{
	font-size: 8pt;
	color: #777777;
}
a.cantodicteditorlink:visited{
	color: #777777;
}
a.cantodicteditorlink:hover{
	color: #000000;
}

div.pagemenu{
	display: inline;
	float: right;
	padding: 2px;
	border: 1px #669966 solid;
	background-color: #fbfbfb;
}

/* word list */
.wl_uni{
	font-size: 16pt;
	color: rgb(0,0,0);
	font-family: 'AR PL UMing',MingLiu,'AR PL ShanHeiSun Uni','nj chinese traditional',mssong,'ms song';
}
a.wl_uni:link a.chinesemed:visited{
	color: #440000;
}



/* character list */
a.masterlistheading:link {color: #002266;}
a.masterlistheading:visited {color: #001144;}

table.masterlist{
	border-collapse:collapse;
	clear: right;
}
.masterlistheading{
	background-color: #eceef0;
	color: #000000;
	font-size: 11pt;
	font-weight: bold;
}

h3.bot{
	background-color: #57366B;
	border: 1px #000000 solid;
	padding: 0.5em;
	font-size: 12pt;
	margin: 0;
	margin-bottom: 1em;
}

div.clicktoshow{
	display: none;
}

div.char_detail_info{
	text-align: left;
	border: 1px #222222 solid;
	width: 90%;
	background-color: #ffffee;
	padding: 1em;
}

textarea.chineseinput{
	font-size: 2em;
}
input.chineseinput{
	font-size: 2em;
}

textarea.highlighted{
	background-color: #FFFFEF;
}

.examplelist{	
	font-size: 12pt;
}

.cd_similar{
	font-size: 20pt;
}
a.cd_classifier_link{
	font-size: 9pt;
	color: #552211;
}



/* overlib popups */
.olibborder{
	padding: 0px;
	margin: 0px;
	background-color: #5F5B47;
	
}
.olibbody{
	padding: 4px;
	margin: 0px;
	background-color: #ffcfad;
	color: #000000;
	font-size: 11pt;
	text-align: center;
	width: 100%;
}
.olibcaption{
	padding: 0px;
	margin: 0px;
	background-color: #8F8864;
	color: #ffffff;
	font-size: 12pt;
	font-weight: normal;
	width: 100%;
}

.olibunicodecaption{
	font-size: 3.5em;
	font-family: 'AR PL UKai HK','AR PL UKai','AR PL ZenKai Uni','AR PL KaitiM Big5','DFKai-SB','KaiTi','FangSong','AR PL UMing','MingLiu';
	color: #ffffff;
	text-align: center;
	font-weight: normal;
	border: 1px black solid;
	width: 100%;
}
.olibpron{ /* jyutping or pinyin */
	font-style: italic;
	color: #ee1111;
	font-size: 10pt;
}


div.parser_mainoutput{
	border: 1px solid #000000;
	background-color: #ffffee;
	margin: 0;
	padding: 10pt;
	width: 80%;
	font-size: 14pt;
	color: rgb(0,0,0);
	font-family: 'AR PL UMing',MingLiu,'AR PL ShanHeiSun Uni','nj chinese traditional',mssong,'ms song';
}

div.parser_translation{
	border: 1px solid #000000;
	background-color: #F0FFFF;
	margin: 0;
	padding: 10pt;
	width: 80%
}

#remote_parser_form fieldset{
	 border: 1px solid #781351;
	 padding: 1em;
}
#remote_parser_form label {
	 float: left;
	 width: 15em;
	 padding-right: 2em;
	 text-align: right;
	 display: block;
}
#remote_parser_form select{
	margin-bottom: 0.6em;
}
#remote_parser_form input{
	margin-bottom: 0.6em;
}
input.remote_parser{
	margin-left: 15em;
}

#sentenceform select, label{
	
	margin-top: 0.2em;
}

/* flag icons */
img.flagicon{
	margin: 2px;
	margin-bottom: 8px;
}
/* PoS icons */
img.posicon{
	margin: 4px;
}

div.normalpage{
	margin-left: auto;
	margin-right: auto;
	max-width: 1024px;
	width: 90%;
	border: #edeeef solid 1px;
	padding: 1em;
}

.cantodict_offline{
	color: #1100ee;
	font-weight: bold;
	border-bottom: 1px #ee0011 dashed;
}

div.editor_useful_strings{
	border: 1px #222222 solid;
	background-color: #ffffed;
	padding: 1em;
	width: 450px;
}

div.audioplayer p{
	text-align: center;
}

.photothumb{
	border: 1px #777777 solid;
}
