@charset "UTF-8";

/* global styles */

a, a:link, a:active, a:visited, span.more {
    color: #71bae8;
    transition: all 0.2s
}

::selection {
    background: #eee;
    color: #333;
    text-shadow: none;
}

abbr > a {
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}

abbr > a:focus {
    background: #888;
    color: #111;
    text-shadow: none;
}

abbr > a[href="javascript:void(0);"] {
    border-bottom: 1px dotted #888;
    cursor: help;
}

abbr > a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: calc(100% + 4px);
    background-color: #f8f8f8;
    color: #333;
    font-size: 14px;
    text-shadow: none;
    white-space: normal;
}

abbr > a:focus:before,
abbr > a:active:before {
    content: attr(title);
    border: 1px solid #666;
    border-radius: 4px;
    padding: 4px;
    line-height: normal;
}

.no-touch span.more:hover, .no-touch a:hover {
    text-decoration: none;
    color: #0077c9;
}

p {
    position: relative;
}

.lineheight-normal {
    line-height: normal !important;
}

#acf-pages > div > div.main-container {
	background-repeat: no-repeat;
	background-size: 100% 200%;
	background-position: left center;
	background-image: linear-gradient(transparent, rgba(0,0,0,0.6) 40%), url("../img/pexels-shay-wood-574115.webp");
	color: #aaa;
    font-weight: 400;
	text-shadow: 3px 3px 6px #000;
}

#acf-pages > div > div.main-container .sectionTitle {
    color: #bbb;
}

#acf-pages > div > div.main-container h2,
#acf-pages > div > div.main-container .pageTitle {
    color: #aaa;
}

footer.acf div.prev-page, footer.acf div.next-page {
    color: #666;
}

#acf-ui-mask {
	background-image: linear-gradient(to right, rgba(204, 204, 204, 1) 100px, rgba(0, 0, 0, 0.5) 101px);
}

div.main-container > div.scrolling {
    outline: none;
}

main.acf {
    position: relative;
    z-index: 1;
    padding: 70px 20px 20px 20px;
}


/* titles & headings */

.sectionTitle, .pageTitle, .topic, h2 {
	font-family: Roboto, sans-serif;
}

main.acf header.sectionTitle {
    border-bottom-width: 1px;
}

/* navigation footer */

footer.acf {
    border-top-color: #444;
}

footer.acf div.container div.section {
    color: rgba(255, 255, 255, 0.4);
}

/* hero figure */

figure.hero {
    position: relative;
    margin: 0 0 40px 0;
}

p + figure.hero {
    margin-top: 40px;
}

figure.hero a.zoomable,
figure.hero img {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 120px);
}

figure.hero figcaption {
    display: block;
    padding: 0 60px;
    font-size: 12px;
    text-align: center;
}


/* inset image */

img.inset {
    margin: 16px 0;
    width: 100%;
    height: auto;
}

img.inset.top {
    margin-top: 0;
}

img.inset.rounded {
    border-radius: 16px;
}


/* inset caption */

span.caption {
    display: block;
    margin: 0 20px 1em;
    font-size: 12px;
    text-align: center;
}


/* blockquote */

.cursive {
    font-family: Satisfy, cursive;
    font-size: 24px;
}

blockquote {
    position: relative;
    clear: both;
    line-height: inherit;
}

blockquote.cursive {
    margin-bottom: 0;
}

blockquote span.credit {
    display: block;
    width: 100%;
    text-align: right;
}

blockquote span.credit::before {
    content: '\2014';
    padding-right: 6px;
}

section.blockquote-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

section.blockquote-center > blockquote {
    display: inline-block;
}

/* article + flex */

article.image div.props  p {
    display: flex;
    line-height: normal;
}

article.image div.props p span.label {
    min-width: 60px;
    max-width: 60px;
}

article.image div.props.wide-label p span.label {
    min-width: 100px;
    max-width: 100px;
}

article.image div.props p span.label.download {
    min-width: 80px;
    max-width: 80px;
}

article.image div.props p span.content {
/*    line-height: 1.5;*/
    line-height: normal;
}

article.image div.props p span.content.note {
/*    margin-top: 2px;*/
/*    line-height: normal;*/
}

article.image div.props p span.content br.margin {
    display: block;
    margin: 0.5em 0;
    content: ' ';
}

/* mission & crew data */

ul.mission,
ul.crew-list {
    padding-left: 0;
}

ul.mission ul,
ul.crew-list ul {
    padding-left: 0;
}

ul.mission li,
ul.crew-list li {
    list-style: none;
}

ul.mission > li,
ul.crew-list > li {
    padding-left: 0px;
}

ul.mission ul,
ul.crew-list ul {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul.mission ul > li,
ul.crew-list ul > li {
    padding-left: 16px;
    line-height: normal;
}

ul.mission ul > li:last-child,
ul.crew-list ul > li:last-child {
    margin-bottom: 0;
}

ul.mission small {
    margin-left: 8px;
}

li span.label {
    margin-right: 4px;
}

span.label {
    font-style: normal;
    color: #ddd;
}


/* patches */

article.image::before,
article.image::after {
    display: none;
} 

article.image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

article.image > div {
    position: relative;
    flex: 1 1 auto;
}

article.image > div:first-child {
    flex: 1 0 auto;
    width: 100%;
    text-align: center;
    line-height: 0;
}

article.image > div:last-child {
    flex: 1 1 auto;
}

article.image img {
    width: 100%;
}

article.image.shop img {
    width: 70%;
}

article.image + article.image {
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px dashed #444;
}

article.image div.hallmark {
    position: relative;
}

article.image div.hallmark img {
    width: 100%;
}

article.image div.hallmark img.hallmark {
    position: absolute;
    -webkit-animation: hallmark 2s 2s infinite alternate; /* Safari 4+ */
    -moz-animation: hallmark 2s 2s infinite alternate; /* Fx 5+ */
    -o-animation: hallmark 2s 2s infinite alternate; /* Opera 12+ */
    animation: hallmark 3s 2s infinite alternate; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes hallmark {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@-moz-keyframes hallmark{
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@-o-keyframes hallmark {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes hallmark {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}


/* dimensions */

span.fraction {
    position: relative;
    margin-left: -5px;
    padding: 0px !important;
    font-style: italic;
}

span.fraction span{
    position: relative;
    display: inline-block;
    font-size: 11px;
    font-style: normal;
}

span.fraction span:first-child {
    top: 0px;
    left: 2px;
    margin-left: 1px;
    vertical-align: text-top;
}

span.fraction span:last-child {
    left: 0px;
}


/* timeline */

div.timeline div.segment {
    position: relative;
    padding-left: 46px;
    line-height: normal;
}

div.timeline div.segment::before {
    content: attr(data-year);
    position: absolute;
    top: 0;
    right: calc(100% - 34px);
    color: #ddd;
}

div.timeline div.segment div.node {
    display: block;
    position: relative;
    padding-left: 30px;
    padding-bottom: 16px;
    background-image: linear-gradient(#444, #444), linear-gradient(rgba(128,128,128,0), rgba(128,128,128,0));
    background-repeat: no-repeat;
    background-position: left 6px top, left 4px top 11px;
    background-size: 4px 100%, 20px 2px;
}

div.timeline div.segment div.node::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #000;
    background-image: radial-gradient(circle at top left, #bbbbbb, #333333);
}

div.timeline div.segment div.node.no-node::before {
    display: none;
}

div.timeline div.segment:first-child div.node:first-child {
    background-position: left 6px top 7px;
}

div.timeline div.segment:last-child div.node:last-child {
    background-size: 4px 10px;
}

div.timeline div.segment div.node > p:first-child {
    margin-top: 0;
    margin-bottom: 0;
    color: #ccc;
    font-weight: 500;
}

div.timeline div.segment div.node p small {
    display: block;
    font-size: 12px;
    line-height: normal;
}

div.timeline div.patch {
    margin-top: 16px;
}

div.timeline div.patch img {
    width: 100%;
    height: auto;
}

div.timeline div.segment.collapsed div.node:first-child {
    padding-bottom: 30px;
}

div.timeline div.segment.collapsed div.node + div.node {
    display: none;
}

div.timeline div.segment.collapsed.active div.node + div.node {
    display: block;
}

/* main footer: disclosures, footnotes and external links */

div.main-container main.acf footer {
    padding-top: 8px;
    border-top: 1px dashed #444;
}

div.main-container main.acf footer {
    font-size: 12px;
    padding-top: 16px;
}

div.main-container div.cols-2 p:first-child,
div.main-container main.acf footer p:first-child {
    margin-top: 0;
}

div.main-container main.acf footer p.footnote {
    position: relative;
}

div.main-container main.acf footer p.footnote::before {
    position: absolute;
    left: -8px;
    top: 0px;
    content: attr(data-notation);
    font-size: 8px;
}

div.main-container main.acf footer p:not(.no-hlist) > a + a::before {
    display: inline-block;
    content: "\2022";
    margin: 0 8px;
    color: #aaa;
}


/* zoomable images */

.no-touch a.zoomable {
    cursor: zoom-in;
}

a.zoomable:not(.inset) {
    display: inline-block;    
}

.no-touch img.zoomable.inset:hover {
    cursor: zoom-in;
}


/*
    Dialog mask
*/

#share-dialog-mask {
	display: block;
	position: fixed;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	background-color: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.5s;
	z-index: -1;
}

#share-dialog-mask.active {
    opacity: 1;
    z-index: 300;
}

.no-touch #share-dialog-mask.active:hover {
	cursor: default;
}



/*
    Share dialog -------------------------
*/

.share-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    max-height: 0;
    opacity: 0;
    transition: all 0.5s;
    z-index: -1;
}

.share-dialog.prep {
    z-index: 301;
}

.share-dialog.active.active {
    opacity: 1;
    max-height: 100%;
}

.share-dialog div.container {
    background-color: #111;
    border-radius: 10px;
    box-shadow: 0px 5px 26px 0px rgba(0, 0, 0, 0.42), 0px 20px 28px 0px rgba(0, 0, 0, 0.50);
    overflow: hidden;
}

.share-dialog div.container header {
    display: flex;
    height: 40px;
    padding-left: 16px;
    padding-right: 8px;
    align-items: center;
}

.share-dialog div.container header div.title {
    font-weight: 700;
    flex: 1 0 auto;
    color: #fff;
}

.share-dialog div.container header div.close {
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    background-image: url("../icon/close-ffffff.svg");
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.5s;
}

.no-touch .share-dialog div.container header div.close:hover {
    cursor: pointer;
    background-color: rgba(128, 128, 128, 0.8);
}

.share-dialog div.container main {
    font-weight: 400;
    color: #aaa;
    text-shadow: 3px 3px 6px #000;
}
