html {
    overflow-y: scroll;
    overflow: -moz-scrollbars-vertical;
}

body {
    background: #6B0717;
    background-image: url('background.png');
    margin: 0 auto;
    font: 16px Lora, Georgia, serif;
}

img {
    border-style: none;
}

a {
    color: #881726;
    font-style: italic;
    text-decoration: none;
}

p {
    margin: 1em 0em 0em 0em;
    color: #202020;
}

    p:first-child {
        margin-top: 0;
    }

    p.attribution {
        margin-top: 0.5em;
        font-style: italic;
        text-align: right;
    }

    p.next-page::before {
        color: #881726;
        font-weight: bold;
        content: "\27A4  ";
    }

    p.next-page {
        text-align: right;
        position: absolute;
        bottom: 30px;
        right: 30px;
        margin-top: 100px;
    }

ul {
    margin-bottom: 0;
}

li {
    margin-top: 0.5em;
}

strong {
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
    margin: 1.5em 0em 0em 0em;
    font-family: Lato, Calibri, sans-serif;
    font-weight: bold;
}

    h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
        margin-top: 0;
    }

h1 {
    color: #881726;
    font-size: 24px;
}

h2, h3, h4, h5, h6 {
    font-size: 18px;
}

span.title {
    font-style: italic;
}

div#container {
    width: 830px;
    margin: 7.5px auto;
}

div.section {
    margin-top: 22.5px;
    padding: 22.5px;
    background-color: #00000008;
}

div#content {
    background: #fff;
    background-image: url('content-background.png');
    min-height: 795px;
    overflow: hidden;
    padding: 52.5px 60px 82.5px 60px;
    position: relative;
}

div#content-overlay {
    background-image: url('content-overlay.png');
    margin: -95px -60px;
    height: 795px;
    width: 830px;
    position: absolute;
    bottom: 0;
    pointer-events: none;
}

div.logo {
    width: 360px;
    height: 360px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    position: relative;
    background-image: url("logo.png");
    background-size: contain;
}

div.student-photos {
    content: url('student-photos.png');
    width: 100%;
    margin-top: 30px;
    position: relative;
}

div#headshots-container {
    margin: 1em 0em 0em 0em;
}

table.headshots-table {
    border-collapse: collapse;
    margin: auto;
}

    table.headshots-table th,
    table.headshots-table td {
        padding: 0 25px;
        text-align: center;
        vertical-align: top;
        margin: 0;
    }

    table.headshots-table td:not(#first-row) {
        padding-top: 0.5em;
    }

        table.headshots-table th:first-child,
        table.headshots-table th:last-child,
        table.headshots-table td:first-child
        table.headshots-table td:last-child {
            padding-left: 0;
            padding-right: 0;
        }

div.headshot-container {
    position: relative;
}

img.headshot {
    position: relative;
}

div.headshot-overlay-active {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 10px);
    width: -moz-calc(100% - 10px);
    width: -webkit-calc(100% - 10px);
    height: calc(100% - 10px);
    height: -moz-calc(100% - 10px);
    height: -webkit-calc(100% - 10px);
    border-style: solid;
    border-width: 5px;
    border-color: #881726;
}

div.headshot-overlay-inactive {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFFCC;
}

div#footer {
    color: #FFFFFFC0;
    margin: 0px auto;
    text-align: center;
    padding: 10px 0px 0px 0px;
}

div#nav {
    width: 100%;
}

    div#nav ul {
        margin: 0px;
        padding: 0px;
        width: 100%;
        float: left;
        list-style-type: none;
        list-style-position: inside;
        text-align: center;
    }

    div#nav li {
        display: inline;
        margin: 0px;
        padding: 0px;
    }

    div#nav .button {
        display: inline-block;
        zoom: 1; /* zoom and display for IE7 */
        font: 16px Lato, Calibri, sans-serif;
        font-weight: bold;
        padding: 10px;
    }

    div#nav .unselected {
        color: #FFFFFFC0;
    }

        div#nav .unselected:hover {
            color: white;
            background: #FFFFFF40;
        }

        div#nav .unselected:active {
            color: #881726;
            background: #FFFFFFC0;
        }

    div#nav .selected {
        color: #881726;
        background: #F0F0F0;
        background-image: url('content-background.png');
    }
