span.termlookup-js-custom, span.termlookup-custom {
	margin-left: -999em !important;
	position: absolute !important;
	text-decoration: none !important;
	word-wrap: break-word !important;
}

.termlookup-custom, .termlookup-js-custom { padding: 0.5em 0.8em 0.8em 2em !important;  background: #9FDAEE !important; border: 1px solid #2BB0D7 !important; }


/* CSS hover functions -- fallback if javascript is disabled */

#content .termlookup-tooltip:hover {
	text-decoration: none !important;
}

.termlookup-tooltip:hover span {
	border-radius: 5px 5px !important; -moz-border-radius: 5px !important; -webkit-border-radius: 5px !important; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1) !important; -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1) !important; -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1) !important;
	font-family: Calibri, Tahoma, Geneva, sans-serif !important;
	font-weight: normal;
	font-style: normal;
	position: absolute !important; left: 1em !important; top: 2em !important; z-index: 99 !important;
	margin-left: 0 !important; width: 250px !important;
	color: #000000 !important;
	white-space: normal !important;
}
.termlookup-tooltip:hover img {
	border: 0 !important; margin: -10px 0 0 -55px !important;
	float: left !important; position: absolute !important;
}
.termlookup-tooltip:hover em {
	font-family: Candara, Tahoma, Geneva, sans-serif !important; font-size: 1.2em !important; font-weight: bold !important;
	display: block !important; padding: 0.2em 0 0.6em 0 !important;
}

* html a:hover { background: transparent; }

.ts-qmark {
	border: 1px solid; 
	font-size: 0.76em; 
	padding: 0 2px; 
	margin:2px;
	position: relative; 
	top: -5px;
	font-style:normal;
}

/* classes for hovering if javascript is enabled */ 

#content .termlookup-js-tooltip-hover {
	text-decoration: none !important;
}

.termlookup-js-tooltip-hover span.termlookup-js-custom {
	border-radius: 5px 5px !important; -moz-border-radius: 5px !important; -webkit-border-radius: 5px !important; 
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1) !important; -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1) !important; -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1) !important;
	font-family: Calibri, Tahoma, Geneva, sans-serif !important;
	font-weight: normal;
	font-style: normal;
	position: absolute !important; left: 1em !important; top: 2em !important; z-index: 99 !important;
	margin-left: 0 !important; width: 250px !important;
	color: #000000 !important;
	white-space: normal !important;
}

.termlookup-js-tooltip-locked span.termlookup-js-custom {
	background: #9FDAEE url(../image/registry/termreg/icon_popup_close.png) no-repeat 97% 10px !important;
}

.termlookup-js-tooltip-hover img {
	border: 0 !important; margin: -10px 0 0 -55px !important;
	float: left !important; position: absolute !important;
}
.termlookup-js-tooltip-hover em {
	font-family: Candara, Tahoma, Geneva, sans-serif !important; font-size: 1.2em !important; font-weight: bold !important;
	display: block !important; padding: 0.2em 0 0.6em 0 !important;
}

* html a .termlookup-js-tooltip-hover { background: transparent; }

.termlookup-tooltip, .termlookup-js-tooltip, .termlookup-js-tooltip-hover {
	border-bottom: 1px dotted #000000 !important; 
	color: #000000 !important; 
	outline: none !important; 
	text-decoration: none !important;
	position: relative !important;
}


/* CKE dialog related */

#preview_pane {
	background:#fff !important;
	padding:5px !important;
	width:auto !important;
	height:8.5em !important;
	white-space: normal !important;
	overflow-y:scroll !important;
}

#definition_pane {
	height: 4.25em;
	width: auto;
	overflow-y: auto;
	white-space: normal;
}

#status_pane {
	font-size:90% !important;
}

#status_pane .strong {
	font-weight:bold !important;
	font-size:inherit !important;
}

/* CKE button related */

.cke_dialog_ui_button_sub {
	background: #ccc !important;
}

.cke_dialog_ui_button_sub:hover {
	background: #F2CB30 !important;
}

.cke_dialog_ui_button_sub_disabled {
	background: #ccc !important;
}