* {
	font-family: arial, sans;
}

html {
	min-width: 710px;
	padding-left: 10px;
	padding-right: 10px;
	margin: 0;
	/* force a vertical scrollbar to prevent scrollbar shuffle */
	overflow-y: scroll;
}

body {
	padding: 10px 10px 0 10px;
	background: url('../images/diagonal.jpg');
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

h2 {
	margin: 0;
}

h3 {
	margin: 10px 0 0 0;
}

label {
	font-weight: bold;
	width: 100px;
	float: left;
}

p {
	clear: both;
}

/* Link styles */

a {
	text-decoration: none;
	color: #3399CC;
}

a:link {
	text-decoration: none;
	color: #3399CC;
}

a:visited {
	color: #3399CC;
}

a:hover {
	color: #3366CC;
}

/* Form styles */

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
	border: 1px solid #aaa;
}

input[type="text"], input[type="password"], textarea {
	border: 1px solid #ccc;
	background-color: #eee;
}

/*textarea[name="content"] {
	width: 90%;
}*/

label.error {
	float: none;
	margin: 0 0 0 10px;
	color: red;
	font-weight: normal;
	padding: 0;
}

textarea {
	font-size: 1em;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

legend {
	margin-bottom: 5px;
	margin: 0;
	padding: 0;
}

/* Form message styles */

div.success, div.error {
	margin-bottom: 5px;
}

div.error {
	border: 1px solid red;
	background-color: #ffeeee;
}

div.success {
	border: 1px solid green;
	background-color: #eeffee;
	padding: 5px;
}

/* Layout template styles */

.header {
	font-size: larger;
	margin-bottom: 10px;
}

.navigation {

}

.navigation ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.navigation ul li {
	display: inline;
	border: 1px solid;
	border-bottom: 1px solid #eee;
	border-bottom: 0;
	margin-right: 0.5em;
	font-weight: bold;
	background-color: #eee;
}

.navigation ul #current {
	border-bottom: 1px solid #fff;
	background: white;
}

#current a {
	color: #3366CC;
}

.navigation ul li:hover {
	
}

.navigation li a {
	padding: 0 1em;
}	

.content {
	margin: 0 0 10px 0;
	border: 1px solid;
	padding: 10px;
	background-color: #fff;
	font-size: smaller;
}

.footer {
	text-align: center;
	font-size: smaller;
}

/* CV styles */

h3 {
	text-decoration: underline;
}

.year {
	font-weight: bold;
	float: left;
	margin-right: 20px;
}

.institution, .role {
	font-weight: bold;
	margin-bottom: 10px;
}

.description {
	margin-bottom: 20px;
}

.alternatives {
	border-top: 1px solid;
}

.alternatives > div {
	float: left;
	padding-left: 20px;
	margin-right: 50px;
	height: 16px;
	line-height: 16px;
}

.pdf {
	background: url('../images/pdficon.png') no-repeat;
}

.doc {
	background: url('../images/docicon.png') no-repeat;
}

/* Portfolio styles */

.portfolio {
	max-width: 670px;
	margin-left: auto;
	margin-right: auto;
}

.project {
	float: left;
	padding: 10px;
	margin: 5px;
	width: 300px;
	height: 305px;
	background-color: #eee;
	border: 1px solid #ccc;
}

.projectimage {
	border: 1px solid #ccc;
	display: block;
}

.clear {
	clear: both;
}

.title {
	font-size: larger;
}
