/* Core */

* {
	margin: 0px;
	padding: 0px;
}

a img {
	border: none;
}

body {
	background: #F0F2F2 url(../img/background.png) repeat;
}

div.page {
	width: 820px;
	margin: 0px auto;
}

div.page div.header {
	width: 820px;
	height: 74px;
	background: transparent url(../img/header.png) no-repeat;
	margin-top: 90px;
	padding-top: 10px;
}

div.page div.header ul.menu {
	list-style: none;
	/*margin-left: 519px;*/
	margin-left: 616px;
	height: 74px;
}

div.page div.header ul.menu li {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
}

div.page div.header ul.menu li:hover, div.page div.header ul.menu li.selected {
	background: url(../img/menu-over.png) no-repeat;
}

div.page div.header ul.menu li a {
	width: 97px;
	height: 74px;
	display: block;
}

div.page div.header ul.menu li a.projects {
	background: url(../img/projects.png);
}

div.page div.header ul.menu li a.blog {
	background: url(../img/blog.png);
}

div.page div.header ul.menu li a.about {
	background: url(../img/about.png);
}

div.page div.content {
	width: 770px;
	background: transparent url(../img/content.png) repeat-y;
	padding: 15px 25px 15px 25px;
}

div.page div.footer {
	width: 820px;
	height: 50px;
	background: transparent url(../img/footer.png) no-repeat;
	text-align: center;
	padding-top: 10px;
	margin-bottom: 90px;
}

/* Font-face */

@font-face {
	font-family: "Tim";
	src: url(../ttf/Tim.ttf);
}

/* Text-markup */

body {
	color: #5b626a;
	font-family: /*"Tim"*/Arial;
	font-size: 14px;
}

h1, h2, h3 {
	font-family: Tim, Arial;
	color: #31363a;
	text-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
}

a {
	color: #31363a;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

b {
	color: #31363a;
	border-bottom: 1px solid #DEDEDE;
}

/* Elements */

img.banner {
	height: 125px;
	width: 770px;
}

ul {
	margin-left: 25px;
}

ul li {
	color: #31363a;
}

a.download {
	display: block;
	background: url(../img/download.png);
	width: 125px;
	height: 30px;
	float: right;
	cursor: default;
}

a.download:hover {
	background-position: 0px -30px;
}

a.download:active {
	background-position: 0px -60px;
}

*.clear {
	clear: both;
}

table tr td {
	padding: 5px;
}

table tr td.label {
	width: 200px;
	text-align: right;
	font-weight: bold;
	color: #31363a;
}

table tr td.data input, textarea {
	width: 540px;
}

table tr td.data textarea {
	resize: vertical;
	height: 100px;
}

input, textarea {
	color: #5b626a;
	font-family: "Tim", Arial;
	font-size: 16px;
	border: 1px solid #DEDEDE;
	padding: 4px;
	background: url(../img/textfield.png) repeat-x;
}

input.error, textarea.error {
	border-color: #ff9fa3;
}

input:focus, textarea:focus {
	outline-color: #5b626a;
}

input.error:focus, textarea.error:focus {
	outline-color: #ff9fa3;
}

input[type='submit'].send-button {
	width: 125px;
	height: 30px;
	background: url(../img/send.png);
	border: none;
}

input[type='submit'].send-button:hover {
	background-position: 0px -30px;
}

input[type='submit'].send-button:active {
	background-position: 0px -60px;
}

span.error {
	color: #CA0009;
	padding: 5px;
	display: block;
	text-align: center;
	border: 1px dashed #CA0009;
	border-radius: 5px;
	margin: 5px 0px;
	background: #ffeaeb;
}

span.success {
	color: #4c7b00;
	padding: 5px;
	display: block;
	text-align: center;
	border: 1px dashed #7cc900;
	border-radius: 5px;
	margin: 5px 0px;
	background: #daff9f;
}
