/*****************************************************************************
scalable Inman Flash Replacement (sIFR) version 3.

Copyright 2006 – 2008 Mark Wubben, <http://novemberborn.net/>

Older versions:
* IFR by Shaun Inman
* sIFR 1.0 by Mike Davidson, Shaun Inman and Tomas Jogin
* sIFR 2.0 by Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

See also <http://novemberborn.net/sifr3> and <http://wiki.novemberborn.net/sifr3>.

This software is licensed and provided under the CC-GNU LGPL.
See <http://creativecommons.org/licenses/LGPL/2.1/>
*****************************************************************************/

@media screen {
  .sIFR-flash {
    visibility: visible !important;
    margin: 0;
    padding: 0;
  }
  
  .sIFR-replaced, .sIFR-ignore {
    visibility: visible !important;
  }
  
  .sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
  }
  
  .sIFR-replaced div.sIFR-fixfocus {
    margin: 0pt; 
    padding: 0pt; 
    overflow: auto; 
    letter-spacing: 0px; 
    float: none;
  }
}

@media print {
  .sIFR-flash {
    display    : none !important;
    height     : 0;
    width      : 0;
    position   : absolute;
    overflow   : hidden;
  }
  
  .sIFR-alternate {
    visibility : visible !important;
    display    : block   !important;
    position   : static  !important;
    left       : auto    !important;
    top        : auto    !important;
    width      : auto    !important;
    height     : auto    !important;
  }
}

/*
Place CSS rules for to-be-replaced elements here. Prefix by .sIFR-active
so they only apply if sIFR is active. Make sure to limit the CSS to the screen
media type, in order not to have the printed text come out weird.
*/
@media screen {
  
	/************************
	** Main
	*************************/
	
	.sIFR-active body{
		margin:0;
		padding: 0;
		font-size: 16px;
		line-height: 24px;
		font-family: "Arial", "Helvetica", sans-serif;
		color: #999;
		overflow-x: hidden;
		overflow-y: scroll;
		background-image:url('../imgs/bg.jpg');
	}
	
	*{
		outline: none;
	}
	
	a{
		color:black;
		text-decoration: none;
	}
	
	a:hover{
		color: #fe3434;
	}
	
	a:active{
		background-color: #fe3434;
		color: white;
	}
	
	h1, h2, h3, h4{
		font-weight: normal;
		color: #fe3434;
		visibility: hidden;
	}
	
	#loading{
		top: 0;
		position: absolute;
		z-index: 10;
		width: 100%;
		height: 100%;
		background-color: white;
		padding: 320px  0 0 160px;
	}
	
	.sIFR-active #loading{
		display: none;
	}
	
	#infos{
		width: 150px;
		position: fixed;
		font-size: 12px;
		padding: 72px 20px 0 20px;
		z-index: 1000;
		top: 0;
		background-image: url('../imgs/two_lines.gif');
		background-repeat: no-repeat;
		background-position: 20px 140px;
	}
	
	#infos a{
		color: #999;
	}
	
	.sIFR-active h1{
		font-size: 24px;
		margin: 0;
		padding: 0;
		float: left;
		width: 120px;
	}
	
	#baseline{
		margin: 0;
		top: 10px;
		position: fixed;
		width: 100%;
		height: 100%;
		background-image: url('../imgs/baseline.gif');
		display: none;
	}
	
	#infos p{
		margin-top: -48px;
		margin-bottom: 36px;
		padding: 24px 0 0 0;
		float: left;
		height: 87px;
	}
	
	#infosNav{
		height: 87px;
		width: 80px;
		margin:0 0 0 -20px;
		font-size: 10px;
		line-height: 16px;
		background-image:none;
		padding: 26px 0 0 20px !important;
		margin-top: 0px !important;
		background-image: url('') !important;
	}
	
	#infosNav li{
		list-style-type: none;
	}

	#infosNav img{
		margin-left: -14px;
	}
	
	#intro{
		position: relative;
		z-index: 1000;
		left: 300px;
		top: 105px;
		width: 400px;
		color: black;
	}
	
	#intro a{
		color: black;
		border-bottom: 1px dotted #333;
	}
	
	#intro a:hover{
		color: #fe3434;
		border-bottom: 1px dotted #fe3434;
		cursor: hand;
	}
	
	#intro h2{
		margin: 16px 0 6px 0;
	}
	
	#intro p{
		margin: 0;
	}
	
	.small{
		font-size: 10px;
		color: #999;
		line-height: 12px;
	}
	
	/************************
	** Projects
	*************************/
	
	#projects{
		color: black;
		width: 800px;
		left: 200px;
		position: absolute;
		top: 266px;
	}
	
	.project{
		clear: both;
		padding-top: 96px;
	}
	
	.sIFR-active h3 {
		font-size: 500px;
		line-height: 20px;
		margin: -90px 60px 0 -40px;
		float: left;
		position: absolute;
		z-index:2;
	}
	
	#projects h3 object{
		width: 800px;
	}
	
	
	.project .link, .page{
		display: none;
	}
	
	.project-content{
		margin: 0;
		padding: 0;
		margin-top: -31px;
		margin-bottom: 216px;
		float: left;
		position: relative;
		z-index:1;
	}
	
	.project-content div{
		float: left;
		margin-top: 10px;
	}
	
	.project-content img{
		float: left;
		margin: 16px 20px 0 0;
		border: 0px;
	}
	
	.project-content object{
		float: left;
		margin: 16px 20px 0 0;
		border: 0px;
	}
	
	.project-content p{
		margin: 0 !important;
		padding: 36px 20px 0 0 !important;
		width: 780px;
		background-image: url("../imgs/line.jpg");
		background-repeat: no-repeat;
		background-position: 520px 16px;
		font-size: 12px;
		line-height: 24px;
	}
	
	.project-content p.intro{
		padding: 0 20px 0 0 !important;
		background-image: url('');
	}
	
	.project-content a{
		color: #fe3434;
	}
	
	.project-content a:active{
		color: white;
	}
	
	.project-content ul{
		margin-top: 16px;
		padding: 20px 10px 0 0;
		background-image: url('../imgs/two_lines.gif');
		background-repeat: no-repeat;
		background-position: 520px 0;
		font-size: 12px;
		color: #fe3434;
		list-style-type: none;
		height: 107px;
	}
	
	/************************
	** nav
	*************************/	
	
	#nav{
		height: 100px;
		position: fixed;
		z-index: 1000;
		top: 140px;
		left: 1000px;
		padding: 20px 0 0 0;
		font-size: 12px;
		background-image:url('../imgs/two_lines.gif');
		background-repeat: no-repeat;
		background-position: 0 0;
	}
	
	#nav a{
		color: #999;
	}
	
	#nav a:hover{
		color: #fe3434;
	}
	
	#nav a:active{
		color: white;
	}
	
	#nav #count{
		position: relative;
		float: left;
		top: 26px;
		width: 28px;
		font-size: 16px;
		margin-left: 26px;
	}
	
	#facebook, #twitter
	{
		position: relative;
		float: left;
		top: 24px;
		height: 19px;
		width: 19px;
		margin: 4px 6px 0 0;
	}
	
	#facebook:hover, #twitter:hover
	{
		background-position: 0 -19px;
	}
	
	#nav #facebook{
		background-image: url('../imgs/icons/facebook.jpg');
	}
	#nav #facebook span{
		visibility: hidden;
	}
	
	#nav #twitter{
		background-image: url('../imgs/icons/twitter.jpg');
	}
	
	
	/************************
	** Cv
	*************************/	
	
	#cv{
		width: 1200px;
		height: 112px;
		position: relative;
		top: 144px;
		left: 100%;
		margin-left: -50px;
		cursor: pointer;
	}
	
	#cvTitle{
		height: 100px;
		position: fixed;
		z-index: 1000;
		top: 140px;
		left: 1200px;
		padding: 20px 0 0 0;
		font-size: 12px;
		background-image:url('../imgs/two_lines.gif');
		background-repeat: no-repeat;
		background-position: 0 0;
		color: #fe3434;
	}
	
	#cvTitle a{
		color: #fe3434;
	}
	
	#cvIntro{
		color: black;
		font-style: none !important;
		position: relative;
		top: 56px;
		left: 200px;
		margin-right: 300px;
		margin-bottom: 144px;
	}
	
	#cv hr{
		clear:both;
		visibility: hidden;
		margin-bottom: 48px;
	}
	
	.sIFR-active #cv h3{
		font-size: 500px;
		margin: -12px 0 0 0;
		float: none;
	}
	
	#cv #download{
		color: red;
		font-size: 36px;
		position: absolute;
		left: 500px;
		top: 380px;
	}
	
	#cv div{
		float: left;
		width: 400px;
		padding-top: 26px;
		margin-left: 200px;
		font-size: 12px;
	}
	
	.sIFR-active #cv h4{
		margin:-38px 0 0 -100px;
		font-size: 48px;
		position: absolute;
		z-index: 0;
		width: 700px;
	}
	
	#cv ul{
		list-style-type: none;
		list-style-position: outside;
		padding: 0;
		position: relative;
		z-index: 1;
	}
	
	#cv li{
		margin-bottom: 12px;
	}
	
	#cv h5{
		margin:0;
		padding: 0;
		font-size: 16px;
		font-weight: normal;	
		color: #000;
	}
	
	#cv h5 a{
		border-bottom: 1px dotted #000;
	}
	
	#cv h5 a:hover{
		border-bottom: 1px dotted #fe3434;
	}
	
	#cv p{
		margin: 0;
		font-size:12px;
	}
	
	#cv p a{
		color: #999;
		border-bottom: 1px dotted #999;
	}
	
	#cv p a:hover{
		color: #333;
		border-bottom: 1px dotted #333;
	}
	
	#cv .date{
		width: 80px;
		margin-left: -90px;
		margin-top: -23px;
		text-align: right;
		color: black;
	}
	
	#miscellaneous
	{
		width: 100% !important;
	}
	
	#miscellaneous p
	{
		color: black;
		float: left;
		width: 280px;
		padding-right: 20px;
	}
	
	#message
	{
		font-size: 24px;
		color: #fe3434;
		position: fixed;
		width: 400px;
		left: 300px;
		top: 160px;
		line-height: 24px;
	}
}