:root {
	--bcGreen: #00693C;
	--bcGreenTranslucent: #00693c4d;
	--whiteTranslucent: #ffffff67;
	--bcOrange: #e98300;
	--shadow: 0 0 20px rgb(177, 177, 177);
	--vignette: radial-gradient(rgba(163, 181, 211, .1) 45%, rgba(74, 129, 231, 0.34) 100%);
}

html {
	box-sizing: border-box;
	font-family: 'Avenir', sans-serif;
	color: var(--dark);
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	cursor: default !important;
}

img {
	width: 100%;
	height: 100%;
	display: block;
}

a {
	text-decoration: none;
}

.a-loader-title {
	display: none !important;
}

.link-text {
	color: var(--bcOrange);
	font-weight: bold;
	text-decoration: none;
	pointer-events: all;
}

.orange-line {
    border-style: none;
    border-width: 0px;
	height: .2vh;
	background-color: var(--bcOrange);
}

.green-text {
	color: var(--bcGreen);
}

.no-pointer-events {
	pointer-events: none;
}

.pointer-events {
	pointer-events: all;
}

.hidden {
	display: none !important;
}

.fade-in {
	animation-name: fadeIn;
	animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	animation-iteration-count: 1;
	animation-duration: 0.4s;
	-webkit-animation-name: fadeIn;
	-webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-webkit-animation-iteration-count: 1;
	-webkit-animation-duration: 0.4s;
}

@keyframes fadeIn {
	0% { opacity: 0; transform: translateY(-20px); }
	100% { opacity: 1; transform: translateY(0px); }
}

@-webkit-keyframes fadeIn {
	0% { opacity: 0; transform: translateY(-20px); }
	100% { opacity: 1; transform: translateY(0px); }
}

@keyframes appear {
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

@-webkit-keyframes appear {
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.7em;
	font-size: 0.7em;
}

sub {
	top: 0.4em; 
}

#scene {
	z-index: 1;
}

@media screen and (max-aspect-ratio: 12/10) {
	#pageHeader {
		display: block;
	}
}

/* GLOBAL GRID LAYOUT */

#global-layout-grid {
	position: absolute;
	display: grid;
	text-align: center;
	height: 100%;
	width: 100%;
	/* margin: auto;
	max-width: 180vh; */
	min-height: 0;
	min-width: 0;
	z-index: 11;
	grid-template-columns: 42% 16% 42%;
	grid-template-rows: 6% 84% 10%;
	grid-template-areas: 
		"top top top"
		"content-left content-center content-right"
		"bottom bottom bottom";
}
@media screen and (min-aspect-ratio: 18/9) {
	#global-layout-grid {
		width: 70vw !important;
		padding-left: 15vw !important;
		padding-right: 15vw !important;
	}	
}
@media screen and (max-aspect-ratio: 12/10) {
	#global-layout-grid {
		grid-template-columns: 50% 0% 50%;
		grid-template-rows: 5% 95% 0%;
	}
}

/* STATE BUTTONS */

.nav {
	grid-area: top;
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3vw;
	width: 82vw;
	margin-left: auto;
	margin-right: auto;
	/* padding-top: 42px; */
	justify-content: center;
	pointer-events: none;
}

@media screen and (max-aspect-ratio: 12/10) {
	.nav {
		transform: translateY(-8vh);
		-webkit-transform: translateY(-8vh);
	}
}

.nav-button {
	font-size: 1.8vh;
	color: var(--bcGreen);
	padding: 0 1vw 0 1vw;
	white-space: nowrap;
}

.nav #divider {
	font-size: 1.8vh;
	font-weight: bold;
	color: var(--bcGreen);
	margin-top: 1.6vh;
}

#homeButton {
	position: absolute;
	top: 10%;
	left: 0;
	height: 10vh;
	width: 10vh;
	z-index: 12;
}

#mobileMenuButton {
	position: absolute;
	top: 0;
	right: 2vw;
	height: 10vh;
	width: 10vh;
	z-index: 12;
	background: url("../images/MobileUI/MenuButton.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#mobileMenuButton.close {
	width: 6vh;
	background: url("../images/MobileUI/CloseMenuButton.png") no-repeat;
	background-position: center;
	background-size: contain;
}

@media screen and (min-aspect-ratio: 12/10) {
	#mobileMenuButton {
		display: none;
	}
}

#mobileNavContainer {
	position: absolute;
	margin-top: 10vh;
	z-index: 12;
	width: 100vw;
	height: 90%;
	scroll-behavior: smooth;
	overflow-y: scroll;
	overflow-x: hidden;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
	-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
}

#mobileNavContainer.collapsed {
	margin-top: 100vh;
}

@media screen and (min-aspect-ratio: 12/10) {
	#mobileNav {
		display: none;
	}
	#mobileNavContainer {
		display: none;
	}
}

#mobileNav {
	display: flex;
	flex-direction: column;
	justify-items: start;
	width: 100%;
	height: auto;
	background-color: white;
	font-weight: 600;
}

.mobile-nav-button {
	display: flex;
	align-items: center;
	width: 100%;
	height: 8vh;
	margin-top: 0.3vh;
	padding-left: 8vw;
	color: white;
}

.green-bg {
	background: var(--bcGreen);
}

.orange-bg {
	background: var(--bcOrange);
	font-weight: 400;
}

.gray-bg {
	background: #b3b3b3;
}

.mobile-nav-text {
	font-size: 4.5vw;
}

#logo {
	display: flex;
	grid-area: content-left;
	flex-direction: column;
	justify-content: flex-start;
	text-align: left;
	height: 8vw;
	width: 50%;
	margin-right: auto;
	background: url("../images/UI/Logo.png") no-repeat;
	background-position: center;
	background-size: contain;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
	-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
}

#logo.stowed {
	transform: translateX(-24vw);
	-webkit-transform: translateX(-24vw);
}

/* Welcome CSS */

#centerContent {
	display: flex;
	flex-direction: column;
	grid-row: 2;
	grid-column: 1 / -1;
	text-align: center;
}

.center-container {
	display: flex;
	flex-direction: column;
	margin: auto;
	height: 100%;
}

.center-container .title {
	padding: 0 7.5vh;
	color: var(--bcGreen);
}

@media screen and (max-aspect-ratio: 12/10) {
	.center-container .title {
		padding: 0 4vw;
	}
	.center-container .title h1 {
		font-size: 5vh !important;
		margin-left: -5vw;
		margin-right: -5vw;
	}
	.center-container .title .subtitle {
		display: none;

	}
	.center-container .title .subtitle-mobile {
		display: block;
	}
}

.center-container .title h1 {
	font-size: 5.6vh;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 1.5vh;
}

.center-container .title h2 {
	font-size: 2.8vh;
	font-weight: 400;
	margin-bottom: 0;
}

.center-container .title .subtitle {
	margin-left: auto;
	margin-right: auto;
	margin-top: 3vh;
	font-size: 2vh;
}

.center-container .title .subtitle-mobile {
	display: none;
	margin-left: auto;
	margin-right: auto;
	margin-top: 3vh;
	font-size: 2.8vh;
}

#welcome .orange-line {
	width: 85vh;
}

@media screen and (max-aspect-ratio: 12/10) {
	#welcome .orange-line {
		width: 70vw;
	}
	#welcome .title .subtitle {
		display: none;
	}
	#welcome .title .subtitle-mobile {
		font-size: 2.7vw;
		margin-top: 3vh;
		margin-left: -3vw;
		margin-right: -3vw;
		display: block;
	}
}

@media screen and (min-aspect-ratio: 12/10) {
	#welcome .title .subtitle {
		display: block;
	}
	#welcome .title .subtitle-mobile {
		font-size: 2.5vh;
		margin-top: 3vh;
		margin-left: auto;
		margin-right: auto;
		display: none;
	}
}

#welcome.center-container {
	margin-top: 4vw;
}

#radialTimer {
	display: flex;
	justify-content: center;
	margin: auto;
	/* transform: rotate(90deg); */
	/* animation: none;
	-webkit-animation: none; */
}

#radialContentWrapper
{
	display: flex;
	justify-content: center;
	margin: auto;
	width: 52vh;
    height: 52vh;
	/* transform: rotate(-90deg); */
}

#indicatorContainerWrap,#indicatorContainer{
    /* display: inline-block; */
	/* position: relative; */
	width: 52vh;
    height: 52vh;
}

#indicatorContainer {
	display: flex;
	justify-content: center;
}

.mix-graphic {
	position: absolute;
	margin: auto;
	margin-top: 4.5vh;
    width: 43vh;
	height: 43vh;
	opacity: 1;
	/* animation-name: mixFadeInOut;
	animation-timing-function: linear;
	animation-iteration-count: 0;
	animation-duration: 3s;
	-webkit-animation-name: mixFadeInOut;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: 0;
	-webkit-animation-duration: 3s; */
}

#mixTimerGraphic1 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00000.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: -1.5s;
	-webkit-animation-delay: -1.5s;
}

#mixTimerGraphic2 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00001.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: -.9s;
	-webkit-animation-delay: -.9s;
}

#mixTimerGraphic3 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00002.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: -.3s;
	-webkit-animation-delay: -.3s;
}

#mixTimerGraphic4 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00003.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: .3s;
	-webkit-animation-delay: .3s;
}

#mixTimerGraphic5 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00004.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: .9s;
	-webkit-animation-delay: .9s;
}

#mixTimerGraphic6 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00005.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: 1.5s;
	-webkit-animation-delay: 1.5s;
}

#mixTimerGraphic7 {
	background: url("../images/UI/MixUIAnim/Mix_States_01_00006.png") no-repeat;
	background-position: center;
	background-size: cover;
	animation-delay: 2.1s;
	-webkit-animation-delay: 2.1s;
}

#mixTimerGraphic8 {
	position: absolute;
	margin: auto;
	margin-top: 4.5vh;
    width: 43vh;
	height: 43vh;
	opacity: 1;
	background: url("../images/UI/MixUIAnim/Mix_States_01_00007.png") no-repeat;
	background-position: center;
	background-size: cover;
}

@keyframes mixFadeInOut {
	0% { opacity: 1; }
	50% { opacity: 1; }
	70% { opacity: 0; }
	100% { opacity: 0; }
}

@-webkit-keyframes mixFadeInOut {
	0% { opacity: 1; }
	50% { opacity: 1; }
	70% { opacity: 0; }
	100% { opacity: 0; }
}

#injectTimerPlunger {
	position: absolute;
	margin: auto;
	margin-top: 4.5vh;
    width: 43vh;
	height: 43vh;
	border-radius: 50%;
	clip-path: circle(43vh at center);
	background: url("../images/UI/InjectionUIAnim/Plunger&Solution.png") no-repeat;
	background-position-x: center;
	background-position-y: -2vh;
	background-size: 43vh;
	animation: injectGraphicAnimation 3.6s 1;
	-webkit-animation: injectGraphicAnimation 3.6s 1;
}

@keyframes injectGraphicAnimation {
	0%{ background-position-y: -26vh; }
	100%{ background-position-y: -2vh; }
}

@-webkit-keyframes injectGraphicAnimation {
	0%{ background-position-y: -26vh; }
	100%{ background-position-y: -2vh; }
}

#injectTimerBG {
	position: absolute;
	margin: auto;
	margin-top: 4.5vh;
    width: 43vh;
	height: 43vh;
	border-radius: 50%;
	background-color: #e7e7e7;
	background-size: 43vh;
}

#injectTimerBase {
	position: absolute;
	margin: auto;
	margin-top: 4.5vh;
    width: 43vh;
	height: 43vh;
	border-radius: 50%;
	background: url("../images/UI/InjectionUIAnim/Background.png") no-repeat;
	background-position-x: center;
	background-position-y: -14vh;
	background-size: 43vh;
}

#injectTimerTop {
	position: absolute;
	margin: auto;
	margin-top: 4.5vh;
    width: 43vh;
	height: 43vh;
	border-radius: 50%;
	background: url("../images/UI/InjectionUIAnim/TopLayer.png") no-repeat;
	background-position-x: center;
	background-position-y: -14vh;
	background-size: 43vh;
}

#timerCounter {
	position: absolute;
	z-index: 11;
	display: flex;
	justify-content: space-evenly;
	margin: auto;
	top: 16vh;
    width: 15vh;
	height: 15vh;
	border-radius: 15vh;
	background-color: var(--bcGreen);
	transform-origin: 7vh 32vh;
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-webkit-transform-origin: 7vh 32vh;
}

#timerText {
	/* position: absolute; */
	margin: auto;
    width: 100%;
	height: auto;
	color: white;
	font-size: 8vh;
	font-weight: 700;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
}

#expandToggle {
	margin: auto;
	margin-bottom: 0;
	width: 11vh;
	height: 11vh;
	background: url("../images/UI/PenExpand.png") no-repeat;
	background-position: center;
	background-size: cover;
}

@media screen and (max-aspect-ratio: 12/10) {
	#expandToggle {
		margin-bottom: 8vh;
	}
	#timerCounter {
		margin-top: 2vh;
	}
}

#expandToggle.selected {
	background: url("../images/UI/PenCollapse.png") no-repeat;
	background-position: center;
	background-size: cover;
}

#expandToggle #expandBG {
	position: relative;
	z-index: -1;
	height: 100%;
	width: 100%;
	border-radius: 50%;
	background-color: var(--bcOrange);
	opacity: 0.3;
	animation: expandPulse 1.5s infinite;
	-webkit-animation: expandPulse 1.5s infinite;
}

@keyframes expandPulse {
	0%{ opacity: 0.8; transform: scale(1); }
    50%{ opacity: 0.8; transform: scale(1); }
    100%{ opacity: 0; transform: scale(1.2); }
}

@-webkit-keyframes expandPulse {
	0%{ opacity: 0.8; transform: scale(1); }
    50%{ opacity: 0.8; transform: scale(1); }
    100%{ opacity: 0; transform: scale(1.2); }
}

#penExpandedUI {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	text-align: center;
}

#penExpandedUI h1 {
	margin-top: 5vh;
}

#penExpandedUI .top-labels {
	margin-top: 8vh;
	margin-left: -10vw;
	margin-right: -10vw;
}

#penExpandedUI .bottom-labels {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top: 19vh;
	margin-left: 14%;
	width: 42%;
}

#penExpandedUI #ergonomicLabel {
	height: 12vh;
	background: url("../images/UI/ErgonomicDesign.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#penExpandedUI #ergonomicLabel.mobile{
	display: none;
	height: 12vw;
	background: url("../images/MobileUI/ErgonomicDesign.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#penExpandedUI #hiddenNeedleLabel {
	margin-top: 3vh;
	width: 9vh;
	height: 13vh;
	background: url("../images/UI/HiddenNeedle.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#penExpandedUI #viewingWindowLabel {
	width: 9vh;
	height: 17vh;
	background: url("../images/UI/ViewingWindow.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#penCollapsedUI .subtitle {
	display: block;
	font-size: 2.4vh;
}

#penCollapsedUI .subtitle-mobile {
	display: block;
	font-size: 2.4vh;
}

@media screen and (max-aspect-ratio: 12/10) {
	#penExpandedUI #ergonomicLabel {
		display: none;
	}
	#penExpandedUI #ergonomicLabel.mobile{
		display: block;
	}
	#penExpandedUI .top-labels {
		margin-top: 14vh;
		margin-left: -2vw;
		margin-right: -2vw;
	}
	#penExpandedUI .bottom-labels {
		margin-top: 7vh;
		margin-left: 14vw;
		width: 28vw;
	}
	#penExpandedUI #hiddenNeedleLabel {
		margin-top: 3vw;
		width: 9vw;
		height: 13vh;
	}
	#penExpandedUI #viewingWindowLabel {
		width: 9vw;
		height: 17vh;
	}
	#penExpandedUI h1 {
		margin-top: 8vh;
		font-size: 5.5vw !important;
	}
	#penCollapsedUI .subtitle {
		display: block;
		font-size: 2.5vw;
	}
	#penCollapsedUI .subtitle-mobile {
		display: block;
		font-size: 2.5vw;
	}
	#penCollapsedUI {
		margin: 0 -5vw;
		padding: 0 0vw;
	}
}

.center-container #qrGraphics {
	display: flex;
	flex-direction: row;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5vh;
}

/* #learnMoreGraphic {
	width: 25vh;
	height: 30vh;
	margin-left: 5vh;
	margin-right: 3vh;
	background: url("../images/UI/LearnMoreGraphic.png") no-repeat;
	background-position: center;
	background-size: contain;
} */

#savingsCard {
	width: 70vw;
}

#savingsCard .subtitle {
	color: var(--bcGreen);
	margin-top: 4vh;
	margin-left: -8vw;
	margin-right: -8vw;
	font-size: 2.2vh;
	font-weight: 400;
}

#savingsCard .wide-button-arrows {
	width: 32vw;
	height: 5.65vh;
	margin-top: -5.9vh;
}

@media screen and (max-aspect-ratio: 12/10) {
	#savingsCard {
		margin-top: 10vh;
	}

	#savingsCard h1 {
		font-size: 7vw !important;
	}
	
	#savingsCard .subtitle {
		font-size: 2.5vw;
		margin-left: -9vw;
		margin-right: -9vw;
	}

	#savingsCard .subtitle-mobile {
		display: block;
		font-size: 2.8vw;
		margin-left: -10vw;
		margin-right: -10vw;
	}

	#savingsCard .orange-line {
		margin-left: -3vw;
		margin-right: -3vw;
	}
}

#savingsCardGraphic {
	width: 45vh;
	height: 35vh;
	margin-left: auto;
	margin-right: auto;
	background: url("../images/UI/SavingsCard.png") no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: all;
}

#getCardButton {
	margin-top: -2vh;
	height: 6vh;
	width: 28vh;
	max-width: 28vw;
	background-size: contain;
}

#startButton {
	display: inline-flex;
	margin-top: 8vh;
}

.center-container .bottom-info {
	display: flex;
	flex-direction: column;
	margin: auto;
	margin-top: auto;
	margin-bottom: -5vh;
	align-self: flex-end;
	font-size: 1.8vh;
	font-weight: 600;
	width: 100vh;
	text-align: left;
	animation-name: appear;
	animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	animation-iteration-count: 1;
	animation-duration: 0.5s;
	-webkit-animation-name: appear;
	-webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-webkit-animation-iteration-count: 1;
	-webkit-animation-duration: 0.5s;
}

#dragElement {
	z-index: 10;
	width: 100%;
	height: 100%;
	grid-row: 2;
	grid-column: 1 / -1;
	/* background-color: black; */
	background-color: rgb(1,1,1,0);
}

/* Left Content CSS */

#leftContentGroup {
	display: flex;
	grid-area: content-left;
	z-index: 11;
	justify-content: right;
}

@media screen and (max-aspect-ratio: 12/10) {
	#leftContentGroup {
		justify-content: left;
	}
}

.left-content {
	display: inline-block;
	text-align: center;
	margin-left: auto;
}

.left-content h2 {
	color: var(--bcGreen);
	margin-top: 1vh;
	margin-bottom: 1vh;
	font-size: 2vw;
	font-weight: 400;
}

.left-content .subtitle {
	color: var(--bcGreen);
	margin-top: 4vh;
	margin-left: -8vw;
	margin-right: -8vw;
	font-size: 2.72vh;
	font-weight: 400;
}

@media screen and (max-aspect-ratio: 12/10) {
	.left-content .subtitle {
		margin-top: 3vh;
		margin-left: -5vw;
		margin-right: -5vw;
		font-size: 2.7vw;
		font-weight: 400;
	}
	.left-content h2 {
		font-size: 3vw;
		margin-top: 0;
		margin-bottom: 0;
	}
}

.left-content .footer {
	font-size: 1.1vw;
	margin-top: 10vh;
	margin-left: -20vh;
	margin-right: -20vh;
}

@media screen and (min-aspect-ratio: 18/10) {
	.left-content .footer {
		margin-left: -54vh;
	}
}

.left-content .footer.mobile {
	display: none;
	text-align: left;
	font-size: 2vw;
	margin-top: 12vh;
	margin-left: 0vh;
}

#mixContentLeft {
	margin-top: 3vh;
	margin-right: 8vw;
	width: 31.5vh;
    max-width: 23vw;
}

#mixContentLeft .title {
	color: var(--bcGreen);
	height: auto;
	margin-top: -2vh;
	margin-bottom: -4vh;
	font-size: 14.5vh;
	font-weight: 700;
}

@media screen and (max-aspect-ratio: 12/10) {
	#mixContentLeft {
		margin-top: 20vh;
		margin-left: 8vw;
		margin-right: auto;
		max-width: 30vw;
	}
	#mixContentLeft .title {
		font-size: 13vw;
		margin-bottom: -3.5vh;
	}
	.left-content .footer {
		display: none
	}
	.left-content .footer.mobile {
		display: block;
	}
}

#mixContentLeft .wide-button {
	margin-top: 3vh;
}

#unlockContentLeft {
	margin-top: 10vh;
	margin-right: 0vw;
	width: 48.5vh;
}

#unlockContentLeft .title {
	color: var(--bcGreen);
	height: auto;
	margin-right: 2vw;
	margin-bottom: -2vh;
	font-size: 11vh;
	font-weight: 700;
}

#unlockContentLeft .subtitle {
	display: block;
}

#unlockContentLeft .subtitle-mobile {
	color: var(--bcGreen);
	margin-top: 3vh;
	margin-left: -5vw;
	margin-right: -5vw;
	font-size: 2.1vh;
	font-weight: 400;
	display: none;
}

@media screen and (max-aspect-ratio: 12/10) {
	#unlockContentLeft {
		margin-top: 18vh;
		margin-right: auto;
		margin-left: 8vw;
		max-width: 30vw;
	}
	#unlockContentLeft .title {
		font-size: 7vw;
		margin-bottom: -1.2vh;
	}
	#unlockContentLeft .subtitle {
		display: none;
	}
	#unlockContentLeft .subtitle-mobile {
		display: block;
	}
}

#unscrewContentLeft {
	margin-top: 30vh;
	margin-right: 0vw;
	width: 48.8vh;
}

#unscrewContentLeft .title {
	color: var(--bcGreen);
	height: auto;
	margin-right: 2vw;
	margin-bottom: -1vh;
	font-size: 9.45vh;
	font-weight: 700;
}

@media screen and (max-aspect-ratio: 12/10) {
	#unscrewContentLeft {
		margin-top: 15vh;
		margin-right: auto;
		margin-left: 6vw;
		max-width: 30vw;
	}
	#unscrewContentLeft .title {
		font-size: 6vw;
		margin-bottom: -1.2vh;
	}
	#unscrewContentLeft .subtitle {
		margin-left: -6vw;
		margin-right: -6vw;
	}
}

#injectContentLeft {
	margin-top: 6vh;
	margin-right: 3vw;
	width: 39.5vh;
}

#injectContentLeft .title {
	color: var(--bcGreen);
	height: auto;
	margin-top: -1vh;
	margin-bottom: -2vh;
	font-size: 11vh;
	font-weight: 700;
}

#injectContentLeft .wide-button {
	margin-top: 2vh;
	height: 8vh;
	width: auto;
}

#injectContentLeft .subtitle-mobile {
	color: var(--bcGreen);
	font-size: 8vw;
	margin-top: 3vh;
	margin-left: -4vw;
	margin-right: -4vw;
	font-size: 2.65vw;
	font-weight: 400;
	display: none;
}

@media screen and (max-aspect-ratio: 12/10) {
	#injectContentLeft {
		margin-top: 18vh;
		margin-right: auto;
		margin-left: 8vw;
		max-width: 30vw;
	}
	#injectContentLeft .title {
		font-size: 8vw;
		margin-bottom: -1.2vh;
	}
	#injectContentLeft .subtitle {
		display: none;
	}
	#injectContentLeft .subtitle-mobile {
		display: block
	}
}

.click-anim-settings {
	animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
	animation-iteration-count: 1;
	animation-duration: 5s;
	-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
	-webkit-animation-iteration-count: 1;
	-webkit-animation-duration: 5s;
}

#unlockClick {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	height: 100%;
	width: auto;
	text-align: right;
	margin-top: auto;
	margin-right: 5vh;
	margin-bottom: 0;
}

#unlockClick .click-anim-settings {
	animation-delay: 2s;
	-webkit-animation-delay: 2s;
}

#injectionClick .click-anim-settings {
	animation-delay: .1s;
	-webkit-animation-delay: .1s;
}

#injectionClick {
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	height: 100%;
	width: auto;
	text-align: right;
	margin-top: auto;
	margin-right: 0;
}

#clickAccent {
	height: 18vh;
	width: 10vh;
	opacity: 0;
	margin-bottom: -11vh;
	margin-right: 13vh;
	background: url("../images/UI/ClickAccent.png") no-repeat;
	background-position: center;
	background-size: contain;
	animation-name: clickAccentAnim;
	-webkit-animation-name: clickAccentAnim;
}

#clickText {
	color: var(--bcOrange);
	opacity: 0;
	margin-bottom: 18vw;
	font-size: 5vh;
	font-weight: 700;
	animation-name: clickTextAnim;
	-webkit-animation-name: clickTextAnim;
}

@media screen and (max-aspect-ratio: 12/10) {
	#clickAccent {
		margin-right: 12vh;
	}
	#injectionClick #clickText {
		margin-bottom: 28vh;
	}
	#unlockClick {
		height: 60%;
	}
}

@keyframes clickAccentAnim {
	0% { transform: scale(0); opacity: 0; }
	28% { transform: scale(0); opacity: 0; }
	33% { transform: scale(1); opacity: 1; }
	60% { opacity: 0; }
	100% { transform: scale(1); opacity: 0; }
}

@-webkit-keyframes clickAccentAnim {
	0% { -webkit-transform: scale(0); opacity: 0; }
	28% { -webkit-transform: scale(0); opacity: 0; }
	33% { -webkit-transform: scale(1); opacity: 1; }
	60% { opacity: 0; }
	100% { -webkit-transform: scale(1); opacity: 0; }
}

@keyframes clickTextAnim {
	0% { transform: scale(0); opacity: 0; }
	28% { transform: scale(0); opacity: 0; }
	32% { transform: scale(1); opacity: 1; }
	60% { opacity: 0; }
	100% { transform: scale(1); opacity: 0; }
}

@-webkit-keyframes clickTextAnim {
	0% { -webkit-transform: scale(0); opacity: 0; }
	28% { -webkit-transform: scale(0); opacity: 0; }
	32% { -webkit-transform: scale(1); opacity: 1; }
	60% { opacity: 0; }
	100% { -webkit-transform: scale(1); opacity: 0; }
}

/* Right Content CSS */

#rightContentGroup {
	display: flex;
	grid-area: content-right;
	z-index: 11;
	justify-content: left;
}

.right-content {
	display: flex;
	flex-direction: column;
	text-align: center;
	margin-right: auto;
	width: 40vw;
	animation-duration: 0.3s;
	-webkit-animation-duration: 0.3s;
}

#exploreContentRight {
	display: none;
	flex-direction: column-reverse;
	padding-bottom: 10vh;
}

#exploreContentRight .wide-button {
	max-width: 28vw;
	width: 28vw;
}

#exploreContentRight .wide-button-arrows {
	width: 32vw;
	height: 5.65vh;
	margin-bottom: -5.9vh;
}

@media screen and (max-aspect-ratio: 12/10) {
	/* .right-content .swipe-text {
		display: none;
	}
	.right-content .swipe-text-mobile {
		display: block !important;
	} */
	#rightMixInstruct .swipe-text-mobile {
		font-size: 2vw;
		margin-left: -4vw !important;
    	margin-right: -4vw !important;
	}
	#rightMixInstruct .swipe-text {
		font-size: 2vw;
		margin-left: -4vw !important;
    	margin-right: -4vw !important;
	}
	#rightMixInstruct {
		margin-top: 30vh !important;
		margin-right: 8vw;
		margin-left: auto;
		width: 40vw;
	}
	.right-content {
		margin-left: auto;
		margin-right: 2vw;
	}
	#rightUnlockInstruct .swipe-text-mobile {
		font-size: 2vw;
		margin-left: 5.5vw;
		margin-bottom: 13.5vh;
	}
	#rightUnlockInstruct .swipe-text {
		font-size: 2vw;
		margin-left: 5.5vw;
		margin-bottom: 13.5vh;
	}
	#rightUnscrewInstruct .swipe-text-mobile {
		font-size: 2vw;
		margin-left: 5.5vw;
		margin-top: 5vh;
	}
	#rightUnscrewInstruct .swipe-text {
		font-size: 2vw;
		margin-left: 5.5vw;
		margin-top: 5vh;
	}
	#rightInjectInstruct {
		margin-left: auto;
		margin-right: auto;
		width: 24vw !important;
	}
	#rightInjectInstruct .swipe-text-mobile {
		font-size: 1.8vh;
		margin-left: auto;
		margin-top: 1vh;
	}
	#rightInjectInstruct .swipe-text {
		font-size: 1.8vh;
		margin-left: auto;
		margin-top: 1vh;
	}
	#rightInjectComplete .subtitle-mobile {
		font-size: 2.5vw;
	}
	#exploreContentRight {
		display: flex;
	}
}

.right-content h2 {
	color: var(--bcGreen);
	margin-top: 1vh;
	margin-bottom: 1vh;
	font-size: 2vw;
	font-weight: 400;
}

.right-content .subtitle {
	color: var(--bcGreen);
	margin-top: 4vh;
	font-size: 1.8vw;
	font-weight: 400;
}

.right-content .subtitle-mobile {
	color: var(--bcGreen);
	margin-top: 4vh;
	font-size: 2vw;
	font-weight: 400;
}

@media screen and (max-aspect-ratio: 12/10) {
	.right-content .subtitle {
		display: none;
	}
	.right-content .subtitle-mobile {
		display: block;
	}
}

@media screen and (min-aspect-ratio: 12/10) {
	.right-content .subtitle {
		display: block;
	}
	.right-content .subtitle-mobile {
		display: none;
	}
}

.right-content .swipe-text {
	color: var(--bcGreen);
	font-size: 1.8vh;
	margin-top: 4vh;
	margin-bottom: 4vh;
}

.right-content .swipe-text-mobile {
	color: var(--bcGreen);
	font-size: 1.8vh;
	margin-top: 4vh;
	margin-bottom: 4vh;
}

.right-content .on-complete {
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin-left: auto;
	margin-right: auto;
	height: 100%;
}

.right-content .on-complete .subtitle {
	font-size: 1.4vw;
}

@media screen and (min-aspect-ratio: 16/10) {
	.right-content .on-complete .subtitle {
		font-size: 2vh;
	}
}

.right-content .bottom-align {
	display: flex;
	flex-direction: column;
	margin: auto;
	margin-bottom: 2vh;
	/* align-self: flex-end; */
}

@media screen and (max-aspect-ratio: 12/10) {
	.right-content .on-complete {
		margin-top: 6vh;
	}
	.right-content .bottom-align {
		margin-bottom: auto;
	}
}

.right-content .circle-button {
	margin: auto;
	margin-bottom: 0;
}

.right-content .circle-button-accent {
	/* margin: auto; */
	margin-bottom: 0;
}

.right-content .circle-button .button-text {
	font-size: 1.6vh; 
}

.right-content .closeup-image {
	height: 35vh;
	width: 35vh;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5vh;
}

@media screen and (max-aspect-ratio: 12/10) {
	.right-content .closeup-image {
		height: 30vw;
		width: 30vw;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0;
	}
}

.arrows {
	display: flex;
	flex-direction: column;
	z-index: 0;
}

.bottom-arrows {
	z-index: 0;
	position: absolute;
	display: flex;
	flex-direction: column-reverse;
	margin: auto;
	height: 87%;
	width: 100%;
}

.bottom-arrows .arrows-left span {
	animation-duration: 4s;
}

.top-arrows .arrows-right span {
	animation-duration: 4s;
}

.top-arrows {
	z-index: 0;
	position: absolute;
	display: flex;
	flex-direction: column;
	margin: auto;
	margin-top: 15vh;
	height: auto;
	width: 100%;
}

.arrows-down {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
}

.arrows-left {
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
}

.arrows-right {
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
}

.close-button .arrows span {
	height: 4vh;
	width: 100%;
	margin-top: -2.6vh;
	background-size: 100%;
	background-image: url("../images/UI/CloseArrow.png");
}

.arrows span {
	height: 3vh;
	width: 7vh;
	margin-left: auto;
	margin-right: auto;
	margin-top: -0.3vh;
	animation: arrowAnimation linear 2s infinite;
	-webkit-animation: arrowAnimation linear 2s infinite;
}
.arrows span:nth-child(2){
    animation-delay: -0.40s;
    -webkit-animation-delay: -0.40s;
}
.arrows span:nth-child(3){
    animation-delay: -0.80s;
    -webkit-animation-delay: -0.80s;
}
.arrows span:nth-child(4){
    animation-delay: -1.20s;
    -webkit-animation-delay: -1.20s;
}
.arrows span:nth-child(5){
    animation-delay: -1.60s;
    -webkit-animation-delay: -1.60s;
}
.arrows span:nth-child(6){
    animation-delay: -2.00s;
    -webkit-animation-delay: -2.00s;
}

@keyframes arrowAnimation {
	0%{ opacity: 0; }
    30%{ opacity: 1; }
	100%{ opacity: 0; }
}

@-webkit-keyframes arrowAnimation {
	0%{ opacity: 0; }
    30%{ opacity: 1; }
	100%{ opacity: 0; }
}

#mixContentRight {
	margin-bottom: auto;
	margin-right: auto;
	width: 40vw;
	height: 100%
}

@media screen and (max-aspect-ratio: 12/10) {
	#mixContentRight {
		margin-right: 2vw;
	}
}

#rightMixInstruct {
	margin-top: 20vh;
	width: 23vh;
}

#rightMixInstruct .swipe-text{
	margin-left: -2vw;
	margin-right: -2vw;
}

#rightInjectInstruct {
	margin-top: 30vh;
	width: 16vw;
}

#unlockContentRight #rightUnlockInstruct {
	text-align: left;
	margin-left: 2vw;
	margin-top: auto;
	margin-bottom: 5.2vh;
}

#unscrewContentRight #rightUnscrewInstruct {
	text-align: left;
	margin-left: 2vw;
	margin-top: 10.4vh;
}

#closeUpMix {
	background: url("../images/UI/MixCloseUp.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#closeUpUnlock {
	background: url("../images/UI/UnlockCloseUp.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#closeUpUnscrew {
	background: url("../images/UI/UnscrewCloseUp.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#closeUpInject {
	background: url("../images/UI/InjectCloseUp.png") no-repeat;
	background-position: center;
	background-size: contain;
}

/* Popup Overlay Content */

#overlay {
	z-index: 11;
	display: flex;
	flex-direction: column;
	text-align: center;
	grid-row: 1 / -1;
	grid-column: 1 / -1;
	background: var(--whiteTranslucent);
}

.overlay-window {
	z-index: 11;
	display: flex;
	flex-direction: column;
	text-align: center;
	width: 70vw;
	height: 75vh;
	margin: 0 auto;
	margin-bottom: 14vh;
	margin-top: 6vh;
	padding: 4vh;
	/* padding-bottom: 7vh; */
	box-shadow: var(--shadow);
	background: white;
	border-bottom: 1vh solid var(--bcOrange);
	scroll-behavior: smooth;
}

@media screen and (max-aspect-ratio: 12/10) {
	.overlay-window {
		margin-top: 16vh;
		height: 60vh;
	}
}

.close-button {
	width: 14vh;
	height: 6vh;
	background: url("../images/UI/CloseButton.png") no-repeat;
	background-position: center;
	background-size: contain;
	margin: auto;
	margin-bottom: -8.2vh;
	padding-top: 1.2vh;
	color: white;
	font-size: 2.2vh;
	font-weight: bold;
}

.overlay-content {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.overlay-content h1 {
	color: var(--bcGreen);
	font-size: 4.4vh;
	margin-top: 5vh;
	margin-bottom: 1.2vh;
}

.overlay-content .details {
	color: var(--bcGreen);
	font-size: 2.6vh;
	margin-top: 2vh;
}

.overlay-content .overlay-header {
	display: block;
}

.overlay-content .overlay-header-mobile {
	display: none;
}

@media screen and (max-aspect-ratio: 12/10) {
	.overlay-content .details {
		font-size: 2vh;
	}
	.overlay-content .overlay-header {
		display: none;
	}
	.overlay-content .overlay-header-mobile {
		display: block;
	}
	.overlay-content h1 {
		font-size: 3.5vh;
	}
}

#piOverlay {
	height: 100%;
	overflow-y: scroll;
}

#prescribingInfoImage {
	height: 100%;
	margin: auto;
}

#instructionsOverlay {
	height: 100%;
	overflow-y: scroll;
}

#instructionsImage {
	height: 100%;
	margin: auto;
}

#overviewOverlay .orange-line {
	margin-left: 16vw;
	margin-right: 16vw;
}

@media screen and (max-aspect-ratio: 12/10) {
	#overviewOverlay .orange-line {
		margin-left: 10vw;
		margin-right: 10vw;
	}
}

#overviewDetails {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	margin-top: 3vh;
	padding: 0 4vw;
}

#overviewOverlay .overview-step {
	display: flex;
	flex-direction: column;
	justify-content: start;
	text-align: center;
	margin: auto;
	height: 50vh;
	width: 30vw;
}

@media screen and (max-aspect-ratio: 12/10) {
	#overviewOverlay .overview-step {
		height: 40vh;
	}
}

#overviewOverlay .overview-image {
	width: 13vw;
	height: 24vw;
	margin: auto;
	margin-top: 0;
	margin-bottom: 0;
}

.overview-step .subtitle {
	font-size: 1.5vw;
	font-weight: 700;
	margin-top: 1vh;
	margin-bottom: .2vh;
}

.overview-step .sub-details {
	font-size: 1.2vw;
}

#overviewImage1 {
	background: url("../images/UI/OverviewImage1.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#overviewImage2 {
	background: url("../images/UI/OverviewImage2.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#overviewImage3 {
	background: url("../images/UI/OverviewImage3.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#overviewImage4 {
	background: url("../images/UI/OverviewImage4.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#storageOverlay .orange-line {
	margin-left: 7vw;
	margin-right: 7vw;
}

@media screen and (max-aspect-ratio: 12/10) {
	#storageOverlay .orange-line {
		margin-left: 3vw;
		margin-right: 3vw;
	}
}

#storageDetails {
	margin: auto;
	margin-top: 10vh;
	width: 60vw;
	text-align: left;
}

#storageDetails.mobile {
	margin-top: 3vh;
	width: 64vw;
	text-align: left;
	display: none;
}

#storageDetails .details {
	font-size: 1.4vw;
}

@media screen and (max-aspect-ratio: 12/10) {
	#storageDetails .details {
		font-size: 2.2vw;
	}
	#storageDetails {
		display: none;
	}
	#storageDetails.mobile {
		display: block;
	}
}

#disposalOverlay h1 {
	font-size: 4.5vh;
}

#disposalOverlay .orange-line {
	margin-left: 24vw;
	margin-right: 24vw;
}

@media screen and (max-aspect-ratio: 14/10) {
	#disposalDetails ul {
		font-size: 1.6vw !important;
	}
}

@media screen and (max-aspect-ratio: 12/10) {
	#disposalOverlay .orange-line {
		margin-left: 16vw;
		margin-right: 16vw;
	}
	#disposalDetails ul {
		display: none !important;
	}
	#disposalDetails ul.mobile {
		display: flex !important;
		font-size: 2vw !important;
		margin-right: -4vw !important;
	}
	#disposalDetails li {
		margin-top: 1vh !important;
		margin-bottom: 0vh !important;
	}
	#disposalDetails ul li::before {
		margin-left: -1.5vh !important;
		width: 1.5vh !important;
	}
}

#disposalDetails ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	text-align: left;
	font-size: 2.6vh;
	margin-top: auto;
	margin-bottom: auto;
	margin-right: -2vw;
	padding-inline-start: 0;
}

#disposalDetails ul.mobile {
	display: none;
}

#disposalDetails li {
	color: var(--bcGreen);
	margin-top: 1.6vh;
	margin-bottom: 1.6vh;
}

#disposalDetails ul li::before {
	content: "•"; 
	color: var(--bcOrange); 
	font-weight: bold; 
	display: inline-block; 
	width: 1.2vw;
	margin-left: -1.2vw;
}

#disposalDetails {
	display: flex;
	flex-direction: row;
	margin: auto;
	margin-top: 1vh;
}

#disposalGraphic {
	width: 30vh;
	height: 50vh;
	margin: auto;
	margin-left: 5vw;
	margin-right: 5vw;
	background: url("../images/UI/DisposalGraphic.png") no-repeat;
	background-position: center;
	background-size: contain;
}

@media screen and (max-aspect-ratio: 12/10) {
	#disposalGraphic {
		width: 25vh;
		height: 35vh;
		margin-left: -1.5vw;
	}
	#injectionSitesGraphic {
		margin-top: 1vw !important;
	}
}

#referencesOverlay h1 {
	color: var(--bcGreen);
	font-size: 2.6vw;
	margin-top: 5vh;
	margin-bottom: 1.2vh;
}

#referencesOverlay ol {
	width: 56vw;
	margin-top: 10vh;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	color: var(--bcGreen);
	font-size: 1.5vw;
	counter-reset: item;
}

#referencesOverlay ol > li {
	margin-bottom: 3vh;
	text-indent: -1.5em;
	list-style-type: none;
	counter-increment: item;
}

#referencesOverlay ol li:before {
	padding-right: 0.5em;
    font-weight: bold;
	text-align: right;
	content: counter(item) ".";
}

#referencesOverlay .orange-line {
	margin-left: 8vw;
	margin-right: 8vw;
}

#injectionSitesOverlay h1 {
	color: var(--bcGreen);
	font-size: 2.6vw;
	margin-top: 2vh;
	margin-bottom: 1.2vh;
}

#injectionSitesOverlay .orange-line {
	margin-left: 12vw;
	margin-right: 12vw;
}

#injectionSitesGraphic {
	width: 100%;
	height: 46vh;
	margin: auto;
	margin-top: 5vh;
	background: url("../images/UI/InjectionSitesGraphic.png") no-repeat;
	background-position: center;
	background-size: contain;
}

#safetyOverlay {
	z-index: 11;
	display: flex;
	flex-direction: column;
	text-align: center;
	grid-row: 1 / -1;
	grid-column: 1 / -1;
	animation-name: fadeIn;
	animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	animation-iteration-count: 1;
	animation-duration: 0.8s;
	-webkit-animation-name: fadeIn;
	-webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	-webkit-animation-iteration-count: 1;
	-webkit-animation-duration: 0.8s;
}

#safetyOverlayContainer {
	display: flex;
	flex-direction: column;
	text-align: left;
	width: auto;
	overflow-y: scroll;
	height: 100%;
	margin: 10vh 11vw;
	margin-right: 8vw;
	padding-right: 3vw;
	background: rgba(0,0,0,0);
	scroll-behavior: smooth;
	color: black; 
	font-weight: 500; 
	font-size: 1.4vw;
}

#safetyOverlayContainer .title{
	color: var(--bcOrange);
	font-size: 1.8vw;
	font-weight: 700;
}

#safetyOverlayContainer .subtitle{
	color: var(--bcGreen);
	font-size: 1.6vw;
	font-weight: 700;
}

#safetyOverlay ul {
	list-style: none;
	margin-top: 0;
	margin-bottom: 0;
}

#safetyOverlay ul li::before {
	content: "•"; 
	color: var(--bcOrange); 
	font-weight: bold; 
	font-size: 1.6vw;
	display: inline-block; 
	width: 1.2vw;
	margin-left: -1.6vw;
}

#safetyOverlay .green-text {
	font-weight: 700;
}

#safetyOverlayContainer::-webkit-scrollbar {
	width: 1vw;
}

/* Track */
#safetyOverlayContainer::-webkit-scrollbar-track {
	background: #00693C30;
	border-radius: 1vw;
}

/* Handle */
#safetyOverlayContainer::-webkit-scrollbar-thumb {
	background: var(--bcGreen);
	border-radius: 1vw;
}

.test-button {
	background-color: var(--bcOrange);
	width: 140px;
	height: 50px;
	text-align: center;
	margin: 20px 0px 0px 0px;
	z-index: 11;
}

.test-button p {
	color: white;
}

/* STATE BUTTONS */

#states {
	grid-area: bottom;
	display: flex;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 65vw;
	margin-left: auto;
	margin-right: auto;
	justify-content: center;
	transform: translateY(.1vw);
	-webkit-transform: translateY(.1vw);
	transition: 0.3s;
	-webkit-transition: 0.3s;
	transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
	-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
	pointer-events: none;
}

@media screen and (max-aspect-ratio: 12/10) {
	#states {
		transform: translateY(8vw);
		-webkit-transform: translateY(8vw);
	}
}

@media screen and (min-aspect-ratio: 18/9) {
	#states {
		transform: scale(.8) translateY(.8vw);
		-webkit-transform: scale(.8) translateY(.8vw);
	}
}

#states.stowed {
	transform: translateY(8vw);
	-webkit-transform: translateY(8vw);
}

.state-button {
	display: flex;
	width: 10.2vw;
	height: 5.6vw;
	z-index: 10;
	margin: 10px 2px 0px 2px;
	justify-content: center;
	text-align: center;
	font-weight: bold;
	font-size: 1.2vw;
	background-image: url("../images/UI/BottomButton_Unselected.png");
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: bottom;
	background-attachment: local;
	background-size: cover;
	color: white;
	opacity: .3;
	pointer-events: all;
	transform: translateY(1.8vw);
	-webkit-transform: translateY(1.8vw);
	transition: 0.3s;
	-webkit-transition: 0.3s;
	transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
	-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
}

.state-button.selected {
	background-image: url("../images/UI/BottomButton_Selected.png");
	opacity: 1;
	transform: translateY(.2vw);
	-webkit-transform: translateY(.2vw);
}

.circle-button {
	display: flex;
	width: 14.3vh;
	height: 14.3vh;
	border-radius: 50%;
	background-color: var(--bcOrange);
	text-align: center;
}

.circle-button-accent {
	display: flex;
	margin: auto;
	width: 14.3vh;
	height: 14.3vh;
	margin-top: -14.33vh;
	background: url("../images/UI/circleButtonAccentAnimated.png") no-repeat;
	background-position: center;
	background-size: contain;
	transform: scale(1.25);
	-webkit-transform: scale(1.25);
	/* animation: rotateAccent 3s infinite;
	-webkit-animation: rotateAccent 3s infinite; */
}

@keyframes rotateAccent {
	0%{ transform: scale(1.25) rotate(0deg); }
    60%{ transform: scale(1.25) rotate(-360deg); }
    100%{ transform: scale(1.25) rotate(-360deg); }
}

@-webkit-keyframes rotateAccent {
	0%{ transform: scale(1.25) rotate(0deg); }
    60%{ transform: scale(1.25) rotate(-360deg); }
    100%{ transform: scale(1.25) rotate(-360deg); }
}

.circle-button .button-text
{
	font-size: 3vh;
	font-weight: 600;
	margin: auto;
}

.wide-button {
	display: flex;
	height: 6vh;
	max-width: 28vh;
	background: url("../images/UI/WideButton.png") no-repeat;
	background-position: center;
	background-size: contain;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-aspect-ratio: 12/10) {
	.wide-button {
		max-width: 26vw;
	}

	.wide-button .button-text
	{
		font-size: 1.8vw !important;
	}
}

.wide-button-arrows {
	height: 8vh;
	max-width: 32vh;
	background: url("../images/UI/WideButtonArrows.png") no-repeat;
	background-position: center;
	background-size: contain;
	margin-left: auto;
	margin-right: auto;
	margin-top: -8vh;
	animation: scaleOut 2s infinite;
	-webkit-animation: scaleOut 2s infinite;
}

@keyframes scaleOut {
	0% { opacity: 0; transform: scaleX(0.95); }
	30% { opacity: 1; }
	90% { opacity: 0; transform: scaleX(1.08); }
	100% { opacity: 0; transform: scaleX(1.08); }
}

@-webkit-keyframes scaleOut {
	0% { opacity: 0; transform: scaleX(0.95); }
	30% { opacity: 1; }
	90% { opacity: 0; transform: scaleX(1.08); }
	100% { opacity: 0; transform: scaleX(1.08); }
}

.wide-button .button-text
{
	color: white;
	font-size: 2vh;
	font-weight: 600;
	margin: auto;
}

.arrow-up {
	background: url(../images/UI/ArrowUp.png) no-repeat;
	background-position: center;
	background-size: contain;
}

.arrow-down {
	background: url(../images/UI/ArrowUp.png) no-repeat;
	background-position: center;
	background-size: contain;
}

.button-content {
	margin-top: 1vw;
	text-align: center;
	text-justify: center;
	color: white;
	pointer-events: none;
	transition: 0.3s;
	-webkit-transition: 0.3s;
}

.state-button.selected .button-content {
	margin-top: 2vw;
}

.button-text {
	margin-top: .6vw;
	text-align: center;
	color: white;
	pointer-events: none;
}

.button-text.step-name {
	margin-top: 0vw;
}

.button-text.small {
	margin-top: 0vw;
	margin-bottom: 0vw;
	font-size: .7vw;
	font-weight: normal;
	text-align: center;
	text-justify: center;
	color: white;
	pointer-events: none;
	transition: 0.3s;
	-webkit-transition: 0.3s;
}

.vignette-overlay {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-image: var(--vignette);
}

/* Avenir regular */

@font-face {
	font-family: "Avenir";
	src: url("../fonts/Avenir/WOFF/Avenir-Roman-12.woff2") format('woff2'),
		  url("../fonts/Avenir/WOFF/Avenir-Roman-12.woff") format('woff');
	font-style: normal;
	font-weight: 400;
  }
  
  
  /* Avenir italic */
  
  @font-face {
	font-family: "Avenir";
	src: url("../fonts/Avenir/WOFF/Avenir-Oblique-11.woff2") format('woff2'),
	url("../fonts/Avenir/WOFF/Avenir-Oblique-11.woff") format('woff');
	font-style: italic;
	font-weight: 400;
  }
  
  /* Avenir Medium */
  
  @font-face {
	font-family: "Avenir";
	src: url("../fonts/Avenir/WOFF/Avenir-Medium-09.woff2") format('woff2'),
		  url("../fonts/Avenir/WOFF/Avenir-Medium-09.woff") format('woff');
	font-style: normal;
	font-weight: 500;
  }
  
  /* Avenir semi-bold */
  
  @font-face {
	font-family: "Avenir";
	src: url("../fonts/Avenir/WOFF/Avenir-Heavy-05.woff2") format('woff2'),
		  url("../fonts/Avenir/WOFF/Avenir-Heavy-05.woff") format('woff');
	font-style: normal;
	font-weight: 600;
  }
  
  /* Avenir bold */
  
  @font-face {
	font-family: "Avenir";
	src: url("../fonts/Avenir/WOFF/Avenir-Black-03.woff2") format('woff2'),
		  url("../fonts/Avenir/WOFF/Avenir-Black-03.woff") format('woff');
	font-style: normal;
	font-weight: 700;
  }