/*!
Theme Name: Malahat Nation
Theme URI:
Author: Dan Pasmans
Author URI:
Version: 3
Description: The official Wordpress theme for Malahat Nation's primary website, malahatnation.com
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: malahat
--------------------------------------------------------------*/
a {
  color: inherit;
  text-decoration: none;
}
audio {
  margin: 12px auto;
  width: 100%;
}
article {
  margin: 36px 0;
  background-color: white;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 0.9px 5px -16px rgba(0, 0, 0, 0.037), 0 2.3px 12.7px -16px rgba(0, 0, 0, 0.053), 0 4.6px 25.9px -16px rgba(0, 0, 0, 0.067), 0 9.5px 53.3px -16px rgba(0, 0, 0, 0.083), 0 26px 146px -16px rgba(0, 0, 0, 0.12);
}
article ul, article ol {
  font-family: "Roboto", sans-serif;
  margin: 0;
}
article h2, article h3 {
  margin-top: 0;
}
article p {
  margin: 12px 0px 24px 0px;
}
.banner {
  display: flex;
  background-size: 100% auto;
  background-repeat: no-repeat;
  height: 26vw;
  object-position: 50% 50%;
  align-items: flex-end;
  justify-content: flex-end;
  background-image: url(https://malahatcdn.s3.us-west-2.amazonaws.com/img/home/banner2.jpg);
}
.bannerText {
  display: none;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 4px 6px;
  margin-right: 16px;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}
.cat-links, .comment-metadata {
  text-transform: uppercase;
  font-size: 0.8em;
  color: #272727;
}
.cat-links a {
  font-weight: bold;
}
.center {
  text-align: center;
}
code {
  max-width: 50%;
  overflow: hidden;
}
#comments {
  margin: 36px 0;
}
#single .comment-body {
  margin: 12px 0;
  padding: 36px;
}
#comment {
  height: 128px !important;
}
.comment-meta .avatar {
  display: none;
}
.comments-link {
  display: none;
}
.comment-list {
  margin: 0;
  padding: 0;
}
.comment-form-cookies-consent, .comment-form-url {
  display: none;
}
.comment-reply-link {
  display: none;
}
.edit-link {
  margin-left: 12px;
}
.entry-content a {
  text-decoration: underline;
}
.entry-content h3, .entry-content h2 {
  margin-top: 36px;
}
.entry-footer {
  margin: 36px 0 0 0;
}
.entry-title {
  margin: 0;
}
footer #footertop {
  color: white;
  display: grid;
  justify-content: center;
  padding: 36px 0;
  margin: 0 0 29px 0;
  width: 100%;
  background-color: rgba(60, 60, 60, 0.8);
  z-index: 0;
  grid-template-columns: 400px 200px 200px;
}
footer #footerbottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: #272727;
  display: flex;
  align-items: center;
  font-size: 12px;
  justify-content: center;
  color: #A0A0A0;
  z-index: 999999;
}
footer .footer-logo {
  position: static;
  display: block;
  width: 100px;
  height: 100px;
  margin-bottom: 16px;
  background-image: url(https://malahatcdn.s3.us-west-2.amazonaws.com/img/home/malahat.svg);
  background-repeat: no-repeat;
}
footer #column1 img {
  width: 100px;
}
footer #column3 {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  padding-bottom: 18px;
}
h1 {
  margin: 12px 0 12px 0;
  height: 32px;
  font-size: 2em;
  color: #272727;
}
h2 {
  font-size: 1.6em;
  margin: 12px 0;
}
h3 {
  font-size: 1.2em;
  margin: 12px 0;
}
h3 a {
  text-decoration: underline;
}
h4 {
  margin: 12px 0;
}
h5 {
  margin: 12px 0;
  height: 18px;
  font-size: 1em;
  font-weight: 400;
  color: #272727;
}
#header {
  width: 100%;
  height: 100px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.9px 5px -16px rgba(0, 0, 0, 0.037), 0 2.3px 12.7px -16px rgba(0, 0, 0, 0.053), 0 4.6px 25.9px -16px rgba(0, 0, 0, 0.067), 0 9.5px 53.3px -16px rgba(0, 0, 0, 0.083), 0 26px 146px -16px rgba(0, 0, 0, 0.12);
  background-color: white;
}
#header #logo {
  position: absolute;
  width: 86px;
  height: 86px;
  left: 12px;
  background-image: url(https://malahatcdn.s3.us-west-2.amazonaws.com/img/home/malahat.svg);
  background-repeat: no-repeat;
}
#header a {
  display: inline-block;
  padding: 18px;
  color: black;
  font-size: 16px;
  font-weight: 500;
  background-color: none;
  text-decoration: none;
}
#header a:hover {
  background-color: #003159;
  color: white;
}
#header ul {
  list-style: none;
}
#header li {
  display: inline-block;
}
.hr {
  border: 0;
  border-top: 1px;
  border-style: solid;
  border-color: #dddddd;
  margin: 12px 0;
}
html {
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  color: #272727;
  line-height: 28px;
}
.left-sidebar {
  margin: 36px;
}
.menu {
  list-style: none;
  padding-left: 6px;
  font-weight: 500;
  line-height: 24px;
}
.menu a:hover {
  color: #003159;
}
#primary .menu-item {
  margin-bottom: 12px;
}
main {
  display: grid;
  grid-template-columns: 25% 50% 25%;
  background-color: #faf8fa;
}
p {
  margin: 6px 0;
  font-family: "Roboto", sans-serif;
}
.post-dates {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-transform: uppercase;
  font-size: 0.8em;
  margin-bottom: 12px;
}
.posted-on {
  margin-right: 36px;
  height: 22px;
}
.post-thumbnail img {
  height: 336px;
  width: auto;
  display: block;
  margin: 36px auto;
  overflow-x: hidden;
}
.primary {
  margin: 36px 0;
}
#reply-title {
  margin-top: 36px;
}
.right-sidebar {
  margin: 36px;
}
#single article {
  margin: 0;
}
#single .post-thumbnail img {
  height: 336px;
  width: auto;
  display: block;
  margin: 36px auto;
  overflow-x: hidden;
}
#single .wp-block-image {
  margin: 36px;
}
#single .wp-block-image img {
  display: block;
  width: 448px;
  max-height: 336px;
  object-fit: cover;
  object-position: center center;
  margin: auto;
}
#single .wp-block-image figcaption, #single .wp-block-gallery figcaption {
  display: block;
  font-size: 0.8em;
  color: #272727;
  text-align: center;
}
.spacer {
  height: 36px;
  width: 100%;
}
.tags-links {
  display: none;
}
.updated {
  display: none;
  height: 22px;
}
.issue {
  width: 100%;
  text-align: center;
  margin: 36px 0;
}
.issue a {
  text-decoration: none;
}
.issue a:hover {
  text-decoration: underline;
}
.news-banner {
  display: flex;
  background-size: 67% auto;
  background-position: center;
  background-repeat: no-repeat;
  height: 20vw;
  object-position: 50% 50%;
  align-items: flex-end;
  justify-content: flex-end;
  background-image: url(img/themalahatnews.svg);
}
aside {
  margin-top: 36px;
  padding-left: 36px;
}
aside a {
  text-decoration: none;
  color: #272727;
  font-size: 0.8em;
  font-weight: 500;
}
aside li {
  list-style: none;
  line-height: 18px;
  margin: 12px 0;
}
aside ul {
  padding-left: 12px;
  margin: 0;
}
.markdown-body blockquote {
  padding: 0 0 0 36px;
  color: inherit;
  border: none;
}
#governance-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 96px 12vw 0 12vw;
}
#governance-tiles .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20vw;
  height: 20vw;
  border-radius: 5px;
  border: 0;
  margin: 0;
  box-shadow: 0 0.9px 5px -16px rgba(0, 0, 0, 0.037), 0 2.3px 12.7px -16px rgba(0, 0, 0, 0.053), 0 4.6px 25.9px -16px rgba(0, 0, 0, 0.067), 0 9.5px 53.3px -16px rgba(0, 0, 0, 0.083), 0 26px 146px -16px rgba(0, 0, 0, 0.12);
  background-color: white;
}
navigation {
  margin-top: 36px;
}
#search input {
  padding: 18px 24px;
  border-radius: 5px;
  border: 0;
  box-shadow: 0 0.9px 5px -16px rgba(0, 0, 0, 0.037), 0 2.3px 12.7px -16px rgba(0, 0, 0, 0.053), 0 4.6px 25.9px -16px rgba(0, 0, 0, 0.067), 0 9.5px 53.3px -16px rgba(0, 0, 0, 0.083), 0 26px 146px -16px rgba(0, 0, 0, 0.12);
  outline: 0;
  margin: 12px;
  text-align: left;
  vertical-align: top;
  width: 50vw;
  font-size: 1em;
  font-family: "Montserrat", sans-serif;
}
#search .results {
  width: 50vw;
  padding: 18px 24px;
  background-color: white;
  margin: auto;
  border-radius: 5px;
  border: 0;
  box-shadow: 0 0.9px 5px -16px rgba(0, 0, 0, 0.037), 0 2.3px 12.7px -16px rgba(0, 0, 0, 0.053), 0 4.6px 25.9px -16px rgba(0, 0, 0, 0.067), 0 9.5px 53.3px -16px rgba(0, 0, 0, 0.083), 0 26px 146px -16px rgba(0, 0, 0, 0.12);
}
#search .results a {
  display: block;
  text-decoration: none;
  color: #272727;
  margin-bottom: 12px;
}
#search .results .title {
  display: flex;
  align-items: baseline;
}
#search .results .category {
  text-transform: uppercase;
  font-size: 0.8em;
  margin-left: 12px;
  color: #999999;
}
#search-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact-columns {
  display: flex;
  margin: 36px 0;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 0.9px 5px -16px rgba(0, 0, 0, 0.037), 0 2.3px 12.7px -16px rgba(0, 0, 0, 0.053), 0 4.6px 25.9px -16px rgba(0, 0, 0, 0.067), 0 9.5px 53.3px -16px rgba(0, 0, 0, 0.083), 0 26px 146px -16px rgba(0, 0, 0, 0.12);
}
.column1 {
  float: left;
  flex-basis: 50%;
  margin: 36px;
}
.column2 {
  float: right;
  flex-basis: 50%;
  margin: 36px;
}
.fb_dialog_content iframe {
  margin: 24px 12px !important;
}
#ezw_tco-4 ul {
  list-style: none;
  padding-left: 12px;
  margin-top: 6px;
}
#ezw_tco-4 li {
  margin-bottom: 6px;
}
#ezw_tco-4 a {
  text-decoration: none;
  font-size: 0.8em;
  font-weight: 500;
}
#ez-toc-container {
  display: none;
}
.widget {
  padding-top: 0;
}
input, textarea {
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 2px;
  color: #333;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  float: none;
  font-size: 16px;
  border: 1px solid #ccc;
  padding: 6px 10px;
  height: 38px;
  line-height: 1.3;
  max-width: 95%;
}
#comment {
  height: 128px;
}
footer .social-grid {
  display: grid;
  grid-template-columns: 36px 36px 36px 36px;
  grid-gap: 12px;
  margin-top: 14px;
}
footer .social-icon {
  width: 36px;
  height: 36px;
}
footer .social-icon svg {
  fill: white;
}
footer i {
  vertical-align: top;
  margin-bottom: 0px;
}
@media only screen and (max-width: 980px) {
  article {
    padding: 36px 12px;
  }
  .banner {
    background-size: cover;
    height: 350px;
    background-position: 15% 50%;
  }
  #hamburger {
    background-image: url(img/hamburger.svg);
    background-repeat: no-repeat;
    background-position: center;
    right: 12px;
    width: 48px;
    height: 52px;
    cursor: pointer;
    z-index: 9999999;
  }
  .contact-columns {
    flex-direction: column;
  }
  .featured-posts {
    flex-direction: column;
  }
  footer #footertop {
    display: flex;
    flex-direction: column;
    padding: 36px;
    box-sizing: border-box;
  }
  .left-sidebar {
    margin: 12px;
  }
  main {
    display: flex;
    flex-direction: column;
  }
  .post-dates {
    flex-direction: column;
  }
  .post-thumbnail img {
    width: 100%;
    height: auto;
  }
  .primary {
    margin: 12px;
  }
  #primary-menu {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    right: 0;
    top: 0;
    margin: 0;
    padding: 96px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.9);
    flex-direction: column;
    z-index: 999998;
  }
  #primary-menu li {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .right-sidebar {
    margin: 12px;
    order: -1;
  }
}
.category-header {
  margin-top: 0;
}
.category-banner {
  width: 100%;
  height: 324px;
  object-fit: cover;
  margin: 12px auto;
}
.category-mission {
  font-weight: 400;
}
.featured-posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.featured-post {
  flex-basis: 47%;
  display: flex;
  box-sizing: border-box;
}
#photo-0 {
  background-image: url(https://malahatcdn.s3.us-west-2.amazonaws.com/img/environment/2021-07/highres_ENV00962_ARW_Na83Ep0s.jpg);
}
#photo-1 {
  background-image: url(https://malahatcdn.s3.us-west-2.amazonaws.com/img/environment/2021-07/ENV00291_edit_yIBCZTeZ.jpg);
}
#photo-2 {
  background-image: url(https://malahatcdn.s3.us-west-2.amazonaws.com/img/environment/2021-07/highres_DSC03436_ARW_mMD1h86r.jpg);
}
.read-more {
  text-transform: uppercase;
  font-size: 1em;
  font-weight: bold;
  color: #272727;
}
.subsection-image {
  flex-basis: 40%;
  height: 256px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 6px 12px 0 0;
}
