@charset "UTF-8";

/* global styles */

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

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

p {
    position: relative;
    color: #cbcbcb;
    font-weight: 400;
    font-size: 16px;
    text-shadow: 2px 1px 4px #000;
}

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

#acf-pages > div > div.main-container {
	color: #cbcbcb;
    font-weight: 400;
	text-shadow: 2px 1px 4px #000;
    background-color: transparent;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	/* background-position: 100% 100%; */
    /* Best: 1, 2, 3, 6, 7 | Good: 5, 8 | OK: 4, 9 10, 11 */
	/* background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../img/night-sky-01.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url("../img/night-sky-02.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url("../img/night-sky-03.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url("../img/night-sky-04.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url("../img/night-sky-05.webp"); */
	background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url("../img/night-sky-06.webp");
	/* background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../img/night-sky-07.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../img/night-sky-08.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../img/night-sky-09.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../img/night-sky-10.webp"); */
	/* background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("../img/night-sky-11.webp"); */
}

#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: rgba(255,255,255,0.6);
}

.no-touch footer.acf div.prev-page div.container:hover div.section, .no-touch footer.acf div.next-page div.container:hover div.section, .no-touch footer.acf div.prev-page div.container:hover div.page, .no-touch footer.acf div.next-page div.container:hover div.page {
    color: #717ffd;
}

#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.6);
}

/* 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 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 16px 0;
    width: 70%;
    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;    
}

div.node a.zoomable {
    position: relative;
    display: inherit;
}

a.zoomable div.frontback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    background-image: url("../icon/frontback.svg");
    z-index: 10;
    opacity: 0;
    transition: all 0.7s;
}

figure.hero a.zoomable div.frontback {
    width: 180px;
    height: 180px;
}

.no-touch div.node div.patch a.zoomable div.frontback {
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

.no-touch a.zoomable:hover div.frontback {
    opacity: 1;
}

.touch a.zoomable.frontback::after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 50px;
    padding: 10px;
    content: '';
    background-position: left bottom 4px;
    background-size: 40px;
    background-repeat: no-repeat;
    background-image: url("../icon/frontback.svg");
    background-color: rgba(0,0,0,0.2);
    border-radius: 6px;
}

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

/* share button */

div.share {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 44px;
    height: 44px;
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center;
    background-image: url("../icon/share.svg");
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transform: scale(1);
    transition: all 0.5s;
    cursor: pointer;
}

a.zoomable.inset + div.share {
    top: 0;
    left: 0;
}

a.zoomable.inset.right + div.share {
    left: auto;
    right: 0;
}

.no-touch div.share:hover {
    background-color: rgba(128, 128, 128, 0.8);
    transform: scale(1.10);
}

/*
    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;
}

.share-dialog div.container main > section.patch {
    padding: 0 16px 16px;
    text-align: center;
}

.share-dialog div.container main > section.patch figure {
    margin-bottom: 8px;
}

.share-dialog div.container main > section.patch figure img {
    width: auto;
    max-width: 80%;
    max-height: 290px;
}

.share-dialog div.container main > section.patch figcaption {
    font-size: 14px;
    line-height: normal;
}

.share-dialog div.container main > section.sharing {
    display: flex;
}

.share-dialog div.container main > section.sharing > div.action {
    flex: 1 0 auto;
    width: 50%;
}

.share-dialog div.container main p.heading {
    margin: 0px;
    padding: 0 16px;
    font-size: 18px;
    text-align: center;
}

.share-dialog div.container main p.heading.connection {
    margin-top: 8px;
    border-top: 1px dashed #999;
    padding-top: 8px;
}

.share-dialog div.action a {
    display: block;
    padding: 0 16px 0 50px;
    height: 40px;
    line-height: 40px;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: left 16px center;
    background-color: transparent;
    transition: background-color 0.3s;
}

.share-dialog div.action.facebook a {
    background-image: url("../icon/facebook-square-bbbbbb.svg");
}

.share-dialog div.action.facebook a:hover {
    background-image: url("../icon/facebook-square-4eb0f4.svg");
}

.share-dialog div.action.twitter a {
    background-image: url("../icon/twitter-bbbbbb.svg");
}

.share-dialog div.action.twitter a:hover {
    background-image: url("../icon/twitter-4eb0f4.svg");
}

.share-dialog div.action.instagram a {
    background-image: url("../icon/instagram-bbbbbb.svg");
}

.share-dialog div.action.instagram a:hover {
    background-image: url("../icon/instagram-4eb0f4.svg");
}

.share-dialog div.action.reddit a {
    background-image: url("../icon/reddit-alien-bbbbbb.svg");
}

.share-dialog div.action.reddit a:hover {
    background-image: url("../icon/reddit-alien-4eb0f4.svg");
}

.share-dialog div.action.email a {
    background-image: url("../icon/envelope-bbbbbb.svg");
}

.share-dialog div.action.email a:hover {
    background-image: url("../icon/envelope-4eb0f4.svg");
}

.share-dialog div.action.collectspace a {
    background-image: url("../icon/collectspace-bbbbbb.svg");
    background-size: 28px;
}

.share-dialog div.action.collectspace a:hover {
    background-image: url("../icon/collectspace-4eb0f4.svg");
}

.share-dialog div.action.link a {
    background-image: url("../icon/link-bbbbbb.svg");
}

.share-dialog div.action.link:not(.copied) a:hover {
    background-image: url("../icon/link-4eb0f4.svg");
}

.share-dialog div.action.link.copied a {
    background-image: url("../icon/check-circle-green.svg");
    color: inherit;
}

.share-dialog div.action a:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.share-dialog section.connection {
    display: flex;
    margin: 0 16px 8px;
}

.share-dialog section.connection > div {
    flex: 1 0 auto;
    text-align: center;
}

.share-dialog section.connection > div.action a {
    display: inline-block;
    padding: 0;
    width: 40px;
    height: 40px;
    background-position: center;
}

#CopyLink {
    position: absolute;
    left: -10000px;
}

/* CAPCOM */

section.capcom {
    position: relative;
    margin-bottom: 0;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

section.capcom div.banner {
    height: 160px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

section.capcom h2 {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    margin: 0;
    font-size: 36px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 998px;
}

section.capcom p {
    padding: 0 16px;
    font-family: monospace;
    line-height: normal;
}


/* SXP DASHBOARD */

/* Mission Control */

div.timeline.mission-control img {
    width: 100%;
    height: auto;
}

div.timeline.mission-control div.segment div.node.current {
    background-position: left 6px top 30px;
    background-image: linear-gradient(to bottom, #bbbbbb, #333333);
}

div.timeline.mission-control div.segment div.node.current::before {
    top: 0px;
    height: 26px;
    background-image: url("../icon/rocket-launch.svg");
    background-repeat: no-repeat;
    border-radius: 0px;
    border: none;
    z-index: 10;
}

div.timeline.mission-control div.node.launch-pad {
    padding-bottom: 0;
}

div.timeline.mission-control div.node.launch-pad::before {
    top: 9px;
    height: 8px;
    background-image: none;
    background-color: #777;
}


/* Payload Manifest */

section.payload.listB {
    display: none;
}

section.payload article > figure.hero {
    margin-top: 0;
}

section.payload article > h3 {
	font-family: Orbitron, Roboto, sans-serif;
}

section.payload article div.manifest.no-heading > h4 {
    display: none;
}

section.payload div.manifest > ul {
    margin-bottom: 0;
}

section.payload div.manifest > ul li {
    list-style: none;
    line-height: normal;
}

section.payload div.manifest > ul li li{
    list-style: circle;
}

section.payload span.payloadcount,
section.payload span.patchcount {
    font-size: 18px;
}

section.payload span.patchcount > span {
    font-size: initial;
}
