/* Advent 07 screen styles */

@import url('thickbox/thickbox.css'); /* Load shared Thickbox styles */

html {
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
}

/* Globally remove margin and padding and set normal font size for page */
* {
	padding: 0;
	margin: 0;
}

body {
	font-size: 1em;
  background-color: #000;
  color: #fff;    
	text-align: left;
  margin: 0 0 01em 0;
	background-image: url(images/bg_grad01.jpg);
	background-repeat: repeat-y;
	background-position: center top;
}

/* Page Layout */

div#wrapper {
	width: 960px;
	margin: 30px auto;
}
div#about {
	float: left;
	width: 300px;
	margin: 0 30px 30px 15px;
}
div#content {
	width: 600px;
	margin-left: 350px;
}
body.popup div#content, #TB_window div#content, #TB_window div#wrapper {
	width: auto;
	margin-left: 0px;
}
body.home div#grid {
	width: 600px;
	height: 720px;	
	overflow: hidden;
	/*margin-left: 0px;*/
}

div#footer {
	clear: both;
	margin-left: 10px;
	border-top: 1px solid #660000;
	border-bottom: 1px solid #660000;
}

/* Grid Cells */
div#content div.outer {
	float: left;
	position: relative;
	width: 150px;
	height: 144px;
}
div#content div.outer div {
	width: 149px;
	height: 144px;
	overflow: hidden;
	border-top: 1px dashed #ccc;
	border-left: 1px dashed #ccc;
}
div#content div.top div {
	border-top: none;
}
div#content div.outer div p {
	position: absolute;
	display: block;
	margin: 10px;
	padding: 2px;
	font-size: 1.4em;
	font-weight: bold;
	font-style: italic;
	text-align: left;
	color: #000099;
	background-image: url(images/bg_grey_alpha.png);
}
div#content div.outer div.visited a {
	display: block;
	height: 0;
	padding-top: 144px;
}
div#content div.outer div.visited a img, div#content div.outer div.visited p {
	display: none;
}
div#content img.activityImage {
	float: right;
	margin: 5px 16px;
}
div#content blockquote {
	margin-left: 4em;
	margin-right: 3em;
	font-style: italic;
}
/* Mini-grid! */
div#about div#grid {
	width: 300px;
	height: 360px;
	background-color: #450000;
	background-image: url(images/nicolas300.jpg);
	background-repeat: no-repeat;
}
div#about div#grid div.outer {
	float: left;
	position: relative;
	width: 75px;
	height: 72px;
}
div#about div#grid div.outer div, div#about div#grid div.outer div img {
	width: 74px;
	height: 71px;
}
/* About section */
div#about h1 {
	width: 300px;
	height: 140px;
}
div#about h1 a {
	display: block;
	background-image: url(images/advent07title.jpg);
	background-repeat: no-repeat;
	width: 300px;
	height: 140px;
	text-indent: -9999em;
}
div#about p {
	text-align: justify;
}


/* Common tags */

p, li {
	font-size: 1.3em;
	line-height: 1.4em;
	margin: 0.8em 0;
	text-align: left;
}
ul, ol {
	list-style-position: inside;
}
h2 {
	font-size: 1.8em;
	border-top: 1px solid #660000;
	border-bottom: 1px solid #660000;
	text-align: center;
	padding: 0.3em 0;
	background-image: url(images/bg_grad01.jpg);
	background-repeat: no-repeat;
	background-position: 100px 0;
}
h3 {
	padding: 0.3em 0;
	clear: right;
	font-size: 1.6em;
	border-bottom: 1px solid #660000;
}
h4 {
	font-size: 1.4em;
	border-bottom: 1px solid #660000;
}
#footer p {
	font-size: 1.1em;
	text-align: center;
}

img {
    border: 0;
}

.hidden {
	display: none;
}

a, a:link, a:visited {
	color: #0033FF;
	text-decoration: none;
}
a:hover {
	color: #0033CC;
  text-decoration: underline;
}
a:active {
	border: none;
}

/* Thickbox Popup style resets */
#TB_window h1, #TB_window h2, #TB_window h3 {
	background: none;
	border: none;
}


/* Other type styles */

p.headerPic {
	text-align: center;
}
p.headerPic img {
	border: 1px solid #ccc;
}

.centre {
	text-align: center;
}
.centreQuote {
	text-align: center;
	font-style: italic;
}
.redText {
	color: #0066CC;
}
.greenText {
	color: #006600;
}


