@charset "utf-8";

#cendfn {
	/* settings box */
	display: none; /* start out hidden */
	margin:  0;
	padding: 7px 3px;

	position: absolute; /* top and left set in script */
	top:  0;
	left: 0;
	z-index: 75;

	background: #161;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;

	overflow: hidden; /* is set to auto later on */
}
	#cendfn .loading {
		margin:  -12px 0 0 -12px;
		padding: 0;

		width:  24px;
		height: 24px;

		position: absolute;
		top:  50%;
		left: 50%;
		z-index: 10;
	}

	#cendfn .content {
		margin:  0;
		padding: 5px 5px;

		position: relative;
		min-width:  150px;
		max-width:  300px;
		min-height: 50px;

		background: #fff;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
		#cendfn .hwname {
			margin:  0 0 3px;
			padding: 0 0 0 20px;

			font-size:   110%;
			font-weight: bold;
		}
			#cendfn .hwname > .obsolete {
				margin-left: 5px;

				position: relative;
				top: -5px;

				vertical-align: bottom;

				font-size:   85%;
				font-weight: normal;
			}
		#cendfn .entry {
			margin:  2px 0 0;
			padding: 0 20px 0 45px;

			position: relative;
			text-align: justify;

			counter-reset: dfn;
		}
			#cendfn .pos {
				margin:  0;
				padding: 0;

				position: absolute;
				top:  3px;
				left: 0;
				width: 35px;

				font-size:  85%;
				font-style: italic;
				text-align: right;
				line-height: 95%;

				color: #229;
			}
			#cendfn dfn {
				display: block;
				margin:  5px 0 2px;
				padding: 0;

				font-style: normal;
				counter-increment: dfn;
			}
				#cendfn dfn::before {
					content: counter(dfn) ' ';
					font-size:   90%;
					font-weight: bold;
				}
				#cendfn dfn:only-of-type::before { content: ''; }
			#cendfn .entry p {
				margin:  0 0 3px 14px;
				padding: 0;
			}
				#cendfn .entry p.ipa { margin: 0 0 -4px 0; }
			#cendfn abbr {
				border: none;
				font-style: italic;
			}
			#cendfn .note { font-style: italic; }
			#cendfn .hw {
				font-style:  italic;
				font-weight: bold;
			}
				#cendfn p.hw { margin-left: 0; }
			#cendfn .auxinfo {
				margin:  7px 0 0;
				padding: 0;
				color: #575;
				text-align: center;
			}
			#cendfn a[href^="/dict/cen/"] {
				color: #171;
				text-decoration: none;
			}
