div.header-logo {
	float: left;
	margin-bottom: 10px;
	width: 118px;
	height: 31px;
}
div.header-login {
	float: right;
	margin-top: 5px;
}
div.header-login span.current-group {
	font-weight: bold;
}
div.header-login span.logout {
	font-size: x-small;
}
div.header-links {
	margin-top: 1em;
	font-size: larger;
	padding: 5px;
	border: solid 1px #ddf;
	background: #eef;
	overflow: hidden;
	clear: both;
}
div.header-links span#items {
}
div.header-links span#coordinates {
}

div.header-links span.admin-links {
	float: right;
}
div.header-links span.user-links {
	float: left;
}
div.header-links span.disabled-text {
	color: darkgray;
}

div#avatarButtons {
	visibility: hidden;
}

div.avatar-pos-label,
div.avatar-gpos-label,
div.avatar-nor-label,
div.avatar-alf-label,
div.camera-params-label {
	float: left;
	padding: 1px 0px;
}

div.avatar-disp,
input.camera-params {
	float: left;
	text-align: right;
	font-family: monospace;
	width: 4.0em;
	padding: 1px 3px;
	margin: 0px 3px;
	background: #ffffff;
	border: solid 1px #e0e0e0;
}

div#avatars-url {
	font-family: monospace;
	overflow: auto;
	padding: 1px 3px;
	margin: 0px 3px;
	background: #ffffff;
	border: solid 1px #e0e0e0;
}

div#camera-is-spacer,
div#param-spacer,
div.spinner-plus {
	float: left;
}

div.spinner-minus {
	margin-right: 1.5em;
	float: left;
}

div#rotatable-settle-container {
	float: left;
}

div#settle-avatar-params-container {
	float: right;
	padding: 10px 10px;
	background: #f0f8f8;
}

.item-detail,
.item-detail-selected {
	font-size: small;
}

.item-detail span.item-id {
	font-weight: bold;
	font-size: medium;
}
.item-detail-selected span.item-id {
}

.item-detail span.item-title {
	font-weight: bold;
	font-size: large;
}
.item-detail-selected span.item-title {
}

.item-detail span.item-type,
.item-detail-selected span.item-type {
}
.item-detail span.item-type:before,
.item-detail-selected span.item-type:before {
	content: "[";
}
.item-detail span.item-type:after,
.item-detail-selected span.item-type:after {
	content: "]";
}

.item-detail span.item-sex,
.item-detail-selected span.item-sex {
}
.item-detail span.item-sex:before,
.item-detail-selected span.item-sex:before {
	content: "[";
}
.item-detail span.item-sex:after,
.item-detail-selected span.item-sex:after {
	content: "]";
}

.item-detail span.item-status {
	color: blue;
	font-weight: bold;
}
.item-detail span.item-status-edit:before {
	content: "(";
}
.item-detail span.item-status-edit:after {
	content: ")";
}

.item-detail span.item-deform {
	font-weight: bold;
}
.item-detail span.item-deform-edit {
	font-weight: normal;
	font-size: x-small;
}
.item-detail span.item-deform-edit:before {
	content: "(";
}
.item-detail span.item-deform-edit:after {
	content: ")";
}
.item-detail span.item-deform-edit.disabled-text {
	color: darkgray;
}

.item-detail span.item-gkey-edit {
	font-size: x-small;
}
.item-detail span.item-gkey-edit:before {
	content: "(";
}
.item-detail span.item-gkey-edit:after {
	content: ")";
}
.item-detail span.item-gkey-edit.disabled-text {
	color: darkgray;
}

.item-detail span.item-latest-revision {
}
.item-detail span.item-group {
	font-size: small;
	font-weight: bold;
}
.item-detail span.item-order {
	font-size: small;
	font-weight: bold;
}

.item-detail span.item-edit {
	font-size: x-small;
}

.item-detail span.item-edit span.disabled-text {
	color: darkgray;
}

.coordinate-info span.title {
	font-weight: bold;
	font-size: large;
}

.coordinate-info span.id {
}
.coordinate-info span.id:before {
	content: "(#";
}
.coordinate-info span.id:after {
	content: ")";
}

.coordinate-info span.sex {
}
.coordinate-info span.sex:before {
	content: "[";
}
.coordinate-info span.sex:after {
	content: "]";
}

.coordinate-info span.tag-list {
	font-weight: bold;
}
.coordinate-info span.tag-list span.tag:before {
	content: "[";
}
.coordinate-info span.tag-list span.tag:after {
	content: "]";
}

span.check-box-label {
	float: left;
	white-space: nowrap;
}

table.layout {
	background: inherit;
}
table.layout th,
table.layout td {
	background: inherit;
        vertical-align: top;
}

table.default th,
table th {
	/* background: #c7e1f0; */
	background: #b7d1e0;
}
table.default td,
table td {
	/* background: #f6f6f6; */
	background: #ddffff;
}
table.default tr.even td,
table tr.even td {
	background: #ddffff;
}
table.default tr.odd td,
table tr.odd td {
	background: #ddffdd;
}

table.simple {
	border-spacing: 10px 2px;
}

table.simple td div.fieldWithErrors {
	border-spacing: 0px 0px;
}
table.simple tr.bold th,
table.simple tr.bold td {
	background: inherit;
	border-bottom-width: 2px;
	border-bottom-style: dotted;
	border-bottom-color: #808080;
	text-align: left;
}
table.simple tr th,
table.simple tr td {
	background: inherit;
	border-bottom-width: 2px;
	border-bottom-style: dotted;
	border-bottom-color: #e0e0e0;
	text-align: left;
}

/**************************************************************/
.clear { /* generic container (i.e. div) for floating buttons */
	overflow: hidden;
	width: 100%;
}

a.cssbutton {
	background: transparent url('../images/bg_button_a.gif') no-repeat scroll top right;
	color: #444;
	display: block;
	float: left;
	font: normal 12px arial, sans-serif;
	height: 24px;
	margin-right: 6px;
	padding-right: 18px; /* sliding doors padding */
	text-decoration: none;
}

a.cssbutton span {
	background: transparent url('../images/bg_button_span.gif') no-repeat top left;
	display: block;
	line-height: 14px;
	padding: 5px 0 5px 18px;
}

a.cssbutton:hover { color: #a44; }

a.cssbutton:active {
	background-position: bottom right;
	color: #a00;
	outline: none; /* hide dotted outline in Firefox */
}

a.cssbutton:active span {
	background-position: bottom left;
	padding: 6px 0 4px 18px; /* push text down 1px */
}

div.disabled-cssbutton {
	background: transparent url('../images/bg_button_a.gif') no-repeat scroll top right;
	color: #444;
	display: block;
	float: left;
	font: normal 12px arial, sans-serif;
	height: 24px;
	margin-right: 6px;
	padding-right: 18px; /* sliding doors padding */
	text-decoration: none;
}

div.disabled-cssbutton span {
	background: transparent url('../images/bg_button_span.gif') no-repeat top left;
	display: block;
	line-height: 14px;
	padding: 5px 0 5px 18px;
	color: darkgray;
}

.button {
	padding: 1; overflow: visible;
}
/**************************************************************/

/* style for item_collection on coordinates (pseudo inline) */
div.item_collection {
	width: 50%;
	height: 300px;
	padding: 0.5em;
	overflow: auto;
}

/* styles for thoughtbot's sortable_table */

.sortableTable {
	border: 1px solid #999;
	background-position: center;
	background-repeat:no-repeat;
}

.sortableTable th {
	padding: 3px 6px;
	text-align: left;
}

.sortableTable td {
	font-size: .95em;
	padding: 3px 6px;
	color: #101010;
	border-bottom: 1px solid #999;
}
.sortableTable tr td.no-border {
        border-bottom: none;
}
.sortableTable tr td.comment {
	font-size: .75em;
}

.sortableTable tr.tableHeaderRow th,
.sortableTable tr.tableHeaderRow td {
	/* background: #c7e1f0; */
	background: #b7d1e0;
	border-top: 1px solid;
	border-bottom: 1px solid;
	font-weight: bold;
	text-align: left;
}

.sortableTable tr.tableHeaderRow th a.asc {
	background-color: #faf1ed;
	background-image:url(../images/arrow_up.gif);
	background-position: top right;
	background-repeat:no-repeat;
	padding-right: 15px;
}

.sortableTable tr.tableHeaderRow th a.desc {
	background-color: #faf1ed;
	background-image:url(../images/arrow_down.gif);
	background-position: top right;
	background-repeat:no-repeat;
	padding-right: 15px;
}

.sortableTable tr td.disabled-text {
	color: darkgray;
}

#search {
	padding: 10px;
}

fieldset {
	border: solid 1px #333;
	padding: 8px;
}

p.flashError {
	text-align: left;
	font-weight: bold;
	background-color: red;
	color: #fff;
	padding: 0px;
}

p.flashNotice {
	text-align: left;
	font-weight: bold;
	background-color: green;
	color: #fff;
	padding: 0px;
}

legend {
	padding: 10px;
	font-weight: bold;
}

#item-batch-opts,
#item-search-opts {
	float: left;
	width: 35%;
	margin-top: 0px;
}
#item-query {
	float: right;
	width: 60%;
	margin-top: -37px;
}
#batch-query {
	float: right;
	width: 60%;
	margin-top: 17px;
}

#item-search-opts #item-display-options textarea#additional-items-for-selection {
        overflow-y: scroll;
        overflow-x: hidden;
	font-family: monospace;
}

#item-selections div.disabled-cssbutton {
	margin-bottom: 8px;
}

div#order-info,
div#item-info,
div#item-edit-form,
div#revision-info,
div#group-info,
div#coordinate-info,
div#upload-info,
div#revision-files {
	float: left;
	width: 45%;
}

div#revision-item-info {
	float: left;
}

div#item-revisions,
div#group-users,
div#upload-order-info,
div#items-for-this-coordinate {
	float: left;
	width: 45%;
}

div#revision-parts {
	display: inline;
}
div#revision-parts table {
	display: inline-table;
	vertical-align: top;
}

div#order-info-footer,
div#item-info-footer,
div#group-info-footer {
	clear: left;
}

div#items-list,
div#revisions-list {
	float: left;
	width: 45%;
}

div#items-list div.items-list-footer {
	margin-top: 10px;
}

div#items-list span.disabled-text {
	color: darkgray;
}

#coordinate-search-opts {
	float: left;
	width: 35%;
	margin-top: 37px;
}
#coordinate-query {
	margin-left: 39%;
	width: 60%;
	margin-top: -30px;
}

div#search-results {
	position: relative;
}

div.spinner {
	position: absolute;
	z-index: 1;
	top: 100px;
	left: 300px;
	text-align: center;
}

div#disimage-params {
	float: left;
}

div#disimage-frame-lists {
	position: absolute;
	width: 50%;
	margin-left: 45%;
}

div#camera-params {
	font-family: monospace;
	font-size: 13px;
}

div#avatar-params-panel ul,
div#camera-params ul {
	list-style: none outside none;
	margin: 0;
	padding: 0;
}

div#camera-reset-all-params {
	height: 50px;
}
