* {
  margin: 0;
  padding: 0;
}

html, body {
}

body {
  font-family: "source-code-pro", monospace;
  text-align: center;
}

section#index {
  font-size: 1.3em;
  margin: 0;
}

h1, h2 {
  font-weight: normal;
}

h1 {
    width: 500px;
    margin: 25px auto;
    font-size: 1.5em;
}

section#intro-section > p:nth-child(1) {
  font-size: 1em;
}

figure img.image.profile {
  width: 100px;
  /*vertical-align: top;*/
  /*position: relative;*/
  /*top: 50px;*/

  border: none;
  border-radius: 12em;
  margin: 50px auto 10px auto;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);

}

header#intro {
  margin-top: 20px;
}

header#intro figure {
    margin: auto;
}

header#intro p {
  font-size: 2em;
  text-align: center;
}

section#leader {
  /*text-align: left;*/
  font-size: 1.2em;
  width:800px;
  margin: 30px auto;
}

section#leader > * {
  display: inline-block;
  /* width: 40%; */
  height: 150px;
}

section#leader > ul {
  margin: 0;
  padding: 0;
  list-style-type: square;
  text-align: left;
  width: 500px;
}

section#leader > figure {
  text-align: right;
  width: 160px;
  margin-right: 40px;
}

section.bio-body {
  font-size: 0.85em;
}

section#leader ul li:first-of-type {
  list-style-type: none;
  margin-bottom: 1.5em;
  max-width:350px;
}
/*p {*/
  /*text-align: left;*/
  /*margin: 1em auto 0.1em auto;*/
/*}*/

a, a:visited {
  color: #00a;
}

section {
  margin: 50px;
}

section.links {
  margin: 20px 50px;
}

section.latest {
  margin:0;
}

article {
  /*, header#intro {*/
    width: 950px;
    margin: 20px auto;
}

article {
  text-align: left;
  width: 500px;
}

article img {
  /*box-shadow: 0 0 7px #000;*/
  /*max-width: 500px;*/
  width: 150%;
  margin-left: -25%;
}

article.white img {
  box-shadow: none;
}

section > header {
  text-align: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #efefef;
  margin-top: 30px;
  /*text-transform: uppercase;*/
}

section header h2 {
  font-size: 1.2em;
}

section a figure {
  text-align: left;
  /*text-transform: uppercase;*/
  color: #666;
}

section a figure .image {
  width: 100%;
  padding-bottom: 60%;
  margin: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border: 1px solid #efefef;
}

section a:hover figure img {
}

section figcaption {
  margin: 7px 0;
  font-size: 0.9em;
  position: relative;
  padding-right: 40%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

section.latest figcaption {
  padding-right: 0;
}

section.latest a {
  text-decoration: none;
  color: #000 !important;
}

section.latest ul {
  text-align: left;
}

section.latest > ul > li {
  display: inline-block;
  vertical-align: top;
  /*width: 31%;*/
  /*margin: 30px 2% 0 0;*/
  /*width: 22%;*/
  width: 30%;
  margin: 30px 3% 0 0;
}

section.latest > ul > li:nth-child(n + 4) {
  width: 22%;
  /* width: 48%; */
  margin: 30px 3% 0 0;
}

section.insta {
    margin-left: 0;
    margin-right: 0;
}

section.insta ul {
  text-align: left;
}

section.insta > ul > li {
  display: inline-block;
  vertical-align: top;
  /*width: 31%;*/
  /*margin: 30px 2% 0 0;*/
  /*width: 22%;*/
  width: 20%;
  margin: 30px 0 0 0;
}

section.insta > ul > li video {
  width: 100%;
  /* width: 48%; */
}


section#visualizations a {
  text-decoration: none;
  color: #000 !important;
}

section#visualizations ul {
  text-align: left;
}

section#visualizations > ul > li {
  display: inline-block;
  vertical-align: top;
  /*width: 31%;*/
  width: 48%;
  margin: 30px 2% 0 0;
}

/*section#visualizations > ul > li:nth-child(n + 4) {*/
  /*width: 22%;*/
  /*margin: 30px 3% 0 0;*/
/*}*/

ul.tags {
  /* display: inline; */
  /* text-align: right; */
  position: absolute;
  right: 0;
  top: 0;
  display:none;
}

ul.tags > li {
  display: inline-block;
  list-style-type: none;
  margin: 0 1px;
  padding: 0.05em 0.5em;
  font-size: 0.8em;
  background: #8899a6;
  color: white;
  border-radius: 0.2em;
}

section#software, section#talks {
  text-align: left;
  margin: 0;
}

section#software ul,
section#talks ul {
  margin: 20px;
}

section#software ul li,
section#talks ul li {
  margin-bottom: 10px;
}

section#talks time {
}

nav {
  width: 500px;
  margin: auto;
  text-align: right;
}

header.address, footer {
  margin: 10px 0;
  font-size: 0.7em;
}

header.address ul li, footer ul li {
  display: inline-block;
  margin: 5px 5px;
}

header.address img, footer img {
  width: 16px;
  height: 16px;
}

/*@media screen and (max-width: 1300px) {*/
  /*section#visualizations > ul > li {*/
    /*display: inline-block;*/
    /*vertical-align: top;*/
    /*width: 48%;*/
    /*margin: 30px 2% 0 0;*/
  /*}*/

  /*section#visualizations > ul > li:nth-child(n + 3) {*/
    /*width: 32%;*/
    /*margin: 30px 1% 0 0;*/
  /*}*/

  /*section figcaption {*/
    /*padding-right: 0;*/
  /*}*/

  /*ul.tags {*/
    /*position: static;*/
  /*}*/

/*}*/

ul.tags > li.Twitter,
ul.tags > li.Google,
ul.tags > li.Mozilla
{
  background: #55acee;
}

ul.tags > li.Gov,
ul.tags > li.Sports,
ul.tags > li.News,
ul.tags > li.TV,
ul.tags > li.Music
{
  background: #77b255;
}

ul.tags > li.PhiloGL,
ul.tags > li.InfoVis {
  background: #ffcc4d;
}

ul.tags > li.SciViz {
  background: #9266cc;
}

iframe {
  /*margin-left: -125px;*/
}
