* {
	margin: 0px;
	padding: 0;
}

body {
	background: #ddd;
	font-family: Verdana, Arial, Helvetica;
	color: #666;
}

a {
	color: #555;
	text-decoration: none;
}

a:visited {
	/*color:  #666;
	*/
}

ul {
	list-style: none;
}

#wrap {
	width: 960px;
	margin: 0 auto;
}

.prj li {
	font-size: 12px;
	font-weight: normal;
	height: 15px;
	cursor: pointer;
}

/*.prj li a {
	
color:  #666;
	*/
}

 .prj {
	/*display:  none;
	*/
}

/*.prj li a:hover {
	
color:  #990000;
	
}

*/
.projects {
	/*float:  right;
	*/
width: 300px;
	text-align: right;
	margin-top: 25px;
	position: absolute; /*new*/
right: 50px;
	display: none;
}

.news {
	display: none;
	float: left; /*background:  #efefef;
	*/
width: 500px;
	font-size: 12px;
	top: 150px;
	margin-bottom: 35px; /*170px;
	*/
margin-left: 50px;
	border-bottom: 1px solid white;
	padding-bottom: 60px;
	position: relative;
	padding-left: 30px;
}

.news a {
	font-weight: bold;
	color: #555;
}

.news a:hover {
	font-weight: bold;
	color: #990000;
}

p {
	margin-bottom: 10px;
}

p.dark {
	color: #333;
	font-weight: bold;
}

.nav ul {
	width: 605px;
	padding-bottom: 10px;
	margin: 0 auto;
	margin-bottom: 50px;
}

.nav {
	width: 100%;
	background: #eee;
	position: fixed;
	height: 50px;
	bottom: 0px; /*background:  -webkit-radial-gradient(circle, rgba(999,999,999,.2), rgba(999,0,0,.1));
	*/
}

.nav ul li {
	width: 120px;
	cursor: pointer;
	display: block;
	height: 40px;
	float: left;
	text-align: center;
	line-height: 35px;
	margin-right: 1px;
}

.one p {
	display: none;
	color: #990000;
	font-size: 16px;
}

.one {
	/* RED */
background: #efefef;
	color: #666;

	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	transition: all .3s ease-out;

	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-o-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);

	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	-o-transform-origin: 0 100%;
	-ms-transform-origin: 0 100%;
	transform-origin: 0 100%;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-top: 1px solid #fff;
}

.nav ul li div {
	-webkit-box-shadow: 0 6px 10px -1px rgba(0,0,0,.4);
	-moz-box-shadow: 0 6px 10px -1px rgba(0,0,0,.4);
	box-shadow: 0 6px 10px -1px rgba(0,0,0,.4);
	position: absolute;
	width: 120px;
	height: 40px;
	-webkit-perspective: 900;
}

.two {
	/* WHITE */
background: #ddd;
	color: #990000;

	-webkit-transition: all .3s ease-in;
	-moz-transition: all .3s ease-in;
	-o-transition: all .3s ease-in;
	-ms-transition: all .3s ease-in;
	transition: all .3s ease-in;

	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	-o-transform: rotateX(90deg);
	-ms-transform: rotateX(90deg);
	transform: rotateX(90deg);

	-webkit-transform-origin: 0 0%;
	-moz-transform-origin: 0 0%;
	-o-transform-origin: 0 0%;
	-ms-transform-origin: 0 0%;
	transform-origin: 0 0%;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom: 1px solid #999;
}

/*.nav ul li:hover .two {
	

-webkit-transform:  rotateX(0deg);
	
-moz-transform:  rotateX(0deg);
	
-o-transform:  rotateX(0deg);
	
-ms-transform:  rotateX(0deg);
	
transform:  rotateX(0deg);
	
}

*/
.nav ul li:hover .one span {
	/*-webkit-transform:  rotateX(90deg);
	*/
display: none;
}

.nav ul li:hover .one p {
	display: block;
}

.dice {
	position: relative;
	margin-left: -70px;
	margin-top: -112px;
}

.dice li {
	position: absolute;
	float: left;
	width: 100px;
	top: -140px;

	-webkit-box-shadow: 0px 13px 30px -5px rgba(0,0,0,1);
	-moz-box-shadow: 0px 13px 30px -5px rgba(0,0,0,1);
	box-shadow: 0px 13px 30px -5px rgba(0,0,0,1);

	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	height: 100px;
}

.dice li img {
	max-width: 100%;
}

.dice li p {
	color: black;
	position: absolute;
	text-align: center;
	width: inherit;
	margin-top: -75px;
	font-size: 26px;
	display: none;
}

.title {
	margin-top: 70px;
	width: 300px;
	margin-left: 660px;
	text-align: right;
}

h1 {
	font-weight: normal;
	position: absolute;
	right: 50px;
	top: 32px;
}

h1:hover {
	color: #990000;
}

p {
	color: #666;
	font-size: 12px;
}

.content {
	color: #990000;
	width: 800px;
	clear: both;
	margin: 50px auto;
	margin-bottom: 100px;
	padding-top: 150px;
}

h2 {
	padding-bottom: 10px;
	padding-top: 10px;
	text-shadow: 0 1px 0 white;
}

h3 {
	margin-bottom: 15px;
	font-size: 15px;
	font-weight: normal;
}

.content p {
	color: #444;
	margin-bottom: 10px;
}

p.red-footnote {
	color: #990000;
	font-style: italic;
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 15px;
	padding-left: 30px;
	padding-right: 30px;
}

p.grey-footnote {
	font-style: italic;
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #666;
	padding-left: 30px;
	padding-right: 30px;
}

breadcrumb {
	font-size: 10px;
	text-decoration: underline;
}

.content a {
	color: #555;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: ;
}

.content a:hover {
	color: #990000;
}

figure {
	max-height: 800px;
	max-width: 800px;
	text-align: center;
	margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
}

figure img {
	max-width: 800px;
	height: auto;

	-webkit-box-shadow: 0 0 20px rgba(0,0,0,.3);
	-moz-box-shadow: 0 0 20px rgba(0,0,0,.3);
	box-shadow: 0 0 20px rgba(0,0,0,.3);
}

figcaption {
	font-size: 10px;
	margin-top: 10px;
	color: #999;
}

figure.thumb img {
	margin: 10px;
	max-width: 380px;
	max-height: 380px;
}

figure img.sml {
	max-width: 396px;
}

.contact {
	-webkit-box-shadow: 0px -10px 30px -10px rgba(0,0,0,.3);
	-moz-box-shadow: 0px -10px 30px -10px rgba(0,0,0,.3);
	box-shadow: 0px -10px 30px -10px rgba(0,0,0,.3);
	display: none;
	position: absolute;
	margin-top: 100px;
	width: 660px;
	left: 50%;
	margin-left: -380px;
	padding: 20px;
	border-top: 1px solid white;
	height: 180px;
	background: #EFEFEF;
	padding-left: 80px;
}

.tact {
	margin-left: 427px;
	position: absolute;
	max-height: 124px;
	margin-top: -35px;
}

.links {
	-webkit-box-shadow: 0px -10px 30px -10px rgba(0,0,0,.3);
	-moz-box-shadow: 0px -10px 30px -10px rgba(0,0,0,.3);
	box-shadow: 0px -10px 30px -10px rgba(0,0,0,.3);
	display: none;
	position: absolute;
	margin-top: 100px;
	width: 760px;
	left: 50%;
	margin-left: -400px;
	padding: 20px;
	border-top: 1px solid white;
	background: #efefef;
}

.nav .links ul {
	width: 100%;
	height: 80px;
}

.nav .links li {
	font-size: 10px;
	width: 189px;
	background: #dedede;
	height: 37px;
	margin-bottom: 1px;
}

.fin {
	width: 27px;
	height: 27px;
	background: url(../img/fin.png);
	position: relative;
	float: right;
	cursor: pointer;
}

.links a {
	color: #555;
}

.links a:hover {
	color: #990000;
}
