@charset "utf-8";

/* Helvetica Neue Light */
@font-face {
	font-family: "HelveticaNeue";
	src: url("HelveticaNeue-Light.woff2") format("woff2");
	font-weight: 300;       /* light */
	font-style: normal;
	font-display: swap; 
}

/* Helvetica Neue Medium (used as bold) */
@font-face {
	font-family: "HelveticaNeue";
	src: url("HelveticaNeue-Medium.woff2") format("woff2");
	font-weight: 500;       /* medium acts as bold */
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Dakota";
	src: url("Dakota.woff2") format("woff2");
	font-style: normal;
	font-display: swap;
}

.material-symbols {
	font-family: "Material Symbols";
	font-variation-settings: "FILL" 0;
}
.material-symbols-filled {
	font-family: "Material Symbols";
	font-variation-settings: "FILL" 1;
}

:root {
	--tabmanager_outline: 0;
	--base_font_color_light:#eee;
	--base_font_color_dark:#505461;
	--base_button_color_light:#eee;
	--base_button_color_dark:#505461;
	--navBtn_rollover_color:#5f8348;
	--collapseMenu_rollover_background: rgba(0, 0, 0, 0.05);
	--top-bar: 70px;
	--bottom-bar: 70px;
}

.small {
	--top-bar: 55px;
}

html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box !important;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;  /* prevents scroll “bounce” */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}
/* assigned to body when showing dialogue */
.overflowHidden {
	overflow: hidden;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: inherit !important;
}
*:before,
*:after {
	box-sizing: inherit !important;
}

body {
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
 	font-weight: 300;       /* default to light */
	color: var(--base_font_color_dark);
	background: #fff;
	position: relative;
}
b, strong {
  font-weight: 500;       /* Medium font for bold elements */
}

input,
button {
	font-family: inherit; /* or specify HelveticaNeue directly */
  	font-weight: inherit; /* optional, if you want Light by default */
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 4px;
	background: #fff;
	font-size: 15px;
	color: var(--base_button_color_dark);
	padding: 6px 14px 6px 14px;
	border: none;
	min-height: 40px;
	-webkit-user-select: none;
	user-select: none;
}
div:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: var(--tabmanager_outline);
	outline-offset: -3px;
}
textarea {
	font-family:"HelveticaNeue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	border:none;
	border-radius: 0px;
	resize: none;
	font-size: 15px;
	color:var(--base_font_color_dark);
	min-height:auto !important;
}
input[disabled],
button[disabled] {
	pointer-events: none;
}
div,
p {
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}
img,
audio,
video {
	display: block;
}

.master-align {
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: row wrap;
	align-content: flex-start;
}
.masterContainer {
	display:flex;
	flex-flow:column;
	margin: auto;
	height: auto;
	min-height: 100%;
	width: 100%;
	background: #fff;
}
#globalVid {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
#globalAud {
	position: absolute;
	top: 0px;
	left: 0px;
}
#globalCanvas {
	position: absolute;
	top: var(--top-bar);
	left: 0px;
	width: 100%;
	height: calc(100vh - var(--top-bar) - var(--bottom-bar));
	border: none;
}
#screenBg {
	background-size: cover;
	background-position: center center;
	display:flex;
	flex-flow:column;
	flex-grow:1;
	min-height: 100vh;
}
@supports (height: 100dvh) {
	body{
		height: 100dvh;
	}
	#globalCanvas {
		height: calc(100dvh - var(--top-bar) - var(--bottom-bar));
	}
	#screenBg {
		min-height: calc(100dvh - var(--top-bar) - var(--bottom-bar));
	}
}
.navBtn {
	display: flex;
	flex-flow: row nowrap;
	background: transparent;
	font-size: 15px;
	color:var(--base_button_color_dark);
	border-radius: 0%;
	padding: 0;
	min-height: 1px;
}
.navBtn * {
	transition: all 0.5s ease 0s;
}
.navBtn.non-touch:hover:enabled * {
	color: var(--navBtn_rollover_color) !important;
	transition: all 0s ease 0s;
}

#topBar {
	display: none;
	flex-flow: row nowrap;
	align-items: center;
	flex-shrink: 0;
	width: 100%;
	min-height: var(--top-bar);
	background: rgba(255, 255, 255, 0.8);
	z-index: 999;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;  /* stick to the top of the viewport */
    left: 0; /* ensure it stays full-width */
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

#topBar #logo {
	margin-left: 27px;
	margin-right: 16px;
	width: 30px;
}
.small #topBar #logo {
	margin-left: 15px;
	margin-right: 10px;
	width: 30px;
}
#topBarBtnsLeft {
	display: flex;
	flex-flow: row nowrap;
}
#topBarTitle {
	display: none;
	flex-flow: row wrap;
	padding: 0px 10px 0px 10px;
}
#topBarBtnsRight {
	display: flex;
	flex-flow: row nowrap;
	column-gap:0px;
	margin-left:auto;
	margin-right:10px;
}
#tokenWallet{
	position:absolute;
	top:100%;
	margin-top:8px;
	right:0px;
	display:flex;
	flex-flow:row wrap;
	justify-content:flex-end;
	align-items:center;
	background: #fff;
	padding:0px 7px 0px 7px;
	border-radius: 10px 0px 0px 10px;
	box-shadow: 0px 10px 12px rgba(0, 0, 0, 0.05);
}
#topBarTitle .courseTitle {
	font-size: 28px;
	font-weight: normal;
	color:var(--base_font_color_dark);
}
#topBarTitle .moduleTitle {
	font-size: 22px;
	font-weight: normal;
	color:var(--base_font_color_dark);
}
#topBarTitle .topicTitle {
	font-size: 22px;
	font-weight: normal;
	color:var(--base_font_color_dark);
}

#topBarBtnsLeft button,
#topBarBtnsRight button {
	align-items: center;
	justify-content: center;
	height: 50px;
	width: auto;
	min-width:50px;
	border-radius: 0%;
}
#topBarBtnsRight #glossaryBtn{
	white-space: nowrap;
	padding:0px 11px 0px 11px;
}
#topBarBtnsRight button:not(#exitBtn){
	border-right: 1px solid rgba(0, 0, 0, 0.05);
}
#topBarBtnsRight button i {
	font-size: 32px;
	color: var(--base_button_color_dark);
}

#topBarBtnsLeft button i,
#topBarBtnsLeft #collapseBtn {
	margin-left: 10px;
	border-right: none !important;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	padding:13px;
}

.small #topBarBtnsRight #exitBtn{
	display:none !important;
}
.small #topBarBtnsRight #audioBtn{
	display:none !important;
}
.small #topBarBtnsRight #resourcesBtn{
	border-right:none !important;
}

/*.small #topBarBtnsRight button {display:none !important;}*/

#collapseMenu {
	display: none;
	position: fixed;
	flex-flow:column;
	width: 270px;
	height: 100%;
	overflow-y: auto;
	top: 0px;
	z-index: 998;/*1 less than topBar*/
	background: #fff;
	border: none;
	border-radius: 0px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	padding-top: var(--top-bar); /* allowance for topBar and progress indicator */
	padding-bottom: 20px; /* allowance for devmode panel */
}

#collapseBtn span {
  display: block;
  height: 3px;
  width:100%;
  background: black;
  border-radius: 2px;
  transition: all 0.2s ease;
  transform-origin: left center;
}
/* arrow icon toggle */
#collapseBtn.open:hover span:nth-child(1) {
	transform: rotate(32deg) translate(5px, 5px);
}
#collapseBtn.open:hover span:nth-child(2) {
  opacity: 0;
}
#collapseBtn.open:hover span:nth-child(3) {
	transform: rotate(-32deg) translate(5px, -6px);
}
#collapseBtn:not(.open):hover span:nth-child(1) {
	transform: rotate(32deg) translate(0px, -5px);
}
#collapseBtn:not(.open):hover span:nth-child(2) {
  opacity: 0;
}
#collapseBtn:not(.open):hover span:nth-child(3) {
	transform: rotate(-32deg) translate(0px, 5px);
}
#collapseMenu button {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	position: relative;
	width: 100%;
	height: auto;
	padding: 5px;
	min-height: 40px;
	border: none;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 0px;
	color: #fff;
	text-align: left;
	border-bottom: none;
	margin-bottom: 1px;
	transition: background 0.3s ease 0s;
}
#collapseMenu button i {
	margin-left: 5px;
	font-size: 18px;
}
#collapseMenu button span {
	margin-left: 7px;
	width: 150px;
	font-size: 13px;
}
#collapseMenu button .status {
	font-size: 16px !important;
	margin-left: 7px;
	margin-right: 1px;
	color: #999;
}
#collapseMenu button:hover:enabled:not(#collapseCloseBtn) {
	background: var(--collapseMenu_rollover_background);
	transition: all 0s ease 0s;
}
#collapseMenu button.module {
	min-height: 40px;
	padding-left: 7px;
	color: #666;
	background: rgba(255, 255, 255, 0.04);
	font-weight:400;
}
#collapseMenu button.topic {
	min-height: 35px;
	padding-left: 25px;
	color: #666;
	background: rgba(255, 255, 255, 0.04);
	/* font-weight:400; */
}
#collapseMenu button.topic.last {
	margin-bottom: 1px;
}
#collapseMenu button.screen {
	min-height: 35px;
	padding-left: 40px;
	color: #666;
	background: rgba(255, 255, 255, 0.04);
}
#collapseMenu button.active {
	background: rgba(0, 0, 0, 0.05) !important;
	cursor: default;
}

/* if required to be different from nav button rollover */
/* #collapseCloseBtn:hover > span {
	color: #5f8348 !important;
} */

#menuContainer {
	display: none;
	flex-flow: row wrap;
	width: 100%;
	flex-shrink: 0;
	flex-grow: 1;
	min-height: 1px;
}
#screenContainer {
	margin-top: var(--top-bar);
	display: flex;
	flex-flow: row wrap;
	flex-grow: 1;
	width: 100%;
	border: none;
	transform: translate3d(0px, 0px, 0px);
	overflow: hidden;
}
#navBar {
	display: none;
	z-index: 999;
	flex-flow: row nowrap;
	justify-content: space-around;
	width: 100%;
	min-height: var(--bottom-bar);
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.small #navBar {
	min-height: var(--bottom-bar);
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
#navBar #navBarBtns {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	column-gap: 40px;
}
#backBtn {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	background: transparent;
	height: 100%;
	padding: 0px 10px 0px 10px;
	order:1;
} /* note that the left padding accounts for right-hand buttons */
.small #backBtn {
	padding: 0px 10px 0px 10px;
}
#backBtn i {
	font-size: 32px;
	margin-top: -11px;
}
#backBtn span {
	margin-top: -3px;
}
#nextBtn {
	margin-left: 1px;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	background: transparent;
	height: 100%;
	padding: 0px 10px 0px 10px;
	order:3;
}
#nextBtn i {
	font-size: 32px;
	margin-top: -11px;
}
#nextBtn span {
	margin-top: -3px;
}

#progressContainer {
	display: flex;
	flex-flow: row nowrap;
}
#progressContainer.type1 {
	/* page x of y */
	order: 2;
	width: auto;
	flex-grow: 1;
}
#progressContainer.type2  {
	/* percentage bar  */
	margin-left: 0px;
	margin-bottom: 20px;
}
#progressContainer.type3  {
	/* radial  */
	order: 2;
	margin-top: 42px;
	width: auto;
	top: 50% !important;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
#progressTxt {
	font-size: 9px;
	color: #666;
	margin: auto;
}
.type2 #progressTxt {
	/* percentage bar txt*/
	position: absolute;
	right: 5px;
	margin-top: 8px;
}
.type3 #progressTxt {
	/* radial txt*/
	position: absolute;
	top: -2px;
	left: calc(100% + 5px);
	font-size: 9px;
	color: var(--base_font_color_dark);
	width: auto;
}
#progressBarContainer {
	position: absolute;
	margin-top: 0px;
	width: 100%;
	height:6px;
	background: #f6f6f6;
	border-bottom: none;
}
#progressBar {
	position: absolute;
	width: 1px;
	height: 100%;
	background: #505461;
}
.progressRadial {
	font-size: 40px;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	float: left;
	background-color: rgba(0, 0, 0, 0);
}
.progressRadial:before {
	position: absolute;
	top: 0em;
	left: 0em;
	display: block;
	content: " ";
	border-radius: 50%;
	background-color: transparent;
	width: 34px;
	height: 34px;
	box-sizing: content-box !important;
	border: 3px solid rgba(0, 0, 0, 0.1);
}
.progressRadial:after {
	position: absolute;
	top: 3px;
	left: 3px;
	display: block;
	content: " ";
	border-radius: 50%;
	background-color: transparent;
	width: 34px;
	height: 34px;
	box-sizing: content-box !important;
}
.progressRadialInitialClip {
	position: absolute;
	width: 1em;
	height: 1em;
	clip: rect(0em, 1em, 1em, 0.5em);
	box-sizing: content-box !important;
}
.progressRadial > span {
	position: absolute;
	width: 100%;
	z-index: 1;
	left: 0;
	top: 0;
	width: 5em;
	line-height: 5em;
	font-size: 0.2em;
	color: #555;
	display: block;
	text-align: center;
	white-space: nowrap;
	font-weight: bold;
}
.progressRadialFillOver50 {
	position: absolute;
	border: 3px solid #666;
	width: 34px;
	height: 34px;
	clip: rect(auto, auto, auto, 0.5em);
	border-radius: 50%;
}
.progressRadialBar {
	position: absolute;
	border: 3px solid #666;
	width: 34px;
	height: 34px;
	clip: rect(0em, 0.5em, 1em, 0em);
	border-radius: 50%;
}


/* botom margin on phones */
#footer {
	display: none;
}
.small #footer {
	display: flex;
	flex-flow: column;
	flex-grow: 0;
	flex-shrink: 0;
	justify-content: center;
	padding-left: 15px;
	width: 100%;
	border: none;
	height: 70px;
	background: var(--base_font_color_dark);
	z-index: 4;
}
.small #footer p {
	color: #ccc;
	font-size: 10px;
	font-style: italic;
	margin-bottom: 0px;
}
.small #footer i {
	color: #ccc;
	font-size: 12px;
	font-style: normal;
	vertical-align: middle;
}
.small #footer a {
	color: #ccc;
	font-size: 10px;
	font-style: italic;
	margin-left: 5px;
	text-decoration: underline;
}

/* dialogue panel */
.screenMask {
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: #000;
	display: none;
}
.dialogueContainer {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	display: flex;
	align-items: center;
	overflow: auto;
	overscroll-behavior: contain;
}
.dialogueInner {
	margin: auto;
	box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.3);
	border:none;
	border-radius: 10px;
	overflow: hidden;
	min-height: 1px;
	max-height: 100vh; 
	max-height: 100dvh;
	display: flex;
	flex-flow: column;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.small .dialogueInner {
	border-radius: 0px;
}
/* full height on small device */
.small .small-full-height{
	min-height:none !important;
	height: 100dvh;
}
/* glossary definition holder on small device */
.small .small-full-height #definitionHolder{
	max-height: none !important;
}

.dialogueCloseBtn {
	width: 100%;
	height: 50px;
	min-height: 50px;
	border: none;
	background: var(--base_button_color_dark);
	border-radius: 0%;
	border: none;
	color: #fff;
	text-align: right;
	padding-right: 25px;
}
.dialogueCloseBtn span {
	position: relative;
	top: -7px;
	margin-right: 3px;
}
.dialogueCloseBtn i {
	position: relative;
	color: #fff;
}
.dialogueCloseBtn:hover i {
	transition: 0.5s;
	transform: rotate(90deg);
}
.dialogueContent {
	width: 100%;
	min-height: 1px;
	overflow-y: auto;
	flex-flow: row wrap;
	flex-grow:1;
}

/* dialogue nav */
.dialogueNavContainer {
	background: #fff;
	height: 50px;
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.dialogueNavBtn {
	height: 100%;
	background: #fff;
	color: var(--base_button_color_dark);
	font-size: 15px;
	display:flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
	flex:0 1 200px;
	transition: all 0.3s ease 0s;
}
.dialogueNavBtn span{
	/* reduce slight font margin */
	margin-top:-4px;
}
.dialogueNavBtn i{
	margin-top:-2px;
} 
#dialogueBackBtn {
	margin-left: 0px;
}
#dialogueNextBtn {
	margin-right: 0px;
}
/* ed (AI dialogue) */
.ed_robot {
  width: 25px;
  margin: auto;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  height:auto;
  gap:2px;
}

.ed_robot_head {
  width: 90%;
  height: 14px;
  border: 2px solid #000;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:5px;
}

.ed_robot_eye {
  width: 2px;
  height: 3px;
  background: #000;
  border-radius: 50%;
  animation: blink 4s infinite;
  transform-origin: center;
}

@keyframes blink {
0%, 44%, 56%, 100% { transform: scaleY(1); }
48%, 52% { transform: scaleY(0.1); }
}


.ed_robot_body {
  width: 100%;
  height: 10px;
  border: 2px solid #000;
  border-radius: 4px 4px 0 0;
}

p.ed_prompt{
	background:#888;
	border-radius: 10px;
	padding:3px 8px 5px 8px;
	font-size: 15px;
	color:#fff;
	align-self: flex-end;
	line-height:1.3em;
	max-width:70%;
}

.ed_response{
	margin-top: 10px;
	margin-bottom: 20px;
	font-size: 15px;
}

.connection-status {
	z-index: 999;
	position: absolute;
	top:0px;
	right:0px;
	width:30px;
	height:22px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: default;
}
.connection-status .icon{
	font-size: 14px;
	color:grey;
	font-family: "Material Symbols";
}

/* devMode */
#devMode {
	display: none;
	position: fixed;
	width: auto;
	bottom: 0px;
	z-index: 9999;
	column-gap:3px;
	flex-flow: row nowrap;
}
.small #devMode {
	display: none !important;
}
#devMode button {
	border: none;
}
#jumpToScreenInput {
	min-height: auto;
	height: 20px;
	width: 43px;
	font-size: 10px;
	padding: 2px;
	padding-left: 5px;
	background: #fff;
	border: 1px solid #ccc !important;
	color: var(--base_font_color_dark);
}
#jumpBtn {
	min-height: auto;
	height: 20px;
	width: 30px;
	padding:0px;
	cursor: pointer;
	font-size: 10px;
	color: #fff;
	background: #666;
}
#scrId {
	min-height: auto;
	height: 20px;
	width:auto;
	min-width: 150px;
	background: #fff;
	font-size: 10px;
	padding:2px;
	border: 1px solid #ccc !important;
	color: var(--base_font_color_dark);
	border-radius: 5px;
}
#logIssueBtn {
	min-height: auto;
	height: 20px;
	width: auto;
	cursor: pointer;
	font-size: 10px;
	padding: 0px;
	color: #fff;
	background: #666;
	display: none;
}

@media (max-width: 768px) {
}

@media print {
	p {
		font-family: Arial;
	}
	.dialogueAlign {
		box-shadow: none;
	}
	.dialogueCloseBtn,
	.preloader,
	#screenBg,
	#devMode,
	#btnPrint {
		display: none !important;
	}
	body {
		background: #fff !important;
		transform: none !important;
	}
}
