/*!
Theme Name: flexer-theme
Theme URI: http://underscores.me/
Author: Daveed Flexer
Author URI: https://flexer.ca
Description: A theme for myself
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: flexer-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

flexer-theme is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Global
	## Header
	## Posts and pages
	## Slideshow
	## Comments
	## Footer
	## ACF
	## Bootstrap
	## Gutenberg
	## WPML
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	-webkit-box-sizing: content-box;
	        box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	-webkit-text-decoration: underline dotted;
	        text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}
#frm_field_6_container, #frm_field_7_container{
	margin-bottom: 0.6em;
}
#frm_field_6_container label, #frm_field_7_container label{
	display: block;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html,
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}
.interpid-live{
	color:#0E5CA7;
	font-weight:bold;
}
.interpid-live em{
	color:#008a04;
}

.site-main, .site-branding, .service-description{
	font-size:18px;
	font-size: 1.125rem;
}
.contact-flexer{
	font-size:16px;
	font-size: 1rem;
}
.font-awesome::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
   font-family: "Font Awesome 5 Free"; font-weight: 900;
   color:#BD6D3E;
}

.focus-box .font-awesome::before{
	font-size: 9rem;
    text-align: center;
    display: inherit;
}
.focus-box:first-of-type .font-awesome::before {
	content: "\f2b5";

}
.focus-box:nth-child(2) .font-awesome::before {
	content: "\f5ac";

}
.focus-box:last-of-type .font-awesome::before {
	    content: "\f411";
	    font-family: "Font Awesome 5 Brands";

}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	        box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}
table ul, table ol {
	margin: 0 0 1.25em 0em;
}
ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #0E5CA7;
    text-decoration: underline;
}

a:visited {
	color: #0E5CA7;
    text-decoration: underline;
}

a:hover, a:focus, a:active {
	color: #8E8E8E;
    text-decoration: none;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}
.focus-box-copy a{
	color: #8E8E8E;
	text-decoration: underline;
}
.focus-box-copy a:visited{
	color: #8E8E8E;
	text-decoration: underline;
}
.focus-box-copy a:hover, .focus-box-copy a:focus, .focus-box-copy a:active {
	color: #0E5CA7;
	text-decoration: none;
}

.site-info-full-width a, .site-info-full-width .social-navigation a, a.btn {
	color: #FFF;
}

.site-info-full-width a:visited, a.btn:visited {
	color: #FFF;
}

.site-info-full-width a:hover, .site-info-full-width a:focus, .site-info-full-width a:active {
	color: #8E8E8E;
}

a.flexer-focus-link, a.flexer-focus-link:visited, .btn-primary, .btn-primary-wrapper a{
	background-color: #0E5CA7;
    color: #FFF;
    display: inline-block;
    padding: 10px 12px 10px 12px;
    text-decoration: none;
    font-size: 18px;
    font-size: 1.125rem;
    text-transform: uppercase;
}
a.flexer-focus-link:hover, a.flexer-focus-link:focus, a.flexer-focus-link:active, .btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary-wrapper a:hover, .btn-primary-wrapper a:focus, .btn-primary-wrapper a:active, .archive-page-navigation .active a {
	background-color: #8E8E8E;
    color: #FFF;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	background-color: #8E8E8E;
    color: #FFF;
}
.btn-primary-light{
	background-color: #FFF;
    color: #0E5CA7;
    display: inline-block;
    padding: 10px 12px 10px 12px;
    text-decoration: none;
    font-size: 18px;
    font-size: 1.125rem;
    text-transform: uppercase;
}
.btn-primary-light:active, .btn-primary-light:hover {
	background-color: #8E8E8E;
    color: #FFF;
}
.btn-primary-light:not(:disabled):not(.disabled).active, .btn-primary-light:not(:disabled):not(.disabled):active, .show>.btn-primary-light.dropdown-toggle {
	background-color: #8E8E8E;
    color: #FFF;
}
a.btn.btn-link{
	color: var(--wp--preset--color--intrepid-blue);
	font-style: italic;
}
a:hover.btn.btn-link{
	text-decoration: none;
}
.site-info-full-width a.btn-primary-light, a.btn.btn-primary-light {
	color: #0E5CA7;
}

.site-info-full-width a.btn-primary-light:visited, a.btn-primary-light.btn:hover {
	color: #FFF;
}
/*.d-flex a.btn.btn-primary{
	max-width:43%;
}*/
.social-navigation a:before{
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}
.social-navigation a{
	text-decoration: none;
}
.social-navigation a:before{
	font-size:36px;
}
.site-footer .social-navigation {
	margin-bottom: 1.75em;
}

.social-navigation ul {
	list-style: none;
	margin: 0 0 -0.4375em;
}
.social-links-header{
	margin-top:1.3em;
}
.social-navigation li {
	float: left;
	margin-top: 0;
	margin-right: 1.5em;
	margin-left: 0;
	margin-bottom: 0.4375em;
}
.social-links-header .social-navigation li {
	float: none;
	margin-top: 0;
	margin-right: 1.5em;
	margin-left: 0;
	margin-bottom: 0.4375em;
}

.social-links-header .social-navigation li:first-child, .contact-flexer ul.organization-contact-list li:last-child {
	margin-right: 1.5em;
}
.social-navigation a {
	color: #0E5CA7;
	display: block;
	height: 35px;
	position: relative;
	width: 35px;
}

/*XXXXpx*/

@media screen and (min-width:660px) {
	.social-links-header .social-navigation li {
		float:right;
	}
	.social-links-header .social-navigation li:first-child, .contact-flexer ul.organization-contact-list li:last-child {
		margin-right: 0;
	}
}
.social-navigation a:before {
	content: "\f415";
	height: 33px;
	line-height: 33px;
	text-align: center;
	width: 33px;
}

.social-navigation a:hover:before,
.social-navigation a:focus:before {
	color: #8E8E8E;
}

.social-navigation a[href*="codepen.io"]:before {
	content: "\f216";
}

.social-navigation a[href*="digg.com"]:before {
	content: "\f221";
}

.social-navigation a[href*="dribbble.com"]:before {
	content: "\f201";
}

.social-navigation a[href*="dropbox.com"]:before {
	content: "\f225";
}

.social-navigation a[href*="facebook.com"]:before {
	content: "\f203";
}

.social-navigation a[href*="flickr.com"]:before {
	content: "\f211";
}

.social-navigation a[href*="foursquare.com"]:before {
	content: "\f226";
}

.social-navigation a[href*="plus.google.com"]:before {
	content: "\f206";
}

.social-navigation a[href*="github.com"]:before {
	content: "\f200";
}

.social-navigation a[href*="instagram.com"]:before {
	content: "\f215";
}

.social-navigation a[href*="linkedin.com"]:before {
	content: "\f208";
}

.social-navigation a[href*="path.com"]:before {
	content: "\f219";
}

.social-navigation a[href*="pinterest.com"]:before {
	content: "\f210";
}

.social-navigation a[href*="getpocket.com"]:before {
	content: "\f224";
}

.social-navigation a[href*="polldaddy.com"]:before {
	content: "\f217";
}

.social-navigation a[href*="reddit.com"]:before {
	content: "\f222";
}

.social-navigation a[href*="skype.com"]:before {
	content: "\f220";
}

.social-navigation a[href*="stumbleupon.com"]:before {
	content: "\f223";
}

.social-navigation a[href*="tumblr.com"]:before {
	content: "\f214";
}

.social-navigation a[href*="twitter.com"]:before {
	content: "\f202";
}

.social-navigation a[href*="vimeo.com"]:before {
	content: "\f212";
}

.social-navigation a[href*="wordpress.com"]:before,
.social-navigation a[href*="wordpress.org"]:before {
	content: "\f205";
}

.social-navigation a[href*="youtube.com"]:before {
	content: "\f213";
}

.social-navigation a[href^="mailto:"]:before {
	content: "\f410";
}

.social-navigation a[href*="spotify.com"]:before {
	content: "\f515";
}

.social-navigation a[href*="twitch.tv"]:before {
	content: "\f516";
}

.social-navigation a[href$="/feed/"]:before {
	content: "\f413";
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#site-navigation{
	/*margin-bottom: 1.35em;*/
}
.main-navigation li a{
	font-size: 18px;
	font-size: 1.125rem;
	text-transform: capitalize;
	/*font-family: 'Cutive Mono', monospace;*/
}
html:lang(fr-CA) .main-navigation li a{
	font-size: 16px;
	font-size: 1rem;
}
.main-navigation ul ul li a{
	font-size: 14px;
	font-size: 0.875rem;
	text-transform:capitalize;
}
.site-header-menu {
	display: none;
	-webkit-box-flex: 0;
	    -ms-flex: 0 1 100%;
	        flex: 0 1 100%;
	margin: 0.875em 0;
}
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
	text-align: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background-color: #FFF;
	text-align: left;
	padding: 0.35em;
}
.main-navigation ul ul li {
	line-height: 1.3;
    margin-bottom: 0.7em;
}
.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	float: none;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}
.menu-item-has-children a:after{
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: '\f078';
	margin-left: 0.2em;
}
.sub-menu a:after{
	content: '';
}
/* Small menu. */

.menu-toggle.btn-lg {
	display: block;
	text-indent: -9999px;
	margin: 0 auto;
	font-size: 0;
	margin-bottom: 0.75em;
}
.main-navigation.toggled ul {
	display: block;
}
.menu-toggle span {
    background: #FFF;
    border-radius: 3px;
    display: block;
    height: 3px;
    margin-top: 5px;
    padding: 0;
    position: relative;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    width: 25px;
}

.toggled .menu-toggle span:nth-of-type(1) {
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    top: 7px;
}

.toggled .menu-toggle span:nth-of-type(2) {
    opacity: 0;
}

.toggled .menu-toggle span:nth-of-type(3) {
    -webkit-transform: rotate3d(0,0,1,-45deg);
    transform: rotate3d(0,0,1,-45deg);
    top: -9px;
}
@media screen and (min-width: 42em) {
	.menu-toggle, .menu-toggle.btn-lg {
		display: none;
		
	}
	
	.main-navigation ul ul {
		display: block;
	}
	.menu.nav-menu{
	display: -webkit-box;
	display: -ms-flexbox;
	display:flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	margin:0 auto;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
.current-menu-ancestor a, .current-menu-parent a, .current-menu-item a, .current-menu-ancestor  ul.sub-menu .current-menu-item a, .current-menu-parent ul.sub-menu .current-menu-item a{
	font-weight:700;
	color:#767676;
}
.current-menu-ancestor  ul.sub-menu a, .current-menu-parent ul.sub-menu a{
	font-weight:400;
	color:inherit;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	        clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	        clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
/*hide on mobile*/
.widget-area {
	display: none;
}
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}
.widget ul{
	list-style: none;
}
.widget ul, .widget ul li{
	margin-left:0;
	padding-left:0;
}
.widget ul li{
	margin-bottom:0.75em;
	line-height: 1.25;
}
h2.widget-title{
	font-size:1.65rem;
}
.widget-area h4{
	font-size: 1.2rem;
}
/*XXXXpx*/

@media screen and (min-width:660px) {
	.widget-area {
		display: block;
		width: 19%;
	}
	
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# ACF
--------------------------------------------------------------*/

.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/

/* Beacuse some browsers include scroll-bar in calc we need to hide the x axis overflow*/
body, html {
    overflow-x: hidden;
}
.menu.nav-menu{
	padding-left:7%;
	padding-right:7%;
	padding: 0.5em 7%;
	/*border-bottom: var(--wp--preset--color--intrepid-blue) 1px solid;*/
}

.content-area, .site-branding {
	padding-left:7%;
	padding-right:7%;
}
.full-width-element-wrapper, .wp-block-image.alignwide {
    width: 100vw !important;
    left: calc(-50vw + 50%) !important;
    position: relative !important;
    height: auto !important;
    overflow: visible;
    clear: both;
    
}
.jumbotron.full-width-element-wrapper{
	background-color: rgba(14, 92, 167, 1.00);
}
@media (min-width: 670px){
	.jumbotron.full-width-element-wrapper {
		padding-left: 0;
		padding-right: 0;
		background-color:transparent;
	}
}
@media screen and (min-width: 768px){
	.jumbotron {
		padding-top: 0px;
		padding-bottom: 10px;
	}
}
.full-width-element-inner{
    margin: 0 auto;
	max-width:1140px;
	padding: 0em 1em 0em 1em;
}
.jumbotron.full-width-element-wrapper .container.full-width-element-inner{
    margin: 0 auto;
    width:100%;
	max-width:none;
	padding: 0;
}
.site {
	margin: 0 auto;
	max-width: 1320px;
	position: relative;
	background-color: #FFF;
}
div.site-content {
    min-height: 600px;
	display: -webkit-box;  
	display: -ms-flexbox; 
	display: flex; 
}
.content-area {
	width: 100%;
	float: left;
}
@media screen and (min-width:660px) {
	.has-sidebar .content-area {
		width: 77%;
	}
	.blog.has-sidebar .content-area {
		width: 100%;
	}
}
.has-sidebar .content-area, .has-sidebar .site-branding {
    padding-left: 7%;
    padding-right: 4%;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-branding p.site-description{
		font-size: 28px;
		display: inline-block;
		line-height: 1.2;
		color: #8E8E8E;
		width:100%;
		text-align: center;
		margin-top:0.25em;
	}
.site-branding{
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding-top: 1.625em;
	padding-bottom: 1em;
}
.site-branding h1, .site-branding h2, .site-branding  p{
	margin:0;
	padding: 0;
}
.contact-flexer{
	-webkit-box-flex:1;
	    -ms-flex:1 0 20%;
	        flex:1 0 20%;
}
.contact-flexer ul li{
	display: inline-block;
	margin-left:0;
	padding-left:0;
	margin-right:1em;
}
.contact-flexer ul{
	margin: 0 0 0 0;
	padding:0;
	text-align: center;
}
.site-description{
	-webkit-box-flex: 0;
	    -ms-flex: 0 1 auto;
	        flex: 0 1 auto;
	font-family: 'Alegreya', serif;
	font-size:1.5em;
}
.custom-logo-link, .anniversary{
	-webkit-box-flex: 0;
	    -ms-flex: 0 1 100%;
	        flex: 0 1 100%;
}
.anniversary img{
	max-height: 63px;
	width:auto;
	margin-top: 1em;
}
.anniversary{
	text-align:center;
}
@media screen and (min-width: 37.5em) {
	.contact-flexer ul{
		margin: 0 0 0 0;
		padding:0;
		text-align: right;
	}
	.contact-flexer{
	-webkit-box-flex:1;
	    -ms-flex:1 0 20%;
	        flex:1 0 20%;
	}
	.custom-logo-link, .anniversary{
		-webkit-box-flex: 0;
		    -ms-flex: 0 1 50%;
		        flex: 0 1 50%;
	}
	.anniversary img{
		margin-top: 0;
	}
	.anniversary{
		text-align: right;
	}
}
@media screen and (min-width: 42em) {
	.custom-logo-link, .anniversary{
		-webkit-box-flex: 0;
		    -ms-flex: 0 1 20%;
		        flex: 0 1 20%;
	}
	.site-branding p.site-description{
		width:auto;
		margin-top:0;
	}
	
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.organization-address-wrapper ul{
	list-style: none;
}
.organization-address-wrapper ul li, .organization-address-wrapper ul{
	margin-left:0;
	padding-left:0;
}
/*--------------------------------------------------------------
## services and Portfolio
--------------------------------------------------------------*/
.portfolio-home-page{
	margin-bottom:2em;
}
@media screen and (min-width:760px) {
	.portfolio-home-page{
		margin-bottom:0;
	}
	
}
.portfolio-home-page img{
	border: 1px solid #404040;
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
            box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.portfolio-home-page img:hover {
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
            box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
h2.service-title{
	font-size: 20px;
	/*min-height: 3.2em;*/
}
h2.section-title{
   font-family: "Open Sans", sans-serif;
   font-weight:700;
	font-size:36px;
	text-align: center;
	padding-top:0.75em;
	border-top: 1px solid #0E5CA7;
	padding-bottom:0.75em;
	margin-bottom:1.25em;
	border-bottom: 1px solid #0E5CA7;
}
.service-description{
	margin-top:1em;
}

.wp-block-cover-image.has-background.alignwide h1.entry-title{
	color:#FFF;
	font-size:36px;
	font-family: 'Alegreya', serif;
	font-family: 'Open Sans', sans-serif;
	max-width: 610px;
	width:100%;
	display: inline-block;
	padding:40px;
	background-color:rgba(14, 92, 167, 0.95);
	text-align: center;
	border:double 1px #FFF;
	font-weight:600;
}
.archive-description{
	margin: 3em 0 0;
}
.btn.services-btn{
    white-space: normal;
    font-size: 16px;
    font-size: 1rem;
}
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.wp-block-cover-image.has-background.alignwide h1.entry-title{
		font-size:28px;
	}
}
.archive-entry-footer{
	font-size: 0.85rem;
}
/*--------------------------------------------------------------
## Locations
--------------------------------------------------------------*/
.container.locations span{
	display: block;
	font-size:14px;
	font-size:0.875rem;
}
.container.locations .col-md-6{
	border-bottom: 1px solid #dbdbdb;
}
.container.locations span:before{
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
  }
.container.locations span.location-city{
	font-weight:900;
	font-size:16px;
	font-size:1rem;
}
.service-centres:before{
	content: "\f64f";
}
.location-address:before{
	content:"\f5a0";
}
.location-phone:before{
	content:"\f10b";
}
.location-email:before{
	content:"\f1fa";
}
.container.leadership{
	margin-top:1.5em;
}
/*--------------------------------------------------------------
## Slideshow
--------------------------------------------------------------*/
.carousel-inner .carousel-item {
	max-height: 690px;
	transition: -webkit-transform 2.5s ease;
	-webkit-transition: -webkit-transform 2.5s ease;
	transition: transform 2.5s ease;
	transition: transform 2.5s ease, -webkit-transform 2.5s ease;
	transition: transform 2.5s ease, -webkit-transform 2.5s ease;

}

.cycle-caption {
    
	font-weight: 700;
	color:#FFF;
    margin: auto 0;
    position:relative;
    top:0;
	right:0;
    width: 92%;
	min-height:240px;
    height: auto;
	line-height: normal;
	padding: 4% 4% 4% 4%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: flex-start;
	    -ms-flex-align: flex-start;
	        align-items: flex-start;
}
.cycle-caption h2{
	font-size:30px;
	font-family: 'Alegreya', serif;
	font-weight: 400;
	line-height: 1;
	color:#FFF;
}
.cycle-caption p{
	line-height: 1.35;
	font-weight:300;
}
.cycle-caption .slider-text{
	font-size:18px;
	line-height: 1.2;
}
@media screen and (min-width:670px) {
	.cycle-caption {
		font-family: 'Open Sanse',sans-serif;
	    font-weight: 400;
	    color: white;
	    margin: 0 auto;
	    width: 36%;
	    position: absolute;
	    top: 59%;
	    left: 40%;
	    height: 12%;
	    height: auto;
	    line-height: normal;
	    padding: 0 4%;
	    padding: 1.7%;
	    background-color: #0e5ca7;
	    opacity: 0.9;
	}
}
@media screen and (min-width:760px) and (max-width:780px){
	.cycle-caption{
		padding: 2%;
	}
}

@media screen and (min-width:1110px) {
	.cycle-caption h2{
		font-size:50px;
	}
	.cycle-caption .slider-text{
		font-size:30px;
	}
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}
/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
footer.site-footer.container {

}
.full-width-element-wrapper.site-info-full-width{
	background-color: #0E5CA7;
	margin-top:2em;
	margin-bottom:2em;
	padding-top:2em;
	padding-bottom:2em;
	color:#FFF;
}
.site-info{
	display: -webkit-box;  
	display: -ms-flexbox; 
	display: flex; 
    -webkit-box-pack:justify; 
        -ms-flex-pack:justify; 
            justify-content:space-between;
	-webkit-justify-content: space-between;
	align-items: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
    -ms-flex-wrap:wrap;
        flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
}
footer .social-links{
	padding-top:30px;
}
.footer-secondary-logo-wrapper{
    margin: 16px auto;
}
/*XXXXpx*/

@media screen and (min-width:660px) {
	footer .social-links{
		padding-top:0;
	}
	
}
@media screen and (min-width:776px) {
	.footer-secondary-logo-wrapper{
		margin: 0;
	}
	
}
/*--------------------------------------------------------------
# ACF
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Bootsrap
--------------------------------------------------------------*/
/*.card{
	box-shadow: 0px 0px 20px 2px #A2A2A2;
}*/
.card-body{
	cursor: auto;
}
.card:hover{
	-webkit-box-shadow:none;
	        box-shadow:none;
}
article.has-post-thumbnail .col-12:first-of-type{
	padding-left:0;
	padding-right:0;
}
/*--------------------------------------------------------------
# Gutenberg
--------------------------------------------------------------*/
.wp-block-buttons {
    margin-bottom: 1.4em;
}
.wp-block-table td, .wp-block-table th{
    padding: 0.75em;
}
.wp-block-cover-image {
    position: relative;
    background-size: cover;
    background-position: 50%;
    min-height: 550px;
    width: 100%;
    margin: 0 0 1.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    padding-bottom: 2%;
	text-transform: uppercase;
}
body.single-services .wp-block-cover-image {
		 -webkit-box-align: end;
		     -ms-flex-align: end;
		         align-items: flex-end;
	}
.wp-block-cover-image.no-featured-image{
	min-height: 126px;
}
.wp-block-columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
/*     -ms-flex-wrap: wrap;
        flex-wrap: wrap; */
}

.wp-block-column {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
            flex: 1 0 100%;
}

@media screen and (min-width:600px) {
	.wp-block-column {
		-webkit-box-flex: 1;
		    -ms-flex: 1;
		        flex: 1;
		margin-right: 3%;
	}
	.wp-block-column:last-of-type {
		margin-right: 0%;
	}
	
}
/*--------------------------------------------------------------
# WPML
--------------------------------------------------------------*/

.wpml-ls-item{
	background-color: var(--wp--preset--color--intrepid-blue);
	padding: 0.3em 0.5em;
}
.wpml-ls-item:hover{
	background-color: var(--wp--preset--color--intrepid-blue-semi-transparent);
	}
#primary-menu .wpml-ls-item a{
	color: #FFF !important;
}
.wpml-ls-statics-footer .wpml-ls-item a{
	color:var(--wp--preset--color--intrepid-blue) !important;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
.wp-block-cover-image {
    height: auto;
}