.processing,
.processing form input,
.processing form input[type=submit] { cursor: wait; }

body.type_pages main > header,
body.type_blog main > header,
body.type_channelIndex main > header {
  min-height: 0;
}
body.type_pages main > header > div,
body.type_blog main > header > div,
body.type_channelIndex main > header > div {
  padding: 1em 0;
}
body.type_pages main > header h1,
body.type_blog main > header h1,
body.type_channelIndex main > header h1 {
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0;
}

body > footer {
  background-color: #006084;
  padding: 1em;
}

body > footer > div,
body.type_pages > footer > div {
    width: auto;
    max-width: none;
}

main h1, main h2 {
  font-weight: bold;
  width: 100%;
  border-bottom: 1px solid #006084;
}

main h2.fold_trigger {
  border-bottom: none;
}

#searchtrigger {
  padding-left: 1em;
}

  body > header nav > ul > li > ul {
    background: #fff;
  }

/* forms */

form {
  background: rgb(229,230,232);
  background: -moz-linear-gradient(top, rgba(229,230,232,1) 0%, rgba(239,240,242,1) 20px, rgba(239,240,242,1) 100%);
  background: -webkit-linear-gradient(top, rgba(229,230,232,1) 0%,rgba(239,240,242,1) 20px,rgba(239,240,242,1) 100%);
  background: linear-gradient(to bottom, rgba(229,230,232,1) 0%,rgba(239,240,242,1) 20px,rgba(239,240,242,1) 100%)
}

form input[type=text], form input[type=password], form input[type=email], form input[type=number], form select, form option {
  background-color: #fff;
  border: 2px solid #999;
}

input[type=button] {
  color: #fff;
  border: none;
  background-color: #006084;
  border-radius: 0.5em;
  padding: 0.75em 1.5em;
  font-size: 1em;
  font-weight: bold;
  margin: 0 1em 0 0;
  display: inline-block;
  -webkit-appearance: none;
}

input[type=submit], input[type=button], button, a.button,
.matrix_intro_section .matrix_linkout {
    background: #006084;
    color: #fff;
    border-radius: 0;
}
input[type=submit]:hover, button:hover, a.button:hover,
.matrix_intro_section .matrix_linkout:hover {
  background: #0f005b;
  text-decoration: none;
  cursor: pointer;
}


/* textwithimage */
.type_pages .textWithImage {     font-size: 1.5em; }
.textWithImage figure,
.textWithImage figure::after {
  transition: all 0.5s ease;
}
.textWithImage:hover figure {
  transform: translateY(1em);
}
.textWithImage:hover figure::after {
  transform: translateY(-1em);
  width: 10em;
  opacity: 1;
}
.textWithImage figure::after {
  content: " ";
  display: block;
  width: 6em;
  height: 1em;
  margin: 0.5em auto;
  opacity: 0.5;
  background: -moz-radial-gradient(center, ellipse cover,    rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0) 60%);
  background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0) 60%);
  background: radial-gradient(ellipse at center,             rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0) 60%);
}
.textWithImage a {
  color: #742372;
  font-weight: bold;
}

/* asides */
.wide_box, img.wide_image, .wide_image img {
    width: 100%;
    padding: 0.5em 50% 2em;
    margin: 1em -50%;
    background-color: rgba(0,0,0,0.04);
    clear: both;
    box-sizing: content-box;
}

img.wide_image {
  padding: 0 50%;
  background-color: #006085;
}


/* homepage */

body.type_homepage main #content > .row > .col {
  text-align: center;
}
body.type_homepage main #content > .row > .col:first-child > p {
  margin: 0.2em 0;
  font-size: 140%;
}

.homeline_a, .homeline_b, .homeline_c, .homeline_d {
  display: block;
  line-height: 0.85em;
  font-weight: bold;
  text-transform: uppercase;
  color: #006084;
}

.homeline_a { font-size: 107%; }
.homeline_b { font-size: 142%; }
.homeline_c {
  color: #777;
  text-transform: lowercase;
  font-weight: normal;
  font-size: 77.5%;
  line-height: 1.2em;
}
.homeline_d { font-size: 155%; color: #446a31; }

.lang_fr .homeline_a { font-size: 107%; }
.lang_fr .homeline_b { font-size: 73%; line-height: 1.2em; }
.lang_fr .homeline_c {
  font-weight: bold;
  font-size: 143%;
  line-height: 0.7em;
  text-transform: uppercase;
  color: #446a31;
}
.lang_fr .homeline_d {
  color: #777;
  text-transform: lowercase;
  font-weight: normal;
  font-size: 67.5%;
  line-height: 1em;
}
.lang_fr .homeline_e {
  color: #777;
  text-transform: lowercase;
  font-weight: normal;
  font-size: 63%;
  line-height: 1em;
}

/* matrix */

body#page_for-applicants > footer {
  display: none;
}

body[id^=page_matrix] form {
  background: transparent;
}

body[id^=page_matrix-3] {
  background: #fff;
}
body[id^=page_matrix-3] .page-question {
  display: block;
}
body[id^=page_matrix-3] .page-question > .signposts-wrapper {
  position: relative;
  box-shadow: 10px 10px 20px 10px rgba(0, 0, 0, 0.15);
}
body[id^=page_matrix-3] .page-question > .signposts-wrapper > .signpost:first-child {
  text-indent: -0.7em;
}
body[id^=page_matrix-3] .page-question > .question-images-wrapper {
  display: block;
  background-color: #006084;
  color: #fff;
  width: 100%;
  padding: 1em 0.5em;
  font-size: 1em;
}
body[id^=page_matrix-3] .page-question > .question-images-wrapper > p {
  width: 90%;
  max-width: 80rem;
  margin: auto;
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
}
body[id^=page_matrix-3] .page-question > .question-contents-wrapper {
  width: 90%;
  max-width: 80rem;
  margin: auto;
}
body[id^=page_matrix-3] .page-question > .question-contents-wrapper > .progress-bar-wrapper,
body[id^=page_matrix-3] .page-question > .question-contents-wrapper > .question-wrapper {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

hr.swoosh {
  display: block;
  width: 100vw;
  margin: 2em -50vw;
  padding: 0 50vw;
  box-sizing: content-box;
  height: 1em;
  background: #446a31;
}

/* Client area links */
.client_area_links_wrapper {
  text-align: right;
}

.client_area_links {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.75em 1em;
  margin: 0.5em 0.5em 0 0;
  clear: both;
  background-color: #742372;
  color: #fff;
  border-radius: 1.5em;
  display: inline-block;
}

.client_area_links > a {
  color: #fff;
}

#page_homepage .client_area_links_wrapper { /* exception for homepage */
  text-align: center;
}

#page_homepage .client_area_links_wrapper > p {
  text-align: left;
  font-size: 0.85em;
}


/*
.page-question > .question-contents-wrapper > .question-wrapper .question-message,
.page-question > .question-contents-wrapper > .question-wrapper .calendar-message {
  box-shadow: 3px 3px 18px 9px #f0f0f0;
}
*/

@media (min-width: 55em) {
	#page_homepage #content {
		position: relative;
	}  

	#page_homepage .client_area_links { /* exception for homepage */
		display: block;
	}
}


@media (min-width: 60em) {
	body > header nav > ul > li > ul {
		top: 5rem;
	}
	body > header nav > ul > li:hover > ul,
	body > header nav > ul > li:focus > ul,
	body > header nav > ul > li.childfocus > ul {
		padding: 1.5em 2em 3em;
	}

	#searchtrigger {
		padding-left: 1.5em;
	}
}


@media (min-width: 70em) {
  body > footer {
    padding: 1.5em;
  }
  body > header#navheader nav,
  body > header#navheader > div {
      top: 2.4rem;
  }
  body > header#navheader nav {
    top: 0;
    height: 100%;
  }
  body > header#navheader nav > ul > li {
    padding: 2.4rem 0.5em;
  }
  body > header nav > ul > li:hover > ul,
  body > header nav > ul > li:focus > ul,
  body > header nav > ul > li.childfocus > ul {
    top: 5.5rem;
  }

  body > header form#search {
    padding: 1.5em 2em;
    background-position: 1.5em 1.5em;
    background-size: auto 3em;
  }
  body > header #searchclose {
    top: 1em;
  }
}

@media (min-width: 80em) {
  body.type_homepage main #content > .row > .col:first-child > p {
    font-size: 200%;
  }
}
@media (min-width: 120em) {
  body > header#navheader nav {
      top: 0rem;
  }
}


/* ===== SURVEY POPUP ===== */
#survey-popup {
	max-width: 60rem;
	width: 90%;
	margin: 1.5em auto 0;
	background: #fff;
	z-index: 9999;
	position: fixed;
	top: 0;
	box-shadow: 0.25em 0.25em 0.75em 0.25em #9f9f9f;
	display: none;
}

#survey-popup-contents {
	color: #000000;
	padding: 2rem 1.5rem 2rem 2.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.survey-popup-left {
	width: 57%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	text-align: left;
}

#survey-popup-contents .survey-popup-left .survey-popup-left-header > h2 {
	color: #4f7040;
	font-size: 3.8em;
	font-weight: 700;
	line-height: 1;
	margin: 0.25em 0;
	border-bottom: none; /* For Feedback page */
}

#survey-popup-contents .survey-popup-left .survey-popup-left-header > h3 {
	color: #4f7040;
	font-size: 2.5em;
	font-weight: 400;
	margin: 0.25em 0;
}

.survey-popup-left-footer p {
	color: #4f7040;
	font-size: 2em;
	line-height: 1;
}

.survey-popup-right {
	width: 40%;
	text-align: center;
}

.survey-popup-right img {
	width: 100%;
	transform: rotate(10deg);
	margin-bottom: -1.8em;
	position: relative;
}

.survey-popup-right-header > figure { /* For Feedback page */
	margin-bottom: 0;
}

#survey-popup-button {
	background-color: #266788;
	color: #ffffff;
	text-decoration: none;
	font-size: 1.5em;
	padding: 1.25em 2em;
	margin-bottom: 0.5em;
	display: inline-block;
	position: relative;
	z-index: 1;
}

#survey-popup-button:hover {
	text-decoration: underline;
}

#survey-popup-right-footer-2 {
	text-decoration: underline;
}

#survey-popup-contents #popup-cross {
	color: #ffffff;
	background-color: #4f7040;
	text-decoration: none;
	position: absolute;
	font-size: 2em;
	top: -0.5em;
	right: -0.5em;
	padding: 0.4em;
	border: 4px solid #ffffff;
	border-radius: 1em;
}
 
.popup-close:hover {
	cursor: pointer;
}

#popup-overlay {
	z-index: 9998;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(255, 255, 255, 0.6);
}

/* ===== CLIENT AREA ===== */
#survey-section #survey-popup-contents { padding: 0; }
#survey-section #survey-popup-contents .survey-popup-left .survey-popup-left-header > h2 { font-size: 2em; }
#survey-section #survey-popup-contents .survey-popup-left .survey-popup-left-header > h3 { font-size: 1.3em; }
#survey-section .survey-popup-left-footer p { font-size: 1.3em; }
#survey-section #survey-popup-button { padding: 0.75em 2em; }


@media (max-width: 70rem) {
	/* ===== HOME POPUP ===== */
	#survey-popup #survey-popup-contents {
		flex-direction: column;
		padding: 1rem 1rem;
	}

	.survey-popup-left, .survey-popup-right {
		width: 100%;
	}

	.survey-popup-right {
		display: flex;
		justify-content: space-around;
		align-items: end;
	}

	#survey-popup-contents .survey-popup-left .survey-popup-left-header > h2 { font-size: 2em; }
	#survey-popup-contents .survey-popup-left .survey-popup-left-header > h3 { font-size: 1.3em; }
	.survey-popup-left-footer p { font-size: 1.3em; }
	.survey-popup-right-header { width: 50%; }
	#survey-popup-button { padding: 0.5em 0.75em; font-size: 1.3em; }

	#survey-popup-contents #popup-cross {
		font-size: 1em;
		border-radius: 2em;
		padding: 0.4em 0.7em;
	}
}


@media (max-width: 45rem) {
	.survey-popup-right { flex-direction: column; align-items: center; }
	#survey-popup-button { padding: 0.5em 0.4em; }
}
