.mw-ajax-dialog .mw-ajax-loader {
	margin: 2em;
}

.mw-ajax-dialog {
	font-size: small;
}

.tqe-inlineeditable {
	height: auto;
}

table .tqe-inlineeditable .mw-ajax-dialog {
	margin: 10px;
}

.tqe-editor-loaded {
	background-color: #FFF !important;
}

.mw-sp-translate-edit-fields a {
	color: blue;
}

.mw-translate-tmsug {
	margin-bottom: 0.2em;
}

.mw-sp-translate-edit-fields fieldset {
	line-height: normal;
	margin: 0;
	border: 1px solid #DBDBDB;
	/* Browsers suck
	max-height: 250px; */
	overflow: auto;
}

.mw-sp-translate-edit-fields legend {
	background-color: transparent;
}

.mw-translate-edit-extra {
	border-bottom: 1px solid black;
}

.mw-translate-legend {
	font-weight: bold;
}

.mw-translate-legend {
	border-left: 1px solid black;
	float: right;
	margin-left: 1em;
	padding-left: 5pt;
}

/* Align the adder according to the target language */
/* @noflip */
.mw-translate-adder-ltr {
	float: left;
	padding-right: 1px;
}

/* @noflip */
.mw-translate-adder-rtl {
	float: right;
	padding-left: 1px;
}

.mw-translate-sep {
	margin-bottom: 1ex;
	margin-top: 0.5ex;
}

.mw-translate-edit-deftext {
	/*
	 * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
	 * Specifying any valid, second value will trigger correct behavior without forcing a different font.
	 * See docs/uidesign/monospace.html of MediaWiki core source code.
	 */
	font-family: monospace, monospace;
}

.mw-translate-edit-area {
	padding: 0;
	width: 100%;
}

/* Buttons */
.mw-translate-save {
	font-weight: bold;
}

.mw-translate-history {
	float: right;
}

.mw-ajax-dialog #summary {
	width: 5em;
}

/* Blue tints for translate fieldsets */
.mw-sp-translate-edit-inother {
	background-color: #F8F8FF;
}

.mw-sp-translate-in-other-small {
	background-color: #F0F8FF;
}

.mw-sp-translate-in-other-big {
	background-color: #F0F8FF;
}

.mw-sp-translate-message-documentation {
	background-color: #EBEBEB;
}

.mw-sp-translate-edit-definition {
	background-color: #EAF3FC;
}

.mw-sp-translate-edit-warnings {
	background-color: #FFDBDB;
}

.mw-translate-edit-tmsugs {
	background-color: #C0F9B6;
}

.mw-sp-translate-latestchange {
	padding-bottom: 0;
}

.tqe-fakeheader {
	border: 1px solid #CCC;
	padding: .75em;
	font-weight: bold;
	line-height: 2em;
}

.tqe-fakeheader input {
	height: 2em;
	font-weight: bold;
}

.mw-translate-close {
	float: right;
}

.mw-translate-inputs {
	overflow: auto; /* Fix "100%" width after floats issue */
	padding: 2px; /* Avoid random scrollbars (browsers suck) */
}

.mw-translate-bottom {
	clear: both;
	margin-top: -3px; /* Reduce excess whitespace */
}
