:root {
  --border: #e1e1e1;
  --blue: #1e8ab6;
  --dark-blue: #036a94;
  --light-grey: #f3f3f3;
}

* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

body {
  background-color: #fff;
  box-sizing: border-box;
  font: 300 18px 'DM Sans', sans-serif;
  font-optical-sizing: auto;
  min-height: 100%;
  padding-bottom: 999px !important;
  position: relative;
}

h1, h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1em;
  margin-bottom: 1em;
  text-transform: uppercase;
}

h2 a { text-decoration: none; }

h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2em;
  margin: 1em 0 0.75em 0;
}

h3:first-child { margin-top: 0; }

h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1em;
  margin: 1em 0 0.9em 0;
}

p {
  line-height: 1.5em;
  margin: 1em 0;
}

p:first-of-type { margin-top: 0; }

p:last-of-type { margin-bottom: 0; }

p.smaller { font-size: 14px; }

img { vertical-align: middle; }

a { transition: 300ms; }

strong { font-weight: 400; }

.button,
.more-link {
	background-color: var(--blue);
	border-radius: 5px;
	color: #fff !important;
	display: inline-block;
  font-weight: 400;
	padding: 12px 20px 11px;
	text-decoration: none;
	text-transform: uppercase;
}

.button:hover,
.more-link:hover { background-color: var(--dark-blue); }

.pull-left {
	float: left;
	margin: 0 2em 1em 0;
  width: min-content;
}

.pull-right {
	float: right;
	margin: 0 0 1em 2em;
  width: min-content;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  background-color: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  place-items: start end;
  position: relative;
  z-index: 200;
}

.header .logo {
  grid-row: 1 / span 2;
  padding: 30px 40px;
}

.logo img { max-width: 100%; }

.header .contact {
  display: flex;
  gap: 10px 30px;
  flex-flow: row wrap;
  padding: 30px 40px 18px;
  place-items: center;
}

.header .contact a {
	color: #808080;
  font-weight: 400;
	text-decoration: none;
}

.main-menu {
  align-self: end;
  padding: 0 20px;
}

#menu-main-menu {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
}

#menu-main-menu > li > a {
	border-bottom: 7px solid transparent;
	color: #000;
	display: block;
  font-weight: 500;
	padding: 17px 20px;
	text-decoration: none;
	text-transform: uppercase;
}

#menu-main-menu > li.current_page_item > a,
#menu-main-menu > li:hover > a { border-bottom-color: var(--blue); }

.header .fa-solid {
  color: #808080;
  margin-right: 8px;
  vertical-align: middle;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

#mainMenu {
  background-color: var(--blue);
  height: 100vh;
  overflow-x: hidden;
  position: fixed;
    top: 0;
    right: 0;
  transition: 1s;
  width: 0;
  z-index: 998;
}

#mainMenu.show { width: 100%; }

#mainMenu ul { list-style: none; }

.mobile-menu { margin: 30px; }

.mobile-menu a {
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: 400;
  margin: 20px 0;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================================
    Mobile Menu Toggle
   ========================================================================== */
  
#openMenu {
  background-color: #212121;
  display: none;
  padding: 20px 15px;
  position: fixed;
    top: 0;
    right: 0;
  transition: .5s;
  width: 41px;
  z-index: 999;
}

#openMenu.open {
  background-color: var(--blue);
  color: #fff;
}

#menuTitle {
  position: relative;
  text-align: center;
  transition: .5s;
}
  
/* ==========================================================================
    Mobile Menu Icon Transition Effect
   ========================================================================== */
  
#btn {
  cursor: pointer;
  display: block;
  height: 30px;
  position: relative;
  transition: .5s;
  z-index: 200;
}

#btn .icon,
#btn .icon::before,
#btn .icon::after {
  background: #fff;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  transition: top ease .5s .5s, transform ease .5s;
  width: 41px;
}

#btn .icon {
  top: 14px;
  left: 2px;
}

#btn .icon::before { top: -8px; }

#btn .icon::after { top: 8px; }

#btn.active .icon { background: transparent; }

#btn.active .icon::before { transform: rotate(45deg); }

#btn.active .icon::after { transform: rotate(-45deg); }

#btn.active .icon::before,
#btn.active .icon::after {
  background-color: #fff;
  top: 0;
  transition: top ease .5s, transform ease .5s .5s;
}

/* ==========================================================================
   Banner
   ========================================================================== */

.banner {
  position: relative;
  z-index: 0;
}

.banner img { max-width: 100%; }

/* ==========================================================================
   Section 1
   ========================================================================== */

.section1 {
	background-color: rgba(255,255,255,0.85);
	margin: -60px auto 0 auto;
	max-width: 1600px;
	padding: 10px;
  position: relative;
  z-index: 100;
}

.grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(366px, 1fr));
}

.grid h3 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
}

.grid h3 a {
  align-items: center;
  background-color: var(--blue);
  color: #fff;
  display: flex;
  height: 86px;
  padding: 20px;
  text-decoration: none;
}

.grid h3 a:hover { background-color: var(--dark-blue); }

.grid h3.product-of-canada a {
  background: var(--blue) url("../images/product-of-canada.png") right 20px center no-repeat;
  padding-right: 110px;
}

.grid img { width: 100%; }

/* ==========================================================================
   Section 2
   ========================================================================== */

.section2-wrapper { background-color: #f6f6f6; }

.section2 {
  margin: 0 auto;
  max-width: 1600px;
  padding: 80px 20px;
}

.section2 h2 {
  color: var(--blue);
  margin: 0 auto 1em auto;
  max-width: 1600px;
}

.section2 h3 a {
  color: var(--dark-blue);
  text-decoration: none;
}

.section2 a {
	color: var(--blue);
	font-weight: 400;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content {
  margin: 80px auto;
  max-width: 1600px;
	overflow: hidden;
  padding: 0 20px;
}

.content h1,
.content h2 { color: var(--blue); }

.content h3 { color: var(--dark-blue); }

.content a {
	color: var(--blue);
	font-weight: 400;
}

.content img { max-width: calc(100vw - 40px); }

.content iframe { max-width: 100%; }

.content ul,
.content ol {
  line-height: 1.5em;
  margin: 1em 0;
  overflow: hidden;
}

.content li { margin-left: 1em; }

.content ol li { margin-top: 0.5em; }

.content ol li:first-child { margin-top: 0; }

.content ul.no-bullet { list-style: none; }

.content ul.no-bullet li { margin-left: 0; }

.content hr {
	background-color: #d1d1d1;
	border: none;
	clear: both;
	height: 1px;
	margin: 1.5em 0;
}

.content .label { margin-bottom: 0.5em; }

.content .label + * { margin-top: 0; }

.content .center { text-align: center; }

.content .flex {
  display: flex;
  flex-flow: row wrap;
  gap: 40px;
  justify-content: center;
  margin: 2em 0;
}

.content .flex-item { max-width: min-content; }

.left-image {
  display: grid;
  gap: 30px 40px;
  grid-template-columns: 400px 1fr;
  margin: 1em 0;
}

.left-image .image img { max-width: 100%; }

/* ==========================================================================
   Posts
   ========================================================================== */

.post {
	border-bottom: 1px solid var(--border);
	display: grid;
	gap: 20px 40px;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	grid-template-columns: auto;
	margin-bottom: 40px;
	padding-bottom: 40px;
}

.post:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post img {
  height: auto;
  width: 240px;
}

.section2 .post .more-link { margin-top: 1em; }

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

.fm_empty_margin { margin-top: 0 !important; }

.fm-header { display: block !important; }

.wdform_column { gap: 0 20px; }

.fm-form-container.fm-theme1 .fm-form,
input[type="text"],
textarea {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400;
}

.fm-form-container.fm-theme1 .fm-form .button-submit { font: 400 18px 'DM Sans', sans-serif !important; }

.iti { display: block !important; }

.fm-form .wd-flex { display: block !important; }

.fm-form .fm-header-bg, .fm-form .wdform-field:not([type="type_hidden"]) { padding: 10px 0 !important; }

.wdform_section,
.wdform-element-section { margin: 0 !important; }

.wdform_footer { display: none; }

.section3 .fm-form-container.fm-theme1 .fm-form .button-submit {
  text-transform: uppercase;
  transition: 300ms;
  width: 100%;
}

.section3 .fm-form-container.fm-theme1 .fm-form .button-submit:hover { background-color: var(--dark-blue) !important; }

.section3 .fm-form-container.fm-theme1 .fm-form .fm-header-bg { padding-top: 0 !important; }

.fm-form-container.fm-theme1 .fm-form .fm-header-title {
  font: 400 48px "DM Sans", serif !important;
  text-transform: uppercase;
}

/* ==========================================================================
   Accordion Menu
   ========================================================================== */

.lightweight-accordion { border: 1px solid var(--border); }

.lightweight-accordion:first-of-type { margin-top: 1em; }

.lightweight-accordion + br { display: none; }

.lightweight-accordion .lightweight-accordion-title {
  background-color: #fff !important;
  transition: 300ms;
}

.lightweight-accordion .lightweight-accordion-title span { font-size: 20px !important; }

.lightweight-accordion details[open] .lightweight-accordion-title,
.lightweight-accordion .lightweight-accordion-title:hover { background-color: var(--light-grey) !important; }

.lightweight-accordion .lightweight-accordion-body {
  border-top: 1px solid var(--border);
  padding: 20px !important;
}

.lightweight-accordion .lightweight-accordion-body > :first-child { margin-top: 0; }

.lightweight-accordion .lightweight-accordion-body > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.bottom {
  background-color: #fff;
  position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.section3-wrapper { background: url("../images/bg.jpg") center bottom no-repeat; }

.section3 {
  color: #fff;
  margin: 0 auto;
  max-width: 1200px;
  padding: 80px 20px;
  text-align: center;
}

.footer-wrapper {
  background-color: #fff;
  border-top: 10px solid var(--blue);
  text-align: center;
}

.footer {
  margin: 0 auto;
  max-width: 1600px;
  padding: 40px 20px;
}

#menu-bottom-menu {
  display: flex;
  gap: 10px 30px;
  flex-flow: row wrap;
  list-style: none;
  place-content: center;
}

#menu-bottom-menu a {
  color: #000;
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

#menu-bottom-menu a:hover { color: var(--blue); }

.bottom-logos {
  display: flex;
  gap: 20px 40px;
  flex-flow: row wrap;
  justify-content: center;
  margin: 30px 0;
}

.social {
  display: flex;
  flex-flow: row nowrap;
  gap: 20px;
  justify-content: center;
}

.social a {
  color: #fff;
  text-decoration: none;
}

.fa-brands {
  background-color: #3b5998;
  border-radius: 5px;
  padding: 13px 11px;
}

.fa-facebook-f::before { content: "\f39e" !important; }

.fa-x-twitter { background-color: #000; }

.fa-youtube { background-color: #cf2200; }

.copyright {
  border-top: 1px solid var(--border);
  padding: 20px;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

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

.header .logo {
  grid-row: 1;
  padding: 30px 20px;
}

.header .contact { padding: 30px 20px; }

.main-menu {
  grid-column: 1 / span 2;
  justify-self: center;
}

.main-menu { padding: 0; }

#menu-main-menu > li > a { padding: 12px; }

.section1 { margin-top: 0; }

}

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

h1, h2 { font-size: 36px; }

body { padding-bottom: 0 !important; }

#openMenu { display: block; }

.main-menu { display: none; }

.header {
  grid-template-columns: auto;
  gap: 20px;
  padding: 20px;
  place-items: center;
}

.header .logo,
.header .contact { padding: 0; }

.left-image { grid-template-columns: auto; }

.left-image .image { justify-self: center; }

.bottom { position: relative; }

}

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

.pull-right,
.pull-left {
  float: none;
  margin: 1em 0;
}

.header .contact { justify-content: center; }

.banner { display: none; }

.section1 .grid { grid-template-columns: auto; }

.section1,
.content { margin: 60px auto; }

.section2,
.section3 { padding: 60px 20px; }

.post { grid-auto-flow: row; }

.post .image { justify-self: center; }

}

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

.header .logo {
  justify-self: start;
  padding-right: 71px;
}

}