* {
	margin: 0;
	padding: 0;
}

img { border: 0; }

html, body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	background-color: #f5f5f5;
}

a, a:link, a:visited {
	color: #78beff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:active {
	background: #78beff;
	color: #ffffff;
	text-decoration: none;
}

div#header-bg {
	background: url('/images/header-bg.jpg');
	height: 150px;
	min-width: 800px;
}

div#header {
	width: 800px;
	margin: auto;
	position: relative;
}

div#quote {
	position: absolute;
	bottom: 50px;
	right: 0;
	width: 300px;
	text-align: right;
	font-style: italic;
	font-family: "MS Trebuchet";
}

div#author {
	text-align: right;
}

div#menu-bg {
	background: url('/images/menu-bg.jpg');
	height: 40px;
	min-width: 800px;
}

div#menu {
	width: 800px;
	margin: auto;
}

div#menu a {
	display: block;
	float: left;
	font-weight: bold;
	padding-top: 12px;
	text-align: center;
	width: 200px;
	height: 28px;
}

div#menu a:link, div#menu a:visited {
	color: #ffffff;
	text-decoration: none;
}

div#menu a.current {
	background: #78beff;
	background: url('/images/menu-hover.jpg');
	color: #000000;
}

div#menu a.current:hover {
	color: #ffffff;
}

div#menu a.current:active {
	color: #ffffff;
}

div#menu a:hover, div#menu a.hover {
	color: #ffffff;
	background: #78beff;
}

div#menu a:active {
	color: #78beff;
	background: url('/images/menu-bg.jpg');
}

div#menu a.selected {
	background: #78beff;
}

div#sub-menu-bg {
	background: #78beff url('/images/sub-menu-shdw.jpg') repeat-x bottom;
/*	float: left;*/
	height: 25px;
	bottom: 0px;
	position: relative;
	min-width: 800px;
	width: 100%;
}

div#about-sub {}

div#services-sub { padding-left: 100px; width: 700px;  }

div#portfolio-sub { padding-left: 330px; width: 470px; }

div#contacts-sub { padding-left: 600px; width: 200px; text-align: center }

div.sub-menu {
	color: #ffffff;
	font-size: 0.75em;
	font-weight: bold;
	margin: auto;
	padding-top: 4px;
	width: 800px;
}

div.sub-menu a, div.sub-menu a:link, div.sub-menu a:visited {
	font-weight: normal;
	margin: 10px;
	color: #ffffff;
}

div.sub-menu a.current, div.sub-menu a.current:hover { text-decoration: underline; }

div.sub-menu a:hover {
	color: #000000;
	text-decoration: none;
}

div.sub-menu a:active {
	color: #ffffff;
}

div#main {
	background: #ffffff;
	width: 100%;
	margin-top: -10px;
	min-width: 800px;
}

div#content {
	margin: auto;
	width: 800px;
	padding-bottom: 30px;
	margin-top: 20px;
	background-color: #ffffff;
}

div#projects-in-progress {
	padding-top: 15px;
}

div#projects-in-progress img {
	border: 1px solid #78beff;
	padding: 5px;
	margin-right: 15px;
	margin-bottom: 15px;
}

div#projects-in-progress img:hover {
	background: #78beff;
}

div#projects-in-progress img.last { margin-right: 0; }

div#projects-in-progress a:active { background: none; }

div#content p { font-size: 0.75em; line-height: 1.5em; margin-bottom: 2em; }

div#content .image { margin-left: 350px; }

div#content h1 { font-size: 1em; font-weight: bold; margin: 1em 0; }

div#content h2 { font-size: 0.875em; margin: 1em 0; }

div#content h3 { font-size: 0.75em; margin: 1em 0; }

div#content ol, div#content ul { font-size: 0.75em; margin-left: 2em; margin-bottom: 2em; margin-top: -1.5em; }

div#content ol li, div#content ul li { margin-bottom: 0.5em; }

div#footer-bg {
	background: #f5f5f5 url('/images/footer-shdw.jpg') repeat-x top;
	min-width: 800px;
}

div#footer {
	color: #999999;
	padding: 20px 0;
	font-size: 0.75em;
	width: 800px;
	margin: auto;
}

div#footer h3 {
	font-size: 1em;
	margin-bottom: 1em;
}

div#footer table {
	width: 800px;
}

div#footer td {
	width: 200px;
}

div#footer thead td {
	font-weight: bold;
}

div#footer tbody td {
	padding-left: 1em;
}

div#footer a, div#footer a:link, div#footer a:visited {
	color: #999999;
}

div#footer a:hover {
	color: #78beff;
}

div#footer a:active {
	background: none;
	color: #999999;
	text-decoration: none;
}

/* Page specific styles */

/* Contact us */
table#contacts { font-size: 0.75em; }

table#contacts td { padding: 0 20px 10px 0; }
/* Portfolio */

div.portfolio-entry {
	margin-bottom: 100px;
	min-height: 300px;
}

div.portfolio-entry .portfolio-image {
	float: left;
}

div.portfolio-entry .portfolio-text {
	margin-left: 400px;
	width: 400px;
}

/* General classes */
.bold { font-weight: bold; }