@font-face {
	font-family: 'Heydings';
	src: url('heydings_icons.eot'); /* IE9 Compat Modes */
	src: url('heyding_icons.eot?iefix') format('eot'), /* IE6-IE8 */
		url('heydings_icons.woff') format('woff'), /* Modern browsers */
		url('heydings_icons.svg#heydings') format('svg'), /* Legacy iOS */
		url('heydings_icons.ttf')  format('truetype'); /* Safari, Android, iOS */
}
html {
	min-height: 100%;
}
body {
	min-height: 400px;
	min-width: 600px;
	height: 100%;
	
	background-color: #000;
	font-family: Verdana, Helvetica, Arial, sans-serif;
}
p {
	padding-bottom: 10px;
}
a {
	outline: 0;
}
h1 {
	padding-bottom: 4px;
	font-size: 24px;
	text-align: center;
}
#bg {
    min-height: 100%;
    min-width: 1024px;

    width: 100%;
    height: auto;

    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

@media screen and (max-width: 1024px) {
	#bg {
		left: 50%;
		margin-left: -512px;
	}
}
#container {
	position: fixed;
	top: 0;
	bottom: 0;
	
	margin-bottom: 49px;
	
	overflow: hidden;
}
.content {
	line-height: 1.2;
	
	padding: 40px 20px 50px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	
	background-color: #FFF;
	background-color: rgba(255,255,255,.9);
	
	color: #444;
	overflow: auto;
	height: 100%;
	
	opacity: 1;
	
	text-shadow: 1px 1px rgba(255,255,255,.9);
	
	-moz-transition: opacity 1s cubic-bezier(1,0,0,0);
	-webkit-transition: opacity 1s cubic-bezier(1,0,0,0);
	-ms-transition: opacity 1s cubic-bezier(1,0,0,0);
}
.content:target {
	opacity: 1;
}
#clipping {
	position: fixed;
	border-bottom: rgb(235,235,235) solid 2px;
	bottom: 0;
	left: 20px;
	right: 20px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#dock {
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;
}
#plane {
	bottom: 0;
	height: 0;
	
	border-width: 0 45px 50px 45px;
	border-style: solid;
	border-color: rgb(170, 170, 170) transparent;
	border-color: rgba(170, 170, 170,.8) transparent;
	-moz-border-bottom-colors: rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(181,181,181,.8) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(185,185,185,.9) rgba(0,0,0,0);
	
	filter: alpha(opacity=80);
}
#buttons {
	left: 24px; /*spacing*/
	padding-left: 12.5%; /*100/(amountofbuttons+1)*/
	margin-right: -12.5%; /*-100/(amountofbuttons+1)*/
	right: -60px; /*spacing-button.width*/
	position: absolute;
	top: -45px;
	bottom: 0;
	overflow: hidden;
	vertical-align: bottom;
}
#buttons li {	
	position: relative;
	display: block;
	float: left;
	margin: 0 12.5% 20px -86px; /*0 100/(amountofbuttons+1) margin -button.width*/
}
#buttons a, #buttons span {
	font-size: 70px;
	font-family: 'Heydings', Webdings;
	
	display: block;
	background-color: rgb(64, 23, 89);
	background-color: rgba(255, 255, 255, .5);
	
	text-decoration: none;
	
	color: rgb(255, 255, 255);
	color: rgba(64, 23, 89, 1);
	
	filter: alpha(opacity=95);
	opacity: .95;
	
	behavior: url(PIE.php);
	position: relative; /*PIE*/
	
	border-radius: 12px;
	padding: 3px;
	
	-moz-transition: all 400ms linear;
	-webkit-transition: all 400ms linear;
	-ms-transition: all 400ms linear;
	
	display: block;
	
	box-shadow: inset 0 0 10px rgba(64, 23, 89, .6), inset 0 0 20px 5px rgba(64, 23, 120, .7);
}
#buttons a:after {
	top: -4000%;
	position: absolute;
	
	-moz-transition: top 0s 0s;
	-webkit-transition: top 400ms 400ms linear;
	-ms-transition: top 0ms 0ms;
	
	left: 100%;
	
	background-color: #401759;
	color: rgba(255,255,255,1);
	
	padding: 2px;
	border-radius: 0 2px 2px 0;
	
	content: attr(title);
	font-size: 12px;
	
	font-family: Verdana, Helvetica, Arial, sans-serif;
}
#buttons a:hover:after {
	-moz-transition: top 0s 500ms;
	
	top: 40%;
}
#buttons span {
	cursor: default;
	-webkit-transform: scaleY(-1);
	-moz-transform: scaleY(-1);
	-ms-transform: scaleY(-1);
	
	opacity: .4;
	-ms-filter: "";
	
	position: absolute;
	top: 100%;
	left: 0;
}

.old #buttons span {
	filter: progid:DXImageTransform.Microsoft.BasicImage(mirror=1, rotation=2, opacity=.4);
}

.modern #buttons {
	opacity:.5;
	
	-moz-transition: all 400ms linear;
	-webkit-transition: all 400ms linear;
	-ms-transition: all 400ms linear;
}
.modern #clipping:hover #buttons {
	opacity: 1;
}
.modern #buttons a:hover, .modern #buttons a:hover+span {
	border-radius: 15px;
	font-size: 85px;
}