/*
Theme Name: Bærekraft 2
Theme URI: https://tyde.no
Author: tyde
Author URI: https://tyde.no
Description: 
Version: 2.0
License: all rights reserved
License URI: https://tyde.no
Tags: sustainability
Text Domain: Bærekraft

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.
*/
@import url("https://use.typekit.net/qht3lrr.css");
html,
body,
div,
span,
iframe,
ul,
li,
section,
article,
aside,
footer,
header,
menu,
nav,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
fieldset,
form,
label,
legend,
table,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}
div,
section,
article,
aside,
footer,
header,
menu,
nav,
ul {
  display: block;
  position: relative;
  box-sizing: border-box;
}
body {
  background: #fff;
  font-family: urw-din, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5em;
  color: #000;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  color: #315a5e;
  line-height: 1.25em;
}
h2 {
  font-size: 2.5em;
  text-transform: uppercase;
  line-height: 1em;
}
@media (min-width: 550px) {
  h2 {
    font-size: 3em;
  }
}
@media (min-width: 850px) {
  h2 {
    font-size: 4em;
  }
}
h3 {
  font-size: 1.5em;
  font-weight: 300;
}
h4 {
  font-size: 1.5em;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1em;
}
.ingress {
  font-size: 1.25em;
}
a {
  color: #315a5e;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
}
.mainWrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
#mainMenu {
  display: none;
}
.menuWrapper {
  background: #def0f0;
  padding: 2em 0;
}
@media (min-width: 900px) {
  .menuWrapper {
    font-size: 1.1em;
  }
  .menuWrapper .mainWrapper {
    display: flex;
    gap: 2rem;
  }
}
.menuSection {
  color: #315a5e;
  margin: 0;
  list-style: none;
}
.menuSection li {
  line-height: 1.1em;
  margin: 0.75em 0;
}
.menuSection a {
  font-weight: 500;
}
@media (min-width: 600px) {
  .menuSection {
    flex-basis: 50%;
    flex-grow: 1;
    margin-right: 5%;
    padding-right: 5%;
  }
  .menuSection:first-child {
    border-right: 2px solid #fff;
  }
}
.mainMenuSection,
.postMenuSection {
  margin: 0;
  list-style: none;
  color: #315a5e;
}
.mainMenuSection {
  font-size: 1.25rem;
  padding-right: 1rem;
}
.mainMenuSection a {
  text-decoration: none;
}
.mainMenuSection li:before {
  display: inline-block;
  text-align: center;
  width: 2.25rem;
  color: inherit;
  vertical-align: -0.1em;
  content: "\2022";
  opacity: 0.75;
  font-weight: normal;
}
.mainMenuSection li:hover {
  font-weight: 500;
}
.mainMenuSection li:hover:before {
  opacity: 0.85;
}
.mainMenuSection .homelink {
  border-bottom: 1px solid #9ac5ce;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
.mainMenuSection .homelink:before {
  font-family: dashicons;
  font-size: 1em;
  content: "\f102";
}
@media (max-width: 900px) {
  .mainMenuSection {
    border-bottom: 1px solid #9ac5ce;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
}
@media (min-width: 900px) {
  .mainMenuSection {
    flex-basis: calc(50% - 1rem);
  }
}
@media (min-width: 1200px) {
  .mainMenuSection {
    flex-basis: calc(33% - 1rem);
  }
}
.postMenuSectionHolder .goalTitle {
  font-size: 1.25rem;
  padding-bottom: 1rem;
  font-weight: 300;
}
.postMenuSectionHolder a {
  font-weight: 500;
}
@media (min-width: 900px) {
  .postMenuSectionHolder {
    flex-basis: calc(50% - 1rem);
  }
  .postMenuSectionHolder .goalTitle {
    border-bottom: 1px solid #9ac5ce;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
}
@media (min-width: 1200px) {
  .postMenuSectionHolder {
    flex-basis: calc(66% - 1rem);
  }
  .postMenuSectionHolder .postMenuSection {
    columns: 2;
  }
}
.pageHeaderWrapper {
  padding: 2em 0;
}
.pageHeaderWrapper h1 {
  position: relative;
  text-transform: uppercase;
  font-size: 2em;
}
.pageHeaderWrapper h1 a:hover {
  text-decoration: none;
}
@media (max-width: 550px) {
  .pageHeaderWrapper h1 {
    font-size: 1.25em;
  }
}
.pageHeaderWrapper:before {
  display: block;
  content: ' ';
  position: absolute;
  top: 0;
  right: 20%;
  height: 50vh;
  left: calc(50% - 50vw);
  background: radial-gradient(circle at 35% 20%, #def0f0, #9ac5ce);
}
@media (min-width: 719px) {
  .pageHeaderWrapper:before {
    right: 35%;
  }
}
.mainMenuToggleBtn {
  position: absolute;
  right: 0;
  top: 2em;
  text-transform: uppercase;
  cursor: pointer;
}
.mainMenuToggleBtn:before {
  position: relative;
  display: block;
  content: "\f333";
  font-family: dashicons;
  text-align: center;
  font-size: 2.25em;
  color: inherit;
}
.boxWithBorder {
  border: 3px solid #def0f0;
  padding: 1em 1.5em;
  max-width: 550px;
  margin-bottom: 2em;
}
.boxWithBack {
  padding: 1em 1.5em;
  max-width: 550px;
  margin-bottom: 2em;
  background: #def0f0;
  color: #315a5e;
  font-style: italic;
}
.frontHeading {
  background: radial-gradient(circle at 35% 20%, #9ac5ce, #315a5e);
}
.frontHeading .mainWrapper {
  padding: 8em 0 1em;
}
.frontHeading .mainMenuToggleBtn {
  color: #fff;
}
.frontHeading h1 {
  color: #fff;
  text-transform: uppercase;
}
@media (min-width: 719px) {
  .frontHeading h1 {
    font-size: 3em;
  }
}
.frontHeading h2 {
  font-size: 1.5em;
  text-transform: none;
  color: #fff;
  margin-bottom: 2em;
}
.frontHeading .frontImg img {
  width: 100%;
}
.frontIngress {
  width: 80%;
  max-width: 700px;
  margin: 2em auto;
  font-size: 1.25em;
  line-height: 1.5em;
  font-style: italic;
  text-align: center;
}
.artTop {
  margin: 1em 0 3em;
}
.artTop h2 {
  margin-bottom: 0.35em;
}
.artTop .artTopImg {
  margin-bottom: 1em;
}
.artTop .artTopImg img {
  max-height: 60vh;
}
@media (min-width: 719px) {
  .artTop {
    display: flex;
    align-items: flex-end;
  }
  .artTop .artTopContent {
    margin-left: 5%;
  }
}
@media (min-width: 1024px) {
  .artTop .artTopImg {
    flex-basis: 40%;
  }
  .artTop .artTopContent {
    margin-left: 5%;
    flex-basis: 55%;
  }
}
.presentationBtn {
  border: 3px solid #def0f0;
  padding: 0.5em;
  background: #fff;
  margin-bottom: 2em;
}
.presentationBtn:hover {
  text-decoration: none;
}
.presentationBtn:before {
  font-size: 1.75em;
  vertical-align: -0.3em;
  font-family: dashicons;
  content: "\f496";
  padding-right: 0.5em;
}
@media (min-width: 550px) {
  .artInnledning,
  .artTeol {
    margin-left: 10%;
  }
}
@media (min-width: 719px) {
  .artInnledning,
  .artTeol {
    margin-left: 25%;
  }
}
@media (min-width: 1024px) {
  .artInnledning,
  .artTeol {
    margin: 0 10% 0 35%;
  }
}
.artTeol {
  margin-top: 2em;
}
.artBoxes {
  margin: 2em 0;
}
@media (min-width: 719px) {
  .artBoxes {
    display: flex;
    flex-wrap: wrap;
  }
  .artBoxes section {
    flex-basis: calc(50% - 1em);
  }
  .artBoxes section:first-child {
    margin-right: 2em;
  }
  .artBoxes .prayWrap {
    margin-left: 25%;
  }
}
@media (min-width: 1024px) {
  .artBoxes {
    margin-top: 6em;
  }
  .artBoxes .prayWrap {
    margin-left: 35%;
  }
}
@media (min-width: 1100px) {
  .artBoxes {
    align-items: flex-start;
  }
  .artBoxes .questWrap {
    flex-basis: 33%;
    margin-top: -3em;
    top: -7em;
    margin-left: calc(2% - 2em);
  }
  .artBoxes .utfWrap {
    top: 2em;
    flex-basis: calc(32% - 1em);
  }
  .artBoxes .prayWrap {
    flex-basis: calc(32% - 1em);
    margin-left: 2em;
  }
}
.questWrap ul {
  margin-left: 1.2em;
  list-style: disc;
}
.questWrap li {
  padding: 0 0 0.5em;
}
.mainArticleWrapper {
  margin-top: 10vh;
  margin-bottom: 6em;
}
@media (min-width: 550px) {
  .mainArticleWrapper {
    margin-left: 10%;
  }
}
@media (min-width: 719px) {
  .mainArticleWrapper {
    margin-left: 20%;
  }
}
@media (min-width: 1024px) {
  .mainArticleWrapper {
    margin: 10vh 15% 6em 25%;
  }
}
.mainArticleContent {
  margin-top: 2em;
}
.mainArticleContent h4 {
  margin-top: 1em;
}
.wp-block-file {
  font-weight: 500;
  margin-bottom: 0 !important;
}
.wp-block-file a:hover {
  text-decoration: none;
  color: #000;
}
.wp-block-file:before {
  content: "\f345";
  font-family: dashicons;
  vertical-align: -3px;
  color: #9ac5ce;
  margin-right: 0.5em;
}
.wp-block-file__button {
  display: none;
}
.slideBody {
  background: radial-gradient(circle at 35% 20%, #def0f0, #9ac5ce);
}
.slideDarkBack {
  opacity: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: radial-gradient(circle at 35% 20%, #9ac5ce, #315a5e);
  transition: opacity 1s;
}
.slideWrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: radial-gradient(circle at 35% 20%, #def0f0, #9ac5ce);
}
.slideTittel {
  position: absolute;
  top: 2vw;
  left: 2vw;
}
.slideImg {
  z-index: 100;
  position: absolute;
  top: 3vw;
  left: 1em;
  bottom: 2.5em;
  width: 25%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: width 1s;
}
.slideHolder {
  display: flex;
  flex-wrap: nowrap;
  position: absolute;
  top: 2em;
  left: 0;
  bottom: 0;
  transition: left 1s;
}
.slideBtn {
  z-index: 200;
  font-size: 14px;
  position: absolute;
  bottom: 1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 3px solid #def0f0;
  padding: 0.25em 0.5em;
  background: #fff;
  margin-bottom: 2em;
}
.slideBtn:hover {
  text-decoration: none;
}
.slideBtn.next {
  right: 2vw;
}
.slideBtn.next:after {
  content: "\f345";
  padding-left: 0.5em;
}
.slideBtn.prev {
  left: 2vw;
}
.slideBtn.prev:before {
  content: "\f341";
  padding-right: 0.5em;
}
.slideBtn.close {
  top: 2vw;
  right: 2vw;
  bottom: auto;
}
.slideBtn.close:after {
  content: "\f158";
  padding-left: 0.5em;
}
.slideBtn:before,
.slideBtn:after {
  font-size: 1.75em;
  vertical-align: -0.3em;
  font-family: dashicons;
}
.slide {
  flex-basis: 100vw;
  flex-shrink: 0;
  flex-grow: 0;
  box-sizing: border-box;
  padding: 15vh 5vw 0 30vw;
  font-size: 1.3vw;
}
.slide h4 {
  font-size: 3em;
  margin-top: 0.5em;
}
.slide ul {
  margin-left: 1.75em;
  list-style: disc;
}
.slide p,
.slide li {
  line-height: 1.5em;
  font-size: 1.75em;
  margin-bottom: 1em;
}
.slide .bonn {
  font-style: italic;
}
.slide1 {
  color: #fff;
  padding: 20vh 5vw 0 50vw;
}
.slide1 h2,
.slide1 h3 {
  color: #fff;
}
.slide1 h3 {
  font-size: 2em;
}
.slidePagenav {
  position: fixed;
  left: 1em;
  bottom: 10px;
  right: 1em;
  z-index: 300;
}
.slidePagenav a {
  display: inline-block;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  text-align: center;
}
.slidePagenav .active {
  font-weight: 500;
  background: #fff;
  color: #315a5e !important;
  border-radius: 50%;
}
.active1 .slideHolder {
  left: 0;
}
.active1 h1 {
  color: #fff;
}
.active1 .slideDarkBack {
  opacity: 1;
}
.active1 .slidePagenav {
  color: #fff;
}
.active1 .slidePagenav a {
  color: #fff;
}
.active1 .slideImg {
  width: 45%;
}
.active2 .slideHolder {
  left: -100vw;
}
.active3 .slideHolder {
  left: -200vw;
}
.active4 .slideHolder {
  left: -300vw;
}
.ressursPage {
  margin-top: 2em;
}
.ressursPage .ingress {
  margin: 1em 0;
}
@media (min-width: 720px) {
  .ressursPage .ingress {
    max-width: 50%;
  }
}
.ressursWrapper {
  display: flex;
  flex-wrap: wrap;
}
.ressursWrapper {
  padding: 3em 0 1em;
}
.ressursWrapper:nth-child(even) {
  justify-content: flex-end;
}
.ressursWrapper:nth-child(even):before {
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  Left: calc(50% - 50vw);
  opacity: 0.4;
  background: radial-gradient(circle at 35% 20%, #def0f0, #9ac5ce);
}
.ressursElement {
  padding: 2em;
  border: 3px #315a5e solid;
  margin-bottom: 2em;
  flex-basis: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 700px) and (max-width: 999px) {
  .ressursElement {
    flex-basis: calc(50% - 1em);
  }
  .ressursElement:nth-child(odd) {
    margin-right: 2em;
  }
  .ressursElement:last-child {
    margin-right: 0;
  }
}
@media (min-width: 1000px) {
  .ressursElement {
    flex-basis: calc(33.333% - 1em);
    margin-right: 1.5em;
  }
  .ressursElement:nth-child(3n+3),
  .ressursElement:last-child {
    margin-right: 0;
  }
}
.ressursElement h4 {
  margin: 0 0 1rem;
}
.ressursElement p {
  margin: 0;
}
.ressursElement a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.ressursElement a:hover {
  text-decoration: none;
}
.ressursElement.hidden {
  display: none;
}
.ressursSectionTitle {
  background-color: #315a5e;
  padding-top: 1.45em;
}
.ressursSectionTitle h3 {
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1rem;
}
.ressursSectionTitle p {
  color: #fff;
  font-weight: bold;
  margin-bottom: 1rem;
}
.ressursSectionTitleImg {
  max-width: 60%;
  margin: -4rem 0 0 40%;
}
.visAlleBtn {
  display: inline-block;
  padding: 0.5em 1em;
  border: 3px solid #fff;
  cursor: pointer;
}
.page-template-singular-ressursbank .pageHeaderWrapper:before {
  height: 466px;
}
.footerRessursFooter {
  background: #315a5e;
  color: #fff;
  padding: 2em 0 1em;
}
.footerRessursFooter h4,
.footerRessursFooter p {
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}
.footerRessursFooter .ingress {
  margin-bottom: 2rem;
}
.footerRessursFooter .mainBtn {
  font-weight: bold;
  background: #def0f0;
  border: 3px solid #fff;
  padding: 0.5em;
  margin-bottom: 2em;
}
.footerRessursFooter .mainBtn:hover {
  text-decoration: none;
  background: #315a5e;
  color: #def0f0;
}
@media (min-width: 600px) {
  .footerRessursFooter .mainWrapper {
    display: flex;
    flex-wrap: nowrap;
  }
  .footerRessursFooter .footerRessursFooterImgHolder {
    flex-basis: 45%;
    margin-right: 5%;
  }
  .footerRessursFooter .content {
    flex-basis: 50%;
  }
  .footerRessursFooter .content h4,
  .footerRessursFooter .content p {
    text-align: left;
  }
}
.footerRessursFooterImg {
  width: 100%;
}
.mainPageFooterWrapper {
  background: radial-gradient(circle at 35% 20%, #def0f0, #9ac5ce);
}
.mainPageFooter {
  padding: 2em 0 60vw;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}
@media (min-width: 1200px) {
  .mainPageFooter {
    padding-bottom: 720px;
  }
}
.footerLogoList {
  margin: 2em 0 4em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 800px) {
  .footerLogoList {
    margin-bottom: 2em;
  }
}
.footerLogo {
  margin-bottom: 2em;
  height: 3vw;
  flex-shrink: 1;
  flex-grow: 0;
  flex-basis: 22%;
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
}
@media (max-width: 800px) {
  .footerLogo {
    flex-basis: 30%;
    height: 6vw;
  }
}
@media (max-width: 600px) {
  .footerLogo {
    flex-basis: 40%;
    height: 10vw;
  }
}
.footerTekst {
  max-width: 500px;
}
