html {
    /* cf. http://www.hicksdesign.co.uk/journal/forcing-scrollbars-now-even-better */
    height: 100%;
    margin-bottom: 1px;
}

* {
	margin: 0;
	padding: 0;
}

body {
	margin-top: 100px;
	position: relative;
	top: 1.5em;
	font-family: Georgia;
	color: #444;
}

#box {
    width: 45em;
    margin: 0 auto;
    padding-bottom: 2em;
    overflow: visible;
    position: relative;
}

#tastic {
    width: 261px;
    height: 54px;
    background: url(/i/tastic.png) no-repeat;
    position: absolute;
    left: 23%;
    top: -54px;
    margin-left: -130px;
    margin-top: -1.5em;
}

#tastic h1 {
    text-indent: -9999px;
}

#nav {
    float: left;
    text-align: right;
    width: 20%;
    height: 100%;
    margin-right: 3em;
}

#nav ul {
    list-style-type: none;
}

#nav li {
    margin-bottom: .6em;
}

#nav a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.5em;
    font-size: 90%;
    color: #333;
    padding: 2px 0 1px 3px;
    margin-right: 1px;
}

#nav a:hover {
    border-bottom: 1px solid #888;
}

#nav li.selected a {
    padding-left: 29px;
    background: url(/i/li-selected.png) 3px 50% no-repeat;
    font-style: italic;
}

#nav li.selected a:hover {
    border: 0;
}

#main {
    margin-left: 27%;
}

#main p a {
    text-decoration: none;
    color: #004276;
    border-bottom: 1px solid #004276;
    padding: 2px 0 0;
}

#main p a:hover {
    background: #004276;
    color: #fff;
}

#main h2 {
    font-weight: normal;
    font-style: italic;
    line-height: 1em;
    margin-bottom: .5em;
    margin-top: 1em;
}

#mugshot {
    float: left;
    margin: 5px 20px 10px 0;
    border-bottom: 4px solid #333;
}

#main a img {
    margin: .25em 0 .75em;
    padding: 4px;
    background: #ddd;
    border: 0;
}

#main a:hover img {
    padding: 3px;
    border: 1px solid #333;
}

#main p {
    line-height: 1.5em;
    margin-bottom: .75em;
}

fieldset {
	border: 0;
	width: 30em;
}

form {
	margin-top: 1.5em;
}

form label {
	display: block;
	float: left;
	width: 6em;
}

.form-row {
	padding-top: .5em;
	margin-bottom: .5em;
	border-top: 1px solid #ccc;
	margin-top: -1px;
}

.form-row div {
	margin-left: 6.5em;
}

input#subject {
	width: 97%;
}

textarea#body {
	width: 97%;
	height: 10em;
	overflow: auto;
}

#name, #email {
    width: 60%;
}

#name, #email, #subject {
    height: 1.3em;
}

#name, #email, #subject, #body {
    background: #fefefe url(/i/textbg.png) no-repeat scroll left top;
    border-color: #777 #bbb #ddd;
    border-style: solid;
    border-width: 1px;
    margin: -1px 0;
    padding: .1em;
}

a#send {
	color: #004276;
    font-size: 13px;
    font-family: Helvetica, Arial;
    border: 0 !important;
    background: url(/i/button-left.png) left no-repeat;
    display: block;
    width: 7.5em;
    padding: 0 !important;
    margin-top: -.25em;
}

a#send:hover {
    background: url(/i/button-left.png) left no-repeat;
    color: #222;
}

a#send span {
    display: block;
    text-align: center;
    padding: .5em;
    background: url(/i/button-right.png) right no-repeat;
}

dl.work dt {
	margin-top: 3em;
}

.underscore {
	color: #fff;
}

#notify {
    margin: 1.5em 0 .5em;
    background: #fffbe2;
    border: 1px solid #ffe222;
    padding: .75em .5em 0;
    text-align: center;
    position: relative;
}

#notify a.close {
    font-family: Arial;
    font-size: 60%;
    color: #333;
    text-transform: uppercase;
    display: block;
    position: absolute;
    bottom: 2px;
    right: 2px;
}
