
* {
  margin:0;
  padding:0;
}

body {
  background:#313131;
}

h1,h2,h3,h4 {
  font:bold 1.0em Arial;
}

.wrap {
  width:1024px;
  margin:auto;
}

/* header stuff */

.header {
  background:#313131;
  height:150px;
  padding:40px 0px;
}


#logo-container {
  float:left;
  display:inline;
  width:30em;
  height:150px;
  color:#fff;
}

#logo-container h1 {
  text-transform:uppercase;
  font:bold 2.0em Arial;
  margin:0.25em;
}

#logo-container h2 {
  font:normal 0.8em Arial;
  margin:0.25em 0.25em 0.25em 0.7em;  
}


.thoughts #logo-container,
.about #logo-container, 
.work #logo-container,
.research #logo-container {
  color:#000;
}

#nav {
  float:left;
  display:inline;
  position:relative;
  width:250px;
  height:150px;
  list-style-type:none; 
  overflow:hidden;
}

#nav li {
  position:absolute;
  list-style-type:none;
}

#nav a {
  display:block;
  width:100%;
  height:100%;
  color:#fff;
  text-transform:uppercase;
  text-decoration:none;
  font:bold 12px Arial;
  text-indent:2px;
}

#nav a:hover {
  color:#000;
}

/* specify locations of nav elements */

#about {
  left:150px;
  width:50px;
  height:50px;
  background:#81e412;
}

#work {
  left:150px;
  width:50px;
  height:50px;
  background:#00dcff; 
}

#research {
  top:-50px;
  left:150px;
  width:100px;
  height:100px;
  background:#ff9e00;
  visibility:hidden;
}

#thoughts {
  left:150px;
  width:150px;
  height:150px;
  background:#ffef09;
  visibility:hidden;
}

/* set font to black when on curent page */

.thoughts #thoughts a {color:#000;}
.research #research a {color:#000;}
.work #work a {color:#000;}
.about #about a {color:#000;}


/* content */

.mid {
  position:relative;
  margin-top:20px;
}

#content, #right-nav {
  padding:10px;
}

#content {
  position:relative;
  width:613px;
  background:#fff;
  font-size:0.9em;
}

#content a {
  text-decoration:none;
  font-weight:bold;
  color:#313131;
}

#content a:hover {
  color:#fff;
  background:#313131;
}

#content h3 {
  font-size:1.3em;
  margin:0.5em 0em;
}

#content p {
  line-height:1.5em;  
  margin:1em 0em;
}

#content cite {
  display:block;
  margin:0.5em 0em;
  font-style:normal;
}

#content cite .title {
  text-decoration:underline; 
}

#content cite .journal-description {
  font-style:italic;  
}

#content .figure {
  float:right;
  margin:5px;
  width:300px;
  text-align:center;  
}

#content .figure p {
  border-top:2px solid #313131;
  font-size:0.9em;
  font-style:italic;
}

/* right nav */

#right-nav {
  position:absolute;
  right:0;
  top:0;
  width:371px;
}

#right-nav h4 {
  padding:0.5em 0em;
	text-align:center;
  margin-top:10px;
}

#right-nav h4.first {
  margin-top:-10px;  
}

.thoughts #right-nav h4 {background:#ffef09;}
.about #right-nav h4 {background:#81e412;}
.work #right-nav h4 {background:#00dcff;}
.research #right-nav h4 {background:#ff9e00;}

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

#right-nav a {
  display:block;
  font:normal 0.8em Arial;
  text-decoration:none;
  padding:0.5em;
}

.thoughts #right-nav a {color:#ffef09;}
.about #right-nav a {color:#81e412;}
.work #right-nav a {color:#00dcff;}
.research #right-nav a {color:#ff9e00;}

#right-nav li:hover {
  background:#666;
}

.equation {
  font-weight:bold;
  font-style:italic;
}

pre { 
  padding:0em 2em;
  color:#339933;
}

/* flickr specific stuff */

#flickr-photos {
  height:174px;  
}

#flickr-photos li {
  float:left;
  display:inline;
  width:75px;
  height:75px;
  padding:2px;
  margin:6px;
}

#flickr-photos a {
  display:block;
  width:75px;
  height:75px;
  padding:0;
}

/* twitter specific stuff */
#twitter-feed p {
  color:#fff;
}

#twitter-feed span {
  display:block;  
  font-size:0.8em;
  color:#ebebeb;
  text-align:right;  
}

.picture-of-me {
  margin:10px 10px 0px 10px;  
}

