 
/* Imports */
@import url("reset.css");
@import url("pygment.css");
@import url("typogrify.css");
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono);
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&subset=latin,latin-ext,cyrillic);

body
{
	font-family: 'Open Sans Condensed', sans-serif;	
}

a
{
	text-decoration: none;
	color: red; /*TODO colors!*/
}

a:hover
{
	color: darkred;
	text-decoration: underline;
}

@media screen and (min-width: 980px)
{

	#page
	{
		background-color: white;
		width: 950px;
		left: 50%;
		position: relative;
		margin-left: -475px;
	}

	#lbar
	{
		float: left;
		position: relative;
		left: 0px;
		width: 200px;
	}

	#rbar
	{
		float: right;
		position: relative;
		width: 730px;
		padding: 10px;
	}

	#rbar #subtitle
	{
		position: relative;
		margin-bottom: 10px;
	}

	#rbar #menu
	{
		position: relative;
		font-size: 28pt;
	}

	#rbar #footer
	{
		position: absolute;
		text-align: right;
		bottom: -22px;
		width: 100%;
	}

	#rbar #content
	{
		position: relative;
		padding: 5px;
		padding-top: 20px;
		padding-bottom: 10px;
		height: 100%;
		clear: both;
	}

	#rbar #content #twitter-timeline
	{
		float: right;
		position: relative;
		width: 300px;
	}

	#rbar #content #blog-timeline
	{
		float: left;
		width: 400px;
		padding-right: 20px;
		position: relative;
	}

	#rbar #content #blog-timeline img
	{
		position: relative;
		left: 0px;
		top: 2px;
	}

	#rbar #content img
	{
		max-width: 700px;
	}

	#lbar #head img
	{
		position: relative;

	}

	#lbar #face img
	{
		height: 160px;
		position: relative;
		border: 0px solid black;
		border-radius: 80px;
		left: 50%;
		margin-left: -80px;
	}
}

@media screen and (min-width: 0px) and (max-width: 980px)
{
	#page
	{
		/*background-color: red;*/
		/*width: 950px;*/
		/*left: 50%;*/
		position: relative;
		/*margin-left: -475px;*/
	}

	#lbar
	{
		float: none;
		position: absolute;
		left: 0px;
		width: 100%;
		/*background-color: yellow;*/
		height: 100px;
		z-index: 100;
		top: 25px;
	}

	#rbar
	{
		float: none;
		position: relative;
		/*width: 730px;*/
		/*padding: 10px;*/
		/*background-color: green;*/
	}

	#lbar #bio{
		visibility: hidden;
	}

	#lbar #boinc{
		visibility: hidden;
	}

	#lbar #head{
		text-align: center;
	}

	#rbar #subtitle{
		width: 100%;
		text-align: center;
	}

	#rbar #menu
	{
		position: relative;
		font-size: 28pt;
		top: 100px;
		width: 100%;
		text-align: center;
	}

	#rbar #content{
		width: 80%;
		top: 80px;
		position: relative;
		text-align: center;
		height: 100%;
		padding: 1% 10% 20% 10%;
	}

	#rbar #footer{
		position: relative;
		text-align: center;
	}

	#rbar #content #twitter{
		visibility: hidden;
		height: 0px;
	}

	#lbar #social{
		visibility: hidden;
	}

	#lbar #face{
		visibility: hidden;
	}

	#rbar #content img{
		max-width: 100%;
	}
}

@media screen and (min-width: 0px) and (max-width: 740px)
{
	

	#rbar #menu{
		font-size: 170%;
	}
}

@media screen and (min-width: 0px) and (max-width: 600px)
{

	#rbar #menu{
		font-size: 150%;
	}

	#rbar #subtitle{
		visibility: hidden;
	}
}

#rbar #menu a
{
	text-decoration: none;
	color: black;
	margin: 5px;
	margin-left: 25px;
	margin-right: 25px;
}

#rbar #menu a:hover
{
	text-decoration: underline;
	color: red;
}

#lbar #bio
{
	text-align: center;
}

#lbar #social
{
	padding: 5px;
	text-align: center;
}

#lbar #social
{
	height: 100px;
}

#lbar #social img
{
	width: 40px;
	/*margin-top: 5px;*/
	/*margin-bottom: 5px;*/
	
}

/*#lbar #social a:hover img
{
	margin-top: 15px;
	width: 45px;
}*/

#lbar #boinc
{

}

.code
{
	font-family: 'Ubuntu Mono';
	font-size: 12pt;
}


/*ERROR HANDLERS FORMATING*/
.error
{
	background-color: red;
	text-align: center;
	font-size: 150%;
	padding: 10px;
}

#e404
{
	font-size: 1500%;
	text-align: center;
	opacity: 0.5;
}

#e404_text
{
	font-size: 200%;
	text-align: center;
}
