*, *:before, *:after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

html {
    background: #383e42;
    color: #FFF;
    overflow-y: scroll;
}

body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px;
    font-family: 'Open Sans', 'Calibri', sans-serif;
    font-size: 12pt;
}

@media (max-width: 920px) {

    body {
        padding: 16px;
    }

}

@media (max-width: 680px) {

    body {
        padding: 8px;
        font-size: 11pt;
    }

}



header {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 0 0 64px;
}

.header-item {
    display: table-cell;
    vertical-align: top;
}

.header-item:nth-child(1) {
    width: 150px;
    min-height: 150px;
}

.header-item:nth-child(2) {
    text-align: center;
}

.header-item:nth-child(3) {
    width: 150px;
    min-height: 150px;
}

.header-title {
    display: block;
    width: 380px;
    height: 75px;
    line-height: 75px;
    margin: 0 auto;
    font-size: 24pt;
    font-weight: bold;
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid #FFF;
}
.header-title.active {
    border-bottom-color: red;
}

.header-title-link {
    color: #FFF;
    text-decoration: none;
}

.header-image {
    width: 100%;
    margin: 0;
    border: 0;
}

.header-nav {
    display: block;
    height: 75px;
    line-height: 75px;
}

.header-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-item {
    display: inline-block;
    line-height: 1;
    margin: 0 4px;
    padding: 0;
    font-size: 14pt;
    color: inherit;
}

.header-nav-link {
    display: inline-block;
    padding: 12px;
    color: inherit;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.header-nav-link.active {
    border-bottom-color: red;
}

@media (max-width: 920px) {

    header {
        margin: 0 0 48px;
    }

    .header-item:nth-child(1),
    .header-item:nth-child(3) {
        width: 100px;
        min-height: 100px;
    }

    .header-title {
        width: 320px;
        height: 51px;
        line-height: 40px;
        font-size: 20pt;
    }

    .header-nav {
        height: 49px;
        line-height: 49px;
    }

    .header-nav-item {
        margin: 0;
        font-size: 12pt;
    }

    .header-nav-link {
        padding: 8px;
        border-bottom-width: 2px;
    }

}

@media (max-width: 680px) {

    header {
        margin: 0 0 24px;
    }

    .header-item:nth-child(1),
    .header-item:nth-child(3) {
        width: 80px;
        min-height: 80px;
    }

    .header-title {
        width: 240px;
        height: 41px;
        line-height: 32px;
        font-size: 16pt;
    }

    .header-nav {
        height: 39px;
        line-height: 39px;
    }

    .header-nav-item {
        font-size: 12pt;
    }
    .header-nav-item.optional {
        display: none;
    }

    .header-nav-link {
        padding: 6px 4px;
    }

}

@media (max-width: 480px) {

    header {
        margin: 0 0 64px;
    }

    .header-item:nth-child(1),
    .header-item:nth-child(3) {
        width: 60px;
        min-height: 60px;
    }

    .header-title {
        position: relative;
        top: 30px;
        width: 164px;
        height: 30px;
        line-height: 24px;
        font-size: 12pt;
    }

    .header-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
    }

}



footer {
    display: block;
    width: 100%;
    margin: 80px 0 0;
    font-size: 10pt;
}

footer:before {
    content: '';
    display: block;
    width: 40px;
    margin: 32px 0 16px;
    border-top: 2px solid #FFF;
}

.footer-link {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 920px) {

    footer {
        margin: 60px 0 0;
        padding-bottom: 8px;
    }

}

@media (max-width: 680px) {

    footer {
        margin: 40px 0 0;
        padding-bottom: 16px;
    }

}



main {
    margin: 32px 0;
}

.main-photo-wrapper {
    width: 100%;
    margin: 0 auto 32px;
}

.main-photo {
    display: inline-block;
    width: 100%;
}

.content {
    display: block;
    margin: 48px 0;
    line-height: 1.7;
}

@media (max-width: 920px) {

    .content {
        margin: 32px 0;
    }

}

@media (max-width: 680px) {

    main {
        margin: 32px 0;
    }

    .main-photo-wrapper {
        margin: 0 auto 16px;
    }

    .content {
        margin: 16px 0;
    }

}



h2 {
    display: block;
    margin: 24px 0 16px;
    font-size: 14pt;
    font-weight: bold;
    line-height: 1.3;
}

p {
    margin: 16px 0;
}

a {
    color: inherit;
    text-decoration: underline;
}

.clear {
    clear: both;
}



.inline-nav {
    display: block;
    margin: 32px 0;
}

.inline-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.inline-nav-item {
    display: inline-block;
    margin: 0 48px 0 0;
    padding: 0;
}

.inline-nav-link {
    display: inline-block;
    padding: 8px 0;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 680px) {

    .inline-nav {
        margin: 16px 0;
    }

    .inline-nav-item {
        margin: 0 16px 0 0;
    }

    .inline-nav-link {
        padding: 0;
    }

}



.biophoto-wrapper {
    display: block;
    position: relative;
    min-height: 140px;
}

.biophoto-text {
    display: inline-block;
    margin: 32px 0;
}

.biophoto-photo {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.bio {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.bio-item {
    display: block;
    margin: 16px 0;
    min-height: 32px;
}

.bio-year {
    display: block;
    float: left;
    width: 3em;
    margin: 6px 20px 0 0;
    text-align: center;
    background: #DDD;
    color: #000;
    border-radius: 1px;
    line-height: 1.3;
}

.bio-info {
    display: block;
    overflow: hidden;
}

@media (max-width: 680px) {

    .biophoto-wrapper {
        min-height: 130px;
    }

}

@media (max-width: 480px) {

    .biophoto-wrapper {
        min-height: 102px;
    }

    .biophoto-text {
        margin: 12px 0;
    }

    .bio-year {
        width: 2.25em;
        margin-right: 10px;
    }

}



.equipment {
    list-style: none;
    margin: 0;
    padding: 0 0 0 30px;
}

.equipment-item {
    display: block;
    position: relative;
    margin: 0;
}
.equipment-item:before {
    content: '';
    display: block;
    position: absolute;
    top: .9em;
    left: -28px;
    width: 6px;
    height: 6px;
    background: #DDD;
    transform: translateY(-50%);
}



.project {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 48px 0;
}

.project-photo-wrapper {
    display: table-cell;
    width: 320px;
    vertical-align: top;
}

.project-photo {
    display: block;
    width: 100%;
    margin: 0 32px 0 0;
    box-shadow: 1px 2px 20px -8px #000;
}

.project-text {
    display: table-cell;
    vertical-align: top;
    padding-left: 48px;
}

.project-year {
    display: block;
    width: 5em;
    margin: 0 0 16px;
    background: #DDD;
    color: #000;
    text-align: center;
    border-radius: 1;
    line-height: 1.3;
}

@media (max-width: 680px) {

    .project {
        margin: 16px 0;
    }

    .project-photo-wrapper {
        width: 240px;
    }

    .project-photo {
        margin: 0 16px 0 0;
    }

    .project-text {
        padding-left: 16px;
    }

    .project-year {
        width: 5em;
        margin: 0 0 16px;
        line-height: 1.3;
    }

}

@media (max-width: 480px) {

    .project {
        display: block;
        margin: 24px 0;
    }

    .project-photo-wrapper {
        display: block;
        width: 100%;
    }

    .project-photo {
        margin: 0;
    }

    .project-text {
        display: block;
        padding: 16px 0;
    }

    .project-year {
        margin: 0 0 8px;
    }

}



.partner {
    display: inline-block;
    position: relative;
    width: 360px;
    min-height: 180px;
    margin: 32px 32px 0 0;
    padding: 24px;
    background: #DDD;
    color: #000;
    vertical-align: top;
}
.partner:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    border: 10px solid #383e42;
    border-top-color: #EEE;
    border-left-color: #EEE;
    box-shadow: -2px -2px 2px 0 rgba(0, 0, 0, .1);
}

@media (max-width: 920px) {

    .partner {
        width: 100%;
        max-width: 340px;
        min-height: 180px;
        margin: 24px 24px 0 0;
        padding: 12px;
    }

}

@media (max-width: 360px) {

    .partner {
        padding: 10px 6px;
        min-height: 0;
    }

}



.phase {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin: 32px 0 48px;
}

.phase-part {
    display: table-cell;
}
.phase-part:first-child {
    width: 60%;
}

.phase-header {
    display: block;
    margin: 0 0 16px;
    padding: 4px 0 4px 30px;
    background: #DDD;
    color: #000;
    font-weight: bold;
}

.phase-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 30px;
}
.phase-part:first-child > .phase-list {
    margin-right: 16px;
}

.phase-item {
    display: block;
    position: relative;
    margin: 0;
}
.phase-item:before {
    content: '';
    display: block;
    position: absolute;
    top: .9em;
    left: -28px;
    width: 6px;
    height: 6px;
    background: #DDD;
    transform: translateY(-50%);
}

@media (max-width: 920px) {

    .phase {
        display: block;
    }

    .phase-part,
    .phase-part:first-child {
        display: block;
        width: 100%;
        margin: 0 0 16px;
    }

    .phase-header {
        line-height: 1.3;
    }

    .phase-part:first-child > .phase-list {
        margin: 0;
    }

}
