: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);
}

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

a {
	text-decoration: none;
}

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

.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;
}

/* 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: 10% 80% 10%;
	grid-template-areas: 
		"top top top"
		"content-left content-center content-right"
		"bottom bottom bottom";
}

/* STATE BUTTONS */

.nav {
	grid-area: top;
	display: flex;
	position: absolute;
	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;
}

.nav-button {
	font-size: .8vw;
	color: var(--bcGreen);
	padding: 0 1vw 0 1vw;
}

.nav #divider {
	font-size: .6vw;
	font-weight: bold;
	color: var(--bcGreen);
	margin-top: .85vw;
}

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

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

.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: 1.8vh;
}

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

#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: 0;
	animation-name: mixFadeInOut;
	animation-timing-function: linear;
	animation-iteration-count: 1;
	animation-duration: 3s;
	-webkit-animation-name: mixFadeInOut;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: 1;
	-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: 18vh;
    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;
}

#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: 4vh;
	margin-left: -10vw;
	margin-right: -10vw;
}

#penExpandedUI .bottom-labels {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top: 16vh;
	margin-right: 30vw;
	width: 35vw;
}

#penExpandedUI #ergonomicLabel {
	height: 12vh;
	background: url("../images/UI/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;
}

.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;
}

#qrCodeGraphic {
	width: 40vh;
	height: 30vh;
	margin-left: 3vh;
	margin-right: -5.5vh;
	background: url("../images/UI/QRCodeGraphic.png") no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: all;
}

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

.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;
}

.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;
}

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

#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: 15.8vh;
	font-weight: 700;
}

#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;
}

#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;
}

#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;
}

.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: 60%;
	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 {
	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: 9vw;
	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: 18vh;
	font-size: 5vh;
	font-weight: 700;
	animation-name: clickTextAnim;
	-webkit-animation-name: clickTextAnim;
}

@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% { 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; }
}

@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% { 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; }
}

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

.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 .swipe-text {
	color: var(--bcGreen);
	font-size: 1.1vw;
	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;
}

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

.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: 25vw;
	width: 25vw;
	margin-left: auto;
	margin-right: auto;
}

.arrows {
	display: flex;
	flex-direction: column;
}

.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%
}

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

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

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

#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: 7.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 {
	display: flex;
	flex-direction: column;
	text-align: center;
	width: auto;
	height: 100%;
	margin: 0 10vw;
	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;
}

.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: 2.6vw;
	margin-top: 5vh;
	margin-bottom: 1.2vh;
}

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

#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;
}

#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: 100%;
	width: 30vw;
}

#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: 10vw;
	margin-right: 10vw;
}

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

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

#disposalOverlay h1 {
	font-size: 2.8vw;
}

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

#disposalDetails ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	text-align: left;
	font-size: 1.6vw;
	margin-top: auto;
	margin-bottom: auto;
}

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

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

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

#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;
}

#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;
}

.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;
  }