* {
	box-sizing:border-box;
}

::-webkit-scrollbar {
    width: 20px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: rgb(1,128,129,0);
	border-top-right-radius:10px;
	border-bottom-right-radius:10px;
}

::-webkit-scrollbar-thumb {
    background-color: #0A5D5E;
	border-radius:10px;
    border: 0px solid #409fa0;
}
/*
html {
    margin-left: calc(100vw - 100%);
    margin-right: 0;
}
*/
body > * ::-webkit-scrollbar-thumb {	
    border: 0px solid white;
}

html {
    scrollbar-color: #6969dd #e0e0e0;
    scrollbar-width: auto;
}

body {
	text-align:center;
	background-color:rgb(1,128,129,0.75);
	transition:background 1s;
	counter-reset: section;   
}

#container {
	text-align:left;
	min-height:100vh;
	background-color:white;
	background-image:url(../content/media/logos/main_logo_green_large.png);
	background-repeat:no-repeat;
	background-size:50% auto;
	background-position:center 35px;
	position:relative;
}

body.home.gradient a.box.nopad {
	display:none;
}

body a.box.nopad p:before {
	counter-increment:section;
	display:block;
	font-size:0.8em;
}

/*
body.social_stories a.box.nopad p:before {
	content:"Social Story " counter(section);
}

body.task_analysis a.box.nopad p:before {
	content:"Task Analysis " counter(section);
}
*/	
body.profile #container {
	background-image:url(../content/media/logos/main_logo_white_large.png);
}

.container {
	width:760px;
	margin-left:auto;
	margin-right:auto;
	max-width:100vw;
}

#main-menu {
	position:fixed;
	bottom:0px;
    left: 50%;
    transform: translateX(-50%);
	height:100px;
	z-index:66;
}

nav {
	width:100% !important;
	margin-left:0% !important;
	height:77px !important;
	position:fixed;
	padding:0% 2%;
	bottom:0px;
}

nav a {
    padding-bottom: 124px;
	height:0px !important;
	text-align:center;
}

nav a img {
	width:70px !important;
	margin-left: auto;
	margin-top:8% !important;
	max-width:40%;
	transform:translateX(10px);
}

.profile-tab {
	height:70px !important;
}

nav:before, nav:after {
	height:77px !important;
	width:18.5% !important;
}

nav a:before {
	left:0px !important;
	width:32px !important;
}

@media screen and (max-width:800px) {
	nav a::before, nav a::after {
		border-radius:2px;
		width:2px !important;
	}
	
	nav a span {
		border-radius: 3px !important;
    	transform: translateX(0px);
    	width: 100% !important;
	}
	
	nav a.current {
		background-color:white !important;
	}
	
	nav a img {
		transform:translateX(0px);
	}
	
}

nav a {
	background-color:rgba(10, 93, 94,0);
	transition:background-color 0.2s;
}

nav a:before, nav a:after  {
	height:124px !important;
}

nav a span {
    position: absolute;
	width: calc(100% - 40px) !important;
    margin: 0px !important;
    /* height: 100px; */
    padding-bottom: 70% !important;
    right: 10px !important;
    bottom: calc(63px - 1vw) !important;
    border-radius: 0px 0px 50% 50%;
    box-shadow: 0 50px 0 0 #0a5d5e !important;
}

nav a:not(.current) {
	background-color:rgba(10, 93, 94,1)
}
.profile-tab-content {
	height: 60px !important;
}

main#container {
    padding-top: 19vh;
	min-width:320px;
}

main#container.video {
    padding-top: 12vh;
}

main#container h1 {
	text-align:center;
	border:1px dotted #0a5d5e;
	padding:0.1em 0.5em;
	width:auto;
	display:inline-block;
	position:relative;
	left:50%;
	line-height:2.2em;
	transform:translateX(-50%);
	opacity:1;
	transition:opacity 3s;
	font-size:1.2em;
}

main#container.loading h1 {
	opacity:0;
}

div.description {
	margin-top:2em;
}

.animated-vector {
	height:160px !important;
	background-image:url(../content/media/backgrounds/cloud_vectors.png);
	background-color:#ffba9d;
	background-size:auto 100%;
	margin:1em;
	position:relative !important;
	width:calc(100% - 2em) !important;
	border-radius:1em;
	overflow:hidden;
	
}

.animated-vector svg {
	width:100% !important;
}

#container .animated-vector:before {
	position:absolute;
	z-index:1;
	left:50%;
	transform:translate(-50%,-50%);
	display:block;
/*	content:"Get ready to fly with Interact"; */
	color:#0A5D5E;
    font-weight: 400;
    font-size: 1.6em;
	transition:all 1.5s;
	top:50%;
	white-space:nowrap;
	opacity:1;
}

#container.loading .animated-vector:before {
	top:-50%;
	opacity:0;
}

@media screen and (max-width:800px) {
	nav a span {
		display:none !important;
	}
	
	#main-menu {
		height:70px !important;
	}
	
	.profile-tab {
		height:140px !important;
	}
	
	.profile-tab .avatar-housing-agent {
		height: 12vh !important;
  		width: 12vh !important;
		bottom: 90px !important;
	}
	
	nav a img {
		width:40px !important;
		transform:translateX(0px) !important;
	}
}

.logodrop {
	position:relative;
	padding-right: 9em !important;
    display: block;
    overflow: visible;
}

.logodrop:after {
    width: 7em;
    display: inline-block;
    content: "\00A0";
    background-image: url(../content/media/logos/main_logo_white_large.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 128%;
    position: absolute;
    margin-left: 0.5em;
}

#dialog {
    position: fixed !important;
    top: 45%;
    left: 49%;
    transform: translate(-50%,-50%);
    width: 760px !important;
    min-width: 300px;
    max-width: 90%;
    z-index: 555;
    overflow: hidden;
    height: auto !important;
}

#dialog:not(.hidden) {
	display:block;
    border: 4px solid black;
	box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.5);
}

#dialog.hidden {
	display:none !important;
	border: 4px solid transparent;
	box-shadow: 10px 10px 5px 0px rgba(0,0,0,0);
}

#dialog h3 {
	color:white;
	background-color:#008081;
	padding:0.4em;
	font-weight: 400;
	line-height: 1.4em;
}

#dialog button {
	margin-left: 3em;
    margin-bottom: 1em;
	margin-top:1em;
    font-size: 1.6em;
    color: #000;
    font-weight: 800;
	background-image: linear-gradient(125deg, #FF9C73, #FF6B6C);
    box-shadow: 4px 4px 8px rgb(255 156 115 / 65%);
	border: 2px solid black;
	padding:0.2em 1em;
	border-radius: 8px;
	cursor:pointer;
	height:auto;
}

#dialog button span {
	 font-size: 0.8em;
}

#dialog button:hover {
	color:white;
	background:#008081;
	background-color:#008081;
}

#dialog .avatar-container {
	width: 280px;
    height: 150px;
    display: inline-block;
    float: left;
    margin-top: 30px;
    position: absolute;
    left: -78px;
	top: 22%;
}

#dialog .avatar-container + p {
	font-size: 1.4em;
	padding-top:1em;
}

.bubble {
  position: relative;
  font-family: sans-serif;
  font-size: 18px;
  line-height: 24px;
  width: 80%;
  background: #fff;
  border-radius: 40px;
  padding: 24px;
  text-align: center;
  color: #000;
  margin-left: 10%;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.bubble > span {
	display: block;
    z-index: 8;
    background-color: white;
    position: relative;
}

.bubble-bottom-left:before {
	content: "";
    position: absolute;
    width: 50px;
    height: 40px;
    background: white;
    transform: rotate(65deg) skew(15deg,15deg);
    box-shadow: 17px 0px 9px -10px rgb(0 0 0 / 40%);
    bottom: -6px;
    left: 30px;
	z-index: 4;
}

ul.cards.title:before {
	content: "";
    position: absolute;
    width: 50px;
    height: 60px;
    background: white;
    transform: rotate(65deg) skew(15deg,15deg);
    box-shadow: 17px 0px 9px -10px rgb(0 0 0 / 40%);
	bottom:-50px;
	left: -52%;
	z-index:60;
}

.hidden {
	opacity:0;
	display:none;
}

ul.cards {
	width: 80%;
    margin-left: 10%;
	margin-top: calc(160px + 2em - 25%);
    height: 0px;
    list-style-type: none;
    position: relative;
    padding: 20px 0;
    cursor: pointer;
	background-image: url(../content/media/backgrounds/path.png);
	background-position: 50% 0%;
    background-repeat: no-repeat;
	background-size:contain;
	padding-bottom:55%;
}

ul.cards li.card { 
	background: #FFF;
    overflow: hidden;
    height: 120px;
    width: 100px;
    max-width: 74vw;
    border-radius: 10px;
    position: absolute;
    left: 0px;
    box-shadow: 4px 4px 8px rgb(11 14 38 / 25%);
    transition: all 0.4s cubic-bezier(0.63, 0.15, 0.03, 1.12);
    transform-origin: 50% 268%;
    background-size: contain;
    border: 2px solid white;
    background-position: center top;
    background-repeat: no-repeat;
}

ul.cards li.card:hover {
	z-index:42;
}

ul.cards li.card .content {
/*	background-image: linear-gradient(145deg, rgba(56,184,177,0.85) 0%, rgba(149,209,208,1) 100%); */
	background-image: linear-gradient(145deg, rgba(56,184,177,-0.95) 0%, rgba(149,209,208,0.3) 100%);
	border: 0px solid transparent;
	height:100%;
	width:101.25%;
}

main#container ul.cards li.card h1 {
    text-align: center;
    border: none !important;
    padding: 0.1em 0.25em;
	height:auto;
    display: block;
	bottom: 2%;
    left: 0%;
	color:purple;
	background-color:transparent;
    line-height: 1.25em;
    transform:translateX(0%) !important;
    opacity: 1;
    transition: all 0.2s;
    font-size: 0.84em;
    position: absolute;
	white-space:nowrap;
	width:100%;
	transform-origin:left top;
	z-index:44;
	font-weight:normal;
}

main#container ul.cards li.card.active h1 {
	width:100%;
	display:none;
}

main#container ul.cards:not(.title) li.active h1 {
    left: 1.78em !important;
}

ul.cards li.card.active .content {
	background-color:rgba(255,255,255,0.75);
	overflow: hidden;
}
	
main#container ul.cards li.card h1.might:after {
	content: "(might happen)";
    color: #DDFFDD;
    display: block;
    font-size: 0.75em;
}

ul.subcards {
	display:none;
	padding: 0px;
	list-style:none;
	height:auto;
	min-height:100%;
	z-index:4;
}

ul.cards li.card.active {
	transform: rotate(0deg) translate(20px,-14.5em) !important;
    z-index: 55;
    width: calc(-40px + 100%);
    height: calc(90vh - 20px);
    border-color: transparent;
    overflow-y: auto;
}

ul.cards li.card.active ul.subcards {
	display:flex;
	white-space:nowrap;
	width:auto;
	transform:translateX(0%);
	transition:transform 0.2s;
	position:relative;
	z-index:3;
}

ul.cards li.card.active ul.subcards li {
	width:100%;
	display:inline;
	float:left;
	flex-basis:100%;
	flex-grow:0;
	flex-shrink:0;
	text-align:left;
	position: relative;
}

ul.cards:not(.title) li.card.active ul.subcards li {
	padding-top: 10%;
}

ul.cards.title li.card.active ul.subcards li {
	padding-top: 61%;
}

ul.cards:not(.title) li.card.active ul.subcards li {
	padding-right: 1em;
	padding-left: 0em;
    background-color: white;
}

ul.cards li.card.active ul.subcards li h2 {
    top: 8px;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    margin-left: 0px !important;
    padding: 0.25em 2.5%;
/*    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px; */
    padding-right: 0.5em;
    z-index: 422;
    line-height: 1.5em;
	text-align:center;
	color:teal;
    font-weight: 400;
    letter-spacing: 2px;
	font-size:1.7em;
	background-color:white;
    border-top: 1px solid teal;
    border-bottom: 1px solid teal;
	border-left:0px;
	border-right:0px;
}

ul.cards:not(.title) li.card.active ul.subcards li h2, ul.cards:not(.title) li.card.active ul.subcards li h2:after {
	color:teal;
	border-color:teal;
}

body.walkthrough_surroundings ul.cards li.card.active ul.subcards li h2, body.walkthrough_surroundings li.card.active ul.subcards li h2:after {
	color:teal;
	border-color:teal;
}

ul.cards li.card.active ul.subcards li img, ul.cards li.card.active ul.subcards li video, ul.subcards li iframe {
	width: 102%;
    margin-top: -1%;
    z-index: 21;
    margin-left: -1% !important;
    height: auto;
	background-size:cover;
	min-height: 18vw;
	border:0px;
}

div.video_placeholder {
	width:100%;
	height:4em;
	background-image: none !important;
	position:relative;
	z-index:9999;
	cursor:pointer;
}

div.video_placeholder.playing {
	width:100%;
	height:auto;
	z-index:66;
	cursor:default;
	min-height:37%;
}

div.video_placeholder.playing iframe {
	position: absolute;
	display:none;
}

div.video_placeholder.playing iframe {
	min-height:100%;
	display:block;
}

div.video_placeholder:not(.playing):before, iframe.video_placeholder:not(.playing):before {
	content: "\25B6";
    display: block;
    background-color: rgba(255,255,255,1);
    color: #008081;
    position: absolute;
    top: 0.5em;
    left: 50%;
    font-size: 2em;
    border-radius: 50%;
    width: 1.4em;
    z-index: 24;
    transform: translate(-50%,-50%);
    line-height: 100%;
    text-align: center;
    padding-bottom: 0.25em;
    padding-top: 0.25em;
    border: 4px solid #008081;
    padding-left: 0.1em;
}

div.video_placeholder:not(.playing):after, iframe.video_placeholder:not(.playing):after {
	content: "Play Video";
    display: block;
    transform: translate(0.4em,0.1em);
    width: fit-content;
    text-align: center;
    word-spacing: 3.5em;
    background-color: darkcyan;
    margin: auto;
    border-radius: 6px;
    color: white;
    padding: 0.3em 0.5em;
}

div.video_placeholder.orientation:not(.playing):after, iframe.video_placeholder.orientation:not(.playing):after {
	content: "Watch Explainer";
	word-spacing:4em;
	transform:translate(0.55em,0.1em);
	
}

ul.cards li.card.active ul.subcards li > *:not(iframe) {
	text-align:left;
    white-space: normal;
	margin-left:2.5% !important;
	color:black;
	font-weight:bold;
}

ul.cards li.card.active ul.subcards li > .video_placeholder {
	margin-left:0px !important;
}

ul.cards li.card.active ul.subcards li > .video_placeholder.playing {
	position:absolute;
	top: 4.25em;
}

ul.cards li.card.active ul.subcards li > p {
	hyphens:initial;
	margin-top:1em;
	text-align:center;
    font-size: 1.1em;
	margin-left:5% !important;
	background-color: white;
    padding: 0.5em;
	border-radius: 5px;
	width:90%;
}

ul.cards li.card.active ul.subcards li:first-child > p {
	margin-top:3em;
}

ul.cards li.card.active ul.subcards li div.button.has_arrow {
	background-color: #0A5D5E;
    color: white;
    font-size: 1.2em;
    position: relative;
    border-radius: 5px;
    border: none;
    padding: 0.25em 1em;
    width: fit-content;
    position: absolute;
    z-index: 63;
    bottom: 0.6em;
	right: 30px;
    left: auto;
}


ul.cards li.card.active ul.subcards li div.button.has_arrow_left {
	right: 93px;
}

ul.cards li.card.active ul.subcards li:first-child div.button.has_arrow {
    display: none;
}

body.walkthrough_surroundings ul.cards li.card.active ul.subcards li:nth-child(1) div.button.has_arrow.has_arrow_left {
    display: none;
}

ul.cards li.card.active ul.subcards li div.button.has_arrow:before {
	content:"Next: ";
	color:rgb(31 212 223);
}

ul.cards li.card.active ul.subcards li div.button.has_arrow_left:before {
	content:"Back: ";
	color:rgb(31 212 223);
}

ul.cards li.card.active ul.subcards li div.button.has_arrow:empty:before {
	content:"\25BA";
}

ul.cards li.card.active ul.subcards li div.button.has_arrow_left:empty:before {
	content:"\25C4";
}

/*
ul.cards li.card.active ul.subcards li div.button.has_arrow:before {
    width: 50px;
    height: 50px;
    content: "";
    display: block;
    position: absolute;
    background-color: #0A5D5E;
    top: calc(50% - 25px);
    border-radius: 5px;
    left: 0.5em;
	background-size:cover;
}
*/
ul.cards li.card.active ul.subcards li div.button.has_arrow:after {
  content: "";
  display: block;
  position: absolute;
  border-color: transparent #0A5D5E;
  border-style: solid;
  border-width: 0.85em 0px 0.85em 0.85em;
  top: 0;
  left: calc(100% - 2px);
}

ul.cards li.card.active ul.subcards li div.button.has_arrow_left:after {
  content: "";
  display: block;
  position: absolute;
  border-color: transparent #0A5D5E;
  border-style: solid;
  border-width: 0.85em 0px 0.85em 0.85em;
  top: 0;
  right: calc(100% - 2px);
  left:auto;
  transform: rotate(180deg);
}

ul.cards li.card .avatar-container {
	position: absolute;
    z-index: 20;
    bottom: 45%;
    height: 35%;
    /* left: -60px; */
    left: 10%;
    width: 80%;
	z-index:2;
}

.index .animated-vector {
	font-family: 'Antro Vectra';
    font-weight: bold;
    font-size: 1.2em;
}

body.index main#container {
	overflow-y:hidden;
}

body.index .box[href*='whatworks'] {
	display:none;
}

.quick_access {
	overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap !important;
    margin-right: 2.5%;
}

.quick_access .square {
	background-size:cover;
	color:white;
	font-weight:bold;
	width: 25%;
    height: 5em;
	text-align: center;
	padding-left: 0.4em;
    padding-right: 0.4em;
	white-space: normal;
    vertical-align: top;
	margin-right: 5%;
    position: relative;
	border-radius:5px;
}

.quick_access .square img {
	position: absolute;
    width: 100% !important;
    margin: 0px !important;
    height: auto;
    top: 0px;
    max-height: 100%;
    border-radius: 5px;
    min-height: 4vw !important;
}

.quick_access .square:nth-last-child(2) {
	margin-right: 0%;
}

.quick_access .square:not(:nth-last-child(2)):after {
    left: 100%;
    position: absolute;
    content: "";
    display: block;
    height: 100%;
    width: 27%;
    background-image: url(../content/media/nav-icons/quick_access.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;

}

.quick_access .square:hover {
	transform:scale(1) !important;
}

.quick_access .square p {
	position: absolute;
    bottom: 0px;
    width: 102%;
    z-index: 25;
    background-color: white;
    text-shadow: none;
    color: black;
    margin-bottom: 0px;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0.2em;
	overflow:hidden;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	transform:translateX(-1%)
}
.prompt {
	margin-left:0px;
}

.quick_access .prompt {
    position: fixed;
    margin-top: 2em;
	text-align: center;
    width: 95%;
	background-color: teal;
    padding: 0.5em 1em;
    color: white;
	border-radius:5px;
}

ul.cards li.card.active ul.subcards li h2:after {
    content: "\2A2F";
    position: absolute;
    right: 0.5em;
    top: 0.25em;
    border-radius: 50%;
    width: 1.4em;
    height: 1.4em;
    line-height: 142%;
    text-align: center;
    font-size: 1em;
    color: teal;
	background-color: white;
}

/* NEED TO BE ABLE TO CALC THESE */
/*
ul.cards li.card.card-1 {
    z-index: 10;
    transform: rotateZ(-2deg);
}

ul.cards.transition li.card.card-1 {
    left: 440px;
}

ul.cards li.card.card-2 {
    z-index: 9;
    transform: rotateZ(-7deg);
    transition-delay: 0.05s;
}
ul.cards.transition li.card.card-2 {
    left: 220px;
}

ul.cards li.card.card-3 {
    z-index: 8;
    transform: rotateZ(5deg);
    transition-delay: 0.1s;
}

ul.cards.transition li.card {
    transform: rotateZ(0deg);
}
*/

#related {
    position: absolute;
    right: 0%;
    list-style: none;
	top:12vh;
    background-color: transparent;
    z-index: 60;
	display:none;
}

body.walkthrough #related.shown {
	display:block;
}

#related ul {
	list-style: none;
    display: block;
    line-height: 2em;
	height: 3.5em;
	padding:0px;
}

#related ul#popupTabs {
	margin-top: 0px;
    margin-right: 51px;
    border-radius: 5px;
    background-color: #edf7f7;
    height: auto;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    box-shadow: 4px 4px 6px rgb(0 0 0 / 30%);}

#related ul#sosTools {
    transform: translateY(-110px);
}

#related ul li {
    display: block;
    float: none;
}

#related ul#sosTools.faded li {
    visibility:hidden;
}

#related ul li:first-child img {
	margin-left:2px;
	margin-top:5px;
}

#related ul#popupTabs li:first-child:before {
    border-bottom: 1px solid rgba(149,209,208,1);
    content: "";
    display: block;
    top: 3em;
    position: absolute;
    left: 0px;
    width: 3em;
}

#related ul li > span {
    color: white;
    margin-right: 0.25em;
    position: relative;
    cursor: pointer;
}

#related ul li > span img {
    width: 2.5em;
    height: 2.5em;
}

#related ul li > span > span.badge {
    border-radius: 50%;
    background-color: red;
    position: absolute;
    top: -2.5em;
    right: -1em;
    display: block;
    width: 2em;
    text-align: center;
    font-size: 0.75em;
    line-height: 1em;
    border: 6px solid red;
}

#related ul li > span[href="#surroundings"] > span.badge {
	display:none;
}

#stressorList {
    position: absolute;
    /* top: 100px; */
    transform: translateY(-3em);
    padding: 1em;
    border-radius: 10px;
    width: 75%;
    margin: 5%;
    height: calc(90vh - 18px);
    background-color: #edf7f7;
    display: none;
    bottom: 0px;
    left: 7.5%;
    z-index: 15;
}

#stressorList:before {
	display: block;
    content: "Surroundings";
    text-align: center;
    font-size: 2em;
    width: 101%;
    margin-left: 0px;
    margin-bottom: 1em;
    color: #0A5D5E;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 1.7em;
    text-transform: uppercase;
    padding: 0.25em 2.5%;
    transform: translateX(-0.58em);
	line-height: 1.5em;
}

#stressorList  table {
	width: 100%;
    overflow: hidden;
	border-collapse:collapse;
}

#stressorList table thead {
	display:none;
}

#stressorList table thead tr td {
    border-bottom: 1px solid darkcyan;
}

#stressorList table thead tr td img {
	transition:all 0.2s;
	margin-top:4px;
	opacity:0.2;
}

#stressorList table thead tr td img.selected{
    opacity:1
}

#stressorList table thead div.avatar-illustration-container {
	width: 10%;
    padding-bottom: 10%;
	display:inline-block !important;
}

#stressorList table thead td:first-child div.avatar-background img {
	display:block;
}

#stressorList table thead div.avatar-illustration-container > div {
	display:block !important;
}

#stressorList  table tr td {
	text-align:left;
	vertical-align: top;
	padding:0.15em;
	max-width: 50%;
	width: 50%;
}

#stressorList table tfoot tr td[colspan] {
    text-align: right;
	color: #999999;
}

#stressorList table tfoot tr td .noResults {
    display:none;
	margin-left:1em;
	color:red;
}

#stressorList table tbody {
	display:none;
}

#stressorList  table tbody tr.stripe td {
	background-color:rgb(122, 211, 222, 0.3);
}

#stressorList table td:nth-child(6).expandList {
    width: 2em;
	display:table-cell;
	text-align:center;
	padding-left: 0.3em;
	padding-right: 0.3em;
	padding-top: 0.6em;
	cursor:pointer;
	color:#0A5D5E;
}

#stressorList table tr.open td:nth-child(6).expandList {
	color:transparent;
}

#stressorList table tr.open td:nth-child(6).expandList:before {
	content:"\25B2";
	color:#0A5D5E;
	display:block;
}

#stressorList table tr:not(.open) div {
	display:none;
}

#stressorList table tr.open div {
	display:block;
	width: calc(222% - 2.5em);
    border-left: 2px solid rgb(122, 211, 222, 0.3);
    padding: 0.5em;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

#stressorList table tbody tr td:nth-child(n+3):not(.expandList) {
    display: none;
}

div#stressorList td img {
	width: 2.1em;
    height: 2.1em;
    margin-right: 0.5em;
    border: 1px solid rgba(0,139,139,0);
    border-radius: 8px;
}

div#stressorList td:first-child div img, div#stressorList td:first-child div video, div#stressorList td:first-child div img, div#stressorList td:first-child div iframe {
	width:100%;
	height:auto;
	display:none;
}

#stressorList table tr[data-media] td:first-child {
    background-image: url(../content/media/button-icons/av.png);
    background-repeat: no-repeat;
    background-size: 2em;
    background-position: 97% 4px;
	padding-right:2.5em;
}

#stressorList table tr[data-media$='.jpg'] td:first-child {
	background-image: url(../content/media/button-icons/photo.png);
}

div#stressorList tr[data-media] td:first-child div img, div#stressorList tr[data-media] td:first-child div video, div#stressorList tr[data-media] td:first-child div iframe {
	display:block;
	margin-bottom: 1em;
	border-radius: 8px;
}

div#stressorList td img:first {
    margin-left: 0.5em;
}
	
#stressorList  table tr td:nth-child(3) {
	display:none;
}

#stressorList audio {
    margin-left: 25%;
    width: 50%;
    margin-top: -20em;
    margin-right: 25%;
    margin-bottom: 0.4em;
}

span.error {
	color:red;
}


#related.sos {
	width:100%;
	display:block;
}

#related.sos ul#popupTabs {
	display:none;
}

#related ul.sosTools {
	display:none;
}

#related.sos ul#sosTools {
    display: block;
    border-top: 6px solid transparent;
    width: 70%;
    position: absolute;
    right: 15%;
    padding-left: 0px;
    list-style: none;
    transform: translateY(140px);
    height: calc(76vh - 180px);
	transition:opacity 0.5s;
	z-index:0;
	display:block !important
}

#related ul.sosTools li {
    padding: 0.5em 1em;
    white-space: nowrap;
	font-size: 0.8em;
    color: #008081;
    text-transform: uppercase;
	text-align:center;
	float:none;
	display:block;
	cursor:pointer;
	position:absolute;
	top:50%;
	left:50%;
	width:20%;
	transform:translate(-50%,-50%);
	transition:all 0.2s;
}

body.sos #related.sos ul#sosTools.faded {
	display:block;
}

body:not(.sos) #related.sos ul#sosTools.faded {
	z-index:-10;
	display:none !important;
}

#related.sos ul#sosTools.faded li {
	opacity:0.1;
	cursor:default;
}

#related ul.sosTools li img {
    width: 78%;
    height: auto;
    float: none;
    display: block;
    margin: auto;
    border-radius: 50%;
    padding: 0%;
    background-color: rgba(0,80,81,0.4);
    border: 2px solid #0A5D5E;
    box-shadow: 0px 0px 13px rgb(0 0 0 / 20%);
    overflow: hidden;
}

.profile-tab h2 {
	color:transparent !important;
}

.avatar-puppet {
	width: 50%;
    height: 50%;
    margin-left: 25%;
	margin-top: 0%;
}

.breathing-guide {
    width: 60% !important;
    height: 0px !important;
	position: absolute !important;
    top: 56% !important;
    left: 50% !important;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding-bottom: 60% !important;
	visibility:hidden;
}

.breathing-guide.animated {
	visibility:visible;
}

.base-timer {
	position: absolute;
    width: 22%;
    top: 33%;
    left: 12%;
    background-color: white;
    visibility: hidden;
    display: none;
}


body.sos .base-timer {
    width: 42%;
    top: 33%;
    left: 28%;
	border-top: 1em solid white;
    border-bottom: 2em solid white;
}

body.timers .base-timer {
    left: 12%;
}

.base-timer.active {
	visibility:visible;
	display:block;
	background-image: url(../content/media/backgrounds/clock.png);
    background-size: 68%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
	position: absolute;
    background-color: white;
    z-index: 4;
}

.base-timer__path-remaining.red {
    color: #FF6B6C;
}

.base-timer__path-remaining.orange {
    color: orange;
}

.base-timer__path-remaining.green {
    color: #76D3DD;
}

#timershape{
    fill: #06A0AB;
	stroke-width: 1px;
    stroke: black;
}

.base-timer__svg {
  transform: scaleX(-1);
}

.base-timer__circle {
  fill: none;
  stroke: none;
}


.base-timer__path-remaining {
  stroke-width: 3px;
  stroke-linecap: round;
  transform: rotate(90deg);
  transform-origin: center;
  transition: 1s linear all;
  fill-rule: nonzero;
  stroke: currentColor;
  color:white;
}

.base-timer__path-remaining.green {
  color: #76D3DD;
}

.base-timer__path-remaining.orange {
  color: #FF9C73;
}

.base-timer__path-remaining.red {
  color: #FF6B6C;
}

.base-timer__label {
	position: absolute;
    width: 20%;
    height: auto;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DS-Digital";
    font-size: 28px;
    /* margin-left: 50%; */
    /* margin-top: 22%; */
    border: 1px solid #aaaaaa;
    left: 50%;
    transform: translate(-45%, -40%) skew(-5deg);
    padding: 0.1em 0.4em;
	text-align:right;
}


.base-timer__label:disabled {
	opacity:0;
}

body.sos .base-timer__label {
	width:35%;
}

#clonedAvatar {
	display:none;
}

table#socialStory td {
    vertical-align: top;
    padding-bottom: 1em;
    padding-top: 1em;
    border-bottom: 1px dashed #aaaaaa;
}

table#socialStory td:first-child {
	width:52%;
	padding-right:2%;
}

table#socialStory td:last-child {
	vertical-align:middle;
}

table#socialStory td:first-child img {
	width:100%;
    padding: 1em;
}

table#socialStory td:first-child img[src*='avatar-icons'] {
    width: 74%;
    margin-left: 13%;
}

table#socialStory h4, div#socialFooter h4 {
	color:#008081;
	text-transform:none;
	text-align:left;
	margin-bottom:1em;
}

table#socialStory td > p, div#socialFooter p {
	margin-left:auto;
}

div#socialFooter {
	margin:2em;
}

.instruction {
	color:rgb(255, 107, 108);
    padding-left: 2.5em;
    background-size: auto 119%;
    background-image: url(../content/media/nav-icons/timer.png);
    background-repeat: no-repeat;
    line-height: 2em;
}

span.instruction {
	padding-left: 1.5em;
}

main#container h1.clear {
	display:block;
	border-left:0px;
	border-right:0px;
	text-align:left;
	content:"\00A0";
}

main:not(.loading) .box.nopad {
	width:28% !important;
	overflow:hidden;
}

#stressorList .box.nopad {
	width: 43% !important;
    overflow: hidden;
    padding-bottom: 25%;
}

body.swap .box.nopad {
    overflow: hidden;
    width: 28% !important;
    padding-bottom: 28%;
}
a.box.nopad img {
	width:100%;
	height:auto;
	margin:0px;
	border-radius:4px;
}

a.box.nopad img[src*='avatar-icons'] {
	width: 52%;
    margin-left: 24%;
    margin-top: 4%;
}	

main#container > video, main#container > iframe {
	width:90%;
	margin-left:5%;
	border-radius: 8px;
}

option[disabled] {
	color:rgba(0,0,0,0.2);
}

#anchor {
	position: absolute;
    height: 0px;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 55;
}

#closePopup {
    width: 3em;
    height: 3em;
    position: absolute;
    right: 0px;
	 top: 0.7em;
	text-align:center;
	font-size:1.5em;
}

#closePopup:before {
    content: "\2A2F";
    position: absolute;
    right: 0.5em;
    top: 0.25em;
    border-radius: 50%;
    width: 1.4em;
    height: 1.4em;
    line-height: 142%;
    text-align: center;
    font-size: 1em;
    color: teal;
	cursor:pointer;

}

.stimuli.boxes .box::before {
	content:"";
	display:none;
}

.stimuli.boxes .box > img, .stimuli.boxes .box > video, .stimuli.boxes .box > iframe {
    width: 100%;
    left: 0px;
    margin: 0%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: auto;
	position:absolute;
}

a.box.nopad > div.icons {
    position: absolute;
    right: 0px;
    width: 30px;
    border-top-right-radius: 5px;
    background-color: rgba(255,255,255,0.6);
    height: calc(100% - 1.8em);
}

a.box.nopad > div.icons > img {
    width: 100%;
    position: relative;
}

body.surroundings .iconfilter {
	width: 100%;
    margin-left: 2%;
}

body.surroundings .stepfilter {
	position:absolute;
	width:25%;
	z-index:999;
	height:auto;
	border-radius:8px;
	overflow:hidden;
	margin-left: 73%;
	margin-top: -2.45em;
}

body.surroundings .stepfilter.open {
	background-color:#87cfed;
	box-shadow:0px 0px 4px 4px rgba(0,0,0,0.4);
}

body.surroundings .stepfilter:not(.open):after {
	content: "\25BC";
    position: absolute;
    right: -1px;
    top: 0%;
    background-color: teal;
    text-align: center;
    width: 2em;
    height: 1.5em;
    line-height: 100%;
    vertical-align: middle;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding-top: 0.6em;
    color: white;
    cursor: pointer;
}

body.surroundings .stepfilter .option {
    width: 100%;
	margin: 0%;
	display:none;
	background-color:#87cfed;
	vertical-align:middle;
	cursor:pointer;
	border:1px solid transparent;
	position:relative;
}

body.surroundings .stepfilter.open .option:hover {
	color:white;
	background-color:teal;
	border:1px solid teal;
}

body.surroundings .stepfilter .option.selected {
	display:block;
}

body.surroundings .stepfilter .option.selected:after {
    content: "\2714";
    position: absolute;
	right:4px;
	top:4px;
	color:white;
}

body.surroundings .stepfilter.open .option {
	display:block;
}

body.surroundings .stepfilter.open .option:last-child {
	border-bottom: 1px solid rgba(0,0,0,0);
}

.stepfilter .option img {
    width: 2em;
    margin: 0%;
	vertical-align:middle;
}

body.surroundings .iconfilter .icon {
    width: 8%;
    padding-bottom: 7.5%;
	margin:1% 2%;
}

.stepfilter .icon.selected:before, .iconfilter .icon.selected:before {
    content: "\2714";
    position: absolute;
    /* border: 1px solid blue; */
    width: 1.5em;
    height: 1.5em;
    bottom: 0;
    right: -0.5em;
    z-index: 22;
    font-size: 2em;
    color: white;
    text-shadow: 0 0 5px black;
}

div.square[style*="placeholders/blank.png"] {
	background-size: contain;
    background-repeat: no-repeat;
    background-color: white;
}

a.box.nopad > div.icons > img[src*="smell.png"] + img[src*="taste.png"]{
	display:none;
}

ul.cards li.card:not(.active) {
	background-image: linear-gradient(145deg, #6FC7EF, #B2DFF5);
}

main#container ul.cards li.card h1 {
	color:black;
	font-weight: 500;
	bottom:auto;
	top: 8% !important;
	text-transform:uppercase;
	z-index:144;
}

.avatar-background img {
	width: 100%;
    height: 100%;
}

ul.cards li.card .avatar-illustration-container {
	height:100% !important;
	width:100%;
}

ul.cards li.card.active .avatar-illustration-container {
	width: 70%;
    height: 0% !important;
	top: -22%;
    right: 15%;
    padding-bottom: 100%;
    position: absolute;
}

@media screen and (max-width: 690px) {
	ul.cards li.card.active .avatar-illustration-container {
	    top: -18vw;
	}
}

ul.cards li.card .avatar-background {
	z-index: 2;
}

ul.cards li.card.active .avatar-background {
    opacity: 0.4;
}

ul.cards li.card .avatar-container {
	bottom:5%;
	left:-15%;
	position: absolute;
	z-index: 3;
	height: 55% !important;
}

ul.cards li.card .avatar-container.behind {
	z-index:1;
}

.card-1 #avatar-container .SUITCASE-TILTED, .card-2 #avatar-container .SUITCASE-TILTED {
    display: block;
    transform: rotate(24deg) translate(-500px, -600px);
}

ul.cards li.card.card-1 .avatar-container, ul.cards li.card.card-2 .avatar-container {
	left:2%;
}

main#container ul.cards li.card h1.might:after {
	margin-top: 80%;
    background-color: teal;
    width: 110%;
    margin-left: -5%;
}

#walkthroughStepList:disabled {
    color: black;
    opacity: 1;
}

#video_overlay {
    position: fixed;
    left: 50%;
    top: 55%;
    transform: translate(-49%,-49%);
    width: 774px;
    max-width: 90%;
    min-height: 66%;
	max-height: 700px;
    background-color: white;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 4px 4px 12px rgb(0 0 0 / 65%);
	border: 4px solid black;
	background-color: rgb(1,128,129);
}

#video_overlay video, #video_overlay iframe {
	width:100%;
}

body.home #video_overlay {
	display:block !important;
}

#video_overlay #video_controls {
	bottom:0px;
	height:25%;
	background:rgb(1,128,129);
	left:0px;
	width:100%;
	position:absolute;
}

#video_overlay #video_controls button {
    background-color: transparent;
    border: none;
    font-size: 1.7em;
    color: white;
    line-height: 3em;
	cursor:pointer;
	position:relative;
	padding-right: 1.5em;
    padding-left: 1.5em;
}


#video_overlay #video_controls p {
    margin-top: 0px;
    color: white;
    transform: translateY(-1em);
	margin: 1em 2% 1em 2%;
}
#video_overlay #video_controls #skip_intro span {
	font-size:0.8em;
	display:inline-block;
	line-height:2em;
	transform: translateY(-0.15em);
}

#video_overlay #video_controls #skip_intro a:after {
    content: "\2A2F";
    position: absolute;
    right: 0em;
    top: 0.75em;
    border-radius: 50%;
    width: 1.4em;
    height: 1.4em;
    line-height: 142%;
    text-align: center;
    font-size: 1em;
    color: white;
}

#video_overlay #video_controls #register {
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
	word-spacing: normal;
    white-space: nowrap;
    background-color: black;
    padding-left: 2em;
    padding-right: 2em;
    border-radius: 10px;
    margin-top: 1em;
    line-height: 2.4em;
}

.togglelist_controller li {
    width: 33%;
    display: inline-block;
    float: left;
}

.fullWidth {
	max-width:100%;
	min-width:100%;
}

button.accordion {
    font-size: 1em;
	color:black;
}
select#from, select#to {
	width:50%;
	margin-left:25%;
}

select#to option[value=""] {
	display:none;
	color:#DDDDDD;
}

/* earth animation */
#earth {
  width: 300px;
  height: 300px;
  background: url(../content/media/placeholders/earth.jpg);
  border-radius: 50%;
  background-size: 610px;
  box-shadow: inset 8px 36px 80px 36px rgb(0, 0, 0, 0.6), inset -6px 0 12px 4px rgba(255, 255, 255, 0.3);
  animation-name: rotate;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-name: rotate;
     -webkit-animation-duration: 12s;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-timing-function: linear;
	margin-left: calc(50% - 150px);	 
	margin-top:2em;
	position: relative;
    overflow: hidden;
}

div#earth:before, div#earth:after, div#earth #fromAirport {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
	  animation-name: movemarker;
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  -webkit-animation-name: movemarker;
     -webkit-animation-duration: 12s;
     -webkit-animation-iteration-count: infinite;
     -webkit-animation-timing-function: linear;
	 transition:opacity 0.4s;
	 -webkit-transition:opacity 0.4s;
	 opacity:0;
}

div.spinning#earth:before, div.spinning#earth:after {
/*	opacity:1; */
}

div#earth canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

div#earth #fromAirport {
	background-image:url(../content/media/animations/plane.svg);
    left: -108%;
    top: 20%;
    background-color: transparent !important;
	background-size:contain;
	background-repeat:no-repeat;
	opacity:1;
}

div#earth:before, div#earth:after {
    background-color: orange;
    left: 10%;
    top: 50%;
	width:7px;
	height:7px;
}

#boardingPass {
	background-image: url(../content/media/other/boarding.png);
    background-size: contain;
    width: 50%;
    padding-bottom: 21.3%;
    transform: rotate(-5deg) translate(88%,52%);
    position: relative;
    top: -55px;
    background-repeat: no-repeat;
	box-shadow: 4px 4px 5px 5px rgb(0 0 0 / 30%);
    border-radius: 10px;
}

#boardingPass .boardName {
	position:absolute;
	left:12.5%;
	top:39%;
	font-size: 0.7em;
	text-transform:uppercase;
    font-weight: bold;
	color:#ff363c;
}

#boardingPass #nameRight.boardName {
	left: 75.5%;
    top: 30%;
    font-size: 0.5em;
}

#boardingPass .boardName:empty:before {
	content:"YOUR NAME HERE";
}

#boardingPass .originFrom {
	font-size: 0.5em;
    left: 18.5%;
    top: 55.5%;
    position: absolute;
	text-transform:uppercase;
    font-weight: bold;
	color:#ff363c;
}

#boardingPass #fromRight.originFrom {
	left: 81.5%;
    top: 39%;
}

#boardingPass .destTo {
	font-size: 0.5em;
    left: 18.5%;
    top: 62.5%;
    position: absolute;
	text-transform:uppercase;
    font-weight: bold;
	color:#ff363c;
}

#boardingPass #toRight.destTo {
	left: 81.5%;
    top: 45.5%;
}

#boardingPass .destTo:empty:before {
	content:"WHEREVER";
}

#boardingPass .originFrom:empty:before {
	content:"Dublin";
}

@keyframes movemarker {
  from {
    transform:translateX(0%);
  }
  to {
    transform:translateX(610px);
  }

}

@keyframes rotate {
  from {
    background-position: 0px 0px;
  }
  to {
    background-position: 610px 0px;
  }
}
@-webkit-keyframes rotate {
  from {
    background-position: 0px 0px;
  }
  to {
    background-position: 610px 0px;
  }
}


#backButton {
	background-image: url(../content/media/nav-icons/back.png);
    background-repeat: no-repeat;
    position: absolute;
    bottom: -1em;
    right: 5%;
    width: 7%;
    height: 79px;
    background-size: contain;
    z-index: 999;
	cursor:pointer;
}

div.avatar-puppet.speaking:before, div.avatar-puppet.speaking.likes:after, div.avatar-puppet.speaking.ok:after {
    position: absolute;
    background-image: url(../content/media/avatar-icons/speech.svg);
    background-size: 100%;
    top: 16%;
    right: 10%;
    width: 40%;
    height: 25%;
    /* background-color: red; */
    background-repeat: no-repeat;
    text-align: center;
    color: #0A5D5E;
    line-height: 300%;
    display: block;
    font-size: 2em;
    font-weight: bold;
	content:"";
	z-index: 1000;
	font-family:Arial, Helvetica, sans-serif;
}

div.avatar-puppet.speaking.safe:before {
    content: "SAFE" !important;
}

div.avatar-puppet.speaking.count:before {
    content: "1, 2, 3" !important;
}

div.avatar-puppet.speaking.ok:after {
	content: "OK" !important;
}

div.avatar-puppet.speaking.likes:after {
	background-image: url(../content/media/avatar-icons/heart.svg) !important;
	width: 20%;
    top: 20%;
    right: 18%;
}

div#animation-puppet.buddy .avatar-container {
    z-index: 2;
    position: relative;
	left:-10%;
}

div#animation-puppet.buddy:before {
    content: "";
    display: block;
    position: absolute;
    background-image: url(../avatars/buddy.svg);
    background-size: contain;
    background-position: right;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 20%;
	z-index:1;
}

#sand {
	margin-left: 25%;
    margin-top: 9vh;
    width: 50%;
	max-height:50vh;
    background-image: url(../content/media/other/hourglass.jpg);
	background-size:contain;
}

div.orientation {
	padding-left:30%;
	text-align:center;
}

div.orientation a.box {
	min-width:50%;
}

#progressBar, #progress {
    width: 90%;
    border-radius: 5px;
    height: 10px;
	transition:opacity 0.4s;
	display:none !important;
}

#progressBar {
    background-color: #DEDEDE;
    margin: 0px 5%;
	opacity:0;
	margin-top:1em;
}

#progress {
	background-color:rgb(1,128,129,0.75);
	width:100%;
	transition: width 1s;
}

#progressBar.counting {
	opacity:1;
}

#progressBar.counting #progress {
	width:0px;
	transition:width 20s;
}

#progressBar.counting #progress[data-type="waiting"], #progressBar.counting #progress[data-type="quick"] {
	transition:width 30s;
}

li[data-category] {
	background-repeat:no-repeat;
	background-position:bottom left;
	background-size:60px auto;
}

.surroundings .box:not(.letterbox)::before {
	background-repeat:no-repeat;
	background-position:top right;
	background-size:60px auto;	
}

ul.cards li.card.active ul.subcards li audio {
    width: 96%;
    margin-top: 20%;
    margin-bottom: 20%;
	position: absolute;
    top: 15%;
    left: 0px;
}

#avatar-bubble {
	border-radius: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid #7AD3DE;
    bottom: 117%;
    position: absolute;
    left: 66%;
    box-shadow: 4px 4px 12px rgb(10 93 94 / 45%);
	display:none;
	background-size: 80%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#avatar-bubble:before {
	border-radius: 50%;
	content:"\00A0";
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
    background: rgb(165,220,232);
	background: linear-gradient(133deg, rgba(165,220,232,1) 0%, rgba(57,142,147,1) 40%);	
	z-index:-1;
}