a {
  color: #379; }
a:hover {
  color: #257; }

.navbar {
  display: block;
  width: 100%;
  height: 6.5rem;
  z-index: 99;
  border-bottom: 1px solid #eee;
}

.navbar-list {
    list-style: none;
    margin-bottom: 0;
}
.navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0;
}
.navbar-item-right {
    position: relative;
    float: right;
    margin-bottom: 0;
}
.navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222;
}
.navbar-link:hover, .navbar-link.active {
  border-bottom: 2px solid #555;
}
.navbar-logo {
    display:block;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    xletter-spacing: .1rem;
    margin-right: 55px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222;

    background-image: url(../images/favicon.png);
    background-repeat: no-repeat;
    background-size: 3rem;
    padding-left: 4rem;
    background-position-y: center;
}

.headshots {
  list-style:  none;
}
.headshots li {
  overflow: auto;
  line-height: 30px;
  min-height: 120px;
  width: 100%;
  position: relative;
  border-top: 2px dotted #eee;
  padding-top: 8px;
}
.headshots li.diss {
  line-height: 20px;
  height: 60px;
  border-top: none;
}
.headshots img {
  float: left;
  margin-right: 8px;
}
.headshots span {
  float: left;
  display:block;
  max-width: 78%;
}
.headshot {
  max-width: 18%;
  box-shadow: 2px 2px 2px rgb(20,20,20,0.5);
}

.pi-headshot {
  box-shadow: 2px 2px 2px rgb(20,20,20,0.5);
}
.pubs {
  width: 80%;
  margin: 0 auto;
  list-style: circle outside;
}

.newpub {
  color: #fff;
  background-color: #f00;
  border-radius: 2rem;
  padding: 0.2rem 1rem;
  font-weight: 600;
  font-size: 11px;
}

.project-card {
  width: 100%;
  height: 30rem;
  background-color: #ddd;
  margin-bottom: 5rem;
  padding: 4px 8px;
  border: 8px solid #fff;
  box-shadow: 2px 2px 4px rgb(20,20,20,0.5);
  position: relative;
  text-decoration: none;
  color: #000;
}
.project-card:hover {
  color: #777;
  border: 8px solid #f7f7ff;
  box-shadow: 4px 4px 4px rgb(20,20,20,0.5);
}

.project-card p {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  margin:0;
  padding: 4px 8px;
  width: 100%;
  color: #fff;
  background-color: rgb(0,0,0,0.5);
}

.project-card .pi {
  float:right;
}

#card-echinodb {
  background: url(../images/echinodb.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
}
#card-echinodb h4,
#card-databio h4 {
  text-align: right;
}

#card-avena {
  background: url(../images/avena.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
}

#card-avena h4,
#card-geneweaver h4 {
  text-shadow: 2px 2px 2px #fff,  -2px -2px 2px #fff, 2px -2px 2px #fff,  -2px 2px 2px #fff;
}

#card-lollipops {
  background: url(../images/lollipops.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
#card-databio {
  background: url(../images/databio.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
}

#card-geneweaver {
  background: url(../images/geneweaver.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
}

small {
  color: #777;
  font-size: 60%;
}

#main-hero {
  margin-top: 5rem;
  height: 40rem;
  margin-bottom: 3rem;
  position: relative;

  background: url(../images/joel-filipe-Wc8k-KryEPM-unsplash.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  border-radius: 8px;
}

#main-hero p {
  box-sizing: border-box;

  margin:0;
  padding: 8px 16px;
  color: #fff;
  background-color: rgb(0,0,0,0.7);
  border-radius: 8px;
}

@media (min-width: 750px) {
  #main-hero p {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
  }
}

#footer {
  display: table;
  width:100%;
  min-height:6rem;
  margin-top:16rem;
}
#footer span {
  border-top: 2px dotted #eee;
  display: table-cell;
  vertical-align: middle;
  color: #999;
}
#footer span.l {
  text-align: left;
}
#footer span.r {
  text-align: right;
}