html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 40px;
    background-color: #FEFFFF;
    text-rendering:optimizeLegibility
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.navbar-brand {
    font-size: 23px;
}

img {
    max-width: 100%;
}

.footer p {
    margin-top: 8px;
    font-size: 0.9em;
}

.navbar a {
    text-transform: uppercase;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
}

.container {
    font: 400 16px/24px 'merriweather';
}

h1 {
  font: 700 28px/30px 'merriweather';
  letter-spacing: -1px;
}

h2 {
  font: 700 18px/26px 'merriweather';
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{
    font-family: 'merriweather';
}



/* Portions taken from https://github.com/gcushen/hugo-academic */

@keyframes intro {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.home-section {
  background-color: rgb(255, 255, 255);
  padding: 40px 0 40px 0;
  animation: intro 0.3s both;
  animation-delay: 0.15s;
}

.home-section:first-of-type {
  padding-top: 50px;
}

.home-section:nth-of-type(even) {
  background-color: rgb(247, 247, 247);
}

@media screen and (max-width: 768px) {
  .home-section {
    padding: 40px 0 40px 0;
  }
  .home-section:first-of-type {
    padding-top: 50px;
  }
}

/* Landing page */

#profile {
    text-align: center;
    padding: 30px 10px;
    position: relative;
}

#profile .portrait {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
}

#profile ul.social-icon {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

#profile .social-icon li {
  margin-right: 10px;
}

#profile .social-icon li:last-of-type {
  margin-right: 0;
}

#profile .social-icon li:hover {
  transform: scale(1.2)
}

.big-icon {
    font-size: 3rem;
}

#profile h2 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 24pt;
}

#profile h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 400;
    font-size: 14pt;
}

#bio {
    text-align: left;
    padding: 70px 40px;
    position: relative;
    font-size: 14pt;
    line-height: 1.5;
}

.section-title h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 22pt;
    text-align: center;
}

.subsections h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 18pt;
    padding-top: 5px;
}

.subsections .subsection-icon {
    position: absolute;
    float: left;
    left:-280px;
    max-width: 220px;
    padding-top: 20px;
}

#updates-section  ul.list-group:after {
  clear: both;
  display: block;
  content: "";
}

#updates-section .list-group-item {
    float: left;
    width: 30%;
    max-width: 32%;
    margin-right: 15px;
    min-height: 200px;
}

#updates-section .list-group-item-heading {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 11.5pt;
    padding-bottom: 5px;
}

#updates-section .list-group-item-text {
    font-size: 10.5pt;
    padding-bottom: 5px;
}

#updates-section .updates-footer {
    font-size: 9pt !important;
}

#publications .publications-list {
    font-size: 90%;
}

.publications-list p.list-group-item-text {
    line-height: 1.4;
}

.publications-list i.ai-open-access {
    color: #F17C2B;
}

#contact-body .fa-ul li {
    margin: 20px 0 0 0;
}

#contact-body i.fa-li {
    top: 5px;
}

.blog-colophone {
    padding-top: 80px;
}

.blog-index {
    font-family: 'Inconsolata';
}

.blog-index .row {
    padding-bottom: 8px;
}

.pager {
    padding-top: 20px;
}

.article-title {
    width: 100%;
    text-align: center;
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 20pt;
    padding-bottom: 30px;
    padding-top: 50px;
}

.article {
    padding: 10px;
    margin-bottom: 1.7em;
    margin-top: 1.4em;
}

.article blockquote {
    font-size: 0.9em;
    line-height: 1.2em;
}

.article p {
    padding-bottom: 15px;
}

p.article-footer {
    padding-bottom: 20px;
}

.thumb-caption {
    background: rgba(50,50,50,0.75);
    bottom: 0;
    left: 0;
    position: absolute;
    color: white;
    font-family: sans-serif;
    text-align: center;
    font-size: 80%;
    font-weight: bold;
    line-height: 1.2em;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}

.img-project {
    border: 1px solid #dddddd;
    margin: 5px;
}

.thumbnail img:hover {
  -webkit-filter: brightness(1.1);
  -moz-filter: brightness(1.1);
  -o-filter: brightness(1.1);
  -ms-filter: brightness(1.1);
  filter: brightness(1.1);
}

div.thumbnail {
    border: 1px solid white;
}

.label-default {
  background-color: gray;
}

#course-list dd {
  padding: 10px;
}

h2.academic-headings {
  padding-top: 5px;
  font-size: 125%;
}

div.updates {
  font-size: 70%;
}

div.updates .list-group-item {
  background-color: #FEFFFF;
}

p.update-footer {
  text-align: right;
  color: #9d9d9d;
  font-size: 90%;
}

ul.publications {
  font-size: 95%;
}

ul.publications h4.list-group-item-heading {
  font-size: 115%;
  padding-bottom: 5px;
}

/*ul.publications h4.honorable-mention-icon {
  background-image: url('/images/icons/honorable-mention.png');
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 35px;
}

ul.publications h4.award-icon {
  background-image: url('/images/icons/award.png');
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 35px;
}*/

h4.honorable-mention-icon {
  padding-bottom: 0px !important;
}

h4.honorable-mention-icon:after {
    content:url(/images/icons/honorable-mention.png);
    vertical-align: -50%;
    padding-left: 5px;
}

h4.award-icon {
  padding-bottom: 0px !important;
}

h4.award-icon:after {
    content:url(/images/icons/award.png);
    vertical-align: -50%;
    padding-left: 10px;
}


ul.publications p.list-group-item-text {
  padding-bottom: 5px;
}

ul.publications p.award {
  font-weight: 700;
  font-style: italic;
}

ul.courses h4.list-group-item-heading {
  font-size: 120%;
  padding-bottom: 10px;
}

ul.courses p.list-group-item-text {
  padding-bottom: 10px;
}
