




















body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: medium;
  font-weight: normal; font-weight: 300;

  border-top: 1em solid white;

  margin-top: 1em;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  max-width: 800px;
  color: #333;
}

p {
  font-size: large;
}

/*ul#nav + p {
  margin-top: 2.62em;
  padding-top: 2em;
}*/

h1 {
  margin: 0;
  padding: 0;
  font-size: medium;
  height: 2.62em;
  float: left;
  position: relative;
}

h1 > a {
  color: #333;
  font-weight: normal; font-weight: 300;
  text-transform: uppercase;
  display: block;
  position: absolute;
  bottom: -0.125em;
  font-size: xx-large;
  width: 10em;
}
h1 > a:hover {
  font-weight: normal; font-weight: 300;
}
h1 > a:visited {
  font-weight: normal; font-weight: 300;
}

strong, b {
  font-weight: bold; font-weight: 400;
  color: black;
}

h2 {
  font-weight: bold; font-weight: 400;
  color: black;
  font-size: x-large;
  clear: none;
}
h3 {
  font-weight: bold; font-weight: 400;
  color: black;
  font-size: large;
}
.cv ul {
  font-size: medium;
}
/* For email address in CV */
h2 + h2 {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 0;
  padding-top: 0;
}

a {
  font-weight: bold; font-weight: 600;
  color: #333;
  text-decoration: none;
}
a:visited {
  font-weight: bold; font-weight: 600;
  color: #333;
  text-decoration: none;
}
a:hover {
  font-weight: bold; font-weight: 600;
  color: #aaa;
  text-decoration: none;
}

#nav {
  font-size: medium;
  clear: none;
  margin: 0;
  padding: 0;
  padding-bottom: 4em;
}
#nav li {
  font-size: medium;
  width: 7.5em;
  height: 2.62em;
  background: #333;
  list-style: none;
  float: right;
  margin: 0;
  padding: 0;
  padding-right: 0.25em;
}
#nav li + li {
  margin-right: 1em;
}
#nav li:hover {
  background: #aaa;
}
#nav li a {
  width: 7.5em;
  display: block;
  text-align: right;
  line-height: 3.87em;
  font-size: medium;
  color: white;
  font-weight: normal; font-weight: 300;
}
#nav li a:hover {
  text-decoration: none;
}
#nav li a:visited {
  text-decoration: none;
  color: white;
}

#nav li.current {
  background: #aaa;
}

#bttm {
  font-size: medium;
  padding: 0;
  margin: 0;
  width: 800px;
  height: 0;
  clear: both;
  border-left: none; border-right: none;
  border-top: 2em solid white;
  border-bottom: 1px solid #ccc;
}

#contact {
  font-size: small;
}
#contact div {
  padding-top: 0.5em;
  padding-bottom: 2em;
  color: #aaa;
}
#contact div:first-child {
  float: left;
}
#contact div:first-child + div {
  float: right;
}
#contact div a {
  font-weight: bold; font-weight: 600;
}

.mainimage {
  display: block;
  float: left;
  width: 250px;
  height: 250px;
  background: white;
  margin-bottom: 2em;
  margin-top: 1em;
}
.mainimage + .mainimage {
  margin-left: 25px;
}
.mainimage div {
  position: relative;
  top: 250px;
  font-size: small;
  padding-top: 0.25em;
  padding-right: 10px;
  text-align: right;
  background: white;
  color: #333;
}

.mainimage + p {
  clear: both;
}
.mainimage + h2 {
  clear: both;
}
.mainimage + h3 {
  clear: both;
}

#alexdave {
  background-image: url('alexdave.jpg');
}
#ibex {
  background-color: #333;
  background-image: url('big_ibex_logo.png');
  background-repeat: no-repeat;
  background-position: 0px bottom;
}
#github {
  background-image: url('github_icon.png');
  background-size: 250px 250px;
}

.cv {
  position: relative;
}
.cv ul {
  padding-left: 0;
  margin-left: 0;
  position: relative;
}
.cv ul li {
  margin-left: 8em;
  margin-bottom: 1em;
  margin-top: 0;
  padding-left: 0;
  list-style: none;
}
.cv ul li.year {
  float: left;
  position: relative;
  margin-bottom: 0;
  color: #333;
  margin-left: 0;
  background: none;
  width: 2.75em;
  text-align: left;
  font-size: medium;
  vertical-align: middle;
}
.cv ul li.range {
  width: 5.2em;
  left: 0;
}
.cv ul li.noyear {
  background: none;
}

.cv ul + h3 {
  margin-top: 2em;
}

a.myemail {
  font-weight: normal; font-weight: 300;
}
a.myemail:visited {
  font-weight: normal; font-weight: 300;
}
a.myemail:hover {
  font-weight: normal; font-weight: 300;
}