/* fonts
------------------------------------------------ */
@font-face {
    font-family: 'OSPDIN';
    src: url('../fonts/OSP-DIN-webfont.eot');
    src: url('../fonts/OSP-DIN-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OSP-DIN-webfont.woff') format('woff'),
         url('../fonts/OSP-DIN-webfont.ttf') format('truetype'),
         url('../fonts/OSP-DIN-webfont.svg#OSPDIN') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* common
------------------------------------------------ */
html { 
	background: url('../imgs/bg_main_nolines.jpg') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.fr { position:relative; float:right; }
.fl { position:relative; float:left; }
.clr { clear:both; }
.hidden { display:none; }
.box {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* header
------------------------------------------------ */
#header {
	position:absolute;
	top:0px;
	height:150px;
}
#ef {
	position:absolute;
	top:58px;
	left:0px;
}
#nav {
	position:absolute;
	top:65px;
	left:100px;
	right:0px;
	z-index:3;
	min-width:530px;
}
#nav li a {
	display:block;
	position:relative;
	float:left;
	font-family:"OSPDIN";
	font-size:22px;
	font-weight:normal;
	color:rgba(255,255,255,.5);
	text-decoration:none;
	letter-spacing:2px;
	margin-right:50px;
}
#nav li a:hover {
	color:rgba(255,255,255,1.0);
}
#nav li a.selected {
	color:rgba(255,255,255,1.0);
}
.ribbon {
	position:absolute;
	top:-140px;
	z-index:2;
}
#red_ribbon {
	left:73px;
}
#blue_ribbon {
	left:171px;
}
#green_ribbon {
	left:278px;
}

/* homepage
------------------------------------------------ */
#page_home {
	
}

/* content
------------------------------------------------ */
#maincontainer {
	position:absolute;
	top:151px;
	min-width:780px;
	max-width:1200px;
	bottom:58px;
	margin:0px auto;
	background:url(../imgs/bg_homepage.png) no-repeat center center;
	background-size:40% auto;
	background-color:rgba(255,255,255,0.1);
	overflow:hidden;;
}
#maincontainer .content {
	position:relative;
	display:none;
}
#maincontainer #page_home.content {
	display:block;
}
#maincontainer h1 {
	font-family:"OSPDIN";
	font-size:60px;
	font-weight:normal;
	color:#fff;
	letter-spacing:2px;
	margin:0px;
}
#maincontainer h2 {
	position:relative;
	font-family:"OSPDIN";
	font-size:30px;
	font-weight:normal;
	color:#fff;
	letter-spacing:2px;
	margin:0px 0px 15px 36px;
}
#maincontainer h2 img {
	position:absolute;
	top:-2px;
	left:-40px;
}
#maincontainer h3 {
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:18px;
	font-weight:normal;
	color:rgba(255,255,255,.6);
	letter-spacing:2px;
	margin:0px;
}
#maincontainer p {
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:16px;
	font-weight:normal;
	color:rgba(255,255,255,1.0);
	letter-spacing:1px;
	line-height:22px;
	margin-bottom:15px;
}
.skills {
	padding-left:145px;
	margin-bottom:30px;
}
.skills img {
	vertical-align:middle;
	display:inline-block;
	margin-right:10px;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}
.skills img:hover {
	opacity:1.0;
}
.skillset1 {
	background:url('../imgs/bracket_design.png') no-repeat left center;
}
.skillset2 {
	background:url('../imgs/bracket_development.png') no-repeat left center;
}
.skillset3 {
	background:url('../imgs/bracket_other.png') no-repeat left center;
}
.desc {
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:12px;
	font-weight:normal;
	color:rgba(255,255,255,1.0);
	letter-spacing:2px;
	padding:5px 0px 0px 8px;
	margin:5px 0px 0px 0px;
	border-radius:15px;
}
.skills div.off {
	color:rgba(255,255,255,.5);
}
#personal {
	position:relative;
	float:right;
	margin-left:20px;
	width:260px;
}
#family {
	margin-left:-10px;
}
#worknav {
	position: absolute;
	top: 170px;
	left: 18px;
	z-index:15;
}
#worknav .ttl {
	display:block;
	width:13px;
	height:13px;
	font-family:Arial, sans-serif;
	font-size:12px;
	font-weight:bold;
	line-height:14px;
	letter-spacing:1px;
	color:rgba(255,0,48,1);
	text-transform:uppercase;
	/*padding:0px 15px;*/
	margin-bottom:10px;
	background-color:rgba(255,255,255,1);
	border-radius:6px;
	overflow:hidden;
	opacity:.2;
}
#worknav .ttl:hover {
	opacity:1;
	cursor:pointer;
	box-shadow: 0px 0px 10px rgba(0,0,0,1);
	outline:
}
#worknav .ttl.selected {
	opacity:1;
}
.job {
	margin-bottom:70px;
}
.job .info {
	position:relative;
	float:left;
	width:240px;
	margin-right:30px;
}
#maincontainer .job p {
	font-size:16px;
	line-height:20px;
}
.job .involvecontainer {
	margin-bottom:15px;
}
.job .involvement {
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:11px;
	font-weight:bold;
	color:rgba(121,255,231,1.0);
	letter-spacing:1px;
	padding:5px 10px;
	margin-bottom:4px;
	background-color:rgba(0,0,0,.3);
	border-radius:4px;
}
.job #screencontainer {
	position:relative;
}
.job .screenshot {
	position:relative;
	float:left;
	width:700px;
}
.job .screenshot img {
	display:block;
	margin-bottom:15px;
	border:7px solid rgba(255,255,255,1.0);
	box-shadow: 0px 0px 10px rgba(0,0,0,1);
}
#maincontainer .screenshot .screentext {
	position:absolute;
	left:-220px;
	width:200px;
	text-align:right;
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:16px;
	color:rgba(255,255,255,1.0);
	letter-spacing:1px;
	line-height:20px;
	padding-right:20px;
	background:url(../imgs/screen_arrow.png) no-repeat top right;
}
#maincontainer .sitebutton {
	display:block;
	width:100px;
	font-family:"OSPDIN", Arial, sans-serif;
	font-size:20px;
	color:rgba(121,255,231,1.0);
	letter-spacing:1px;
	text-decoration:none;
	text-align:center;
	padding:10px 15px;
	margin:20px auto 0px auto;
	background-color:rgba(0,0,0,.3);
	border-radius:5px;
}
#maincontainer .sitebutton:hover {
	background-color:rgba(0,0,0,1);
}
@media only screen and (max-width: 1200px) { 
    .job .screenshot {
		width:400px;
	}
    .job .screenshot img {
    	width:450px;
    }
    #maincontainer .screenshot .screentext {
    	display:none;
    }

}
#contentconteiner {
	max-width:600px;
}
#contactme textarea {
	width:100%;
	height:250px;
	padding:10px;
	margin-bottom:20px;
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:18px;
	color:rgba(255,255,255,1.0);
	line-height:20px;	
	border:none;
	background-color:rgba(255,255,255,.2);
}
#contactme input[type=submit] {
	font-family:"OSPDIN";
	font-size:28px;
	font-weight:bold;
	color:rgba(31,50,76,1);
	padding:8px 30px;
	border:5px solid rgba(255,255,255,1);
	background-color:rgba(216,255,0,.6);
}
#contactme input[type=submit]:hover {
	background-color:rgba(216,255,0,1);
	cursor:pointer;
}
#formcontainer {
	padding:30px;
	background-color:rgba(255,255,255,.6);
}

/* message
------------------------------------------------ */
#msg {
	display:none;
	margin-bottom:15px;
	font-family:"Arial Narrow", Arial, sans-serif;
	font-size:18px;
	font-weight:bold;
	color:rgba(255,255,255,1.0);
	line-height:20px;	
	padding:8px;
	margin-top:15px;
	border:3px solid rgba(255,255,255,1);
	background-color:rgba(255,0,48,1);
	box-shadow: 0px 0px 10px rgba(0,0,0,1);
}