body {
	font-family: Arial, sans-serif;
    font-size: 0.875em;
	line-height: 1.3em;
	background-color: white;
	text-align: center;
}

p {
	margin: 0.5em 0;
}

#container {
	margin: 0 auto;
	padding: 2em 2em 2em 2.5em;
	max-width: 60em;
	background-color: white;
	text-align: left;
}


/** Header *******************************************************************/
.logo {
    float: left;
}
.logo a {
    display: block;

    font-size: 1.3em;
    line-height: 2em;
	padding: 0 0.7em;

    color: white;
    background-color: black;
}
.logo a:link,
.logo a:visited {
    color: white;
    background-color: black;
}
.logo a:hover {
    color: white;
    background-color: #0062FF;
    text-decoration: none;
}

.nav {
    float: left;
    margin: 0 0 0 1.4em;
}
.nav li {
    list-style-type: none;
    display: inline;
    font-size: 1.2em;
    line-height: 2em;
}
.nav li.current a:link,
.nav li.current a:visited,
.nav li.current a:hover {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.header {
    padding-bottom: 0.9em;
    border-bottom: 1px solid #CCC;
    margin-bottom: 0.7em;
    margin-left: -0.5em;
}
.header-clear {
    clear: both;
}

/** Other styles *************************************************************/
h2 {
	margin: 1.5em 0 0.75em -0.5em;
    color: #333;
    font-size: 1.4em;
}

.see-also {
    margin-top: 0.2em;
}
.see-also a:link {
    color: #666;
    font-style: italic;
}

a {
	text-decoration: none;
}
a:link {
	color: #003994;
}
a:visited {
	color: #2D4161;
}
a:hover {
	text-decoration: underline;
    color: #0062FF;
}

a img {
	border: thin solid #CCC;
}

.email {
	font-family: Consolas, sans-serif;
}

ul {
	margin-left: 2.5em;
	padding-left: 0;
}

li {
	line-height: 1.2em;
	margin: 0.5em 0;
}
ul.compact li {
    margin: 0.1em 0;
}

p.read-more {
    font-style: italic;
    font-size: 90%;
    position: relative;
    top: -0.4em;
}

.smiley {
    
}


/** Side images **************************************************************/
.sideimg a {
    display: block;
	margin: 0.7em 0 0.7em 0.7em;
	padding: 0.5em;
	border: thin solid #BBB;
	float: right;
	clear: both;
	width: 20%;
}

.sideimg .caption {
	font-size: smaller;
	line-height: 1em;
	display: block;
}

.sideimg .image {
	display: block;
	margin-bottom: 0.25em;
    border: 1px solid white;
}
.sideimg .image img {
	width: 100%;
    border: none;
}

.sideimg a:hover {
    text-decoration: none;
}

.sideimg a:hover,
.sideimg a:hover .image {
	border: 1px solid #99C;
}

.thumbs img {
	border: thin solid #BBB;
	margin: 1em;
}

.text-image {
    clear: both;
}
.text-image .sideimg a {
    margin-top: 0;
    margin-bottom: 0;
}
.text-image .sideimg .image {
    height: 5em;
    overflow: hidden;
}
.text-image .sideimg .caption {
    display: none;
}

/** Resume ********************************************************************/
.period, .date {
	white-space: nowrap;
}

.selected_score {
	font-weight: bold;
}

.title {
	font-style: italic;
}

.position, .school {
	margin-bottom: 0.8em;
}

.position table.position-header, .school table.position-header {
	border-spacing: 0;
}

.position .employer, .school .schoolname {
	font-weight: bold;
	width: 100%; /* to make the table expand but respect floats */
}

.position .location {
	font-style: italic;
	text-align: right;
	white-space: nowrap; /* to avoid getting crushed by the 100%-width employer */
}

.position .jobtitle {
	font-style: italic;
}

.position .period {
	text-align: right;
}

.school .period {
	text-align: right;
	white-space: nowrap; /* to avoid getting crushed by the 100%-width schoolname */
}

.school .major {
	font-style: italic;	
}