/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

body {
	background: #fff;
	line-height: 1;
}

ol, ul {
	list-style: none;
}

table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	font-weight: normal;
	text-align: left;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

a img {
	border: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* end reset */


::selection {
	background: #91f229;
	color: #000000;
}

a::selection {
	color: #ffffff;
}

a {
	text-decoration: none;
	color: #91f229;
}

a:hover {
	text-decoration: underline;
}

p {
	font-size: 13pt;
}

.clear {
	clear: both;
}

.fleft {
	float: left;
}

.fright {
	float: right;
}


#page {
	width: 1000px;
	height: 556px;
	margin: auto;
}

#header .content {
	height: 68px;
	width: 950px;
	margin: auto;
}

#main {
	margin: 15px 0 15px 0;

}

#header h1 {
	font-size: 40pt;
}

#about {
	margin: 15px 0 0 25px;
}

#subtitle-wrapper {
	width: 650px;
	height: 100px;
	margin: auto;
	padding: 15px;

	text-align: center;
}

.filler {
	width: 1000px;
	height: 1px;
	background-image: url("images/gradient.png");
}

#tiles-container {
	width: 970px;
	height: 480px;
	margin: auto;
}

#tiles-container a:hover {
	text-decoration: none;
}

#tiles-container .tile {
	width: 200px;
	height: 200px;
	margin: 15px;
	border: 5px solid #eeeeee;
}

#tiles-container .tile:hover {
	-moz-box-shadow: 3px 3px 10px -2px rgba(0, 0, 0, 0.7);
	-webkit-box-shadow: 3px 3px 10px -2px rgba(0, 0, 0, 0.7);
	box-shadow: 3px 3px 10px -2px rgba(0, 0, 0, 0.7);
}

#tiles-container .tile .overlay {
	width: 100%;
	height: 100%;
	position: relative;
}

.overlay:hover .caption {
	opacity: 1;
}

.caption {
	width: 100%;
	position: absolute;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.5);
	opacity: 0;
}

.caption p {
	font-size: 15pt;
	text-align: right;
	float: right;
	margin: 5px 5px 5px 0;
	color: #000;
}

.caption img {
	position: absolute;
	left: -20px;
	bottom: -20px;
}

.screenshot-gameweek {
	background-image: url("images/screenshot.gameweek.jpg");
}

.screenshot-lighting {
	background-image: url("images/screenshot.lighting.jpg");
}

.screenshot-flocking {
	background-image: url("images/screenshot.flocking.jpg");
}

.screenshot-webcam {
	background-image: url("images/screenshot.webcam.jpg");
}

.screenshot-gameoflife {
	background-image: url("images/screenshot.gameoflife.jpg");
}

.screenshot-perlin {
	background-image: url("images/screenshot.perlin.jpg");
}

.transition {
	-webkit-transition: all 500ms ease-out;
	-moz-transition: all 500ms ease-out;
	-ms-transition: all 500ms ease-out;
	-o-transition: all 500ms ease-out;
	transition: all 500ms ease-out;
}
