html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, body, iframe {
    margin:0;
    padding:0;
    border:0;
}

body {
    padding:50px;
    font-size:1em;
    font: "Open Sans", sans-serif;
    font-weight:300;
    background-color:#fff;
}

h {
    color: #555;
}

h1 {
    font: 2.0em/1.38em "Alegreya", sans-serif; 
    text-align: left;
}

b {
    font-weight: 400;
}

h2 {
    font: 1.75em/1.38em "Alegreya", sans-serif;
    margin-top: 25px;
}

h3 {
    font: 1.3em/1.38em "Alegreya", sans-serif;
}

h4 {
    font: 1.3em/1.38em "Alegreya", sans-serif;
    color:#999;
}

a {
    font: 1.1em "Alegreya";
}

li ul, li ol {
    margin:6px 0;
}

#content {
    margin:auto;
    width:75%;
    max-width: 1024px;
}

header {
    width:180px;
    float:left;
    position:fixed;
}

ul {
    list-style-type:none;
    padding-left:0px;
    font-family: "Open Sans", sans-serif;
}

abstract {
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    font-size:14px;
}

div.pub {
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    font-size:14px;
    margin-bottom: 10px;
}

div.profile {
    width: 30%; 
    display: inline-block;
}

div.caption {
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    font-size:14px;
}

a:visited { 
    color: #417799;
    text-decoration: none;
}

a:link { 
    color: #417799;
    text-decoration: none;
}

a:hover { 
    color: #BF7D7D;
    text-decoration: none;
}

.video {
    object-fit: cover;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    display: block;
    overflow: hidden;
}

.video-container {
    max-width: 1024px;
}

/* Main page specific styles */
body.main-page #content {
    width:70%;
    margin:0 auto;
    margin-top: 5%;
}

body.main-page h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.main-page h2 {
    font: 1.5em/1.38em "Alegreya", sans-serif;
    margin-top: 0;
}

body.main-page header {
    width:13%;
    max-width: 300px;
}

body.main-page article {
    width:72%;
    float:right;
    padding-bottom:10%;
}

body.main-page div.profile {
    width: 70%; 
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
    font-size:14px;
    margin-bottom: 48px;
}
