/*
Styles necessary for rendering the query forms in RelaisVisitorCentre.
*/

/* errors generated by djangoforms */
.errorlist {
	background-color: #ffffe3; 
	border: 1px solid #d80;
	background-color: #fd7; 
	width: 80%;
	list-style-position: inside;
	padding: 0.3em 1em;
}

.biosequence {
	font-family: monospace, courier; 
}

/* for text representation of trees and the like */
.revi_treestring {
	font-family: monospace, courier;
	border: thin dotted lightgray;
	background-color: straw;
	color: slategray;
	margin-left: 2em;
	overflow: auto;
	margin: 0.5em 1.0em;
	font-size: 1.0em;
}

/* centre the images of phylogenies and the like */
.result_img {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.align_center {
	margin-left: auto !important;
	margin-right: auto !important;
}

table.center {
	margin: 0.5em;
	margin-left: auto;
	margin-right: auto;
}

.rls_results {
	border: 1px solid gray;
	margin: 1.0em;
	padding: 0.5em 1.0em;
}

/* where the openlayers map appears */
#revi_olmap {
	width: 100%;
	height: 400px;
	border: 1px solid black;
}

#revi_olmap_info {
	margin-top: 0.5em;
	padding: 0.3em;
	font-size: 90%;
	background-color: azure;
	border: 1px solid gray;
	display: none;
}

.revi_spanlink {
	cursor: pointer;
	text-decoration: underline;
}

.revi_results_table, .revi_results_olmap {
	margin-top: 2em;
	margin-bottom: 2em;
}


/* for laying out the search form fields */
table.revi_formlayouttable {
	border: 10px hidden transparent;
}


/* the results tables generated by search */
table.revi_results {
	border-color: gray;
}

table.revi_results thead {
	background-color: tomato;
}

table.revi_results tr {
	border: 1px dotted gray !important;
}

/* a bit of aesthetic spacing */
.revi_sectionheader {
	margin-top: 2em;
}

table.bioseqlayout {
	font-family: monospace, courier; 
	border: 1px solid gray;
}

table.bioseqlayout td.bioseqcol {
	background: snow;	
}

table.bioseqlayout td.leftcol {
	background: silver;
	border-color: silver;
}

table.bioseqlayout td.rightcol {
	background: silver;
}




