@charset "utf-8";
/******* Global site style *******/
html,body,ul,ol,li,dl,dt,dd,p,h1,h2,h3,h4,h5,h6,blockquote,form,fieldset,legend,table,td,th,div{margin:0;padding:0;}
div:after,form:after,ul:after,ol:after,dl:after,dt:after,dd:after,h1:after,h2:after,h3:after,h4:after,p:after,.columns:after{content:'';display:block;clear:both;}
html,body{height:100%;font-size:100.01%;color:#333;margin: 0 0 1px; padding: 0;}
body {
    background: URL("/i/design-bg.png") repeat-x;
    font-size:94%;
    font-family:Arial;
    line-height:1.45;
    text-align: left;
    position: relative;
    height: auto !important;
    min-height: 100%;
    height: 100%;
}

* {margin: 0; padding: 0;}
img{border:none;}
ul{list-style:none;margin-left:0;}
ul li{list-style:none;}
h1,h2,h3,h4,h5,h6{font-weight:normal;}
h1{font-size:187%;margin:0 0 .6em;}
h2{font-size:127%;margin:0 0 .6em;color:#7D8C31;}
h4{font-size:110%;margin:0 0 .6em;}

a {text-decoration:none; color:#09659B;}  /*#076CC7*/

a:hover, a:active {
    text-decoration: underline;
    color: #CC0000;
}

a.green-dash:hover, a.green-dash:active {
    border-bottom: 1px dashed #7D8C31;
    text-decoration: none;
}

p {margin-bottom:1.2em;}

form input.text, form textarea {
display:block;
width:100%;
}

input, textarea {
font-size:110%;
}
input[type="submit"] {
	padding: 3px 10px 2px;
}
select {
    font-size: 1em;
}

select {padding-left: 3px;}

label {vertical-align:middle;}

dt {display:block;}

.green {color:#7D8C31; font-weight:bold;}
.red {}
.orange {}
.grey_d {color:#333;}
.grey {color:#999;}


.odd {
  padding: 5px;
  background: #F4F4F4;
  margin:0;
}
.even {
    padding: 5px;
    background: #FFF;
    margin:0;
}

.odd, .even {
    border-bottom: 1px dotted #CCC;
    padding:3px 10px;
}

.clear {clear: both;}


/******* Page style *******/
div#container {
    /*min-height: 100%;*/
    /*position: relative;*/
}
div#page {
    /*position: relative;*/
    margin: 0 auto;
    padding: 0 0 95px;
    width:970px;
    min-height:470px;
}

/*body > #page {height: auto; min-height: 100%;}*/


div#header {
    margin: 5px 0 0 0;
    padding: 0;
    height: 95px;
    border-bottom: 1px solid #E0E0E0;
}

#logo {
    padding: 20px 5px 20px 0px;
    margin:0;
    float:left;
}

#logo img {
    /*background:#FFF;*/
}

div#content {
    border-top: 1px solid #FFF;
    float:left;
    position: relative;
    margin: 0 auto 30px;
    padding: 10px 5px 75px;
    width: 960px;
    clear: both;
}
#content-left {
    float: left;
    margin: 0;
    padding: 0;
    width:700px;
}
#content-right {
    float: right;
    margin: 0;
    padding: 0;
    width:250px;
}
.content-text {
	width:85%;
}

div#footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: #F4F4F4;
    border-top: 2px solid #333;
    padding: 15px 50px 0;
    height: 75px;
    clear: both;
}

#footer-l {
	float:left;
}
#footer-r, #footer-r a {
	float:right;
}

/* CLEAR FIX*/
.clearfix:after {content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/******* /// Page style *******/

/******* /// Global site style *******/

#top-menu {
	background:#333;
	font: normal 0.825em Arial, Helvetica, sans-serif;
	padding:3px 100px 4px 100px;
	margin:0;
	height:17px;
}

#top-menu ul.top-l, #top-menu ul.top-r {
	margin:0;
	padding:0;
}

#top-menu ul.top-l {
	float:left;
}

#top-menu ul.top-r {
	float:right;
}

#top-menu ul li {
	display:inline;
}

#top-menu ul li a {
	color:#EBEBEB;
	margin:1px 5px;
	text-decoration:none;
}

#top-menu ul li a:hover, #top-menu ul li a:active, #top-menu ul li a.active {
	border-bottom:1px solid #7D8C31;
	text-decoration:none;
	position:relative; /* чтобы полоса в ишаке добланном не пропадала */
}


a.show-cab, a.show-cab:hover {
    border: none;
    border-bottom: 1px solid #7D8C31;
}

/******* SIGN-IN Form ************/

#top-menu ul li a.signin {
    background:#7D8C31;
		margin:0px;
    padding:4px 7px 6px;
    text-decoration:none;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
		position:relative;
}
#top-menu ul li a.signin:hover {
    background:#8d9e38;
}

#top-menu ul li a.signin, #top-menu ul li a.signin:hover {
    *background-position:0 3px!important;
		border:none;
}

#top-menu ul li a.signin span {
    background-image:url("/i/toggle-down.png");
    background-repeat:no-repeat;
    background-position:100% 80%;
    padding:4px 16px 0 0;
}
#top-menu ul li a.menu-open {
    outline:none;
}

#top-menu ul li a.signin.menu-open span {
    background-image:url("/i/toggle-up.png");
}

#top-menu ul li a.signin.menu-open {
	-moz-border-radius-bottomleft:0px;
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-left-radius:0px;
	-webkit-border-bottom-right-radius:0px;
}

#signin-menu {
	-moz-border-radius-topleft:5px;
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-top-left-radius:5px;
	-webkit-border-bottom-left-radius:5px;
	-webkit-border-bottom-right-radius:5px;
	display:none;
	background-color:#F4F4F4;
	border:1px transparent;
	position:absolute;
	width:210px;
	z-index:100;
	text-align:left;
	padding:12px; 
	right: 0px; 
	margin:0px 100px 0px 0px;
	font-size:11px;
}

#signin-menu input[type=text], #signin-menu input[type=password] {
	display:block;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border:1px solid #CCC;
	font-size:13px;
	margin:0 0 5px;
	padding:5px;
	width:203px;
}
#signin-menu p {
	margin:0;
}

#signin-menu p.remember {
	padding:10px 0;
}
#signin-menu p.forgot, #signin-menu p.complete {
	clear:both;
	margin:5px 0;
}
#signin-menu p a {
	color:#27B!important;
}
#signin-submit {
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	background:#999;
	border:1px solid #999;
	color:#EBEBEB;
	text-shadow:0 -1px 0 #999;
	padding:4px 10px 5px;
	font-size:11px;
	margin:0 5px 0 0;
	font-weight:bold;
}
#signin-submit::-moz-focus-inner {
padding:0;
border:0;
}
#signin-submit:hover, #signin-submit:focus {
	background-position:0 -5px;
	cursor:pointer;
}

/******* // SIGN-IN Form ************/

/******* SEARCH Form style *******/
#search-form {
    float: left;
    padding: 21px 15px 15px 5px;
    margin: 0;
    width: 450px;
}

form.search-form {float:left;margin:0;padding:0;}

form.search-form input.search-field {
    float:left;
    font-size:1.3em;
    font-family:Arial, simsun;
    padding:3px 5px;
    margin:2px;
    width:15em;
    border: 1px solid #999;
}

form.search-form input.button {
	background:URL("/i/button.png") no-repeat 0 0;
	height:35px;
	width:75px;
	cursor:pointer;
	border:none;
	margin:2px;
	float:left;
}

form.search-form input.showButton {
	background:URL("/i/button-pen.png") no-repeat 0 0;
	height:33px;
	width:34px;
	cursor:pointer;
	border:none;
	margin:2px;
	float:left;
}

div.suggestion {
	clear:left;
	float:left;
	position:relative;
	margin:0;
	padding:0;
	width:100%;
}

div.suggestion p {color:#999; margin:0 0 0 5px; padding:0; line-height:1.2em;}
div.suggestion p a {
	color:#999;
	border-bottom:1px dashed #7D8C31;
	text-decoration:none;
}

/*autocomplete*/
.ac_results {
	padding: 0px;
	border: 1px solid #CCC;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul li strong { font-weight:normal; color:#3399FF; }

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 4px 5px;
	cursor: pointer;
	display: block;
	line-height: 18px;
	overflow: hidden;
}

.ac_loading {
	background: white url('/i/indicatooor.gif') right center no-repeat;
	background-size: 24px;
}

.ac_loading img {
	}

.ac_odd {
	/*background-color: #F4F4F4;*/
}

.ac_over {
	background:#F0F0F0;
}

li.hr {
	margin:0;
	padding:2px 0 0 0;
	border-top:1px solid #CCC;
}

/******* /// SEARCH Form style *******/

/******* Info-block style *******/

#info-block {
    float: left;
    margin: 10px 10px 0 120px
}
#info-block ul li {
    line-height: 2em;
}

a.upload-dic {
    text-decoration:none;
    color:#333;
    border-bottom:1px dashed #7D8C31;
}

a.add-definition {
    background: URL("/i/add.png") no-repeat 0 100%;
    padding-left: 22px;
    text-decoration:none;
    color:#333;
}
/******* /// Info-block style *******/

#mainmenu
{
	position: absolute;
	top: 59px;
}

#mainmenu ul
{
	padding: 0;
	margin: 0;
	padding: 0.4em 0 0.3em 0;
}

#mainmenu ul li
{
	display: inline;
}

#mainmenu ul li a
{
	padding: 0.4em 0.4em;
	color: white;
	text-decoration: none;
	font-weight: bold;
}

#mainmenu ul li a:hover, #mainmenu ul li a.active
{
	background: #E6F2FF;
	color: #6399cd;
}

/******* INDEX ******/

ul.recent-definition-user {
    width: 100%;
}
ul.recent-definition-user li {
    float: left;
    width: 50%;
    line-height: 2.5em;
}
.main-recent-definitions h4,
.main-recent-examples h4{
    background: /*#B5CF6C;*/#CFEB7F;
    display: inline-block;
    margin-top: 1.5em;
    padding: 3px 10px;
    text-shadow: 1px 1px 1px #CFEB7F; 
}
.recent-definition-user {
    margin-bottom: .5em;
}
.main-recent-examples .example {
    margin-bottom: 0;
}
/******* // INDEX *****/


/******* Character & Word page style *******/
div#character, div#ruword {
	text-align:left;
	margin:0;
	clear:both;
}
div#character p, div#ruword p {
	margin:0 0 0 1em;
}
div#character span.hp {
	font-size:130%;
	font-family:"lucida sans unicode",sans-serif;
}

div.hp {color:#999;}
div.tr {
	margin:5px 15px 5px;}
div.tr-2 {
	margin:10px 15px 5px 30px;}
div.mt {
	margin:5px 15px 3px 0px;}
div.ex {
	margin:3px 15px 3px 45px;
	color:#999;
}
div.ex-2 {
	margin:3px 15px 3px 60px;
	color:#999;
}
div.ref {
	margin-top:25px;
	padding:15px;
	border-top:1px solid #CCC;
}
div.ref-2 {
	margin-top:25px;
	padding:15px;
	border-top:1px solid #CCC;
}

div.ref ul, div.ref-2 ul {width:50em;}
div.ref ul li, div.ref-2 ul li {float:left; width:15em;}

span.ref {}

span.character {
	font-family: Arial, simsun;
	font-size:2.4em;
}
span.ruword {
	font-size:1.5em;
}
div#ruword span.ruword {
	font-size:1.8em;
}
span.hp {
	color:#999;
	font-size:110%;
	font-family:"lucida sans unicode",sans-serif;
}
span.wordstress {
	color:#999;
	font-size:110%;
}
span.remark {}
span.remark-k {}
span.stress {color:#CC0000;/*font-style:italic*/;}
span.cn {
	font-family:Arial, simsun;
}
span.equal {color:#7D8C31; font-weight:bold;}

#definition,
#definition-1,
#definition-2,
#definition-3,
#definition-4,
#definition-5,
#definition-6,
#examples-block,
#definition-user {
	clear:both;
        margin-left: 1em;
}
#definition-google {
	clear:both;
	display:none;
}

div.collapsible,
div.collapsible-1,
div.collapsible-2,
div.collapsible-3,
div.collapsible-4,
div.collapsible-5,
div.collapsible-6,
div.collapsible-google,
div.collapsible-example,
div.collapsible-definitions-user {
	float:right;
	clear:both;
	background:#F4F4F4;
	color:#333;
        line-height: 1.8em;
	margin:15px auto;
	text-align:right;
	cursor:pointer;
        width:960px;
}

div.collapsible a,
div.collapsible-1 a,
div.collapsible-2 a,
div.collapsible-3 a,
div.collapsible-4 a,
div.collapsible-5 a,
div.collapsible-6 a,
div.collapsible-google a,
div.collapsible-example a,
div.collapsible-definitions-user a {
	background:URL("/i/arrow.png") no-repeat 12px 8px;
	padding:5px 15px;
}
.user-definition {
    margin: 0 1.5em 1.5em 1.5em;
}

.user-definition-comment {
    color: #999;
    font-style: italic;
}
.example {
    padding: .7em 0em;
    margin-bottom: .8em;
}
.example-cn {
    float: left;
    position: relative;
    margin: 0;
    padding: 0 .5em 0 .7em;
    width: 670px;
}

.example-cn-cn {
    font-family: Arial,simsun;
    font-size: 1.5em;
    padding: .1em;
    margin: 0 auto;
    cursor: default;
}
.example-cn-cn:hover {
    background: #F4F4F4;
}

span.example-hp {
    display: none;
}
div.example-hp-wrapper {
    margin: 0;
    position: relative;
}
span.example-hp-show {
  z-index: 100;
  display: block;
  position: absolute;
  padding: 5px 7px 5px 7px;
  bottom: .2em;
  left: .7em;
  width: auto;
  border: 1px dotted #333;
  background-color: #FFF;
  text-align: left;
  color: #333;
  font-size: 100%;
}
.contrib-examples span.example-hp-show {
    bottom: -.8em;
    left: 0;
}

span.example-created {
    font-size: .85em;
}
span.example-created sup {
    vertical-align: top;
    color: #7991B3;
}

.example-ru {
    color: #999;
    padding-left: .7em;
    clear: left;
}

.example-comment {
    font-style: italic;
}

.example-cn span.example-edit a {
    float: right;
    z-index: 100;
    margin: 3px 0 3px 5px;
}
a.user-link, .example-edit a, a.edit {
    color: #333;
    text-decoration: none;
    /*display: block;*/
    background: #F4F4F4;
    margin-left: 10px;
    padding: 1px 4px 2px;  
}
a.user-link:hover, .example-edit a:hover, a.edit:hover {
    background: #1F75CC;
    color: #F4F4F4;
}

span.example-cn-cn .highlight {color: #669900; border-bottom: 1px solid #669900;}
div.ex .highlight {color: #7D8C31;}

/* decompoistion-mode */
div.decomposition-mode {
    /*background: #F4F4F4;*/
    margin-top: 4em;
    padding: 0px 20px 5px;
    clear: both;
    border-top: 1px dotted #CCC;
}

.decomposition-mode dl.decomposed {
    float: left;
    margin: 15px 15px 0 0;
}

.decomposition-mode dl.decomposed dt {
    font-family: Arial, simsun;
    font-size: 2em;
    text-align: center;
}

.decomposition-mode dl.decomposed dt.no-character {
    color: #777;
}

.decomposition-mode dl.decomposed dt.plus {
    font-size: 1.5em;
    margin-top: 5px;
    color: #CCC;
}

.decomposition-mode dl.decomposed dd {
    font-size: 110%;
    color: #777;
    text-align: center;
}

/******* /// Character page style *******/

/****** Contrib-examples ****/
.contrib-examples span.example-hp-show {
    left: .7em;
}


/******* SEARCH *********/
hr.search-separator {
	margin-bottom:25px;
	height:0;
	color:#F4F4F4;
}

#search-results {
	float:left;
	width:300px;
	position:relative;
	margin-right:15px;
}

div.sentence-mode {
	margin:5px 0 15px 10px;
	clear:both;
}

.sentence-mode dl.sentence {
	float:left;
	margin:15px 15px 0 0;
}

.sentence-mode dl.sentence dt {
	font-family: Arial, simsun;
	font-size:2em;
	text-align:center;
	/*position:relative;*/
}

.sentence-mode dl.sentence dt.no-character {
	color:#999999;
}

.sentence-mode dl.sentence dd {
	font-size:110%;
	color:#999999;
	text-align:center;
}

/******* USER PAGE ****/
#user {
    width:680px;
    margin-top: 25px;
}
#user-tab {
   float:left;
   background:#FFF;
   border-bottom:2px solid #333;
   /*overflow:hidden;*/
   position:relative;
   width:100%;
}
#user-tab ul {
   clear:left;
   float:left;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
   left:15px;
}
#user-tab ul li {
   display:block;
   float:left;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
}
#user-tab ul li a {
   display:block;
   margin:0 0 0 1px;
   padding:3px 10px;
   background:#DDD;
   color:#000;
   text-decoration:none;
   line-height:1.3em;
}
#user-tab ul li a:hover {
   background:#CCC; /*#369;*/
   color:#000;
}
#user-tab ul li a.active,
#user-tab ul li a.active:hover {
   color:#F4F4F4;
   background:#333;
}

#user-tab ul li ul {
	position: absolute;
        border-top: 2px solid #333;
        left: -999em;
	width: 10em;
        z-index: 100;
}
#user-tab ul li:hover ul {
	left: auto;
}
#user-tab ul li ul li {
    width: 150px;
}
#user-tab ul li a.list {
    background: URL("/i/toggle-down-tri.png") no-repeat 94% 55% #DDD;
    padding-right: 17px;
}

#user-tab ul li a.list.active {
    background: URL("/i/toggle-down-tri-light.png") no-repeat 94% 55% #333;
    padding-right: 17px;
}

/****** Reviewed *****/
.reviewed-words, .contrib-examples {
  clear: both;
  margin: .5em 0;
} 

.reviewed-ch {
    font-family: Arial, simsun;
    font-size: 1.4em;
}

.reviewed-word {
    font-size: 110%;
}

.reviewed-word-row {
    line-height: 2em;
}
.delete-reviewed, .delete-reviewed a {
    float: right;
    color: #999;
}

/****** Definition user ****/
#definition-user {
    margin: 0 0 1em 3em;
    padding: 0 .5em .5em;
    border-bottom: 1px dotted #CCC;
}
#definition-user .definition {
    margin-top: 1em;
}
#definition-user .definition-comment {
    color: #999;
    font-style: italic;
}
span.definition-created {
    font-size: .85em;
}
span.definition-created sup {
    vertical-align: top;
    color: #7991B3;
}
.definition-edit a {
    color: #333;
    text-decoration: none;
    background: #F4F4F4;
    margin: 0;
    padding: 1px 4px 2px;
    float: right;
}
.definition-edit a:hover {
    background: #1F75CC;
    color: #F4F4F4;
}

/******* Settings *******/

.avatar-settings {
    background: #F4F4F4;
    margin: 0.5em 0;
    padding: 0.4em 0.7em;
    position: relative;
}
.avatar-settings img {
    float: left;
    margin-right: 10px;
}

a.change-avatar {
    font-size: 80%;
    color: #09659B;
}

/******* /// END OF Settings *******/


/******* /// USER PAGE ****/

/******* Show-cab *******/
#user-profile {
    margin: .5em 0;
    padding: 0.4em 0.7em;
    border: 1px dashed #CCC;
}
.user-profile-avatar {
    float: left;
    margin-right: .7em;
}
.user-profile-info {
    float: left;
    width: 350px;
}
.user-profile-info .user-name-row {
    font-size: 140%;
    margin-bottom: .2em;
}
a.user-contacts-icon {
    background: URL("/i/contacts-icon.png") no-repeat 100% 100%;
    color: transparent;
    height: 32px;
    width: 32px;
    padding: 2px 18px;
}
#user-contacts {
    display: none;
    background: #dcedfe;
    /*border: 1px solid #F4F4F4;*/
    padding: .5em 2em 1em .5em;
    /*width: 250px;*/
    position: absolute;
}
p.user-place, p.user-studylang {
    margin: .3em;
    /*color: #999;*/
}
p.user-website {
    margin: .3em;
}
span.studylang {
    color: #333;
    border-bottom: 1px solid #333;
}

.user-about {
    padding: .5em 1em;
    margin-top:  .5em;
    border-top: 1px solid #F4F4F4;
    float: left;
}
/******* END OF Show-cab *******/


/******* PAGER *******/
.pager {
	float:left;
	clear:both;
	margin:25px 5px 5px;
	padding:25px 5px 5px;
        width: 100%;
        border-top: 1px dashed #CCC;
}

ul.pager
{
	border:0;
	margin:0;
	padding:0;
	display:inline;
}

ul.pager li
{
	display:inline;
}

ul.pager a:link,
ul.pager a:visited
{
	border:solid 1px #CCC;
	/*font-weight:bold;*/
	padding:1px 6px;
	text-decoration:none;
}

ul.pager .page a
{
	font-weight:normal;
}

ul.pager a:hover
{
	border:solid 1px #CCC;
}

ul.pager .selected a
{
	background:#F4F4F4;
	color:#333;
	/*font-weight:bold;*/
}

ul.pager .hidden a
{
	border:solid 1px #DEDEDE;
	color:#888;
}


/* begin data grid style */
table.dataGrid
{
	background: white;
	border-collapse: collapse;
	width: 100%;
}

table.dataGrid th, table.dataGrid td
{
	font-size: 0.9em;
	border: 1px #4F81BD solid;
	padding: 0.3em;
}

table.dataGrid th
{
	background: #d3dfee;
	text-align: center;
}

table.dataGrid th.label
{
	width: 150px;
}

table.dataGrid tr.odd
{
	background: #E6F2FF;
}
/* end of data grid style */

.actionBar
{
	margin: 10px;
	clear:both;
}

div.item
{
	margin: 10px 0 0 0;
	border: 1px solid silver;
	padding: 5px;
}

/******* Zhonga FORMS *******/
.zhonga-form {
	margin:1.5em 0 0 1em;
        float: left;
        position: relative;
}

.zhonga-form .left {
	float:left;
}

.zhonga-form .right {
	float:right;
	width:350px;
	position:relative;
	margin-left:15px;
	padding-left:15px;
	border-left:1px solid #E4E4E4;
}

.form-row .form-element {
    float: left;
}

.form-element {
	margin:0 1em 1em 0;
}

.form-element label {
	display:block;
	margin-left:2px;
}

.checkbox {
	margin-bottom:0.5em;
}
.checkbox input {
	display:inline;
	vertical-align:middle;
	margin:0 0.1em 0.2em 0.2em;
}
.checkbox label {
	display:inline;
	vertical-align:middle;
}

.radio-button-list label {
    display: inline;
    vertical-align: middle;
    margin-right: 1em;
}
.radio-button-list input {
    vertical-align: middle;
    margin: 0 2px 0 0;
}

.select select, .select label {
	display:inline;
}

.select {
	margin-bottom:1em;
}

.select label {
	font-weight:bold;
	margin-right:5px;
}

span.required {
	color:#CE2125;
	font:81.25%/1.385 Arial,Helvetica,sans-serif;
}

.captcha {
	width:25em;
	margin:20px 0;
}

.captcha input, .captcha img {
	float:left;
	position:relative;
}

.captcha input {
	margin-top:15px;
}

.captcha img {
	margin-left:15px;
}

.captcha a {
	display:block;
	float:left;
}

p.hint {
	font-style:italic;
}

div.hp-helper {
	margin:10px 0 25px 0;
	
}

a.hp-helper-button {
	padding:5px 12px;
	display:inline-block;
	font-size:120%;
	color:#333;
	text-decoration:none;
}

table.hp-helper {
	text-align:center;
}

table.hp-helper td:hover, a.hp-helper-button:hover {
	background:#E0EAF1;
}

table.hp-helper tr.upper td {
	border-bottom:1px solid #CCC;
}

table.hp-helper tr td {
	border-right:1px solid #EEE;
}

table.hp-helper tr td.separator {
	border-right:1px solid #CCC;
}

table.hp-helper tr td.last {
	border-right:none;
}

/******* /// END OF Zhonga FORMS *******/

/******* Add CHARACTER FORM *******/

.partofspeech label, .subjectfield label {
    float: left;
    font-weight: normal;
}
.partofspeech select, .subjectfield select {
    float: right;
    width: 270px;
}


/******* YII FORM STYLE *******/
div.yiiForm
{
	border: 1px solid #CCC;
	background: #F4F4F4;
	margin: 0;
	padding: 5px;
	width: 550px;
}

div.yiiForm label.required
{
}

div.yiiForm span.required
{
	color: red;
}

div.errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
}

div.errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.errorSummary ul li
{
	list-style: square;
}

div.yiiForm p.hint
{
	color: gray;
	font-size: 90%;
	margin: 0 0 0 110px;
}

div.yiiForm fieldset
{
	border: #DDD 1px solid;
	margin: 10px 0;
	padding: 10px;
}

div.yiiForm legend
{
	font-weight: bold;
}

div.yiiForm label
{
}

div.yiiForm div.action
{
	clear: left;
	margin-left: 110px;
	padding: 0.25em 0;
}

div.yiiForm div.simple,
div.yiiForm div.complex
{
	clear: left;
	padding: 0.25em 0;
}

div.yiiForm div.simple label,
div.yiiForm div.complex span
{
	display: block;
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.yiiForm label.error,
div.yiiForm span.error
{
	color: #C00;
}

div.yiiForm input.error,
div.yiiForm textarea.error,
div.yiiForm select.error
{
	background: #FEE;
	border-color: #C00;
}

div.yiiForm div.simple div,
div.yiiForm div.complex div
{
	margin-left: 110px;
}

/******* /// END OF YII FORM STYLE *******/

.flash-message {
	margin:0 0 1.5em;
	padding:.7em 1em;
	/*width:570px;*/
}

.flash-message p {
    margin: 0 1em 0 3em;
}

.success {
    border:1px solid #7D8C31; /*#C7F2C8;*/
    color:#7D8C31;
    background: URL("/i/message-success.png") no-repeat .8em 50%;
}


/**** ZHONGA Handwriting Recognition (ZHWR) ****/

.zhwr-table {
    background: #F4F4F4;
    padding: 2px;
    margin: 37px 5px 5px 0px;
    border-width: 0px;
    position: absolute;
    top: 3.5em;
    z-index: 100;
    display: none;
    clear: both;
}

.zhwr-canvas {
    width: 220px;
    height: 220px;
    margin: 0px;
    background: URL("/i/zhwr-canvas-bg.png") no-repeat transparent;
    background-color: #FFF;
    border-collapse: collapse;
    border-style: solid;
    border-width: 1px;
    border-color: #CCC;
    cursor: default;
}

.zhwr-button {
    color: #7D8C31;
    text-decoration: underline;
    font: 1em Arial, Helvetica, sans-serif;
    margin: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    float: right;
}

.zhwr-dot {
    position:absolute;
    background:#000;
    width:3px;
    height:3px;
    z-index:32768;
    overflow: hidden;
    cursor: default;
}

.zhwr-container, .zhwr-container-current {float: left; cursor: pointer; position: relative;}
.zhwr-container {color: #000;}
.zhwr-container-current {background-color: #F4F4F4; cursor: pointer;}

.zhwr-prob {
    display: none;
    background: none repeat scroll 0 0 #FFFFFF;
    font-family: "lucida sans unicode",sans-serif;
    color: #555555;
    top: -1.4em;
    left: 0.9em;
    padding: 1px 10px;
    border: 1px solid #CCCCCC;
    position: absolute;
}

.zhwr-char {
    font-family: simsun, Arial;
    font-size: 1.5em;
    line-height: 1.3em;
    text-align: center;
    float:left;
    padding: 7px 0;
    width: 49px;
    border-left: 1px solid #F4F4F4;
    border-bottom: 1px solid #F4F4F4;
}

.zhwr-result.empty {
    background: #F4F4F4;
    background-color: #F4F4F4;
}

.zhwr-result {
    display: block;
    float:right;
    width: 250px;
    height: 220px;
    margin-left: 2px;
    padding: 0px;
    background-color: #FFF;
    border-collapse: collapse;
    border-style: solid;
    border-width: 1px;
    border-color: #888;
}
.zhwr-result.loading {
    display: block;
    filter:alpha(opacity=60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    background: #FFF url('/i/indicatooor.gif') center center no-repeat;
}

.zhwr-result div {
    float: left;
}
