body[id^=page_matrix] #navheader { display: none; }
body[id^=page_matrix] > footer { display: none; }
body[id^=page_matrix] {
	padding-top: 0;
	padding-bottom: 7em; /* footer height */

	background: -moz-linear-gradient(left,    rgba(225,228,240,1) 0%, rgba(225,228,240,1) 30%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 100%);
	background: -webkit-linear-gradient(left, rgba(225,228,240,1) 0%, rgba(225,228,240,1) 30%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to right,     rgba(225,228,240,1) 0%, rgba(225,228,240,1) 30%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 100%);

}


/* ----- Channel: Questions ----- */
.page-question {
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.page-question > .signposts-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	/* background-color: #006084; */
	background-color: #5b075f;
	box-shadow: 0 8px 6px 6px rgba(180, 180, 180, 0.5);
	z-index: 1;
}

.page-question > .signposts-wrapper > .signpost{
	width: 25%;
	max-width: 23em;
	text-align: center;
	color: #ffffff;
	padding: 0 0.5em;
	margin: 0.5em 0;
	font-size: 0.9em;
}

.page-question > .signposts-wrapper > .signpost a{
	color: #ffffff;
}


.page-question > .signposts-wrapper > .signpost ~ .signpost{ /* Not the first */
	border-left: 1px solid #ffffff;
}


/* Tooltip container */
.signpost-tooltip, .button-tooltip, .tooltip-container {
	position: relative;
	display: inline-block;
}

/* Tooltip text */
.signpost-tooltiptext, .button-tooltiptext, .tooltiptext{
	visibility: hidden;
	width: 20em;
	background-color: #eeeeee;
	color: #404040;
	text-align: center;
	padding: 0.3em;
	border-radius: 6px;

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	top: 125%;
	left: 50%;
	margin-left: -10em;

	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.3s;
}
.tooltiptext.show {
	opacity: 1;
	visibility: visible;
}

.button-tooltiptext{
	width: 10em;
	margin-left: -4.5em;
	top: -125%;
	bottom: 125%;
}
.fold_trigger .tooltiptext {
	top: -2em;
	left: 50%;
}

/* Tooltip arrow */
.signpost-tooltiptext::after, .button-tooltiptext::after, .fold_trigger .tooltiptext::after{
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #eeeeee transparent;
}

.button-tooltiptext::after, .fold_trigger .tooltiptext::after {
	top: 100%;
	border-color: #eeeeee transparent transparent transparent;
}
/*
.fold_trigger .tooltiptext::after {
	bottom: 0;
	left: -5px;
	border-color: transparent #eeeeee transparent transparent;
}
*/
/* Show the tooltip text when you mouse over the tooltip container */
.signpost-tooltip:hover .signpost-tooltiptext,
.button-tooltip:hover .button-tooltiptext,
.fold_trigger:hover .tooltiptext
{
	visibility: visible;
	opacity: 1;
}


.page-question > .question-images-wrapper{
	background-color: #e1e4f0;
	width: 30%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1em 0 4em;
}

.page-question > .question-images-wrapper > p{
	font-size: 1.3em;
	font-weight: 700;
}

.page-question > .question-images-wrapper > img{
	width: 100%;
	max-width: 480px;
	max-height: 30vw;
/*	display: block;
	margin: 0 auto;*/
}

.page-question > .question-contents-wrapper{
	width: 70%;
	max-width: 56em;
	padding: 1em 0 2em;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

.page-question > .question-contents-wrapper > .progress-bar-wrapper{
	align-self: stretch;
	margin: 0.25em 1.5em;
}

.page-question > .question-contents-wrapper > .progress-bar-wrapper > .progress-bar-box{
	display: flex;
	align-items: center;
	margin-bottom: 1em;
	border: 1px solid #cccccc;
}

.page-question > .question-contents-wrapper > .progress-bar-wrapper .progress-count{
	padding: 1em 4em 1em 1.5em;
	border-right: 1px solid #cccccc;
}

.page-question > .question-contents-wrapper > .progress-bar-wrapper .progress-right{
	padding: 1em 1.5em;
	display: flex;
	align-items: center;
	flex-grow: 20;
}

progress.progress-bar{ /* IE */
	color: #5b075f;
	border-radius: 6px;
	flex-grow: 100;
	margin: 0 0.5em;
}

progress.progress-bar::-moz-progress-bar{ /* Firefox */
	background-color: #5b075f;
	border-radius: 0.4em 0 0 0.4em;
}

progress.progress-bar::-webkit-progress-bar{ /* Webkit */
	background-color: #eeeeee;
	border-radius: 0.4em;
}

progress.progress-bar::-webkit-progress-value{ /* Webkit */
	background-color: #5b075f;
	border-radius: 0.4em 0 0 0.4em;
}

.page-question > .question-contents-wrapper > .question-wrapper{
	padding: 0.5em;
	margin: 0.5em 1em;
	align-self: stretch;
}

#dmx-calendar-wrapper, #dmx-calendar{
	font-size: 1.1em;
}

.page-question > .question-contents-wrapper > .question-wrapper > .question-answer{
	padding-bottom: 0.25em;
}

.page-question > .question-contents-wrapper > .question-wrapper > p{
	font-size: 1em;
}

.page-question > .question-contents-wrapper > .question-wrapper .message-box{
	display: none;
	background-color: #f6f6f6;
	padding: 1.5em;
	margin: 2em 1.5em;
	box-shadow: 3px 3px 18px 9px #f0f0f0;
	color: #006084;
}

.page-question > .question-contents-wrapper > .question-wrapper .question-message-inner{
	display: flex;
	align-items: flex-start;
}

.page-question > .question-contents-wrapper > .question-wrapper .question-message-inner > img.icon-warning{
	width: 60px;
	min-width: 60px;
	height: 60px;
	margin: 0 2em 0.5em 0;
}

.page-question > .question-contents-wrapper > .question-wrapper .message-text{
	font-size: 1.3em;
}

.page-question > .question-contents-wrapper > .question-wrapper .message-text p:first-child{
	margin-top: 0;
}

.page-question > .question-contents-wrapper > .question-wrapper .message-text strong{
	color: #404040;
}

.page-question > .question-contents-wrapper > .question-wrapper .message-text a{
	color: #55015b;
	text-decoration: underline;
}

.page-question > .question-contents-wrapper > .question-wrapper .message-text a:hover{
	color: #e41627;
}

input#postal-code[type="text"]{
	font-size: 1em;
}

input#postal-submit[type="button"]{
  font-size: 0.75em;
  padding: 0.25em 1em 0.4em;
  position: relative;
  top: -0.15em;
}

.page-question form.form-dmx-next{
	border: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.page-question form > textarea#prev_answer_extra,
.page-question form > textarea[name="prev_answer_extra"]{
	background-color: #ffffff;
	border: 1px solid #000000;
	width: 80%;
	margin-bottom: 1em;
	font-size: 1.3em;
}

.page-question form#form-dmx-calendar{
	align-items: flex-start;
}

.page-question form#form-dmx-calendar input#dmx-calendar{
	width: calc(100% - 28px);
	border: 1px solid #404040;
	line-height: 1.3em;
}

.page-question form#form-dmx-calendar input[type="submit"]{
	align-self: center;
}

/* ----- Question Footer ----- */
.page-question .question-footer-outer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #006084;
	padding: 1.5em;
}

.page-question .question-footer-outer::before,
.page-question .question-footer-outer::after {
	content: " ";
	position: absolute;
	right: -20em;
	height: 17em;
	width: 40em;
	background-color: #eee;
	bottom: -10em;
	border-radius: 100%;
}

.page-question .question-footer-outer::after {
	background-color: #446a31;
	width: 37em;
}

.page-question .question-footer .button-img{
	background-color: transparent;
	padding: 0;
	margin: 0 0.75em;
	height: 3.75em;
}

.page-question .question-footer .button-img#forward-button:hover{
	cursor: pointer;
}

.matrix_intro_section .matrix_linkout{
	background-color: #ffffff;
	color: #e41627;
	font-family: "Arial", "open-sans", sans-serif;
	transition: 0.5s;
}

.matrix_intro_section .matrix_linkout:hover{
	background-color: #e41627;
	color: #ffffff;
	text-decoration: none;
	transition: 0.5s;
}

/* ----- Date Picker Customization ----- */
.datepicker-container{
	font-size: 1em;
	width: 252px;
	line-height: 36px;
}

.datepicker-panel > ul > li{
	width: 36px;
	height: 36px;
}

.datepicker-container .datepicker-panel > ul > li.picked{
	background-color: #006084;
	color: #ffffff;
}

.datepicker-panel > ul > li[data-view="years current"], .datepicker-panel > ul > li[data-view="year current"], .datepicker-panel > ul > li[data-view="month current"] {
    width: 180px;
}

.datepicker-panel > ul[data-view="years"] > li, .datepicker-panel > ul[data-view="months"] > li {
    height: 63px;
    line-height: 63px;
    width: 63px;
}

.videos-wrapper{
	display: flex;
	flex-wrap: wrap;
}

.single-video{
	width: 33%;
	padding: 0 1em 2em;
	border-left: 2px solid #cccccc;
}

.video-description{
	font-size: 0.9rem;
}

#video-view h1{
	margin: 0;
}

#video-view {
	display: none;
	width: 560px;
	height: 315px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #666666;
	position: fixed;
	z-index: 2;
	box-shadow: 0 0 14px 14px rgba(90, 90, 90, 0.5);
}

#modal-bg {
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
}

@media (max-width: 67.5em) {
	/* ----- Question Matrix ----- */
	.single-video{
		width: 50%;
	}
}

@media (max-width: 55em) {
	body[id^=page_matrix] .navtrigger {
		position: fixed;
		left: auto;
		right: 0.5em;
		top: 0.5em;
	}
	#signposts {
		position: fixed;
		width: 100%;
		top: 0;
		border-top: 3em solid #fff;
		box-shadow: none;
		overflow: hidden;
		transition: all ease 0.5s;
		max-height: 20em;
	}
	#signposts.rolledup {
		border-top: 0 solid #fff;
		max-height: 0;
	}

	.page-question > .question-contents-wrapper > .progress-bar-wrapper .progress-count{
		padding: 1em;
	}
	.signpost-tooltiptext, .button-tooltiptext, .tooltiptext{ display: none!important; }
}

@media (max-width: 45em) {
	body[id^=page_matrix] {
		background: #fff;
	}

/* ----- Channel: Questions ----- */
	.page-question > .question-contents-wrapper{
		width: 100%;
	}

	/* ----- Channel: Questions ----- */
	.page-question > .signposts-wrapper > .signpost{
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0.5em 0;
	}

	.page-question > .signposts-wrapper > .signpost ~ .signpost{ /* Not the first */
		border-left: none;
		border-top: 1px solid #ffffff;
	}

	.signpost-tooltiptext{ /* Tooltips */
		top: -250%;
	}

	.signpost-tooltiptext::after{
		top: 100%;
		border-color: #eeeeee transparent transparent transparent;
	}

	.page-question > .question-images-wrapper{
		display: none;
		/*	width: 100%;
		flex-direction: row;
		justify-content: center;
		padding: 1em 0;	*/
	}
/*
	.page-question > .question-images-wrapper > img{
		max-width: 200px;
		margin: 0 1em;
	}
*/
	.page-question > .question-contents-wrapper > .progress-bar-wrapper > .progress-bar-box{
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 0;
	}

	.page-question > .question-contents-wrapper > .progress-bar-wrapper .progress-count{
		border: none;
		padding-bottom: 0;
		padding-left: 1.5em;
	}

	.page-question > .question-contents-wrapper > .progress-bar-wrapper .progress-right{
		width: 100%;
	}

	.question-message-inner{
		flex-direction: column;
		align-items: flex-start;
	}

	.question-message-inner > img{
		margin: 0 0 1em 0;
	}

	.single-video{
		width: 100%;
		padding: 1em 0;
		border-top: 2px solid #cccccc;
		border-left: none;
	}
}


@media (max-width: 35em) {

	.page-question > .question-contents-wrapper > .question-wrapper .message-box{
		padding: 0.5em;
		margin: 0;
	}

	.page-question .question-footer-outer::before,
	.page-question .question-footer-outer::after {
		right: -27em;
	}

	.page-question .question-footer{
		position: relative;
		z-index: 1;
	}

	.page-question .question-footer .button-img{
		height: 3em;
	}

	.fold_trigger .tooltiptext {
		left: 50%;
	}
}
