/* reset rules */
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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;padding: 0;border: 0;font-size: 100%;line-height: 1.5;font-family: inherit;text-align: left;vertical-align: baseline;}
a img, :link img, :visited img {border: 0;}
table {border-collapse: collapse;border-spacing: 0;}
q:before, q:after, blockquote:before, blockquote:after {content: "";}
input {vertical-align:middle;}
.clear:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}

/* specifice styles */
html {
	height: 100%;
}
body { 
	height: 100%;
	background: #000; 
	color: #eee;
	font-size: 12px;
	font-family: Optima, "Gill Sans", "Gill Sans MT", Arial, sans-serif; 
}

#container {
	min-height: 100%; 
	height: auto !important; 
	height: 100%;
	width: 960px;
	margin: 0 auto -50px auto;
	position: relative;
}

/* header */
#header {
	padding-top: 3em;
}
#home #header {
	position: absolute;
	top: 50%;
	margin-top: -63px;
	width: 100%;
}
a {
	outline: none;
	text-decoration: none;
	color: #aaa;
}
a:hover {
	color: #555;
}
h1 { 
	text-transform: uppercase; 
	font-size: 36px; 
	line-height: 1; 
	font-weight: normal; 
	text-align: center;
	font-family: "Trajan Pro", Sylfaen, Constantia, Palatino, "Palatino Linotype", serif; 
	text-align: center; 
	color: #555;
}
#home h1 {
	color: #eee;
}
#nav {
	text-align: center;
}
#nav li {
	display: inline;
}
#nav li a { 
	margin: 0 12px; 
	text-decoration:none; 
	color: #555;
}
#nav li a:hover { 
	color: #aaa; 
}
#nav li a.active { 
 
}
#home #nav li a {
	color: #fff;
}
#home #nav li a:hover {
	color: #555;
}

/* content */
#content {
	padding: 3em 0;
}
ul#subnav {
	width: 280px;
	margin: 116px auto 0;
	list-style: none;
}
ul#subnav li {
	background: url("../img/line-small.gif") no-repeat 50% bottom;
	text-align: center;
	padding: 10px 20px;
}
ul#subnav li.last {
	background: none;
}
ul#subnav li a {
	text-align: center;
	padding: 5px;
	color: #fff;
	background: #000;
	}
ul#subnav li a:hover {
	color: #555;
}
#push {
	height: 50px;
}

/* gallery */
#picturebox {
	position: relative;
	height: 540px;
	text-align: center;
	margin: 60px 0;
	padding: 30px 0;
}
#gallerynav {
	list-style: none;
}
#gallerynav #back {
	position: absolute;
	top: 270px;
	left: 0;
}
#gallerynav #forward {
	position: absolute;
	top: 270px;
	right: 0;
}
a#back, a#forward { 
	display: block; 
	width: 60px; 
	height: 60px; 
	text-indent: -9999px; 
	outline: none; 
}
a#back { 
	background: #323232 url("../img/back.png") no-repeat; 
}
a#forward { 
	background: #323232 url("../img/forward.png") no-repeat; 
}
a#back:hover, a#forward:hover { 
	background-color: #aaa;
}

/* gallery on white */
body.light {
	background: #fff;
	color: #aaa;
}
body.light h1 {
	color: #aaa;
}
body.light #nav li a { 
	color: #aaa;
}
body.light #nav li a:hover { 
	color: #323232; 
}
body.light a#back { 
	background: #aaa url("../img/back-light.png") no-repeat; 
}
body.light a#forward { 
	background: #aaa url("../img/forward-light.png") no-repeat; 
}
body.light a#back:hover, body.light a#forward:hover { 
	background-color: #323232;
}
body.light #footer p {
	color: #aaa;
}
body.light a#crema {
	color: #aaa;
}
body.light a#crema:hover {
	background: url("../img/crema-logo-black.png") no-repeat 4px 50%;
	color: #323232;
}

/* curriculum page */
#snapshot {
	float: left;
	margin-top: -40px;
}
#curriculum #content {
	padding-top: 60px;
}
#curriculum #content h3 {
	margin: 0 0 1em 280px;
	padding-left: 60px;
	font-weight: normal;
	font-family: "Trajan Pro", Sylfaen, Constantia, Palatino, "Palatino Linotype", serif; 
	color: #aaa;
	background: url("../img/line.gif") no-repeat 0 50%;
}
#curriculum #content ul {
	margin-left: 280px;
	list-style: none;
	margin-bottom: 12px;
}
#curriculum #content ul.extra {
	margin-left: 340px;
}
#curriculum #content ul {
	position: relative
}
#curriculum #content ul li {
}
#curriculum #content ul ul {
	margin-left: 60px;
	margin-bottom: -6px;
	top: -18px;
}

/* contact page */
#contact .vcard {
	text-align: center;
	margin-top: 176px;
}

/* footer */
#footer {
	height: 50px;
	position: relative;
	width: 960px;
	margin: 0 auto;
}
#footer p {
	color: #323232;
	padding: 16px 20px 0 0;
	text-align: right;
}
a#crema {
	color: #323232;
	padding: 3px 6px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding-left: 22px;
}
a#crema:hover {
	background: url("../img/crema-logo.png") no-repeat 4px 50%;
	color: #eee;
}
