/*
Theme Name: ACA by Gravity Inc.
Theme URI: http://gravityinc.ca/
Description: A theme built from the ground-up for the Association of Canadian Advertisers.
Author: Nathan Bylok
Author URI: https://nathanbylok.com
Version: 10.0.1
*/

/*--Resets----*/
a,address,article,aside,audio,b,body,canvas,div,em,fieldset,figcaption,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,label,li,menu,nav,ol,output,p,section,span,strong,summary,u,ul,video{margin:0;padding:0;border:0;font:inherit;vertical-align:top}button{border:0;padding:0;margin:0;cursor:pointer}article,aside,footer,header,hgroup,menu,nav,section{display:block}
/*--End Resets----*/

/*--Global Declarations----*/

body {
	font-size: 12px;
	font-family: 'Noto Sans', sans-serif;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;	
}

h1 {
	font-size: 3.44rem;
}

h2 {
	margin: 0 0 0.5em;
	font-size: 2.5em;
	line-height: 1.3;
	color: #404041;	
}

h3 {
	margin: 0.5em 0;
	font-size: 1.5em;
	color: #404041;	
}

h4 {
	padding: 0 0 30px;
	font-size: 1.5em;
	text-transform: uppercase;
	color: #404041;	
}

hr {
	border: none;
	border-bottom: 1px solid #404041;
}

p {
	margin: 0 0 1.3em;	
}

a {
	color: #658d3d;
}

a:hover {
	text-decoration: none;
}

strong {
	font-weight: 900;	
}

.alignleft {
	margin: 0 3em 0 0;
	float: left;	
}

.alignright {
	margin: 0 0 4em 4em;
	float: right;
}

.alignright + img {
	margin: 4em 0 4em 4em;
	clear: both;
}

.image-padding {
	padding: 20px 20px 40px 0;
	margin-top: -40px;
}

.italic, em {
	font-style: italic;
}

.hide {
	display: none !important;
}

/*--End Declarations----*/

/*--Photo Galleries----*/



.imgFrame a{ vertical-align: middle !important; }

.inlineImage{
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

@media screen and (max-width: 480px) {
    .inlineImage{
        display: block;
        margin-right: 0px;
       margin-bottom: 10px;
    }
}

.gallery-container::after {
	content: "";
	display: table;
	clear: both;
}

.gallery-viewer.gallery-viewer {
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
}

.gallery-viewer li {
	border: 1px solid #aaa;
	box-shadow: 1px 2px 4px 1px #ccc;
	padding: 20px;
	margin: 10px;
	margin-left: 0;
}

.gallery-viewer li img {
	max-width: 100%;
	height: auto;
	cursor: pointer;
}

.gallery-viewer li p {
	font-size: 12px;
	line-height: 1.4;
	padding: 10px 0;
	margin: 0;
}


/*--End Photo Galleries----*/

/*--Header----*/

.header-wrap {
	background: #fff;	
}

@keyframes slidein {
	from {
		top: -100%;
	}
	to {
		top: 0;
	}
}

.belowfold {
	width: 100%;
	position: fixed;
	top: 0;	
	z-index: 5;
	border-bottom: 1px solid #404041;
	animation: slidein 0.4s ease;
}

.header {
	width: 100%;
	max-width: 1100px;
	padding: 20px;
	margin: 0 auto;
	box-sizing: border-box;
}

.site-identity {
	max-width: 170px;
	display: inline-block;
}

.site-identity img {
	width: 100%;
	height: auto;	
}

/*--End Header----*/

/*--Navigation----*/

.primary-navigation {
	background: rgba(0,0,0,0.85);
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	position: absolute;
	clear: both;
	z-index: 3;
	cursor: pointer;
	transition: background 0.5s ease;
}

.primary-navigation:active {
	background: rgba(0,0,0,0.9);
}

.primary-navigation:focus {
	outline: 0;
}

.nav-menu {
	width: 100%;
	max-width: 1060px;
	margin: 0 auto;	
	display: -webkit-box;
  	display: -ms-flexbox;
  	display: -webkit-flex;
  	display: flex;   
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.nav-menu > li {
	padding: 0 20px 0 0;
	display: inline-block;
	font-size: 1.3em;
	font-family: 'Montserrat', sans-serif;
	text-align: center;
}

.nav-menu > li:first-of-type {
	width: 125px;
}

.nav-menu > li:nth-of-type(2) {
	width: 215px;
}

.nav-menu > li:nth-of-type(5), .nav-menu > li:nth-of-type(6) {
	width: 110px;	
}

.nav-menu > li:last-of-type {
	padding: 0;	
}

.nav-menu > li:last-of-type .sub-menu {
	border: 0;
}

.nav-menu > li a {
	color: #fff;
	text-decoration: none;
    
}

.frHeader .nav-menu > li a {
    min-height: 40px;
    display: inline-block;
}

.frHeader .sub-menu > li a {
    display: inline !important; 
}

.nav-menu a:hover {
	opacity: 0.6;	
}

.sub-menu {
	width: inherit;
	height: 0;
	padding: 0 0 0 0;
	opacity: 0.6;
	visibility: hidden;
	box-sizing: border-box;
	font-size: 0.9em;
	font-family: 'Noto Sans', sans-serif;
	list-style-type: none;
}

.nav-menu li:hover .sub-menu {
	opacity: 1;
}

.primary-navigation:hover .sub-menu, .tapped .sub-menu {
	height: 100%;
	height: calc(100% - 40px);
	margin: 20px 0 0;
	visibility: visible;
}

.sub-menu > li {
	padding: 5px 0;	
	font-size: 0.9em;
}

.secondary-navigation, .secondary-navigation > div, .social-icons, .social-icons li, .site-lang {
	display: inline-block;	
}

.secondary-navigation, .social-icons, .site-lang {
	padding: 24px 0 20px;
	float: right;	
}

.secondary-menu > li {
	display: inline-block;
}

.secondary-menu > li a {
	padding: 4px 12px;
	margin: 0 3px 0 0;
	border: 1px solid #404041;
	border-radius: 11px;
	display: inline-block;
	font-size: 1em;
	font-family: 'Montserrat', sans-serif;
	color: #404041;
	text-decoration: none;
}

.secondary-menu > li a:hover {
	background: #404041;
	color: #fff;
}

.secondary-menu li.noButton{
    padding-top: 5px;
}

.secondary-menu li.noButton a{
    padding: 1px 0px !important;
	border: 0 !important;
	border-radius: 0 !important;
    text-decoration: underline;
}

.search-form, .search-form label {
	display: inline-block;	
}

.header .search-form {
	margin: 24px 23px 20px 20px;	
	float: right;
}

.search-field {
	width: 200px;
	height: 25px;
	border: none;
	border-bottom: 1px solid #404041;	
}

@media screen and (max-width: 920px) {
    .search-field {
        width: 100px !important;
    }
}

.search-field, .search-field:placeholder-shown {
	font-size: 1em;
	font-family: 'Montserrat', sans-serif;
	color: #404041;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.search-submit {
	background: #fff;
	width: 22px;
	height: 26px;
	overflow: hidden;
}

.search-submit:before {
	background: #fff;
	font: normal 2em/23px Genericons;
	content: '\f400';
	color: #404041;
}

.search-submit:hover:before {
	font: normal 2em/23px Genericons;
	content: '\f400';
	color: #658d3d;
}

.social-icons a {
	background: #404041;
    height: 17px;
    padding: 4px 4px 0px 5px;
	margin: 0 3px 0 0;
    border: 1px solid #404041;
    border-radius: 11px;
    display: inline-block;
    font: normal 14px Genericons;
    text-decoration: none;
}

.social-icons a:hover {
	background: #fff;
}

.social-icons .twitter {
	padding: 6px 5px 0 5px;
	font: normal 13px Genericons;	
}

.twitter:after {
	content: '\f202';
	color: #fff;
}

.social-icons .linkedin {
	padding: 5px 4px 1px 5px;	
}

.linkedin:after {
	content: '\f207';
	color: #fff;
}

.twitter:hover:after {
	color: #404041;
}

.linkedin:hover:after {
	color: #404041;
}

.site-lang a {
	padding: 4px 12px;
	margin: 0 0 0 3px;
	border: 1px solid #404041;
	border-radius: 11px;
	display: inline-block;	
	font-size: 1em;
	font-family: 'Montserrat', sans-serif;
	color: #404041;
	text-decoration: none;	
}

.site-lang a:hover {
	background: #404041;
	color: #fff;
}

.mobile-nav {
	width: 30px;
	height: 30px;	
	padding: 0;
	margin: 25px 0 0 20px;
	display: none;
	float: right;
	position: relative;
	outline: none;
}

.mobile-nav span, .mobile-nav span:before, .mobile-nav span:after {
	background: #404041;
	width: 30px;
    height: 5px;
	position: absolute;
	content: ' ';
	transition: all 500ms ease-in-out;
}

.mobile-nav:hover span, .mobile-nav:hover span:before, .mobile-nav:hover span:after {
	background: #658d3d;
}

.mobile-nav span {
    cursor: pointer;
	top: 10px;
}

.mobile-nav span:before {
	top: -11px;
}

.mobile-nav span:after {
	bottom: -11px;
}



.close-this {
	clear: both;
	float: right;	
}

.close-this span, .close-this:hover span {
	background: transparent;
}

.close-this span:before {
	-webkit-transform: rotate(-45deg) translate(-9px,8px);
    transform: rotate(-45deg) translate(-9px,8px);	
}

.close-this span:after {
	-webkit-transform: rotate(45deg) translate(-7px,-7px);
    transform: rotate(45deg) translate(-7px,-7px);	
}

/*--End Navigation----*/

/*--Page----*/

main.page {
	margin: 59px 0 0;	
}

.page-wrap {
	width: 100%;
    max-width: 1100px;
	padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-header {
	background: #658d3d;
	padding: 40px 0;
	color: #fff;	
}

.page-header.black {
	background: #000;
	background: rgba(0,0,0,0.85);
}

.page-header.blue {
	background: #005e85;
}

.page-header.cyan {
	background: #00758d;
}

.page-header.purple {
	background: #7e0c6e;
}

.page-header.red {
	background: #d9272e;
}

.page-header.yellow-green {
	background: #9a9500;
}

.page-content {
	padding: 20px 0;
}

.page-content table {
	padding: 20px;
	border: 1px solid #404041;
	box-sizing: border-box;
}

.page-content p, .page-content ul, .page-content ol, .feature p, .page-content td {
	font-size: 1rem;
	line-height: 28px;
	color: #404041;
}

.page-content td {
	vertical-align: top;
	font-size: 1.2em;
}

.page-content ul {
	margin: 0 0 1.5em 1.8em;	
	list-style: disc;
	list-style-position: outside;
}

.page-content ol {
	margin: 0 0 1.5em 1.8em;
}

.partner-logo {
	width: auto;
	max-height: 150px;
	margin-bottom: 40px;
}

.crumbs {
	padding: 10px 20px;	
	font-size: 1.3em;
}

.crumbs li {
	display: inline;	
}

.crumbs, .crumbs a {
	color: #808080;
	text-decoration: none;
}

.crumbs a:hover {
	text-decoration: underline;
}

.trail {
 	padding: 0 10px;
}

.feature {
	background: #008da8;
	padding: 40px 0;
}

.feature p, .feature h2, .feature a {
    color: #fff;
}

.feature-header {
	position: relative;
}

.feature-header h2 {
	margin-bottom: 15px;
}

.related-resource, .related-resource + p {
	display: table-cell;
}

.related-resource {
	padding: 0 20px 0 0;
}

.related-resource img {
	border: 1px solid #404041;
}

.keyBullets .related-resource, .keyBullets .related-resource + p {
    display: inline-block;
}

.keyBullets .related-resource img {
	border: none;
}

.reset-col {
	padding: 20px;
}

@media (min-width: 640px) {
	.page-content {
		min-height: calc(100vh - 853px);
	}
}

/*--Search----*/

/*--End Search----*/

.edit-link {
	padding: 20px 0;
	display: block;
}

.pagination {
	padding: 10px 20px;
	border-top: 1px solid #404041;
}

.pagination .screen-reader-text {
	display: none;
}

.pagination a, .pagination .current {
	padding: 0 20px 0 0;
	font-size: 1.3em;
	color: #808080;
	text-decoration: none;
	display: inline-block;
}

.pagination .current {
	color: #000;
}

.pagination a:hover {
	text-decoration: underline;
}

.pagination .nav-links {
	max-width: 1100px;
	padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.display-table {
	width: 100%;
	height: 100%;
	display: table;
}

.display-cell {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

@media screen and (max-width: 800px) {
	.display-cell {
		display: table-row;
	}
}

/*--End Page----*/
/*--Staff Page----*/

.staff-header {
	position: relative;
}

.staff-header img {
	width: auto;
	height: 150px;
	padding: 0 20px 20px 0;
	float: left;
}

.staff-header:after {
	content: '';
	clear: both;
	display: block;
}

.staff-toggle {
	background: transparent;
	width: 30px;
    height: 30px;
	padding: 20px;
	position: absolute;
	display: block;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.staff-toggle:before, .staff-toggle:after {
	background: #404041;	
	position: absolute;
	top: 5px;
	left: 5px;
	content: ' ';
	transition: all 500ms ease-in-out;
}

.staff-toggle:before {
	width: 30px;
    height: 5px;
	margin: 12.5px 0;
}

.staff-toggle:after {
	width: 5px;
    height: 30px;
	margin: 0 12.5px;
}

.staff-toggle:hover:before, .staff-toggle:hover:after {
	background: #658d3d;
}

.close-accord:before {
	-webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.close-accord:after {
	-webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.staff-excerpt, .staff-content {
    margin-right: 80px;
}

.staff-content {
	display: none;
}

.staff-expanded .staff-content {
	display: block;
}

/*--End Staff Page----*/
/*--Resources Page----*/

.resources {
	background: #9a9500;	
}

.breadcrumbs .resources {
    background: none;
}

.resources-lead {
	padding: 40px 0;
	text-align: center;
}

.resources-jump span {
	padding: 1px 0 0;
	color: #658d3d;
	display: inline-block;
	cursor: pointer;
}

.resources-jump span:after {
	background: url(img/arrow/green-down.svg) center no-repeat;
	background-size: cover;
	width: 23px;
	height: 23px;
	margin: 0 5px;
	display: inline-block;
	position: relative;
	top: 3px;
	content: '';
}

.resources-jump span:hover {
	opacity: 0.8;
}

.section-loop {
	padding: 40px 0;
	border-bottom: 1px solid #404041;
}

.section-loop .page-wrap {
	position: relative;
}

.section-loop:last-of-type {
	border-bottom: 0;
}

.resource-wrap {
	padding: 0 39px;
	display: flex;
	overflow: hidden;
}

.resources-loop {
	width: 33%;
	padding: 40px 40px 0;
	display: inline-block;
	box-sizing: border-box;
	flex: 0 0 33.33%;
}

.resources-loop-mp {
	width: 47%;
	padding: 40px 40px 0;
	display: inline-block;
	box-sizing: border-box;
	flex: 0 0 33.33%;
}

.resources-loop img {
	width: 100%;
	height: auto;
	border: 1px solid #404041;
	box-sizing: border-box;
}

.resource-cat {
	margin: 0 0 5px;
	display: inline-block;	
}

.resource-cat a {
	background: #9a9500;
	padding: 5px 10px;
	margin: 0 5px 0 0;
	display: inline-block;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}

.resource-cat a:hover {
	color: #c0c0c0;
}

.resource-nav button {
	background: transparent;
	width: 60px;
	height: calc(100% - 80px);
	padding: 10px 0;
	position: absolute;
	display: block;
	top: 80px;
	z-index: 2;
	transition: all 0.3s ease-in-out;
}

.resource-nav button:hover {
}

.resource-nav .prev {
 	background: url(img/arrow/back.svg) center center no-repeat;
 	background-size: auto 30px;
}

.resource-nav .forward {
	background: url(img/arrow/forward.svg) center center no-repeat;
	background-size: auto 30px;
	right: 20px;
}

.resource-nav .prev:hover {
 	background: url(img/arrow/back-grey.svg) center center no-repeat;
 	background-size: auto 30px;
}

.resource-nav .forward:hover {
	background: url(img/arrow/forward-grey.svg) center center no-repeat;
	background-size: auto 30px;
}

.no-emphasis, .no-emphasis + .resources-loop + .resources-loop {
	opacity: 0.4;
}

#scroll-down {
	text-decoration: none;
}

.resources-loop section p:last-of-type {
	font-style: italic;
}

.viewer-button {
    top:5% !important;
    right:5% !important;
    background-color: #008CA8 !important;
}

.viewer-button::before {
    bottom:30px !important;
    left:30px !important;
}

/*--End Resources Page----*/
/*--Testimonial Widget----*/

.confidential-quote {
	padding: 80px 0;
}

.quote-wrap {
	max-width: 945px;
	margin: 0 auto;
	text-align: center;
}

.quote-title {
	color: #fff;
}

.quote-section {
	background: url('img/home/qleft.svg') top left / 100px auto no-repeat, url('img/home/qright.svg') right 5px / 100px auto no-repeat;
	max-width: 985px;
	margin: 0 auto;
}

.quote-section div {
	max-width: 745px;
	margin: 0 auto;
}

.quote-wrap p:nth-of-type(1) {
	font-size: 1.6em;
	color: #404041;
}

.quote-wrap p:nth-of-type(2) {
	padding: 20px 0 0;
	font-size: 1.4em;
	color: #658d3d;
}

@media screen and (max-width: 960px) {

	.quote-section div {
		max-width: 625px;
	}
}

@media screen and (max-width: 935px) {

	.quote-section {
		background: url('img/home/qleft.svg') center top / 50px auto no-repeat, url('img/home/qright.svg') center bottom / 50px auto no-repeat;
		padding: 50px 0 40px;
	}

	.quote-wrap p:nth-of-type(2) {
		padding: 0;
	}
}

/*--End Testimonial Widget----*/
/*--History Page----*/

.timeline-article {
	padding: 40px 0 0;
	border-bottom: 1px solid #404041;
}

.timeline-article:last-child {
	border-bottom: 0;
}

.timeline-article .timeline-header, .timeline-article .timeline-section {
	display: inline-block;
}

.timeline-article .timeline-header {
	width: 16.99%;
}

.timeline-article .timeline-section {
	width: 82.99%;
}

.timeline-title {
	color: #658d3d;
}

.timeline-article img {
	margin: 1em 0;
	display: block;
	width: auto;
	height: auto;
	max-width: 180px;
	max-height: 110px;
}

@media screen and (min-width: 600px) {

	.page-content .timeline-article li {
		position: relative;
		padding: 0 200px 2em 0;
	}

	.timeline-article img {
		max-height: 80px;
		position: absolute;
		right: 10px;
		top: 0;
		transform: translateY(-50%);
	}

	.timeline-article li:last-of-type img, .timeline-article p:last-of-type img {
		/*top: auto;*/
		/*bottom: 0;*/
	}

}

/*--End History Page----*/
/*--Award Winners Page----*/

.grapple:target:before {
	content: "";
	display: block;
	height: 315px; /* fixed header height*/
	margin: -315px 0 0; /* negative fixed header height */
}

/*--End Award Winners Page----*/
/*--Members----*/

.our-members-logos p img {
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 150px;
}

/*--End Members----*/
/*--Blog Archive----*/

#category-select {
	margin: 45px 0 35px;
}

#category-select p
, #category-select select {
	font-size: 16px;
}

#category-select select {
	margin-left: 8px;
}

.blog-post {
	padding: 15px 0 45px;
	clear: both;
}

.blog-post-header h3 {
	font-size: 24px;
	line-height: 24px;
}

.blog-post-header p {
	font-size: 18px;
	line-height: 22px;
}

.blog-post-header a {
	text-decoration: none;
}

.blog-post-content:after {
	content: "";
	display: table;
	clear: both;
}

.blog-post-content img {
	width: auto;
	height: auto;
	max-width: 300px;
	max-height: 300px;
	margin: 8px 30px 0 0;
	float: left;
}

.blog-post-content p {
	color: #404041;
	font-size: 16px;
	line-height: 28px;
	margin-bottom: 16px;
}

.read-more-post {
	display: inline-block;
	text-decoration: none;
	color: #333;
	border: 1px solid #333;
	border-radius: 40px;
	padding: 5px 20px;
	transition: all .2s;
}

.read-more-post:hover {
	color: #eee;
	background: #333;
}

hr {
	border-color: #658d3d;
}

.page-category h2, .tax-title {
	margin: 40px 0;
}


/*--End Blog Archive----*/
/*--Single Post----*/

.single-post:after {
	content: "";
	display: table;
	clear: both;
}

.single-post h2 {
	color: #658d3d;
	margin-top: 30px;
}

.post-content p {
	/*overflow: auto;*/
}

.post-content img {
	width: auto;
	height: auto;
	
	margin: 8px 30px 8px 0;
	/*float: left;
    max-width: 500px;
	max-height: 500px;*/
}

.post-content ul li, .post-content ol li {
	margin-bottom: 10px;
}

hr + p span {
	font-size: .8rem;
}

figure {
	margin-bottom: 20px;
}

figure > img, figure > a > img {
	 float: none !important;
}

.caption-align {
	margin: 0;
}

.post-feature-image img {
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}

.post-tags {
	font-family: 'Noto Sans', sans-serif;
	font-size: 1rem;
	margin-top: 60px;
}

.post-tags span {
	display: inline-block;
	padding: 5px 0;
}

.post-tags a, a.regButton {
	display: inline-block;
	font-size: inherit;
	color: #222;
	text-decoration: none;
	padding: 5px 20px;
	margin: 0px 0 15px 15px;
	border: 1px solid #222;
	border-radius: 30px;
	transition: all .3s;
}

.post-tags a:hover, a.regButton:hover {
	color: #eee;
	background: #222;
}

.register-now {
    padding: 4px 18px;
    margin: 0 3px 0 0;
    border: 1px solid #404041;
    border-radius: 17px;
    display: inline-block;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    color: #404041;
    text-decoration: none;
}

.register-now:hover {
    background: #404041;
    color: #fff;
}


/*--End Single Post----*/
/*--Pagination----*/

.page-nav .page-wrap {
	padding: 40px 20px;
}

.page-nav a {
	text-decoration: none;
}

.page-nav nav {
	padding: 20px 0;
	border-top: 4px solid #658d3d;
	border-bottom: 4px solid #658d3d;
}

.page-nav nav:after {
	content: '';
	clear: both;
	display: block;
}

.nav-previous, .nav-next {
	float: left;
	font-size: 1rem;
}

.nav-previous {
	margin-right: 30px;
}

.nav-previous a, .nav-next a {
	color: #222;
}

h2.screen-reader-text {
	display: none;
}

.page-nav h3 {
	font-size: 1.3rem;
	margin: 40px 0;
}

.dots {
	padding: 0 20px;
}



/* Resource Single Page formatting */

.resource .page-content .page-wrap {
	min-height: 400px;
}

.resource section img:first-of-type {
	border: 1px solid #444;
}

.resource section ul {
	display: table;
	padding-left: 20px;
}


/*.recent-post-grid, .recent-post-grid:after, .recent-post-grid li {*/
	/*box-sizing: border-box;*/
/*}*/

.recent-post-grid:after {
	content: '';
	clear: both;
	display: block;
}

.recent-post-grid {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.recent-post-grid li {
	float: left;
	width: 25%;
	padding-right: 30px;
	box-sizing: border-box;
}

/*.recent-post-grid li:last-of-type {*/
	/*padding-right: 0;*/
/*}*/

.recent-post-grid li p:first-of-type {
	font-size: 1rem;
	padding: 20px 0;
	max-width: 265px;
}

.recent-post-grid img {
	width: 100%;
	height: auto;
	max-width: 265px;
	max-height: 265px;
}

.margin-bottom-100{
    margin-bottom: 100px;
}

@media screen and (max-width: 921px) {

	.recent-post-grid li {
		width: 50%;
		margin-bottom: 20px;
	}

	/*.recent-post-grid li:nth-child(2) {*/
		/*padding-right: 0;*/
	/*}*/
	
	.recent-post-grid li:nth-child(3) {
		clear: left;
	}

	.recent-post-grid li p:first-of-type {
		max-width: 420px;
	}

	.recent-post-grid img {
		max-width: 420px;
		max-height: 420px;
	}
}

@media screen and (max-width: 721px) {

	.recent-post-grid li {
		width: 100%;
		text-align: center;
		padding-right: 0;
		clear: both;
	}

	.recent-post-grid li p:first-of-type {
		max-width: 680px;
		text-align: left;
		margin: auto;
	}

	.recent-post-grid img {
		max-width: 680px;
		max-height: 680px;
	}
    
    .margin-bottom-100{
        margin-bottom: 0px;
    }
}

/*--End Pagination----*/
/*--Footer----*/

.footer {
	background: #e2e2e2;	
	padding: 60px 0;
}

.offset {
	padding: 60px 0 169px;	
}

.footer-wrap {
	width: 100%;
	max-width: 1100px;
	padding: 0 20px;
	margin: 0 auto;	
	box-sizing: border-box;	
}

.footer-flex {
	display: -webkit-box;
  	display: -ms-flexbox;
  	display: -webkit-flex;
  	display: flex;   
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.ft-col {
	padding: 0 20px;
	display: inline-block;	
}

.ft-col:first-of-type {
	padding: 0 20px 0 0;	
}

.address-wrap div {
	padding: 0 20px 0 0;
	display: inline-block;
}

.address-wrap img {
	width: 51px;
	height: auto;
}

.get-in-touch-title {
	padding: 2px 10px 30px 0;
	display: inline-block;	
}

.get-in-touch .site-lang, .get-in-touch .social-icons {
	padding: 0 0 30px;
	float: none;
}

.get-in-touch .site-lang a {
	border: 1px solid #fff;
}

.get-in-touch .site-lang a:hover, .get-in-touch .site-lang a:focus {
	border: 1px solid #404041;
}

.faq ul {
	list-style-image: url('img/arrow/grey.svg');
}

.faq a {
	text-decoration: none;
	color: #404041;
}

.faq a:hover {
	text-decoration: underline;
}

.footer-partners img {
	width: auto;
	height: auto;
	max-width: 150px;
	max-height: 50px;
	margin: 0 20px 20px 0;
}

.address {
	width: 100%;
	width: calc(100% - 94px);
    max-width: 622px;
	padding: 1em 0 0;
}

.address, .credit {
	display: inline-block;	
}

.credit {
	padding: 0 20px;
}

.credit, .credit a {
	/*color: #808080;*/
    color:#658d3d;
}

.credit a {
	display: block;	
}

.sidebarTable{
    width:35%;
    margin: 10px;
    float: right;
}

.leftside{
    width:60%;
    float: left;
}

/*--End Footer----*/

/*--Media Queries----*/

@media screen and (max-width: 1024px) {
	
	.nav-menu > li {
		font-size: 1.2em;
	}
	
	.nav-menu > li:first-of-type {
		width: 85px;
	}
	
	.nav-menu > li:nth-of-type(2) {
		width: 200px;
	}
	
	.nav-menu > li:nth-of-type(5), .nav-menu > li:nth-of-type(6) {
		width: 100px;	
	}
}

@media screen and (max-width: 920px) {
	
	.nav-menu > li {
		font-size: 1.1em;
	}
	
	.nav-menu > li:first-of-type {
		width: 78px;
	}
	
	.nav-menu > li:nth-of-type(2) {
		width: 185px;
	}
	
	.nav-menu > li:nth-of-type(5), .nav-menu > li:nth-of-type(6) {
		width: 90px;	
	}
}

@media screen and (max-width: 860px) {

	.site-lang {
		padding-top: 10px;
	}

	.header .social-icons {
		float: none;
		position: absolute;
		top: 45px;
		right: 27px;
	}
}

@media screen and (max-width: 800px) {
	
	.site-wrap {
		overflow-x: hidden;
	}
	
	.overflowY {
		overflow-y: hidden;
	}
	
	main.page {
		margin: 0;	
	}
	
	.mobile-nav {
		display: inline-block;	
	}

	.header .social-icons {
		right: 82px;
	}

	.header .search-form {
		background: transparent;
		width: 100%;
		margin: 0;
		border-bottom: 1px solid #404041;
		box-sizing: border-box;
		float: none;	
		position: absolute;
		top: 109px;
		left: 100%;
		z-index: 3;
		display: none;
	}

	.header .search-form.nav-slidein {
		display: block;
	}
	
	.header .search-form label {
		width: 100%;	
		width: calc(100% - 64px);
	}
	
	.header .search-field {
		background: transparent;
		width: 100%;	
		height: 60px;
		padding: 10px 20px;
		border-bottom: 0;
		font-size: 2em;
		color: #fff;
		
	}
	
	.header .search-field:focus {
		background: #fff;
		color: #404041;
	}
	
	.header .search-field:placeholder-shown {
		font-size: 2em;
		color: #fff;
		-webkit-appearance: textfield;
	}
	
	.header .search-field:focus:placeholder-shown {
		font-size: 2em;
		color: #404041;
		-webkit-appearance: none;
		-webkit-border-radius: 0;
		border-radius: 0;
	}
	
	input[type='search'] {
		-webkit-appearance: none;
		-webkit-border-radius: 0;
		border-radius: 0;
	}
	
	.header .search-submit {
		background: transparent;
		width: 60px;
	    height: 60px;
	}
	
	.header .search-submit:before {
		background: transparent;
		padding: 0 14px 0 13px;
		font: normal 3em/40px Genericons;
		color: #fff;
	}
	
	.header .search-submit:hover:before {
		background: transparent;
		padding: 0 14px 0 13px;
		font: normal 3em/40px Genericons;
	}
	
	.navigation {
		width: 100%;
		padding: 20px;
		box-sizing: border-box;
		position: fixed;
		left: 100%;
		display: none;
	}

	.navigation.nav-slidein {
		display: block;
	}
	
	.mobile-bg {
		background: rgba(0,0,0,0.85);
		width: 100%;
		height: calc(100% - 109px);
		position: fixed;
		top: 109px;
		left: 100%;
		z-index: 3;
		display: none;
	}

	.mobile-bg {
		display: block;
	}
	
	.primary-navigation {
		background: transparent;
		height: 100%;
		height: calc(100% - 238px);
		overflow-y: auto;
		top: 170px;
	}

	.primary-navigation:active {
		background: transparent;
	}

	.secondary-navigation {
		width: 100%;
		margin: 20px 0 0;
		border-top: 1px solid #404041;
		text-align: center;
		float: none;
		position: fixed;
		bottom: 0;
		z-index: 4;
	}
	
	.nav-menu {
		padding: 0 0 20px;
		display: block;
	}
	
	.nav-menu > li, .nav-menu > li:first-of-type, .nav-menu > li:nth-of-type(2), .nav-menu > li:nth-of-type(5), .nav-menu > li:nth-of-type(6), .nav-menu > li:last-of-type {
		width: 100%;
		padding: 20px 0;
	}
	
	.nav-menu > li {
		font-size: 2em;	
	}
	
	.sub-menu {
		height: auto;
		margin: 20px 0 0;
		border: 0;
		visibility: visible;	
		font-size: 0.75em;
	}
	
	.secondary-menu > li a {
    	border: 1px solid #fff;
		font-size: 1.2em;
    	color: #fff;
	}
	
	.site-lang a {
		font-size: 1.2em;
	}
	
	.bread {
		border-top: 1px solid #404041;	
	}
	
	.address {
		width: 100%;
		width: calc(100% - 94px);
    	max-width: 590px;
	}

	.footer-flex {
		display: block;
	}

	.resources-loop {
		width: 50%;
		flex: 0 0 50%;
	}

	.no-emphasis, .no-emphasis + .resources-loop + .resources-loop {
		opacity: 1;
	}
}

@media screen and (max-width: 780px) {

	.ft-col:first-of-type {
    	padding: 0 20px 20px 0;
	}

	.footer-partners {
		padding: 0;
	}
}

@media screen and (max-width: 640px) {

	.ft-col, .ft-col:first-of-type {
		padding: 0 0 60px;
		display: block;
	}

	.faq ul {
    	list-style-position: inside;
	}

	.timeline-article .timeline-header {
		width: 100%;
	}

	.timeline-article .timeline-section {
		width: 100%;
	}

	.timeline-article .alignright {
		margin: 0 0 2em 1em;
	}

	.timeline-article .alignright + img {
    	margin: 2em 0 2em 1em;
	}

	.resources-loop {
		width: 100%;
		flex: 0 0 100%;
	}
}

@media screen and (max-width: 554px) {
    
    .sidebarTable{
        width: 100%;
        float:none;
        margin: 5px;
    }
	
    .leftside{
        max-width:100%;
        float: none;
    }
    
    .alignleft, .alignright {
		float: none;
	}

	.image-padding {
		margin-top: 0;
		margin: 0 auto;
		display: block;
    	float: none;
	}
}

@media screen and (max-width: 480px) {

	h1 {
		font-size: 3rem;
	}
	
	.address {
		width: 100%;
	}

	.get-in-touch-title {
		padding: 2px 10px 30px 0;
		display: block;
	}

	.get-in-touch .social-icons {
    	padding: 0 0 15px;
	}

	.get-in-touch .site-lang {
    	padding: 0 0 15px;
	}
}

@media screen and (max-width: 360px) {
	
	.site-identity {
		width: 140px;
		padding: 12px 0 0;	
	}
}

/*--End Media Queries----*/

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

ul.members-grid {
	margin: 0;
	list-style-type: none !important;
}

ul.members-grid li {
	width: calc(16.667% - 1px);
	float: left;
	height: 180px;
}

ul.members-grid li span {
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

ul.members-grid li:nth-child(6n) span {
	border-right: none;
}

ul.members-grid li a {
	cursor: none;
	display: table;
	width: 100%;
	height: 100%;
}

ul.members-grid li span {
	display: table-cell;
	vertical-align: middle;
	padding: 20px 0px;
	text-align: center;
}

ul.members-grid li img {
	
	width: 75%;
	height: auto;
	/*max-height: 90px;*/
}

@media screen and (max-width: 768px) {
	ul.members-grid li {
		width: calc(20% - 1px);
		height: 100px;
	}

	ul.members-grid li:nth-child(6n) span {
		border-right: 1px solid #ccc;
	}

	ul.members-grid li:nth-child(5n) span {
		border-right: none;
	}

	ul.members-grid li img {
		max-height: 60px;
	}
}

@media screen and (max-width: 600px) {
	ul.members-grid li {
		width: calc(33.33% - 1px);
		height: 100px;
	}

	ul.members-grid li:nth-child(6n) span {
		border-right: 1px solid #ccc;
	}

	ul.members-grid li:nth-child(5n) span {
		border-right: 1px solid #ccc;
	}

	ul.members-grid li:nth-child(3n) span {
		border-right: none;
	}
}




/* -- Cookie Footer ----*/

.legal-cookie-footer, .nonmeber-footer {
	background-color: #ffffff;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	width: 100%;
	min-height: 150px;
}



@media screen and (max-width: 1100px) {
	.legal-cookie-footer, .nonmeber-footer {
		min-height: 30px;
	}
}

.legal-cookie-footer .cookie-wrap, .nonmeber-footer .cookie-wrap{
	max-width: 1100px;
	width: 100%;
	margin: auto;
}

.legal-cookie-footer .cookie-wrap .column-60,
.nonmeber-footer .cookie-wrap .column-60{
	width: 55%;
	display: inline-block;
	vertical-align: bottom;
	line-height: 150px;
}

@media screen and (max-width: 1100px) {
	.legal-cookie-footer .cookie-wrap .column-60,
    .nonmeber-footer .cookie-wrap .column-60{
		width: 100%;
		line-height: 1.6;
	}
}

.legal-cookie-footer .cookie-wrap .column-40,
.nonmeber-footer .cookie-wrap .column-40{
	width: 45%;
	display: inline-block;
	vertical-align: bottom;
}

@media screen and (max-width: 1100px) {
	.legal-cookie-footer .cookie-wrap .column-40,
    .nonmeber-footer .cookie-wrap .column-40{
		width: 100%;
	}
}


.legal-cookie-footer .cookie-wrap p,
.nonmeber-footer .cookie-wrap p{
	margin-bottom: 0;
}

.legal-cookie-footer .c-text-1,
.nonmeber-footer .c-text-1{
	font-family: 'Montserrat', sans-serif;
	font-size: 26px;
	line-height: 150px;
}

html[lang="fr-CA"] .legal-cookie-footer .c-text-1 {
	font-size: 20px;
}

@media screen and (max-width: 1100px) {
	.legal-cookie-footer .c-text-1,
    .nonmeber-footer .c-text-1{
		padding: 20px 20px 5px 20px;
		line-height: 1.4;
	}
}

@media screen and (max-width: 600px) {
	.legal-cookie-footer .c-text-1,
    .nonmeber-footer .c-text-1{
		line-height: 1.2 !important;
	}
}

.legal-cookie-footer .c-text-1:after,
.nonmeber-footer .c-text-1:after{
	content: ' ';
	display: inline-block;
	height: 100px;
	border-right: thin solid #000000;
	margin: 25px 0;
	padding-left: 45px;
	vertical-align: bottom;
}

@media screen and (max-width: 1100px) {
	.legal-cookie-footer .c-text-1:after,
    .nonmeber-footer .c-text-1:after{
		display: none;
	}
}

.legal-cookie-footer .c-text-2,
.nonmeber-footer .c-text-2{
	font-size: 14px;
	line-height: 1.4;
	padding: 56px 0;
}

@media screen and (max-width: 1100px) {
	.legal-cookie-footer .c-text-2,
    .nonmeber-footer .c-text-2{
		padding: 0 20px 25px 20px;
	}
}

.legal-cookie-footer .c-text-2 span,
.nonmeber-footer .c-text-2 span{
	width: 70%;
	display: inline-block;
}

@media screen and (max-width: 600px) {
	.legal-cookie-footer .c-text-2 span,
    .nonmeber-footer .c-text-2 span{
		width: 100%;
	}
}

.legal-cookie-footer .c-text-2 span.button,
.nonmeber-footer .c-text-2 span.button{
	width: 30%;
	display: inline-block;
	text-align: center;
}

@media screen and (max-width: 600px) {
	.legal-cookie-footer .c-text-2 span.button,
    .nonmeber-footer .c-text-2 span.button{
		width: 100%;
		margin-top: 15px;
	}
}

.legal-cookie-footer a,
.nonmeber-footer a{
	cursor: pointer;
	padding: 4px 12px;
	margin: 0 0 0 3px;
	border: 1px solid #404041;
	border-radius: 11px;
	display: inline-block;
	font-size: 1em;
	font-family: 'Montserrat', sans-serif;
	color: #404041;
	text-decoration: none;
}

.legal-cookie-footer a:hover,
.nonmeber-footer a:hover{
	color: #ffffff;
	background-color: #404041;
}




/* -- Misc ---- */

.why-join-list {
	list-style-type: decimal;
	padding-left: 20px;
}
