@import url(http://fonts.googleapis.com/css?family=Rokkitt:400,700|Open+Sans);

body {
  font-size: small;
  font-family: 'Open Sans', sans-serif;
  width: 1200px;
  margin: auto;
  padding: 8px;
}

/* TODO - refactor a bit - .pub basically just adds to .bio */

div.content-narrow {
  width: 640px;
  margin: auto;
}

.bio {
  width: 695px;
  padding-left: 36px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.bio img {
  float: left;
  opacity: 0.7;
  transition: 0.2s;
  -moz-transition: 0.2s;
  height: 125px;
  width: 100px;
}

.bio img:hover {
  opacity: 1;
}

.bio p {
  border-left: 1px solid #007697;
  margin-left: 120px;
  height: 125px;
  margin-top: 0px;
}

.pub {
  width: 695px;  /* TODO - this is the narrower view */
  padding-left: 36px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pub img {
  float: left;
  opacity: 0.7;
  transition: 0.2s;
  -moz-transition: 0.2s;
  height: 125px;
  width: 100px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.pub img:hover {
  opacity: 1;
}

.pub p {
  border-left: 1px solid #007697;
  margin-left: 120px;
  height: 125px;
  margin-top: 0px;
}

/* For pub titles that have no links */
.pub-title {
  color: rgba(0, 0, 0, 0.6);
}

.pub-venue {
  font-style: italic;
}

.pub-award {
  font-weight: bold;
  color: #830D2C;
}

/*
a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition:color 0.2s;
  -moz-transition:color 0.2s;
}

a:hover {
  color: rgba(0, 0, 0, 0.75);
}
*/

.paper-title {
  font-style: italic;
}

#sponsors {
  font-size: 1.2em;
  text-align: center;
}

#sponsors figure {
  float: left;
  margin: 0px;
  width: 50%;
}

header {
  background-repeat: no-repeat;
  background-position: left;
  background-position: 0px 19px;
  background-size: 160px 160px;
  height: 100px;
  font-family: 'Rokkitt', serif;
  /*padding-left: 170px;*/
}

#group-name-short {
  color: #830D2C;
  font-size: 90px;
  padding: 0px;
  font-weight: bold;
  left: -170px;
  margin-bottom: -20px;
}

#group-name-long {
  color: #007697;
  font-size: 53px;
  margin-bottom: 3px;
}

h1 {
  font-family: 'Rokkitt', serif;
  font-size: 3.0em;
  color: #830D2C;
  margin-top: 16px;
  margin-bottom: 0.25em;
}

h2 {
  font-family: 'Rokkitt', serif;
  font-size: 2.0em;
  color: #830D2C;
}

h3 {
  font-family: 'Rokkitt', serif;
  font-size: 1.5em;
  color: #830D2C;
}

p {
  font-size: 1.2em;
  padding-left: 20px;
}

#table-container {
  display: table;
  border-spacing: 8px;
  margin-top: 8px;
}

#table-row {
  display: table-row;
}

#about {
  display: table-cell;
  vertical-align: top;
  width: 65%;
  padding-right: 16px;
  border-right: 1px solid #007697;
}

#about ul {
    font-size: 1.2em;
}

#news p {
  padding-bottom: 20px;
  margin: 0px;
}

#news {
  display: table-cell;
  vertical-align: top;
}

#news h1 {
  font-size: 2.0em;
  text-align: center;
}

#news time {
  color: #007697;
  font-weight: bolder;
}

nav {
  font-family: 'Open Sans', sans-serif;
  width: 1000px;
}

nav ul {
  border: 1px solid #007697;
  border-radius: 4px;
  display: inline-block;
  list-style-type: none;
  padding: 0px;
  width: 100%;
  font-variant: small-caps;
  font-size: 1.5em;
  position: relative;
  margin: 0px;
}

nav ul li {
  text-align: center;
  float: left;
  width: 20%;
  position: relative;
}

nav ul li:hover {
  /* background: #fef7e3; */
  background: rgba(0, 118, 151, 0.125);
  transition:background 0.2s;
  -moz-transition:background 0.2s;
  border: 2px solid #007697;
  border-radius: 4px;
  
  /* Needed to keep li sizes unchanged when border added */
  margin: -2px;
}

nav ul li a {
  display: block;  /* Make the full area clickable */
  text-decoration: none;
  color: black;
}

nav ul ul {
  display: block;
  position: absolute;
  padding: 0px;
  font-variant: normal;
  font-size: 0.8em;
  width: 100%;
  line-height: 1.75em;

  /*
   * Border is inherited, but need to tweak margins to
   * keep this from shifting us over 1px and overlapping with
   * the top-level list item.
   */
  margin-left: -1px;
  margin-top: 1px;
  background: white;
}

nav ul ul li {
  clear: left;
  text-align: left;
  width: 100%;
}

nav ul ul li:hover {
  border: none;
  margin: 0;
}

nav ul ul li a {
  padding-left: 20px;
}

#disclaimer {
  font-family: 'Open Sans', sans-serif;
  text-align: center;

  /* Just to hide it for now... If we needed it, above styling would be fine */
  display: none;
}
