.mw-sp-translate-edit-fields a {
	color: #00f;
}

.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 #000;
}

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

.mw-translate-legend {
	border-left: 1px solid #000;
	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-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 */
}
