/* - GENERAL --------------------- */

#content .page {
	font-size: 1.4em;
	line-height: 1.25;
}

#content a,
#content a:link,
#content a:visited {
	color: black;
}
#content a:hover,
#content a:focus {
	color: #515151;
}

#content ul, 
#content li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#content li {
	padding-bottom: 10px;
	clear: both;
}
#content ul {
	margin-bottom: 1em;
}

h1 span {
	font-weight: normal;
	font-style: italic;
}

div#content h2 {
	margin: 0 0 0.8em 0;
	padding: 0;
	clear: both;
}
div#content h3 {
	margin: 0.8em 0 0.6em 0;
	padding: 0;
	line-height: 1.3;
	clear: both;
}

div#content p {
	margin:0 0 1em 0;
}


/* - HELPER --------------------- */

p.measurement,
p.material,
p.credit,
p.download,
#content ul.people li,
#content ul.bodies li,
#content ul.items li,
#content ul.places li,
.notification {
	padding: 3px 0 2px 24px;
	background-image: url(/static/img/icons/chart_bar.png);
	background-repeat: no-repeat;
	background-position: 0 0.1em;
}
p.material {
	background-image: url(/static/img/icons/brick.png);
}
p.credit {
	background-image: url(/static/img/icons/book_open.png);
}
p.download {
	background-image: url(/static/img/icons/disk.png);
}
#content ul.people li {
	background-image: url(/static/img/icons/user_suit.png);
}
#content ul.bodies li {
	background-image: url(/static/img/icons/world.png);
}
#content ul.items li {
	background-image: url(/static/img/icons/box.png);
}
#content ul.places li {
	background-image: url(/static/img/icons/map.png);
	background-position: left center;
}
.notification {
	background-image: url(/static/img/icons/information.png);
	background-position: left center;
}
.error {
	background-image: url(/static/img/icons/exclamation.png);
	background-position: left center;
}
p.see-all {
	text-align: right;
}
.search p.see-all {
	text-align: left;
}
#content p.see-all a:link,
#content p.see-all a:visited,
#content p.see-all a:hover,
#content p.see-all a:focus,
#content p.see-all a:active,
#content a.see-all:link,
#content a.see-all:visited,
#content a.see-all:hover,
#content a.see-all:active,
#content a.see-all:focus {
	/* listing all psuedo classes to avoid dynamic inheritance clash in IE6 */
	padding: 3px 17px 2px 0;
	background-image: url(/static/img/icons/resultset_next.png);
	background-repeat: no-repeat;
	background-position: right 0.35em;
	white-space: nowrap;
	color: #226DCD;
	margin: 0;
}
#content p.extra.see-all a,
#content p.extra a {
	background-position: right 3px;
}
#content .search p.see-all a,
#content .search a.see-all,
#content .home-cols p.see-all a,
#content .home-cols a.see-all {
	background-position: right 0.35em;
	white-space: normal;
}
#content p.see-all a:hover,
#content p.see-all a:focus,
#content p.see-all a:active,
#content a.see-all:hover,
#content a.see-all:active,
#content a.see-all:focus {
	color: #1A539C;
}
#content .extra {
	font-size: 0.714em;
}
#content .page .additional,
#content .home-cols .additional {
	font-style: italic;
	font-weight: normal;
	color: #8B8B8B;
	white-space: nowrap;
}

.highlighted {
	background-color: #FAFEB9;
	font-weight: bold;
	color: black;
}
/* - STRUCTURE --------------------- */

div.layout-e,
div#header ul#top-nav {
	background: white;
}

#content ol.nav {
	background: #D2D2D2;
	text-align: right;
	padding-bottom: 5px;
}
#content ol.nav li {
	display: inline;
}
#content ol.nav li.first a {
	font-weight: bold;
}
div.page {
	padding: 20px 20px 0 20px;
	overflow: hidden;
	zoom: 1;
}
.search {
	overflow: hidden;
	zoom: 1;
}

div.primary {
	width: 298px;
	float: right;
}
.search .primary {
	float: left;
	width:519px;
	margin-bottom: -900em;
	padding-bottom: 900em;
}

div.secondary {
	width: 300px;
	float: left;
}
.search .secondary {
	float: right;
	width:140px;
	padding-left: 20px;
	border-left: 3px solid #D2D2D2;
	margin-bottom: -900em;
	padding-bottom: 900em;
}
div.tertiary {
	width: 386px;
	float: left;
}

/* - COMPONENTS --------------------- */

div.polaroid {
	 margin: 0;
	 padding: 0;
}
div.polaroid img {
	display: block;
	border: 1px solid #D2D2D2;
	padding: 2px;
	margin-bottom: 20px;
}
div.polaroid p {
	 margin: 0;
	 padding: 2px;
}
.hasJS .img-wrapper {
	border: 1px solid #D2D2D2;
	padding: 2px;
}
.hasJS div.polaroid .img-wrapper img {
	border: 0;
	padding: 0
}
.date {
	font-size: 1.143em;
}
.meta {
	font-size: 0.714em;
	background-color: #E4E4E4;
	border: 1px solid #D2D2D2;
	padding: 10px;
	margin-bottom: 20px;
}
div#content .meta p {
	margin: 0 0 0.3em 0;
}
.search-form {
	font-size: 1.143em;
	background-color: #E4E4E4;
	border: 1px solid #D2D2D2;
	padding: 10px;
	margin-bottom: 20px;
	clear: both;
}
.map-goes-here {
	width: 704px;
	height: 306px;
	margin-bottom: 20px;
}

.hasJS .map-goes-here {
	height: 300px;
	margin-bottom: 0;
}
.hasJS .map-container {
	border: 1px solid #D2D2D2;
	padding: 2px;
	width: 704px;
	height: 300px;
	margin-bottom: 20px;
}
.map-goes-here img {
	display: block;
	margin: 0 auto;
	border: 1px solid #D2D2D2;
	padding: 2px;
}

.type-indicator {
	font-size: 0.6em;
	padding: 4px 9px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	vertical-align: middle;
	font-weight: normal;
	white-space: nowrap;
}
.item .type-indicator {
	background-color: #F3BF23;
}
.celestial-body .type-indicator {
	background-color: #9FE530;
}
.person .type-indicator {
	background-color: #51A0E9;
}

#content ul.listing li .date-indicator {
	white-space: nowrap;
}
#content .search ul.listing a {
	margin-right: 10px;
}
#content ul.listing li.item {
	padding-left: 95px;
	overflow: hidden;
	zoom: 1;
}
#content ul.listing h2,
#content ul.listing h3 {
	clear: none;
	margin-top: 0;
}
#content ul.listing li.item img {
	margin-left: -95px;
	border: 1px solid #D2D2D2;
	padding: 2px;
	float: left;
}


/* - OVERRIDES FOR HOMEPAGE --------------------- */

.main-image {
	float: left;
	width: 200px;
	margin-right: 20px;
}
.introduction {
	width: 477px;
	float: right;
	margin-bottom: 20px;
}
.leader {
	font-weight: bold;
	font-size: 1.143em;
}
.home-cols {
	background-color: #D2D2D2;
	overflow: hidden;
	zoom: 1;
	padding-top: 3px;
	margin-bottom: -20px;
	margin-top: 20px;
	font-size: 1.4em;
	line-height: 1.25;
}
#content .home-cols h2 {
	line-height: 1.25em;
}
#content .home-cols h3 {
	font-size: 1em;
}
.home-cols .home-col {
	background-color: white;
	width: 206px;
	padding: 20px;
	margin-bottom: -900em;
	padding-bottom: 901em;
	margin-right: 3px;
	float: left;
}
.home-cols .home-col-3 {
	float: right;
	margin-right: 0;
}
.home-cols img {
	border: 1px solid #D2D2D2;
	padding: 2px;
	display: block;
	margin: 0 auto;
}
.home-cols .item img {
	margin-bottom: 20px;
}
