/* Center most stuff */
.main {
	text-align: center;
}
/* Hide the main title, we're gonna show the logo instead */
.main h1 {
	display: none;
}
/* Style the title text */
.logo {
	font-family: Arial, sans-serif;
	color: #444;
	font-size: 1.5em;
}
/* Give the logo some negative space to make it appear vertically centered */
.logo #goggle_logo {
	position: relative;
	top: 90px;
	margin-top: -70px;
}
/* And then make sure it has enough space underneath */
.logo span {
	padding-bottom: 100px;
}

/* The search box */
.query {
	font-family: Arial, sans-serif;
	margin-top: 90px;
}
.query label {
	color: #444;
}

/* Wouldn't it be nice if we could make a centered elastic
   layout without using a table? Le sigh. */
table {
	margin: auto;
}
table td {
	text-align: right;
}

/* Set up the message box */
.infobox {
	background: url("box.png") no-repeat;
	width: 372px;
	height: 87px;
	margin: auto;
	margin-top: 2em;
	font-family: Palatino, Palatino Linotype, Georgia, Times, Times New Roman, serif;
	font-size: 1.10em;
	/* This rule is for vertical centering */
	display: table;
}
/* Center text inside the box vertically */
.infobox div {
	display: table-cell;
	vertical-align: middle;
}

/* This rule exists because IE sucks */
.infobox span {
	display: inline-block;
}
/* Ditto */
.ie_align {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

/* The URL box that pops up after you submit */
input.url {
	border: 1px solid #b7b2eb;
	font-size: 1em;
	line-height: 1em;
}

/* The box with Amazon ads */
.ads {
	margin-top: 3em;
}
/* Replace the "sponsored by" text with an image */
.sponsored_by {
	text-indent: -9999px;
	background: url("sponsored_by.png") #FFF no-repeat;
	width: 93px;
	height: 28px;
	margin: auto;
	margin-bottom: 0.5em;
}

/* Leave some space in between ad links */
.ads a {
	margin-left: 1em;
}
.ads a.first {
	margin-left: 0em;
}

/* The ad links */
.ads a img {
	border: 1px solid #AAA;
	height: 100px;
	width: 63px;
}
.ads a:hover img {
	border: 1px solid #888;
}


/* The Amazon logo link */
.ads .brand_logo {
	display: block;
	margin: auto;
	border: none;
	margin-top: 0.3em;
}

/* The "About" section */
.credits {
	margin-top: 2em;
	font-family: Palatino, Palatino Linotype, Georgia, Times, Times New Roman, serif;
	border-top: 1px solid #DDD;
}
/* IE6 has some horrible non-aliasing happening, so just skip down the stack */
* html .credits {
	font-family: Times New Roman, serif;
}

h2.about {
	margin-top: 0.4em;
	font-size: 1.1em;
	color: #999;
}
.credits p {
	font-size: 0.9em;
	color: #666;
}
.credits p.disclaimer, .credits p.sources {
	font-size: 0.8em;
	color: #999;
}
.credits p.disclaimer {
	margin-bottom: 0em;
}
.credits p.sources {
	margin-top: 0.2em;
}

/* The fake cursor image */
#cursor {
	position: absolute;
	top: 100px;
	left: 100px;
}
