#mfTransContainer, #mfTransLang {
	color: black;
	background: white;
	width: 100%;
	height: 100%;
	/*
	position: absolute;
	top: 0;
	padding: 1em;
	*/
	margin: 0;
  padding: 0 32px 15px 32px;
}

#mfTransLang table, #mfTransContainer table, #mfTransContainer input[type='submit'] {
	color: black;
}

#mfTransContainer a, #mfTransLang a {
	color: cornflowerblue;
}

table.mfTrans tr:first-child { background: #ccccee; }
table.mfTrans tr:nth-child(odd) { background: #ddddff; }
table.mfTrans tr:nth-child(even) { background: #eeeeee; }
table.mfTrans tr td,
table.mfTrans tr th { border: 1px solid black; padding: 5px 10px 5px 10px; }
table.mfTrans tr th:nth-child(2), table.mfTrans tr th:nth-child(3) { color: #050; }
table.mfTrans tr th:nth-child(4), table.mfTrans tr th:nth-child(5) { color: #550; }
table.mfTrans tr th:nth-child(6), table.mfTrans tr th:nth-child(7) { color: #500; }

div.mfTransGraph {
	display: inline-block; height: 15px; margin: 0px;
	border-top: 1px solid black; border-bottom: 1px solid black;
}
div.mfTransGraph.trans { background: #080; border-left: 1px solid black; }
div.mfTransGraph.fuzzy { background: #880; }
div.mfTransGraph.untrans { background: #800; border-right: 1px solid black; }

#mfTransLang {
	padding: 5px; margin: 5px;
}

#mfTransPreview {
	position: relative;
	height: 200px;
	resize: vertical;
	padding-bottom: 12px;
	overflow-y: hidden;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	background-color: #ddd;
}
#mfTransPreview .tbodyScroll {
	padding-top: 30px;
	overflow: hidden;
	height: 100%;
	overflow-y: scroll;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
	border-right: 1px solid black;
	position: relative; /* makes jquery scroll stuff easier */
	z-index: 1;
}
#mfTransPreview .theadAbove {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
#mfTransPreview table { width: 100%; table-layout:fixed; border-collapse:separate; background: white; }
#mfTransPreview table thead tr { background: #ede9e3; }
#mfTransPreview table thead th { width: 50%; padding: 4px 8px 4px 8px; }
#mfTransPreview table thead th {
	border-left: 1px solid black; border-top: 1px solid black; border-bottom: 1px solid black;
}
#mfTransPreview table thead th:first-child {
	border-left: 1px solid black; border-top: 1px solid black; border-bottom: 1px solid black;
	border-top-left-radius: 5px; 
}
#mfTransPreview table thead th:last-child {
	border-right: 1px solid black; border-top: 1px solid black; border-bottom: 1px solid black;
	border-top-right-radius: 5px;
}

#mfTransPreview table tr td {
	width: 50%; padding: 4px 8px 4px 8px;
	overflow: hidden; white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
}
#mfTransPreview table tr:nth-child(even) { background: #f2f2f2; }
#mfTransPreview table tr.fuzzy { background: #ffffaa; }
/*
#mfTransPreview table tr.trans { background: #f2fff2; }
#mfTransPreview table tr.untrans { background: #fff2f2; }
*/
#mfTransPreview table tr.current { background: #5598d7; color: white;}

#mfTransLang .options label { margin-right: 10px; }

#mfTransLang th { position: relative; }
#mfTransLang th.active-sort { background-color: #CCC; }
#mfTransLang th.active-sort a { font-weight: 500; }
#mfTransLang th.active-sort::after {
	font-size: 0.6em;
	position: absolute;
  top: 5px;
  right: 10px;
}
#mfTransLang th.active-sort.asc::after { content: '▲'; }
#mfTransLang th.active-sort.desc::after { content: '▼'; }

#mfTransLang textarea {
	font-family: monospace;
	height: 5em; width: 100%;
	margin-top: 5px;
}

#mfTransLang .translationSort {
	cursor: pointer;
}

#mfTransLang label[title] {
	cursor: help;
}