html {
	font-family: Verdana, Arial, sans-serif;
    font-size: 0.8em;
}

body {
	background-color: #494949;
	margin: 0;
}

#page-wrapper {
	background: #494949;
	color: white;
	width: 100%;
}

header {
	background: #494949;
    
}

header img {
	float: left;
	margin: 20px 20px 10px 20px;
}

header nav {
	float: right;
	margin: 20px;
}

header nav ul {
	list-style: none;
}

header nav ul li {
	float: left;
	padding: 15px 20px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
}

header nav ul li a {
	color: #DEDEDE;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
}

header nav ul li a:hover {
	color: black;
}

#info {
	max-width: 350px;
	margin: 20px auto;
}

#info img {
	float: left;
	width: 50px;
	height: 50px;
	margin: 0 5px 0 0;
}

#info a {
	color: #DEDEDE;
	text-transform: uppercase;
	font-weight: bold;
}

#teaser, .smallteaser, .projectslider {
	margin: 10px 20px;
    background: #494949;
}

.smallteaser {
	max-width: 600px;
	margin: 0 auto;
}

.smallteaser .flexslider .slides {
    background: #494949;
}

.smallteaser .flexslider .slides p {
    text-align: center;
    padding-top: 30px;
}

.projectslider {
	width: 400px;
	margin: 0 auto;
	float: right;
}

#teaser .flexslider, .smallteaser .flexslider {
	padding: 0;
}

#content {
	margin: 20px;
}

aside {
	background: #242424;
}

aside section {
	padding: 5px 20px 20px 20px;
	box-sizing: content-box;
}

aside section dl {
	width: 100%;
}

aside section dl dt {
	float: left;
	width: 15%;
	padding-top: 5px;
}

aside section dl dd {
	padding-top: 5px;
	float: left;
	width: 70%;
}

aside a {
	text-decoration: none;
	color: white;
}

aside a:hover {
	text-decoration: underline;
}

footer {
	color: white;
	text-align: center;
	margin: 15px 0 25px 0;
}

footer a {
	color: white;
	text-decoration: none;
}

footer a:hover {
	color: white;
}

.clear {
	clear: both;
}

img.left {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

img.right {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

img.portrait {
	height: 250px;
	width: 250px;
	/*border: 1px solid #242424;
	-moz-border-radius: 125px;
	-webkit-border-radius: 125px;
	border-radius: 125px;*/
}

img.project_example {
	height: 200px;
	width: 450px;
	/*border: 5px solid #DEDEDE;*/
}

img.preview {
	max-height: 200px;
	max-width: 450px;
}

img.bigpreview {
	max-height: 300px;
	max-width: 500px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

table tr td {
	padding: 2px 15px 2px 0;
}

.startteaser {
	padding: 25px 5px 15px 5px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
}

/** phones **/
@media only screen and (max-width: 768px) {
	header {
		text-align: center;
	}
	
	header img {
		float: none;
	}
	
	header nav {
		clear: both;
		margin: 0;
		float: none;
	}
	
	header nav ul {
		margin: 0;
		margin-left: -30px;
	}
	
	header nav ul li {
		border: 0;
		padding: 3px;
		float: none;
	}
	
	#info {
		text-align: left;
	}
	
	.flex-control-nav {
		display: none;
	}

	img.project_example {
		height: 100px;
		width: 225px;
	}
	
	.projectslider {
		width: auto;
		max-width: 400px;
		margin: 0 auto;
		float: none;
	}
}


/** tablets **/
@media only screen and (min-width: 768px) {
	#page-wrapper {
		margin: 5px auto;
		width: 750px;
	}
	
	header nav {
		margin-left: 0;
	}
	
	header nav ul li {
		padding: 15px 10px;
	}
	
	aside section {
		width: 210px;
		float: left;
		padding-bottom: 30px;
	}
}


/** desktop **/
@media only screen and (min-width: 1000px) {
	#page-wrapper {
		width: 960px;
	}
	
	aside section {
		width: 280px;
		float: left;
		padding-bottom: 30px;
	}
}