body.gld #bases-list { width: 70%; }

.description, .notes, span.unicode { font-family: "Starling Serif", "Times New Roman PSMT Pro", "Charis SIL", "Doulos SIL", "Arial Unicode MS"; text-rendering: optimizeLegibility; }
span.fld { font-weight: bold; }

a.ethnologue, a.glottolog { font-size: 65%; font-weight: normal; font-family: Arial, Helvetica, sans-serif; color: white; padding: 1px 3px; border-radius: 3px; position: relative; top: -2px; }
a.ethnologue:hover, a.glottolog:hover { text-decoration: none; }
a.ethnologue { background: #006599; }
a.glottolog { background: #000; }

body.compare_hi_enabled span.compare_hi1 { border: 1px solid #c87710; background: #d59e59; padding-left: 3px; }
body.compare_hi_enabled span.compare_hi2 { border: 1px solid #77c810; background: #9ed559; padding-left: 3px; }
body.compare_hi_enabled span.compare_hi3 { border: 1px solid #10c877; background: #59d59e; padding-left: 3px; }
body.compare_hi_enabled span.compare_hi4 { border: 1px solid #c81077; background: #d5599e; padding-left: 3px; }
body.compare_hi_enabled span.compare_hi5 { border: 1px solid #7710c8; background: #9e59d5; padding-left: 3px; }
body.compare_hi_enabled span.compare_hi6 { border: 1px solid #1077c8; background: #599ed5; padding-left: 3px; }
span.autonum { display: none; }
span.found { color: red; }

a {text-decoration:none;}
a.help { text-decoration: underline; font-style: italic; }
a:hover{text-decoration:underline;}

tr.hidden { display: none; }
tr.even { background: #FFDFBF; }
tr.odd { background: #FFFF99; }
tr.spacer { background: #FFC; }
tr.section-header { background: #FFC; font-size: 150%; font-weight: bold; }
tr.section-header td { padding-top: 20px; }

.expandable, .hidden { display: none; }
.collapsible { display: block; padding-left: 0.5em; }
.subquery_link { display: inline; padding-left: 0.5em; }
.subquery_result { display: block; background: #ccc; border: 1px solid #000; font-size: 95%; margin-left: 3em; padding-left: 1em; }

.notes { font-size: 90%; margin-left:1em; }
th .notes { font-size: 75%; }
img.plus, img.minus,
img.resources-plus, img.resources-minus { border: 1px solid #555; padding: 1px; }
img.plus:hover, img.minus:hover,
img.resources-plus:hover, img.resources-minus:hover { cursor: pointer; }

.compare-box { float: right; width: 30%; }
#bases-list h2, .compare-box h2 { text-align: center; }

#tree-matrix { margin: 10px auto; }
#tree-matrix td, #tree-matrix th { text-align: center; border: 1px solid #000; }

/* tables */
table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
}
table.tablesorter thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

table.tablesorter td.author,
table.tablesorter td.title { font-weight: bold; }

.basename { display: none; }

h3 { text-shadow: 0px 1px 0px #EEE; }

td.date {white-space: nowrap;}

.resources, .expand-descr, #build-tree-container, .compare-hi, .expand-all { padding: 5px; }
.compare-hi, .expand-all { padding-left: 2px; }
#build-tree-form,
.description,
.resources-box { margin-left: 10px; padding: 5px 10px; border-left: 1px solid #999; background-color: #DDD; }

.results-table { background-color: #DDD; border-left: 1px solid; border-collapse: collapse; margin: 10px 0; }
.results-table th { min-width: 5em; }
.results-table th { border: none; border-left: 1px dotted; background-color: #999; padding: 3px 3px; /*min-width: 15em;*/position: relative;}
/*.results-table th.number,
.results-table th.word { min-width: 1em; }*/
.results-table td { border-left: 1px dotted; border-top: 1px dotted; border-right: 0; border-bottom: 0; padding: 0 5px; }
.results-table td.has-expanded { min-width: 30em; }
.colsize-handle { position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: #444; cursor: e-resize; }
.colsort { font-size: 80%; position: relative; top: -2px; }
span.colsort { text-shadow: 0px 1px 0px #666; color: #222; background: #DDD; padding: 0px 4px 3px; border-radius: 3px; }
a.colsort { color: #CCC; text-shadow: 1px 1px 2px #333; }

.results_record { background-color: #DDD; padding: 5px 5px; border-top: 1px solid #888; border-bottom: 1px solid #EEE; }

.olPopupCloseBox { display: none !important; }
.langs { display: none; }

.bases-list-tabs { text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 80%; margin: 0 0 5px; }
.bases-list-tabs a { border-radius: 3px; padding: 5px 10px; margin: 0 15px; display: inline-block; background: #CCC; color: #000; }
.bases-list-tabs a.current { background: #777; color: #FFF; }

a.help-question { display: inline-block; margin: -5px 5px 0 5px; padding: 1 7 2; font-style: italic; text-decoration: none; font-weight: bold; font-size: 80%; border-radius: 10px; color: #FFF; background: #00F; }
.help-balloon { display: none; }
.help-balloon-shown { display: inline-block; position: absolute; z-index: 100; width: 50%; padding: 0 15px; background: #FFC; border-radius: 3px; font-size: 70%; font-family: Arial, Helvetica, sans-serif; font-weight: normal; text-align: justify; border: 1px solid #777; white-space: normal; -webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.41);
-moz-box-shadow:    7px 7px 5px 0px rgba(50, 50, 50, 0.41);
box-shadow:         7px 7px 5px 0px rgba(50, 50, 50, 0.41);}
dt { font-weight: bold; }
.nexus-icon { font-family: Arial, Helvetica, sans-serif; background: #00F; color: #FFF; padding: 0 2px 2px; border-radius: 2; font-size: 60%; font-variant: small-caps; position: relative; top: -4px; }
span.blue { color: #00F; }
span.red { color: #F00; }

table#query-table th { white-space: nowrap; }
