body.noscroll {
	overflow: hidden;
}
#journey-tray {
	position: fixed;
	bottom: -200px;
	left: 0;
	display: flex;
	width: 100%;
	height: 270px;
	background-color: #000f33;
	padding: 20px 20px 0;
	z-index: 100;
	box-shadow: 0 -3px 6px rgba(0,0,0,0.16), 0 -3px 6px rgba(0,0,0,0.23);
	transition: 0.25s ease;
}
#journey-tray.empty {
	display: none;
}
#journey-tray.expanded {
	bottom: 0;
}
.traySwitch {
	cursor: pointer;
	flex: 1;
}
#journey-tray.expanded .traySwitch .caret {
	transform: scaleY(-1);
}
.resourceGroupResources a,
.cancelNavigation {
	color: #00A9E0
}
.resourceGroupResources a:hover,
.cancelNavigation:hover {
	color: #1473a9;
}
.resourceGroups {
	flex: 4;
	display: none;
	position: relative;
}
#journey-tray.expanded .resourceGroups {
	display: inherit;
}
.resourceGroups > ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 100%;
	width: 100%;
}
.resourceGroupContainer {
	position: relative;
	transition: 0.25s ease;
	top: 0;
}.resourceGroupContainer:not(.expanded):hover {
	box-shadow: 0 0px 8px 4px rgb(0,169,224);
}
.resourceGroupContainer.expanded {
	top: -270px;
	box-shadow: 0 -3px 6px rgba(0,0,0,0.16), 0 -3px 6px rgba(0,0,0,0.23);
}
.resourceGroup {
	padding-right: 10px;
	display: inline-block;
	width: 25%;
	vertical-align: top;
}
.resourceGroup + .resourceGroup {
	padding-left: 10px;
}
.resourceGroup:last-child {
	padding-right: 0;
}

.resourceGroupCard {
	height: 250px;
	cursor: pointer;
}
.resourceGroupCardTop {
	height: 140px;
	background-size: cover;
}
.resourceGroupCardBottom {
	height: 130px;
	background-color: #eceeee;
	color: #002D72;
	font-size: 18px;
	line-height: 20px;
	text-align: center;
	padding: 10px;
	font-weight: bold;
}
.resourceGroupCardBottom .caret {
	margin: 5px auto 0;
	background-image: url(../img/caret-blue.png);
}
.resourceGroupContainer.expanded .caret {
	transform: scaleY(1);
}
.resourceGroupResources {
	height: 270px;
	overflow: scroll;
	background-color: #FFF;
	padding: 0 17px;
}
.resourceGroupResources ul {
	margin: 0;
	list-style-type: none;
}
.resourceGroupResources li {
	text-align: center;
	padding: 10px 0;
}
.resourceGroupResources li.resourceSeparator {
	border-top: 2px solid #CCC;
	width: 80px;
	margin: 0 auto;
	padding: 0px;
}

@keyframes switch-caret {
	25% { opacity: 0; }
	75% { opacity: 1; }
}
.traySwitch .caret {
	transform: scaleY(1);
	position: relative;
}
.traySwitch .caret div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
}
.traySwitch .caret div:first-child {
  background-image: url('../img/caret-dark-blue.png');
}
.traySwitch .caret div:last-child {
  background-image: url('../img/caret-yellow.png');
  animation: switch-caret 3s ease infinite;
}
#journey-tray:hover .traySwitch .caret div:last-child {
	background-image: url(../img/caret-light-blue.png);
	animation: none;
}
.caret {
	width: 24px;
	height: 24px;
	display: inline-block;
	vertical-align: middle;
	transform: scaleY(-1);
	background-size: contain;
}
.traySwitch .title {
	color: #FFF;
	display: inline-block;
	margin-left: 5px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
}
#journey-tray:hover .traySwitch .title {
	color: #00A9E0;
}
.trayInfo .controlLinks,
.trayInfo .paginationLinks {
	display: flex;
	justify-content: space-between;
}
.paginateButton {
	position: absolute;
	top: 64px;
	height: 162px;
	width: 38px;
	background-color: #00a9e0;
	cursor: pointer;
	display: none;

    background-image: url(../img/caret-right-white.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 14px 21px;
}
.paginateButtonRight {
	right: -20px;
}
.paginateButtonLeft {
	left: -20px;
	transform: scaleX(-1);
}
.trayInfo {
	position: absolute;
	left: 20px;
	bottom: 20px;
}
.paginationDisplay {
	color: #FFF;
	text-align: center;
}

.trayInfo .paginationLinks.showingAll {
	display: none;
}
.trayInfo .paginationLinks.firstPage .previousLink,
.trayInfo .paginationLinks.lastPage .nextLink {
	color: #999;
	cursor: default;
}
.resourceGroupResources .icon {
	display: inline-block;
	background-size: cover;
	margin-right: 6px;
}
.resourceGroupResources .icon.icon-pdf {
	background-image: url(../img/icon-pdf.png);
	width: 12px;
	height: 16px;
}
.resourceGroupResources .icon.icon-video {
	background-image: url(../img/icon-video.png);
	width: 16px;
	height: 12px;
}

.journey-modal {
	border: 2px solid #002D72;
	padding: 60px 0;
}

.journey-modal h3 {
	color: #002D72;
	text-align: center;
	font-weight: 900;
}

.journey-modal p {
	text-align: center;
	margin: 20px auto 40px;
}

.journey-modal .button-row {
	display: flex;
	justify-content: center;
	align-items: center;
}
.journey-modal .button-row button {
	height: 40px;
	border-radius: 20px;
	padding: 0 20px;
	text-transform: uppercase;
	font-weight: 900;
	margin: 0 10px;
	cursor: pointer;
	transition: all .25s ease-in-out;
	color: #fff;
}
.journey-modal .button-row button:hover {
	background-color: #031736;
	color: #fff;
	border-color: #031736;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.journey-modal .button-row .primary-button {
	background-color: #004ea8;
}
.journey-modal .button-row .journey-close-button {
	border: 2px solid #004ea8;
	color: #031736;
}

.journey-start-over.journey-modal p {
	max-width: 380px;
}
.journey-exit.journey-modal p {
	max-width: 500px;
}
.journey-exit.journey-modal .caret {
	background-image: url(../img/caret-blue.png);
	transform: scaleY(1);
	margin: 0 4px;
}
#journey-video-modal {
	width: 605px;
	height: 400px;
	padding: 50px 20px 20px;
}

/* Desktop only */
@media (min-width: 1024px) {
	.paginateButton {
		display: inline-block;
	}
}
/* Tablet and mobile */
@media (max-width: 1023px) {
	#journey-tray {
		transition: initial;
		flex-direction: column;
		align-items: center;
		overflow-y: auto;
	}
	.traySwitch {
		text-align: center;
		flex: none;
	}
	.trayInfo {
		position: static;
		width: 140px;
		margin: 0 auto;
		display: none;
	}
	#journey-tray.expanded {
		top: 98px;
		height: auto;
	}
	#journey-tray.expanded .trayInfo {
		display: block;
	}
	.resourceGroup {
		display: inherit;
		width: initial;
		margin: 10px;
		padding: 0;
	}
	.resourceGroup .resourceGroupResources {
		display: none;
		height: auto;
	}
	.resourceGroup .resourceGroupCardTop {
		display: none;
	}
	.resourceGroupContainer {
		position: static;
	}
	.resourceGroupContainer.expanded .resourceGroupResources {
		display: inherit;
	}
	.resourceGroupCard {
		height: inherit;
	}
	.resourceGroup + .resourceGroup {
		padding-left: 0px;
	}
	.resourceGroupCardBottom {
		height: auto;
		display: flex;
		align-items: center;
	}
	.resourceGroupCardBottom .title {
		order: 2;
		text-align: left;
	}
	.resourceGroupCardBottom .caret {
		order: 1;
		margin: 0 10px 0 0;
		flex: none;
	}
	.resourceGroups {
		flex: none;
		width: 100%;
	}
	.journey-modal {
		padding: 20px;
	}
	.journey-modal p {
		margin-bottom: 20px;
	}
	.journey-modal .button-row {
		flex-direction: column;
	}
	.journey-modal .button-row .journey-close-button {
		margin-top: 20px;
	}
}
/* Phone only */
@media (max-width: 639px) {
	#journey-tray.expanded {
		top: 58px;
	}
	html.is-reveal-open, html.is-reveal-open body {
		min-width: 100%;
	}
	#journey-video-modal {
		width: auto;
	}
	.iframeWrapper {
		position: relative;
		padding-bottom: 56.25%;
	}
	iframe#journey-video-iframe {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		max-width: 560px;
		max-height: 315px;
	}
}