/* Import */
/* @import url("reset.css"); */
@import url("pygment.css");
@import url("typogrify.css");
@import url(http://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic);
@import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono);

/* General */
body {
    background: #FDFDFD;
    color: #111;
    font-size: 1.2rem;
    font-family: 'Crimson Text','Slabo 27px', serif;
    line-height: 1.25em;
    padding-top: 3rem;
}

a {
  color: #0055BB;
}

i, em {
  font-style: italic;
}

/* Headings */
h1 {font-size: 2em }
h2 {font-size: 1.6em} /* 22px */
h3 {font-size: 1.4em} /* 20px */
h4 {font-size: 1.2em} /* 18px */
h5 {font-size: 1em}   /* 16px */
h6 {font-size: .8em}  /* 14px */

h1, h2, h3, h4, h5, h6 {
  text-shadow:0px 0px 1px #BFBFBF;
	font-weight: normal;
  font-style: normal;
  font-variant: small-caps;
}

.justify {
  text-align: justify;
  text-justify: auto;
}
/*************************************************************
**************************************************************
********************** Main Nav ******************************
**************************************************************
**************************************************************/
header.title h1{
  text-align: center;
  font-size: 2.5em;
}

header.title nav {
  background: transparent;
  margin: 1em;
  padding: 0;
  text-align: center;
  font-style: italic;
  font-size: 1.2em;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 15px;
}

header.title a {
  outline: 0;
  text-decoration: none;
  padding-left: 2%;
  padding-right: 2%;
}
header.title a:hover,
header.title a:active {
  text-shadow: 0 0 0.5em #BFBFBF;
}

header .nav-link {
  margin: auto 1em auto 0;
}

header div.meta-info {
  padding-top: .25em;
  padding-left: 2em;
}

@media (min-width: 768px) {
  header.title a {
    display: block;
    margin-bottom: .75em;
  }
}

.ractive {font-weight: bold; text-decoration: underline;}

/*************************************************************
**************************************************************
********************* Body Content ***************************
**************************************************************
**************************************************************/
main {
  padding-bottom: 5rem;
}

main article header {
  margin-bottom: 1em;
}
main article header a.title {
  color: inherit;
}

main .section {
  margin: 1em 0;
}

main .field-name {
  font-weight: bold;
  padding-right: 0.5em;
  text-align: right;
}

#working-papers li, #research-papers li {
  margin-bottom: .4em;
  text-indent: -1em;
  padding-left: 1em;
}

tt.literal {
  font-family: Consolas, "Droid Sans Mono", monospace;
  font-size: 0.8em;
}

.card .card-indent{
  border-left: 1px solid #CCC;
  padding-top: .25em;
  padding-bottom: .25em;
  padding-left: 1em;
}

section.body article header {
  margin-bottom: 1em;
}

.resume .section {
  margin-left: 1em;
}

.resume h2,
.resume h3,
.resume h4,
.resume h5 {
  margin-left: -1em;
}

.resume h2 {
  text-align: center;
}

.resume h3 {
  border-bottom: solid 1px black;
  font-size: 1.4em;
}

.resume blockquote {
  padding-left: 2em;
}


/* Code Blocks from Pygments */
code,
.highlight {
  font-size: 0.8em;
  font-style: normal;
  margin: 1em 2em;
  padding: 0 0.5em;
  font-weight: normal;
  font-family: Consolas, "Droid Sans Mono", monospace;
}

code pre,
.highlight pre {
  padding: 0.5em 1em;
}

code span.lineno,
.highlight span.lineno {
  color: #777777;
  margin-right: 0.5em;
}

/*************************************************************
**************************************************************
************************* Icons ******************************
**************************************************************
**************************************************************/
.social a {
  background-repeat: no-repeat;
  background-position: 3px 6px;
  padding-left: 25px;
}
.social a[href*='about.me'] {background-image: url('../images/icons/aboutme.png');}
.social a[href*='bitbucket.org'] {background-image: url('../images/icons/bitbucket.png');}
.social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
.social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');}
.social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
.social a[href*='gitorious.org'] {background-image: url('../images/icons/gitorious.png');}
.social a[href*='github.com'],
.social a[href*='git.io'] {
  background-image: url('../images/icons/github.png');
  background-size: 16px 16px;
}
.social a[href*='gittip.com'] {background-image: url('../images/icons/gittip.png');}
.social a[href*='plus.google.com'] {background-image: url('../images/icons/google-plus.png');}
.social a[href*='groups.google.com'] {background-image: url('../images/icons/google-groups.png');}
.social a[href*='news.ycombinator.com'],
.social a[href*='hackernewsers.com'] {background-image: url('../images/icons/hackernews.png');}
.social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
.social a[href*='linkedin.com'] {background-image: url('../images/icons/linkedin.png');}
.social a[href*='reddit.com'] {background-image: url('../images/icons/reddit.png');}
.social a[type$='atom+xml'], .social a[type$='rss+xml'] {background-image: url('../images/icons/rss.png');}
.social a[href*='slideshare.net'] {background-image: url('../images/icons/slideshare.png');}
.social a[href*='speakerdeck.com'] {background-image: url('../images/icons/speakerdeck.png');}
.social a[href*='stackoverflow.com'] {background-image: url('../images/icons/stackoverflow.png');}
.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}
.social a[href*='vimeo.com'] {background-image: url('../images/icons/vimeo.png');}
.social a[href*='youtube.com'] {background-image: url('../images/icons/youtube.png');}

/* Contact Page */
.deftable tr td:first-child {
  font-weight: bold;
  text-align: right;
  padding-right: 1em;
}

/* Print PDF */
@media print {

  .no-print,
  .no-print * {
    display: none !important;
  }

  html,
  body,
  .container {
    min-width: auto !important;
  }

  .print-left {
    float: left !important;
  }

  .print-right {
    float: right !important;
  }

  body {
    font-size: 0.9em;
    padding: 0pt;
    margin: 0pt;
  }

  a {
    outline: 0;
    text-decoration: none;
    color: inherit;
  }
  a:link {
    text-decoration: none;
  }
}

@page {
  size: auto;
  margin: 2.5cm;
}
