/* 

Thanks to CSS Zen Garden (http://www.csszengarden.com/) for inspiration.

*/

/* Define the basics: font, background colour, */
body {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:small;
	margin:0;
	background-color: #000;
	line-height:1.2;
	padding:15px;
}

.clear {

	clear:both;

}


/* Remove underlines from links: only when mouse-over */
a {
	text-decoration:none;
}

a:hover  { 
	text-decoration:underline;
}

/* The top title-graphic */
h1 {
	font:inherit;
	text-align:center;
	
	background-image:url(../header.jpg);
	height:170px;
	
	padding:0;
	margin:0;
	
	background-repeat:no-repeat;
	background-position:center;
	
	border-bottom: 3px #000 double;
	margin-bottom: 15px;
}

/* For hiding Philosopher Profiles title */
.title {
	position:absolute;
	left: -999999px;
	visibility:hidden;
	margin:0;
	padding:0;
}

/* The main container for every page: white background, 756px width */
#content {
	position:relative;
	width:756px;
	background-color: #fff;
	border:none;
	margin:0 auto;
}



/* ****************** NAVIGATION ****************** */
/* ************************************************ */
#navigation a {
	color: #fff;
}

/* Links */
#links {
	position: absolute;
	top: 138px;
	right:5px;
	font:inherit;
	font-size: 16px;
	color: #fff;
}


/* The search by last name form */
#searchform {
	font-size: small;
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: #fff;
	
	position: absolute;
	top: 35px;
	right:5px;
	
	text-align: right;
}

#searchform input {
	height: 1.5em;
	border: 1px solid #000;
}

#searchLabel {
	margin: 0;
	padding: 0;
}

#Search {
	height:1em;
	width:205px;
	padding:0;
	margin: 0;
	border:1px #000 solid;
	padding-right: 15px;
}

#cancel {
	position: absolute;
	right: 3px;
	height:0.9em;
	top:4px;
	z-index: 1;
}

#searchResults {
	position: absolute;
	right:0;
	top: 1.4em;
	border:1px solid #000;
	border-top:none;
	margin:0;
	padding:0;
	width:220px;
	visibility: hidden;
}


#searchResults p {
	font-size: 1em;
	margin:0;
	padding:5px;
	vertical-align: middle;
	text-align: left;
}

#searchResults p a {
	text-decoration: none;
	color: #000;
}

.dates {
	color:#aaa;
	font-size: x-small;
}

.resultsHeading {
	background-color: #ddd;
	color:black;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

.noResultsFound {
	background-color: #000;
	color:#fff;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

.randomLink {
	margin: 0;
	padding: 0;
	margin-right:3px;
}



/* ****************** MAIN CONTAINER GENERAL ****************** */
/* ************************************************************ */
#main {
	width: 530px;
	text-align: center;
}

#main h2, .nopage {
	font: inherit;
	font-size: x-large;
	font-weight: normal;
	font-style: italic;
	margin-bottom: 30px;
	text-align: center;
}

.errormessage {
	text-align: center;
}


/* ****************** MAIN CONTAINER MOST PAGES ****************** */
/* *************************************************************** */

body.other #main {
	margin: 30px auto;
}


/* Columns for the list of names */
body.other #main #col1, body.other #main #col2 {
	width: 35%;
	padding-bottom: 20px;
	list-style: none;
}

body.other #main #col1 {
	float: left;
}

body.other #main #col2 {
	float: right;
}

body.other #main #col1 p, body.other #main #col2 p {
	padding:2px;
	margin-bottom:2px;
}

.indexhead {
	font-size: 200%;
	font-weight: bold;
	margin:25px 10px 5px 10px;
	text-shadow: #bbb 2px 2px 2px;
}

.submission {
	
	clear:both;
	padding-top: 25px;

}

/* ****************** MAIN CONTAINER (INDEX) ****************** */
/* ************************************************************ */
body.index #main {
	float: right;
	padding: 0 10px;
}

body.index #main h2 {
	margin-top: 10px;
}


/* ****************** MAIN CONTAINER (GUIDE) ****************** */
/* ************************************************************ */
body.guide #main {
	margin: 30px auto;
}

body.guide #main ul {

	list-style: disc;

}

body.guide #main h2 {

	text-transform: capitalize;

}

body.guide #main p, body.guide #main li {

	text-align: justify;
	padding-left: 0;
	padding-right: 0;

}

body.guide #main li {

	list-style-position: inside;
	padding: 5px 0;

}

body.guide #main .writtenby {

	font-size: small;
	font-style: italic;
	margin-top: 20px;

}

/* ****************** MAIN CONTAINER (LOOK-ALIKES) ****************** */
/* ************************************************************ */
body.lookalikes #main {
	padding:10px;
	margin: 0 auto;
	width:650px;
}

.lookalike_box {

	padding: 5px;
	border: none;
	border-bottom: 1px black solid;
	margin: 20px auto;

}

.spotted_by {

	margin-top:15px;
	font-size: small;
	font-style: italic;

}

/* ****************** MAIN CONTAINER (PROFILES) ****************** */
/* *************************************************************** */
body.profile #main {
	padding:10px 10px 10px 100px;
	width:440px;
	
	/* For background image */
	min-height: 477px;
	background-image: url(../main_bg.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	
	vertical-align:top;
	text-align:justify;
	float:left;
	
	font-size: medium;
}

/* the name field on the profile page */
body.profile #main h2 {
	margin:0;
	padding-top: 5px;
	border-top: 2px solid #000;
	font-style: normal;
	text-align: left;
}

/* the date field on the profile page */
body.profile #main h3 {
	font:inherit;
	margin:0 0 15px 0;
	padding-bottom:8px;
	border-bottom:2px solid #000;
}

body.profile #main .editProfile {
	float: right;
	font-size: small;
	padding:0;
	margin:0;
	padding-right:3px;
	margin-top: -30px;
}

body.profile #main .editProfileForm {
	padding:0;
	margin:0;
}

body.profile #main h4 {
	font:inherit;
	font-weight: bold;
	margin:10px 0 0 0;
	padding-bottom:5px;
	border-bottom:2px solid #000;
}

body.profile #main .footnote {
	background: url(../footnote_line.gif) left top no-repeat;
	font-size: 70%;
	padding-top:5px;
	padding-left:13px;
	line-height: 1.3;
}

body.profile #main .footnote:before {
	content:"* ";
	font-size: medium;
	margin-left:-13px;
}


body.profile #main #profiletext:first-letter {
	font-size: 180%;
	line-height: 0.5em;
	font-weight: bold;
	margin:15px 0 0 0;
	padding:0;
}

/* the main text on the profile page */
body.profile #main p {
	
	margin-top: 10px;
	line-height:1.5;
}

/* Links for the main profile text: like Wikipedia */
body.profile #main a {
	color:blue;
}

body.profile #main .suggestChange {
	text-align: right;
	font-style: normal;
	font-size: small;
	padding:0;
	margin:-10px 0 -5px 0;
	line-height:1.0;
}

body.profile #main .contributors {
	font: inherit;
	font-size: small;
	font-style: normal;
	margin-bottom: 1px;
	padding-bottom: 1px;
	padding-top: 5px;
	border-top: 1px solid #000;
}

body.profile #main .details {
	font: inherit;
	font-size: x-small;
	font-style: normal;
	margin-bottom: 1px;
	padding-bottom: 1px;
}

body.profile #main .bookmarks {
	font: inherit;
	font-size: x-small;
	font-style: normal;
	margin-bottom: 1px;
	padding-bottom: 1px;
}

body.profile #main .copyright {
	font: inherit;
	font-size: xx-small;
	font-style: italic;
	margin-bottom: 1px;
	padding-bottom: 15px;
}


/* ****************** MAIN CONTAINER (NEWS) ****************** */
/* *********************************************************** */
body.news #main {
	margin: 30px auto;
}

body.news ul {
	text-align: left;
	list-style: square;
}

body.news li {
	padding-bottom: 5px;
}


/* ****************** SIDE COLUMN ****************** */
/* ************************************************* */
#sidecolumn {
	float:right;
	width:200px;
}

body.indexpage #sidecolumn {
	float: left;
}

/* Images in the side-column: thin black border */
#sidecolumn #philosopherPhoto {
	border:solid 1px #000;
	margin:3px 13px;
	width:150px;
}

#sidecolumn img {
	display: block;
	margin: 0 auto;
	text-align: center;
}

#sidecolumn a {
	color: #000;
}

/* The styling for elements in the side-column: as a class because it's repeated */
.sidetext {
	text-align:left;
	font-size:small;
	
	border:solid;
	border-width:1px;
	background-color: #e6e6e6;
	margin:10px;
}

/* The styled titles on the side-bar */
.sidetext h2 {
	background-image: url(../side_bg.jpg);
	background-position:top center;
	border-bottom: 1px solid #000;
	
	padding:5px;
	margin:0 0 5px 0;
	
	color: #fff;
	text-align: center;
	font:inherit;
	font-size:medium;
	font-weight:normal;
}

/* Stats list items */
.sidetext h3 {
	font:inherit;
	font-size:small;
	font-weight:bold;
	padding:0;
	margin-bottom:0;
}

/* get rid of list styling */
.sidetext li, ul {
	list-style:none;
	padding:0;
	margin:0;
	text-indent: 0;
}

.sidetext ul, p {
	padding:5px;
	margin-top:0;
	padding-top:0;
}

/* the right column for top trumps figures */
.sidetext .right-text {
	position:absolute;
	right:20px;
}

.sidetext .caption {
	margin: 0;
	text-align: center;
	font-size: x-small;
}


/* ****************** FOOTER ****************** */
/* ******************************************** */
#footer {
	clear:both;
	border-top:3px double #000;
	width:100%;
	font-size:x-small;
	text-align: center;
	background-image: url(../footer_bg.jpg);
	background-position: bottom;
	background-repeat: repeat-x;
	padding: 5px 0 30px 0;
	margin-top: 15px;
}

#footer p {
	margin:0 0px;
	padding:0;
}
