html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: auto;
    line-height: 1;

    font-family: 'Aktiv Grotesk', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 100%;
    color: #101;

    background-color: #fff;
}

main {
    display: block;
}

header {
    max-width: 850px;
    margin: 0.5em auto 2em auto;
    border-bottom: 2px solid #cacaca;
}

header:after {
    display: block;
    content: " ";
    height: 5px;
    border-bottom: 2px solid #2E6CA4;
    margin: auto;
}

#logo { /* For image-based logo */
    display: inline-block;
    width: 200px;
    height: 42px;
    margin-top: 23px;
}

a object {
    pointer-events: none;
}

#nameplate {
    padding: 0 1.25em 0 1.25em;
    max-width: 50em;
    margin: auto;
    height: 100px;
}

nav {
    float: right;
    font-family: 'Aktiv Grotesk', helvetica, arial, sans-serif;
    font-size: 1em;
    text-align: right;
    margin-bottom: 0.9em;
    position: relative;
    top: 82%;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

#nav_logo { /* Text-based logo */
    float: left;
    font-family: 'Aktiv Grotesk', helvetica, arial, sans-serif;
    font-size: 1.6em;
    text-align: left;
    position: relative;
    top: 82%;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

header a:hover,
header a:visited:hover {
    color: #3370ca;
    text-decoration: none;
}

nav a:link,
nav a:active {
    color: #000;
    text-decoration: none;
    margin: 0 0.5em 0 0.5em;
}

nav a:hover,
nav a:visited:hover {
    color: #3370ca;
    text-decoration: none;
}

nav a:visited {
    color: #000;
}

nav a:last-child {
    margin-right: 0;
}

#nav_home {
    display: none;
}

#nav_qna {
    position: relative;
    z-index: 2;
}

#nav_qna:after {
    content: "+";
    visibility: hidden;
    position: absolute;
    top: -0.5em;
    right: -0.5em;
    color: #C93333;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

#nav_qna:hover:after {
    visibility: visible;
}

#nav_cv {
    position: relative;
    z-index: 2;
}

#nav_cv:after {
    visibility: hidden;
    font-size: 0.6em;
    position: absolute;
    top: -45%;
    right: -70%;
    color: #C93333;
    content: "(PDF)";
    font-weight: bold;
}

#nav_cv:hover:after {
    visibility: visible;
}

article {
    max-width: 50em;
    margin: 0 auto 8em auto;
    padding: 0 1.25em 0 1.25em;
}

h1 {
    font-size: 1.8em;
    margin: 0.67em 0;
}

article h1 {
    padding-bottom: .2em;
    border-bottom: 1px solid #eaecef;
}

article h1:first-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

h1 a:link,
h1 a:visited,
h1 a:hover,
h1 a:active {
    color: #101;
    text-decoration: none;
}

h2 {
    line-height: 1.25;
    margin: 1.5em 0 0.5em 0;
}

article h2 {
    padding-bottom: .2em;
    border-bottom: 1px solid #eaecef;
}

h2 a:link,
h2 a:visited,
h2 a:hover,
h2 a:active {
    color: #101;
    text-decoration: none;
}

h3 a:link,
h3 a:visited,
h3 a:hover,
h3 a:active {
    color: #101;
    text-decoration: none;
}

.smallheaderimg {
    float: right;
    max-width: 20%;
    height: auto;
    margin: 0 0 0.75em 0.75em;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: 'Input', 'menlo', 'DejaVu Sans Mono', monospace;
    font-size: 1em;
    line-height: 1.15;
    width: 100%;
}

a {
    background-color: transparent;
}

a:link, a:active {
    color: #3370ca;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #3370ca;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: 'input-mono-narrow', 'menlo', 'DejaVu Sans Mono', monospace;
    font-size: 1em;
    background-color: rgba(27,31,35,.055);
    border-radius: 6px;
}

code {
    padding: 0.25em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

figure {
    float: right;
    margin: 1em;
    padding: 3px;
    background: #e5e5e5;
    border: 1px solid #9b9b9b;

    font-size: 0.75em;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

p {
    line-height: 1.75;
    margin-top: 0;
}

p + p {
    margin-top: 1em;
}

p + ul {
    margin-top: -0.75em;
}

p img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 1em 0 1em 0;
    max-width: 100%;
}

ul {
    list-style-image: url(bullet.svg);
}

td ul {
    padding-left: 1em;
    padding-right: 1em;
}

li {
    line-height: 1.5em;
}

li + li {
    margin-top: 0.25em;

}

.weekly_schedule {
    width: 100%;
    table-layout: fixed;
}

.weekly_schedule td {
    max-width: 50%;
}

th {
    background-color: #2e6ca4;
    color: #fff;
    padding: 0.75em 0.75em 0.75em 0.75em;
    text-align: left;
}

.week_header {
    font-weight: bold;
}

tr {
    line-height: 1;
}

tr:nth-child(even) {
    background-color: #eee;
}

tr:nth-child(odd) {
    background-color: #fafafa;
}

.weekly_schedule tr:nth-child(4n+2), .weekly_schedule tr:nth-child(4n+3) {
    background-color: #fafafa;
}
.weekly_schedule tr:nth-child(4n+4), .weekly_schedule tr:nth-child(4n+5) {
    background-color: #eee;
}

td {
    line-height: 1.25;
    padding: 0.5em 0.6em 0.5em 0.6em;
    vertical-align: top;
}

td li {
    margin: 0.5em 1em 0.5em 1.25em;
}

td p {
    line-height: 1;
    padding: 0;
}

pre ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
    height:8px
}

pre ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .1);
    border-radius:0
}

pre ::-webkit-scrollbar-thumb {
    cursor: pointer;
    border-radius: 5px;
    background: rgba(0, 0, 0, .25);
    -webkit-transition: color .2s ease;
    transition:color .2s ease
}

pre ::-webkit-scrollbar-thumb:window-inactive {
    background:rgba(0, 0, 0, .15)
}

pre ::-webkit-scrollbar-thumb:hover {
    background:rgba(128, 135, 139, .8)
}

#first_name {
    color: #103964;
    background: url(m.svg) no-repeat left center;
    padding-left: 1.75em;
    font-weight: 300;
}

#last_name {
    color: #103964;
}

/* Publication Styling */
.pubtable table {
    margin: 0;
}

.pubtable td {
    line-height: 1.25;
    vertical-align: top;
    padding: 0 0 0.5em 0;
}

.pubtable .pub_id {
    width: 3.5em;
    text-align: center;
}

.pubtable .pub_id:before {
    content: '[';
    color: #555;
}

.pubtable .pub_id:after {
    content: ']';
    color: #555;
}

.pubtable tr:nth-child(even),
.pubtable tr:nth-child(odd) {
    background-color: transparent;
}

a.doi {
    font-size: 0.8em;
    font-family: 'anonymous-pro', 'menlo', 'DejaVu Sans Mono', monospace;
    color: #101;
}
