/* Overrides */
html,
body#payments-in-space {
	max-width: 100vw;
	-webkit-animation: fadein 0.85s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 0.85s; /* Firefox < 16 */
	-ms-animation: fadein 0.85s; /* Internet Explorer */
	-o-animation: fadein 0.85s; /* Opera < 12.1 */
	animation: fadein 0.85s;
}

nav#navbar.container {
	max-width: 100%;
}

nav#navbar .content {
	max-width: 90rem;
	width: 100%;
	margin: auto;
}

#payments-in-space p {
	font-size: 20px;
	line-height: 1.6;
	font-weight: 100;
	margin-bottom: 16px;
	font-weight: 100;
}
@media (min-width: 62rem) {
	#payments-in-space p {
		font-size: 20px;
	}
}
@media (min-width: 36rem) {
	#payments-in-space p {
		font-size: 20px;
	}
}

#payments-in-space h2 {
	font-size: 34px;
}

#payments-in-space h2 {
	font-family: "mabry-light", "Arial", sans-serif;
	font-weight: light;
	font-size: 36px;
	font-weight: 100;
	line-height: 40.68px;
	letter-spacing: -1%;
	margin-bottom: 24px;
}
@media (min-width: 62rem) {
	#payments-in-space h2 {
		font-size: 36px;
	}
}
@media (min-width: 36rem) {
	#payments-in-space h2 {
		font-size: 36px;
	}
}

.article-container {
	max-width: 1100px;
	width: 100%;
	margin: auto;
}
/* Hero Section */
.article-hero {
	max-height: 625px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url("../img/article/hero.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right;
}
.hero-text.container {
	max-width: 1100px;
	padding: 48px 48px;
	background-color: #fff;
}
h1.article-heading {
	font-weight: 600;
	font-size: 48px;
	line-height: 58px;
	color: #000e33;
	margin-bottom: 16px;
}

#payments-in-space p#article-subheading {
	font-weight: 300;
	font-size: 28px;
	line-height: 1.4;
	margin-bottom: 16px;
}

.demo-link {
	border: 1px solid white;
	display: block;
	padding: 16px;
	max-width: 230px;
	text-align: center;
	margin-top: 32px;
}

.demo-link-dark {
	border: 1px solid #000e33;
	display: block;
	padding: 16px;
	max-width: 230px;
	text-align: center;
	margin-top: 32px;
}

.demo-link-dark button {
	color: #000e33;
	font-size: 20px;
	font-weight: 600;
}

.demo-link-hero {
	/* border: 1px solid white; */
	display: block;
	padding: 16px 0;
	text-align: left;
	margin-top: 24px;
}
.demo-link-hero button {
	color: #000e33;
	font-size: 20px;
	font-weight: 600;
}

.demo-link button {
	color: white;
	font-size: 20px;
}

@media only screen and (max-width: 1200px) {
	.hero-text.container {
		max-width: 85vw;
	}

	h1.article-heading {
		font-size: 42px;
	}

	#payments-in-space p {
		line-height: 1.75;
	}
}

@media only screen and (max-width: 750px) {
	.article-hero {
		max-height: 625px;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}

	.hero-text.container {
		max-width: 100vw;
		opacity: 0.85;
		padding: 24px 36px9ooioooi;
	}

	h1.article-heading {
		font-size: 40px;
	}

	#payments-in-space p#article-subheading {
		font-weight: 300;
		font-size: 24px;
		margin-bottom: 16px;
	}

	.demo-link-hero {
		margin-top: 0;
	}
}

@media only screen and (max-width: 600px) {
	h1.article-heading {
		font-size: 30px;
		line-height: 1.2;
	}

	#payments-in-space p#article-subheading {
		font-size: 20px;
	}
}
/* Main Content starts here */
.article-body > section {
	padding: 80px 10%;
}
.section-white {
	background: #fff;
}

.section-marble {
	background: #f6f6f6;
}
.section-sapphire {
	background: #000e33;
	color: #fff;
}

.article-body > section > p {
	font-size: 20px;
}
@media only screen and (max-width: 750px) {
	.article-body > section {
		padding: 48px 36px;
	}

	#payments-in-space h2 {
		font-size: 34px;
	}
}
/* Callout List */
.callout-list_container {
	padding: 32px 0;
}
.callout-list_block {
	display: flex;
	font-size: 20px;
	line-height: 1.6;
	font-weight: 100;
	padding: 32px;
	margin-bottom: 32px;
	align-items: center;
	border-radius: 4;
	/* list-style-type: inherit; */
}

.callout-list_icon > svg {
	display: block;
}

.callout-list_icon {
	margin-right: 32px;
}

.section-sapphire .callout-list_block {
	background-color: #38425b;
	color: #fff;
	/* list-style-type: inherit; */
}

/* Video cards */
.video-card_container {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	margin: 56px 0;
}

.video-card {
	display: flex;
	text-align: center;
	flex-direction: column;
	background-color: #fff;
	border-radius: 4;
	border: 1px solid #b3b7c2;
	padding: 51px 24px 64px 24px;
	justify-content: space-between;
	align-items: center;
	flex: 0 24%;
	font-size: 22px;
}

.video-card:hover {
	transition: 0.3s ease-out;
	box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.play-button {
	display: block;
}

@media only screen and (max-width: 995px) {
	.video-card_container {
		padding: 0 120px;
		flex-wrap: wrap;
		justify-content: space-around;
		align-items: center;
		margin: 56px 0;
	}
	.video-card {
		flex: 0 100%;
		width: 230px;
		height: 230px;
		margin: 8px;
	}
}

#section4 {
	padding-top: 84px;
	background-image: url("../img/article/section-4.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top;
}

#section5 h3 {
	font-weight: 600;
	font-size: 28px;
	line-height: 124%;
	margin-bottom: 24px;
	margin-top: 24px;
}
#section6 {
	padding-top: 84px;
	padding-bottom: 170px;
	background-image: url("../img/article/section-6.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

/* Modal */

/* The Modal (background) */
.video-modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
	-webkit-animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 0.5s; /* Firefox < 16 */
	-ms-animation: fadein 0.5s; /* Internet Explorer */
	-o-animation: fadein 0.5s; /* Opera < 12.1 */
	animation: fadein 0.5s;
}

/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 10% auto; /* 15% from the top and centered */
	padding: 24px 36px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
	max-width: 1020px;
}

/* The Close Button */
.close-video {
	color: #b3b7c2;
	float: right;
	z-index: 10;
	font-size: 28px;
	font-weight: bold;
}

.close-video:hover,
.close-video:focus {
	color: #ff451f;
	text-decoration: none;
	cursor: pointer;
	z-index: 10;
}

.video-player {
	position: relative;
	max-width: 1050px;
	width: 100%;
	margin: 18px auto;
}

.ada-buttons {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	padding: 0 8px;
}

button.ada-transcript {
	color: #222;
	font-size: 18px;
	display: block;
}

.transcript {
	/* transition: 1s ease-in; */
	max-width: 1200px;
	width: 100%;
	display: none;
	margin-top: 16px;
	padding: 24px 32px;
	height: 150px;
	overflow-y: scroll;
	background: #f6f6f6;
	border-radius: 3;
	border: 1px solid #eee;
}

/* Demo Page */
#payments-in-space-demo nav#navbar {
	box-shadow: none;
	position: absolute;
}
.demo-secondary-nav {
	position: absolute;
	background-color: #f6f6f6;
	padding: 1em 150px;
	max-width: 2000px;
	width: 100vw;
	z-index: 8888;
	top: 80px;
}

.demo-secondary-nav-container {
	max-width: 1200px;
	padding: 8px 16px;
	width: 100%;
	margin: auto;
	display: flex;
	justify-content: space-between;
}

.demo-secondary-nav-container > a > span {
	margin-right: 8px;
}
#main.demo-body {
	background: #fff;
}

#demo-container {
	padding-top: 11.5em;
	min-height: 100vh;
	height: 100%;
	max-width: 1200px;
	width: 100%;
	margin: auto;
	-webkit-animation: fadein 0.85s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 0.85s; /* Firefox < 16 */
	-ms-animation: fadein 0.85s; /* Internet Explorer */
	-o-animation: fadein 0.85s; /* Opera < 12.1 */
	animation: fadein 0.85s;
}

.demo-nav {
	display: flex;
}
.content-container {
	padding-left: 306px;
}

.video-player-container {
	display: flex;
	justify-content: space-between;
	/* background: pink; */
}

.thumbnail-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	/* background: #f6f6f6; */
	min-width: 285px;
	padding: 1em 0;
	height: 755px;
}

.video-thumbnail {
	width: 265px;
	height: 165px;
	margin-bottom: 1em;
	/* background: #eee; */
	padding: 0.25em;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	background-origin: content-box;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.video-thumbnail:hover {
	cursor: pointer;
}

.video-thumbnail.active {
	border: 2.4px solid #ff451f;
	border-radius: 2px;
}

#demo-0.video-thumbnail {
	background-image: url("../img/demo/demo-1.png");
}
#demo-1.video-thumbnail {
	background-image: url("../img/demo/demo-2.png");
}
#demo-2.video-thumbnail {
	background-image: url("../img/demo/demo-3.png");
}
#demo-3.video-thumbnail {
	background-image: url("../img/demo/demo-4.png");
}
#demo-4.video-thumbnail {
	background-image: url("../img/demo/demo-5.png");
}
.mobile-demo.active {
	color: #ff451f;
	font-weight: bold;
	border-bottom: 1px solid #ff451f;
}
.video-container {
	padding: 1em;
	width: 100%;
}

.demo-video-player {
	background: #222;
	width: 100%;
	min-height: 500px;
	color: white;
}

.ada-buttons.demo {
	width: 100%;
	padding: 1em 0;
	/* background: blue; */
	display: flex;
	justify-content: flex-end;
}
#chapter-title {
	margin-bottom: 16px;
}
#chapter-num {
	font-weight: bold;
	/* color: #ff451f; */
}
.next-block {
	padding-right: 10px;
}

.next-chapter {
	color: #ff451f;
	text-decoration: underline;
}

.next-chapter::after {
	position: absolute;
	content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDZMOC41OTAwMyA3LjQxTDEzLjE3IDEyTDguNTkwMDMgMTYuNTlMMTAgMThMMTYgMTJMMTAgNloiIGZpbGw9IiNGRjQ1MUYiLz4KPC9zdmc+Cg==");
}

.transcript.demo {
	padding: 1em;
	max-height: 175px;
	height: 100%;
}

.video-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
	padding-right: 1em;
	color: #000e33;
}
@media only screen and (min-width: 1200px) {
	.thumbnail-container {
		display: flex;
	}

	.mobile-demo-nav {
		display: none;
		flex: 0 100%;
	}
	.content-container > p:first-child {
		/* color: #ff451f; */
		display: none;
	}

	.mobile-visible {
		display: none;
	}
	.desktop-visible {
		display: visible;
	}
}
@media only screen and (max-width: 1200px) {
	.thumbnail-container {
		display: none;
	}
	.content-container > p:first-child {
		/* color: #ff451f; */
		display: block;
	}

	.mobile-demo-nav {
		display: flex;
		padding: 0 40px;
		margin: 8px 0;
	}
	.mobile-demo-nav > ul {
		display: flex;
		justify-content: space-between;
		width: 750px;
	}
	.video-player-container {
		flex-direction: column;
	}

	.demo-secondary-nav {
		padding: 1em 40px;
	}
	.content-container {
		padding: 1em 40px;
	}

	.video-container {
		padding: 16px 40px;
	}
}

@media only screen and (max-width: 750px) {
	.mobile-demo-nav > ul {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.mobile-visible {
		display: block;
	}
	.desktop-visible {
		display: none;
	}

	.video-nav {
		justify-content: flex-end;
	}
}

@media only screen and (max-width: 650px) {
	.video-nav {
		justify-content: center;
	}
}

.demo-complete {
	display: none;
}

.demo-complete > button {
	color: #ff451f;
	text-decoration: underline;
}

@keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

#payments-in-space h2#modal-heading {
	margin-bottom: 16px;
}

.modal-text-container {
	margin-top: 1.5em;
}

/* Footer */
div.footer-content {
	display: flex;
	padding: 2em 4em;
	align-items: center;
	justify-content: space-between;
}

.terms {
	display: flex;
	align-items: center;
	width: 0 50%;
}

#footer > div:nth-child(2) > div {
	padding-left: 4em;
	padding-bottom: 4em;
}

#payments-in-space #footer > div.row.\/.mv2 > div > p {
	font-size: 18px;
}
#footer > div > div > p {
	font-weight: bold;
	font-size: 0.875rem;
}
@media only screen and (max-width: 1200px) {
	div.footer-content {
		display: flex;
		padding: 2em 4em;
		align-items: center;
		justify-content: space-between;
	}

	.terms {
		font-size: 15px;
	}
	#footer > div:nth-child(1) {
		padding-left: 3em;
		padding-bottom: 4em;
	}
}

@media only screen and (max-width: 900px) {
	div.footer-content {
		display: flex;
		padding: 2em 4em;
		align-items: flex-start;
		justify-content: space-between;
	}
}

p.disclaimer {
	margin-bottom: 8px;
	font-size: 14px;
	padding-left: 3px;
}

#payments-in-space > #footer > div.row.\/.mv2 > div > p {
	font-size: 16px;
}
