/* Start of CMSMS style sheet 'projectsolve' */
body * {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	font-family: "lucida grande", verdana, helvetica, arial, sans-serif;
	font-size: 80%;
	margin: 0;
	padding: 0;
	color: #333;
	background: #fff url(images/bg-body.png) repeat-x 0 132px;
}

ul#accessibility {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: right;
	color: #161616;
	background-color: #161616;
}

#accessibility li {
	display: inline;
	margin: 0;
	padding: 0;
}

#accessibility li a {
	width: 99%;
	display: block;
        padding-top: 0.25em;
        padding-bottom: 0.25em;
}

#accessibility li a:link, #accessibility li a:visited {
	color: #161616;
	background-color: #161616;
}

#accessibility li a:hover, #accessibility li a:focus, #accessibility li a:active {
	color: #fff;
	background-color: #161616;
}

#header {
	background: #75a3d0 url(images/bg-header.jpg) repeat-x right top;
}

#header a {
	display: block;
	height: 122px;
	background: transparent url(images/title.gif) no-repeat left top;
	width: 600px;
	text-indent: -3000em;
}

#footer {
        color: #666;
        background: #fff;
	clear: both;
	padding: 3em 3em 1em 3em;
	font-size: 0.9em;
}

#footer span {
	display: block;
}

#footer a {
        color: #2C6696;
}

a {
        text-decoration: none;
}

#content a {
        font-weight: bold;
}

a:link, a:visited {
        color: #2C6696;
        background-color: #fff;
}

#content a:hover, #footer a:hover {
        border-bottom: 1px solid #2C6696;
}

#content #nav a:hover {
        border-bottom: 1px solid #fff;
}

#content {
	padding: 0 3em 3em 25em;
	line-height: 1.6;
	height: 27em;
	min-height: 27em;
	max-width: 750px;
}

html>body #content {
	height: auto;
}

#portrait {
	width: 214px;
	float: right;
	margin: 0 0 3em 3em;
	font-weight: bold;
}

#portrait img, #portrait span {
	display: block;
}

#portrait span {
	font-size: 0.9em;
}

a img {
	border: 0;
}

a {
	text-decoration: none;
}

h1, h2 {
	font-weight: normal;
}

h1 {
	font-size: 1.6em;
	margin: 50px 0 1em 0;
}

h2 {
	font-size: 1.3em;
	margin: 1em 0 0.5em 0;
}

h3 {
	margin-bottom: 0.5em;
}

p {
	margin-bottom: 1em;
}

li {
	margin-bottom: 0.25em;
}

ul {
	margin-left: 0.75em;
	padding-left: 0.75em;
	margin-bottom: 1em;
}

ul.twocol li {
	width: 42%;
	float: left;
	padding-right: 5%;
}

/* ---- Nav menu ---- */

#nav {
	position: absolute;
	left: 3em;
	top: 190px;
	width: 19em;
	background: #fff url(images/bg-menu-shadow.png) no-repeat right bottom;
	padding: 0 12px 12px 0;
}

#nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	background: #dadada url(images/bg-menu.png) repeat-x 0 0;
}

#nav li {
	margin-bottom: 0;
}

#nav a {
	display: block;
	padding: 7px 1em;
	width: 17em;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}

#nav a:link, #nav a:visited {
	color: #111;
	background-color: transparent;
}

#nav a:hover {
	color: #fff;
	background-color: #2C6696;
}

#nav a.currentpage:link, #nav a.currentpage:visited, #nav a.currentpage:hover {
	color: #2C6696;
	background-color: transparent;
        cursor: default;
}

/* ---- Microformats ---- */

.fn, .type {
	display: none;
}

/* ---- CV page ---- */

.nowrap {
	white-space: nowrap;
}

div#cvportrait {
	background: #fff url(uploads/images/william-hands-cv.jpg) no-repeat right top;
	height: 180px;
	min-height: 180px;
	width: 93%;
}

html>body div#cvportrait {
	height: auto;
	width: auto;
}

.clear {
	clear: left;
        height: 1px;
}

/* IE6 puts tons of padding in, so only add it in FF */
html>body h2.clear {
	padding-top: 1em;
}

h2 span {
	display: block;
	font-weight: normal;
	font-size: 0.8em;
}

dt {
	float: left;
	width: 20%;
	clear: left;
	max-width: 9em;
	min-width: 7em;
}

dd {
	float: left;
	width: 70%;
}

ul.qualifications {
	margin: 0 0 0 1.5em;
	padding-left: 1.5em;
	float: left;
	width: 65%;
}

.padbot {
	padding-bottom: 1em;
}

h3.qualifications {
	float: left;
	width: 8em;
	max-width: 8em;
	clear: left;
	margin-top: 0;
	font-size: 1em;
}

ul.first {
	width: 42%;
	float: left;
	margin: 0 0 0 0.5em;
	padding: 0 1% 0 0.5em;
}

ul.second {
	width: 42%;
	float: left;
	margin: 0 0 0 0.5em;
	padding: 0 1% 0 0.5em;
}

#downloads {
	position: absolute;
	top: 35em;
	left: 3em;
}

#downloads ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}

#downloads ul li {
	padding-left: 24px;
}

li.word {
	background: #fff url(images/doc.png) no-repeat left center;
}

li.pdf {
	background: #fff url(images/pdf.png) no-repeat left center;
}

/* These are standard sIFR styles... do not modify */

.sIFR-flash {
	visibility: visible !important;
	margin: 0;
}

.sIFR-replaced {
	visibility: visible !important;
}

span.sIFR-alternate {
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
}

.sIFR-hasFlash h1 {
	visibility: hidden;
}

.sIFR-hasFlash h2 {
	visibility: hidden;
}

form {
        clear: left;
}

label {
        width: 9em;
        float: left;
        text-align: right;
	margin-bottom: 1em;
	padding-right: 1em;
        font-size: 1em;
}

input {
        border: 1px solid #397cb3;
        background-color: #f8f8f8;
        color: #161616;
        width: 15em;
        float: left;
        text-align: left;
	margin-bottom: 1em;
        font-size: 1.2em;
        padding: 0.1em;
}

textarea {
        border: 1px solid #397cb3;
        background-color: #f8f8f8;
        color: #161616;
        width: 28em;
        float: left;
        text-align: left;
	margin-bottom: 1em;
        font-size: 1.2em;
}

input.short {
        width: 12em;
}

input.button {
        border: 1px solid #397cb3;
        background-color: #306a9a;
        width: auto;
        color: #fff;
        margin-left: 8.5em;
        padding: 0.1em 0.25em;
}

form br {
       clear: left;
}
/* End of 'projectsolve' */

