/*
Theme Name: Commons Network
Theme URI: https://jelle.xyz/
Version: 1.0
Description: Theme for the Commons Network site.
Author: Jelle Hermsen
Author URI: https://jelle.xyz
*/

/* --------------------- */
/* Fonts                 */
/* --------------------- */

/* source-serif-pro-regular - latin */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/source-serif-pro-v11-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v11-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-serif-pro-italic - latin */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/source-serif-pro-v11-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v11-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-serif-pro-700 - latin */
@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/source-serif-pro-v11-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/source-serif-pro-v11-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* chivo-regular - latin */
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/chivo-v12-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/chivo-v12-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* chivo-italic - latin */
@font-face {
  font-family: 'Chivo';
  font-style: italic;
  font-weight: 400;
  src: local(''),
       url('fonts/chivo-v12-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/chivo-v12-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* chivo-700 - latin */
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: bold;
  src: local(''),
       url('fonts/chivo-v12-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/chivo-v12-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* chivo-900 italic - latin */
@font-face {
  font-family: 'Chivo';
  font-style: italic;
  font-weight: 900;
  src: local(''),
       url('fonts/chivo-v17-latin-900italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/chivo-v17-latin-900italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* Colors */
:root {
    --c1: #F5E1CE; /* Salmon */
    --c2: #C8C6FD; /* Purple */
    --yellow: #f1cd56; /* Yellow */
    --dark-yellow: #efc814; /* Dark yellow */
    --blue: #0000FF;
    --bg: #faf0e1; /* Cream background color */
    --text-color: #333;
    --darkblue: #002149;
    --big-black-link: #333;
    --grey-hover: rgba(0,0,0,0.3);
    --grey: rgba(0,0,0,0.2);
    --grey-opaque: #c8c0b4;
    --grey-opaque-hover: #afa89d;
    --red: #ef3c23;
}


html, body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'Source Serif Pro', sans-serif;
    background-color: var(--bg);
    color: var(--text-color);
    font-size: 16px;
}

/* --------------------- */
/* General styling       */
/* --------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Chivo';
}

h2.huge, main.article.who-we-are h2.huge, h2.big-underlined,
main.article article h2.big-underlined {
    font-size: 2.1875rem;
    width: 100%;
    display: block;
    border-bottom: solid;
    border-width: 6px;
    border-color: var(--darkblue);
    margin-bottom: 100px;
    line-height: normal;
}

h2.big-underlined, main.article article h2.big-underlined {
    margin-top: 100px;
    margin-bottom: 0;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.box {
    margin: 0 auto;
    max-width: 1150px;
    padding: 0 25px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: underline;
    color: black;
}

.action {
    display: block;
    clear: both;
    font-size: 1.25rem;
    font-weight: bold;
    color: black;
    text-align: center;
    background-color: var(--c1);
    margin: 0 auto;
    width: 100%;
    max-width: 370px;
    height: 60px;
    line-height: 60px;
    text-decoration: none;
    margin-top: 25px;
    border: none;
    cursor: pointer;
}

h2 {
    font-size: 1.75rem;
    font-weight: bold;
}


/* --------------------- */
/* Header                */
/* --------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 150px;
    padding: 20px 25px;
    text-align: left;
    z-index: 100;
    border-bottom: solid;
    border-width: 4px;
    border-color: var(--yellow);
    background-color: var(--bg);
    -webkit-transition: height 0.8s;
    -moz-transition: height 0.8s;
    transition: height 0.8s;
}

header div.links a.search {
    display: inline-block;
    margin-right: 25px;
}

header div.links a.search .dashicons {
    font-size: 25px;
}

header div.links {
    float: right;
    margin-right: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Chivo';
    font-size: 20px;
}

header div.links a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

div.header-pusher {
    margin-top: 120px;
    width: 100%;
    height: 0;
}

header a.logo img {
    display: inline-block;
    height: 100%;
    max-height: 100px;
    width: auto;
}

header nav {
    display: none;
    float: right;
    margin-top: 35px;
    padding: 0;
    font-family: "Chivo", sans-serif;
    margin-right: 40px;
}

header nav ul {
    display: inline-block;
    margin: 0;
    padding: 0;
}

header nav ul.menu > li.first-child {
    margin-left: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
    margin-left: 30px;
    position: relative;
    vertical-align: middle;
    text-align: center;
}

header nav ul li a {
    font-weight: bold;
}

header nav ul li:first-child {
    margin-left: 0;
}

header nav ul.sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 30px;
    width: 200px;
    background-color: white;
    height: auto;
    padding: 20px;
}

header nav ul.sub-menu li {
    display: block;
    margin-left: 0;
    text-align: left;
    width: 100%;
}

header nav ul.sub-menu a {
    display: block;
}

header nav ul.sub-menu li:last-child {
    margin-bottom: 0;
}

header nav ul.menu > li:hover ul.sub-menu,
header nav ul.menu > li:focus ul.sub-menu,
header nav ul.sub-menu.focused {
   display: block;
}


header nav a {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: normal;
}

header nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px;
}

header nav a.active,
header nav a:hover {
    background-color: var(--c1);
}


header a.menu-toggle {
    display: flex;
    align-items: center;
    height: 100%;
    float: right;
    color: black;
    font-size: 40px;
    box-sizing: border-box;
    line-height: 30px;
    border: none;
    text-decoration: none;
    -webkit-transition: margin-top 0.8s;
    -moz-transition: margin-top 0.8s;
    transition: margin-top 0.8s;
}

div.header-pusher {
    margin-top: 150px;
    width: 100%;
    height: 0;
}

/* Header from mobile, now always visible */
header nav {
    display: none;
    position: fixed;
    top: 115px;
    left: 0;
    width: 100%;
    background-color: var(--bg);;
    padding: 5px 5px 10px 5px;
    text-align: center;
    border-bottom: solid;
    border-width: 4px;
    border-color: var(--yellow);
    background-color: var(--bg);
}

header nav.toggled {
    display: inline-block;
    max-height: calc(100vh - 120px);
}

header[data-size=big] nav.toggled {
    top: 115px;
}

header[data-size=small] nav.toggled {
    top: 55px;
}

header[data-size=big] a.menu-toggle {
}

header[data-size=small] a.menu-toggle {
}

header nav.toggled ul > li:last-child {
    margin-bottom: 20px;
}

header nav ul.sub-menu {
    position: relative;
    display: block;
    position: static;
    width: auto;
    padding: 0;
    margin-left: 30px;
}

header nav ul.sub-menu a::before {
    content: '- ';
    display: inline;
}

header nav ul li, header.main nav ul.sub-menu li {
    display: block;
    margin-left: 0;
    margin-top: 20px;
}

header nav ul.sub-menu li {
    text-align: left;
    padding-left: 50px;
}

/* --------------------- */
/* Home                  */
/* --------------------- */
main.home {
    padding-top: 50px;
}

main.home section.stories.expand {
    display: none;
}

main.home a.expand-stories, main.home a.archive, a.all-projects, main.home a.all-products {
    display: block;
    font-family: "Chivo";
    background-color: var(--grey);
    border-radius: 30px;
    width: 250px;
    color: black;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    border: none;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px;
    margin: 25px auto;
}

main.home a.expand-stories:hover, main.home a.archive:hover, main.home a.all-projects:hover {
    background-color: var(--grey-hover);
}

main.home a.archive {
}

main.home div.box.quote h2.huge {
    margin-bottom: 50px;
}

main.home section.quote {
    padding: 50px 100px 50px 100px;
    margin: 0px auto;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: normal;
    color: #333;
    height: auto;
    max-width: 1000px;
    height: auto;
    box-sizing: border-box;
    text-align: left;
    font-family: "Chivo", sans-serif;
    border: none;
}

main.home section.quote p:first-child {
    margin-top: 0;
}

main.home div.parallax {
    background-image: url(images/parallax-balk.png);
    background-attachment: fixed;
    width: 100%;
    height: 75px;
}

div.box.what-we-do {
    margin-bottom: 70px;
}

div.box.what-we-do h2.huge {
    margin-bottom: 30px;
}

div.box.what-we-do div {
    font-size: 1.125rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------- */
/* Archive               */
/* --------------------- */
main.archive {
    padding-top: 100px;
}

/* --------------------- */
/* Pagination            */
/* --------------------- */
div.pagination {
    display: block;
    height: 50px;
    clear: both;
}

div.pagination a {
    display: inline-block;
    min-width: 100px;
    font-family: "Chivo";
    background-color: rgba(0,0,0,0.2);
    border-radius: 30px;
    color: black;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    border: none;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px;
    margin: 25px auto;
}

div.pagination a:hover {
    background-color: rgba(0,0,0,0.3);
}

div.pagination a.previous {
    float: left;
    color: black;
}

div.pagination a.next {
    float: right;
    color: black;
}


/* --------------------- */
/* Actions / tools       */
/* --------------------- */
article.timeline-page {
    margin: 30px auto 0px auto;
    max-width: 100%;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 50% 50%;
    column-gap: 20px;
}

article.timeline-page span {
    display: block;
    width: 100%;
}

article.timeline-page span.description {
    display: grid;
    align-content: center;
    max-width: 530px;
    font-size: 1.2rem;
}

article.timeline-page video {
    width: 100%;
    height: auto;
}

article.timeline-page img.after-video {
    display: none;
}

@media(max-width: 750px) {
    article.timeline-page span.description {
        max-width: 100%;
    }
}

article.timeline-page img {
    width: 100%;
    height: auto;
}

@media(max-width: 750px) {
    article.timeline-page {
        grid-template-columns: 100%;
        row-gap: 20px;
    }

    article.timeline-page {
        padding: 0 20px;
    }
}

span.timeline-page-header a {
    border: none;
}


a.scroll-down {
    display: inline-block;
    border: solid;
    border-color: var(--yellow);
    border-width: 4px;
    padding: 10px;
    font-family: "Chivo", sans-serif;
    text-decoration: none;
}

a.scroll-down {
    display: none;
}

a.scroll-anchor {
    position: relative;
    top: -50px;
}

section.actions-tools {
    display: grid;
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(3, 1fr);
    margin: 70px auto 50px auto;
    padding: 0 50px 20px 50px;
}

section.actions-tools a img {
    max-width: 250px;
}

section.actions-cats div.actions-cats-wrapper {
    display: grid;
    grid-column-gap: 5px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(3, 1fr);
    margin: 70px auto 20px auto;
    padding: 0 50px 20px 50px;
}

section.actions-cats {
    display: grid;
    place-content: center;
}

main.home section.actions-cats {
    max-width: 1800px;
    margin: 10px auto 100px auto;
}


section.actions-cats a {
    text-decoration: none;
    position: relative;
}

section.actions-cats a img {
    width: 100%;
    text-align: center;
}

section.actions-cats a.inactive img {
    opacity: 0.5;
}

section.actions-cats.highlight a {
    padding-top: 20px;
}

section.actions-cats.highlight a:nth-child(2) {
    padding-top: 0;
}

section.actions-cats.highlight a:nth-child(2) img {
    width: 100%;
}

section.actions-cats.highlight a:nth-child(2) span {
    font-size: 20px;
}

section.actions-cats a span {
    display: block;
    clear: both;
    font-size: 17px;
    font-family: "Chivo";
    margin-top: 5px;
}

section.actions-tools a {
    color: black;
    font-size: 30px;
    font-family: "Chivo";
    text-decoration: none;
}

section.actions-tools span {
    display: block;
    margin-bottom: 30px;
}

/* --------------------- */
/* Stories               */
/* --------------------- */
section.stories {
    display: grid;
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
}

section.stories a {
    position: relative;
    display: block;
    border: solid;
    border-color: var(--yellow);
    border-width: 4px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-color);
    padding-bottom: 30px;
}

section.stories span.summary {
    font-size: 1.125rem;
}


section.stories a h2 {
    font-weight: bold;
    font-size: 1.5625rem;
    margin-top: 5px;
    color: black;
}

section.stories date {
    position: absolute;
    bottom: 1px;
    right: 1px;
    display: block;
    text-align: right;
    font-weight: bold;
    font-size: 14px;
}


/* --------------------- */
/* Team                  */
/* --------------------- */
section.team {
    display: grid;
    grid-column-gap: 60px;
    grid-row-gap: 40px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
    border-radius: 20px;
    border-width: 5px;
}

section.team a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border: solid;
    padding: 10px 20px;
    border-radius: 20px;
    border-color: transparent;
    border-width: 5px;
}

section.team a:hover {
    border-color: var(--yellow);
}

section.team a img {
    width: 100%;
    height: auto;
}

section.team span.name {
    display: block;
    font-weight: bold;
}

section.team span.role {
    display: block;
}

section.team p.descr {
    margin-bottom: 0;
}

/* --------------------- */
/* Article               */
/* --------------------- */
main.article {
    margin-top: 200px;
    margin-bottom: 100px;
}

main.article section.title a {
    text-decoration: none;
    color: black;
    border: none;
}

main.article h1 {
    font-size: 2.5rem;
    border-bottom: solid;
    border-color: var(--darkblue);
    border-width: 5px;
}

article, .content {
    margin: 75px auto;
    max-width: 700px;
    padding: 0 15px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 150%;
    box-sizing: border-box;
    clear: both;
}

main.article article h1, main.article article h2 {
    font-size: 1.5625rem;
    text-align: center;
    border-bottom: none;
    margin-top: 50px;
}

main.article article span {
    text-decoration: none !important;
    text-decoration-color: transparent;
}

main.article article a {
    text-decoration: none;
}

main.article p.wp-caption-text {
    margin-top: 0;
}

article div.wp-caption {
    max-width: 100%;
    margin-bottom: 30px;
}

article a {
    color: black;
    border-bottom: solid;
    border-width: 2px;
    border-color: var(--yellow);
}

article h3 {
    font-size: 1.125rem;
}

article p {
    line-height: 150%;
}


/* --------------------- */
/* Form                  */
/* --------------------- */
form {
    margin: 0px auto 20px auto;
    max-width: 700px;
    padding: 0 15px;
    text-align: center;
    font-size: 1rem;
    line-height: 150%;
}

form input {
    display: block;
    width: 100%;
    background-color: white;
    border-style: solid;
    border-color: var(--grey);
    border-width: 10px;
    line-height: 60px;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 40px;
    border: none;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px;
}

form label {
    font-weight: bold;
    text-align: left;
    display: block;
    font-family: "Chivo", sans-serif;
    font-size: 18px;
}

form p {
    display: block;
    text-align left;
    font-family: "Chivo", sans-serif;
    font-size: 18px;
    font-weight: bold;
}

form select {
    font-size: 20px;
}

form input[type=submit] {
    background-color: var(--grey-opaque);
    font-weight: bold;
    margin-top: 20px;
}

form input[type=checkbox] {
    display: inline;
    width: auto;
    height: auto;
    line-height: auto;
    margin-bottom: auto;
}

form input[type=submit]:hover {
    background-color: var(--grey-opaque-hover);
    font-weight: bold;
    font-size: 20px;
}

form textarea {
    display: block;
    width: 100%;
    min-height: 200px;
    height: 60px;
    line-height: 20px;
    text-decoration: none;
    margin-top: 25px;
    border: none;
    text-align: center;
    box-sizing: border-box;
    padding: 30px;
    font-size: 0.875rem;
    color: black;
    text-align: left;
}

form textarea::placeholder, form input::placeholder {
    color: black;
    font-size: 0.875rem;
    opacity: 1;
    text-align: center;
}


/* --------------------- */
/* Woocommerce           */
/* --------------------- */
article.products {
    max-width: 1000px;
}

article.products div.filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 50px;
    row-gap: 100px;
    text-align: left;
    margin-bottom: 50px;
}


article.products div.mobile-filters {
    display: none;
}

@media(max-width: 800px) {
    article.products div.filters {
        display: none;
    }

    article.products div.mobile-filters {
        display: block;
    }
}


article.products div.filters form {
    margin: 0;
    padding: 0;
    width: 100%;
}

article.products div.filters select,
article.products div.mobile-filters select {
    width: auto;
    font-size: 1.2rem;
    padding: 10px;
    text-align: left;
    background-color: transparent;
    border: solid;
    border-width: 2px;
    border-color: var(--yellow);
    border-radius: 10px;
}


article.products div.filters select {
    width: 100%;
    font-size: 1.2rem;
    padding: 10px;
    text-align: left;
    background-color: transparent;
    border: solid;
    border-width: 2px;
    border-color: var(--yellow);
    border-radius: 10px;
}

div.woocommerce input {
    display: inline;
    height: auto;
    width: auto;
    line-height: auto;
}

div.woocommerce p.woocommerce-result-count {
    display: none;
}

div.woocommerce form.woocommerce-ordering {
    display: none;
}

div.woocommerce a.product_type_variable {
    display: none;
}

div.woocommerce div.product form.variations_form:after {
    content: "We encourage you to select an amount as a donation to support our work, but our publications will always be free, so you can also select € 0,-";
    display: block;
    clear: both;
    margin-top: 10px;
    text-align: left;
}

div.woocommerce a.reset_variations {
    display: none !important;
}

div.woocommerce-variation-add-to-cart {
    margin-top: 15px;
}

.woocommerce.columns-4 ul.products li.product .price {
    display: none;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    font-weight: bold;
    color: black;
}

div.product_meta {
    display: none;
}

.woocommerce div.product form.cart .button {
    float: none;
}

.woocommerce div.product form.cart {
    background-color: rgba(255,255,255,0.6);
    border-radius: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.woocommerce div.quantity {
    display: none !important;
}

section.products, section.products.related ul.products {
    display: grid;
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
}

ul.products span.price span.woocommerce-Price-amount.amount {
    display: none;
}

.woocommerce section.products.related ul.products li.product, .woocommerce-page ul.products li.product {
    width: 100%;
    margin: 0;
}


.woocommerce section.products.related ul.products li.product a, .woocommerce-page ul.products li.product a {
    height: 100%;
}

section.products.related {
    display: block;
}

section.products.related ul.products {
    padding: 0;
}

.woocommerce section.products.related ul::before {
    display: none;
    content: "";
}

section.products a {
    position: relative;
    display: block;
    border: solid;
    border-color: var(--yellow);
    border-width: 4px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-color);
}

div.woocommerce li#tab-title-additional_information {
    display: none;
}

div.woocommerce-terms-and-conditions-wrapper {
    display: none;
}

div.woocommerce-additional-fields {
    display: none;
}

.woocommerce div.single-product p.price:after {
    display: block;
    /* content: 'je kunt het product hier gratis downloaden door hier te klikken of je kunt de webshop applicatie doorlopen om ons wat te doneren'; */
}

.woocommerce div.single-product .woocommerce-product-details__short-description {
    display: none;
}


ul.products li.product a.button.wp-element-button.product_type_variable.add_to_cart_button,
ul.products li.product a.button.wp-element-button.product_type_simple {
    display: none;
}

div.product-list-item {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    text-align: left;
    align-content: start;
    grid-template-rows: 1fr min-content;
}

div.product-list-item a.button.product_type_variable {
    display: none !important;
}

.woocommerce ul.products.columns-4 li.product div.product-list-item a:not(.button) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}

div.product-list-item img {
    max-width: 250px;
}

div.product-list-item span.excerpt p {
    margin-top: 0;
}

div.product-list-item span.thumb {
    display: grid;
    justify-content: center;
    align-content: end;
}

div.woocommerce ul.products.columns-4:before {
    display: none;
}

div.woocommerce ul.products.columns-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 50px;
    row-gap: 100px;
}

@media(max-width: 800px) {
    div.woocommerce ul.products.columns-4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
        row-gap: 50px;
    }
}

@media(max-width: 500px) {
    div.woocommerce ul.products.columns-4 {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 50px;
        row-gap: 50px;
    }
}

.woocommerce ul.products.columns-4 li.product {
    float: none;
    display: block;
    width: 100%;
}

.woocommerce ul.products.columns-4 li.product * {
    text-align: left;
}


.woocommerce ul.products.columns-4 li.product a {
    text-decoration: none;
    border: none;
}

div.product-list-item time {
    font-size: 0.9rem;
}

div.single-product div.woocommerce-tabs ul.tabs {
    display: none;
}

div.single-product div#tab-description h2 {
    display: none;
}

div.product-list-item span.price {
    display: none !important;
}

section.related.products {
    border-top: solid;
    border-width: 2px;
    border-color: var(--yellow);
}

.woocommerce div.single-product div.images {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

div.single-product div.summary p.price {
    display: none;
}

.woocommerce div.product div.summary {
    float: none;
    display: block;
    width: 100%;
    border-top: solid;
    border-width: 2px;
    border-color: var(--yellow);
    padding-top: 60px;
}

.woocommerce div.product div.summary form.variations_form.cart {
    max-width: 300px;
    margin: 0 auto;
}

.woocommerce div.product div.summary span.download {
    display: block;
    max-width: 300px;
    margin: 20px auto;
    background-color: var(--dark-yellow);
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 20px;
    padding: 50px 15px;
}

.woocommerce div.product div.summary span.download a {
    text-decoration: underline;
}


/* --------------------- */
/* Thanks                */
/* --------------------- */
div.thanks h2 {
    margin-bottom: 100px;
}

div.thanks p {
    margin-bottom: 100px;
}

div.wpcf7-response-output.wpcf7-mail-sent-ok {
    margin: 0 auto;
    max-width: 1150px;
    padding: 0 25px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    background-image: url(images/gradient.png);
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
    font-size: 1.125rem;
    padding: 35px 0px;
    text-align: center;
    margin: 60px auto;
    color: #FFF;
    margin-bottom: 100px;
}

/* --------------------- */
/* Footer                */
/* --------------------- */
footer {
    width: 100%;
    font-family: "Chivo", sans-serif;
    border-top: solid;
    border-width: 4px;
    border-color: var(--yellow);
    background-color: var(--bg);
    text-align: center;
    margin-top: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer nav a {
    color: black;
    display: block;
    line-height: 200%;
    font-size: 1rem;
    font-weight: 600;
}

footer nav a:hover {
    color: black;
}

footer section.copyright {
    color: black;
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    width: 100%;
    font-size: 0.6875rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer span.bullet {
    display: inline;
    margin: 0 5px;
}

footer form.search {
    margin: 0;
}

footer form.search input {
    margin-left: 0;
    height: 40px;
    line-height: 40px;
}

footer form.search input.submit {
    width: 50%;
    margin: 10px auto;
    background-color: var(--c1);
    color: white;
    cursor: pointer;
}

footer form.search label {
    display: block;
    text-align: left;
    font-weight: bold;
}


/* --------------------- */
/* Timeline              */
/* --------------------- */
section.timeline {
    position: relative;
    min-height: 500px;
    max-width: 1000px;
    width: 100%;
    padding-top: 0px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 200px;
}

@media(min-width: 700px) {
    section.timeline::before {
        content: "";
        display: block;
        width: 100%;
        height: 165px;
        background-image: url(images/roots/root-grey-1.svg);
        background-position: 35% center;
        background-repeat: no-repeat;
    }

    section.timeline.cat-794::before,
    section.timeline.cat-806::before {
        background-image: url(images/roots/root-red-1.svg);
    }

    section.timeline.cat-765::before,
    section.timeline.cat-798::before {
        background-image: url(images/roots/root-green-1.svg);
    }
}

@media(max-width: 700px) {
    section.timeline {
        max-width: 600px;
    }
}

section.timeline a {
    position: relative;
    z-index: 10;
}

section.timeline div.item {
    position: relative;
    display: inline-block;
    margin-top: 0px;
    color: black;
    text-decoration: none;
    width: 100%;
    height: auto;
    max-width: 1000px;
    transition: max-width 0.5s ease-in .5s;
}

@media(max-width: 700px) {
    section.timeline div.item {
        max-width: 600px;
    }
}

section.timeline div.item.active {
    max-width: 600px;
}


section.timeline time {
    width: 100%;
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    padding: 2px 0 2px 2px;
    margin-bottom: 10px;
}

section.timeline strong {
    font-size: 1.1rem;
}

section.timeline time::empty {
    display: none;
}

section.timeline div.item div.descr {
    position: relative;
    font-size: 0.9rem;
    width: 300px;
    clear: both;
    text-align: left;
    height: auto;
    margin-top: 0px;
}

section.timeline div.item:nth-child(odd) div.descr {
    display: block;
    float: right;
    clear: both;
}

section.timeline div.item:nth-child(even) div.descr {
    display: block;
    float: left;
    clear: both;
}

section.timeline div.item div.descr::after {
    content: "";
    position: absolute;
    bottom: -80px;
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
}

section.timeline div.item:nth-child(even) div.descr::after {
    right: 5px;
    background-image: url(images/roots/root-grey-2.svg);
}

section.timeline div.item:nth-child(odd) div.descr::after {
    left: 5px;
    background-image: url(images/roots/root-grey-3.svg);
}

section.timeline div.item:nth-child(8n + 1) div.descr::after {
    background-image: url(images/roots/root-grey-2.svg);
}

section.timeline div.item:nth-child(8n + 2) div.descr::after {
    background-image: url(images/roots/root-grey-3.svg);
}

section.timeline div.item:nth-child(8n + 3) div.descr::after {
    background-image: url(images/roots/root-grey-4.svg);
}

section.timeline div.item:nth-child(8n + 4) div.descr::after {
    background-image: url(images/roots/root-grey-5.svg);
}

section.timeline div.item:nth-child(8n + 5) div.descr::after {
    background-image: url(images/roots/root-grey-6.svg);
}

section.timeline div.item:nth-child(8n + 6) div.descr::after {
    background-image: url(images/roots/root-grey-7.svg);
}

section.timeline div.item:nth-child(8n + 7) div.descr::after {
    background-image: url(images/roots/root-grey-8.svg);
}

section.timeline div.item:nth-child(8n + 8) div.descr::after {
    background-image: url(images/roots/root-grey-9.svg);
}

section.timeline div.item:nth-last-child(-n + 3):nth-child(odd) div.descr::after {
    background-image: url(images/roots/root-grey-final.svg);
    left: -10%;
}

section.timeline div.item:nth-last-child(-n + 3):nth-child(even) div.descr::after {
    background-image: url(images/roots/root-grey-final.svg);
    left: 75%;
}

@media(min-width: 700px) {
    section.timeline div.item div.descr::after {
        height: 0px;
        width: 0px;
        transition-delay: 250ms;
        transition: height 1s ease-in .5s, width 1s ease-in .5s;
    }

    section.timeline div.item.active div.descr::after {
        height: 100px;
        width: 100px;
    }
}

span.timeline-page-header {
    display: grid;
    place-content: center;
}

/* Green */
section.timeline.cat-765 div.item:nth-child(even) div.descr::after,
section.timeline.cat-798 div.item:nth-child(even) div.descr::after {
    background-image: url(images/roots/root-green-2.svg);
}

section.timeline.cat-765 div.item:nth-child(odd) div.descr::after,
section.timeline.cat-798 div.item:nth-child(odd) div.descr::after {
    background-image: url(images/roots/root-green-3.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 1) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 1) div.descr::after {
    background-image: url(images/roots/root-green-2.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 2) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 2) div.descr::after {
    background-image: url(images/roots/root-green-3.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 3) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 3) div.descr::after {
    background-image: url(images/roots/root-green-4.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 4) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 4) div.descr::after {
    background-image: url(images/roots/root-green-5.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 5) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 5) div.descr::after {
    background-image: url(images/roots/root-green-6.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 6) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 6) div.descr::after {
    background-image: url(images/roots/root-green-7.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 7) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 7) div.descr::after {
    background-image: url(images/roots/root-green-8.svg);
}

section.timeline.cat-765 div.item:nth-child(8n + 8) div.descr::after,
section.timeline.cat-798 div.item:nth-child(8n + 8) div.descr::after {
    background-image: url(images/roots/root-green-9.svg);
}

section.timeline.cat-765 div.item:nth-last-child(-n + 3):nth-child(odd) div.descr::after,
section.timeline.cat-798 div.item:nth-last-child(-n + 3):nth-child(odd) div.descr::after {
    background-image: url(images/roots/root-green-final.svg);
}

section.timeline.cat-765 div.item:nth-last-child(-n + 3):nth-child(even) div.descr::after,
section.timeline.cat-798 div.item:nth-last-child(-n + 3):nth-child(even) div.descr::after {
    background-image: url(images/roots/root-green-final.svg);
}

/* Red */
section.timeline.cat-794 div.item:nth-child(even) div.descr::after,
section.timeline.cat-806 div.item:nth-child(even) div.descr::after {
    background-image: url(images/roots/root-red-2.svg);
}

section.timeline.cat-794 div.item:nth-child(odd) div.descr::after,
section.timeline.cat-806 div.item:nth-child(odd) div.descr::after {
    background-image: url(images/roots/root-red-3.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 1) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 1) div.descr::after {
    background-image: url(images/roots/root-red-2.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 2) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 2) div.descr::after {
    background-image: url(images/roots/root-red-3.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 3) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 3) div.descr::after {
    background-image: url(images/roots/root-red-4.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 4) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 4) div.descr::after {
    background-image: url(images/roots/root-red-5.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 5) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 5) div.descr::after {
    background-image: url(images/roots/root-red-6.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 6) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 6) div.descr::after {
    background-image: url(images/roots/root-red-7.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 7) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 7) div.descr::after {
    background-image: url(images/roots/root-red-8.svg);
}

section.timeline.cat-794 div.item:nth-child(8n + 8) div.descr::after,
section.timeline.cat-806 div.item:nth-child(8n + 8) div.descr::after {
    background-image: url(images/roots/root-red-9.svg);
}

section.timeline.cat-794 div.item:nth-last-child(-n + 3):nth-child(odd) div.descr::after,
section.timeline.cat-806 div.item:nth-last-child(-n + 3):nth-child(odd) div.descr::after {
    background-image: url(images/roots/root-red-final.svg);
}

section.timeline.cat-794 div.item:nth-last-child(-n + 3):nth-child(even) div.descr::after,
section.timeline.cat-806 div.item:nth-last-child(-n + 3):nth-child(even) div.descr::after {
    background-image: url(images/roots/root-red-final.svg);
}

section.timeline div.item:last-of-type div.descr::after {
    background-image: none;
}

section.timeline div.item:last-of-type {
    display: inline-block;
    padding-top: 70px;
}

section.timeline div.item:last-of-type div.descr::after {
    margin: 0 auto;
    float: none;
    background-image: none !important;
}


section.timeline div.item:last-of-type div.descr {
    float: none;
    margin: 0 auto;
}

/* -------------------------- */
/* Projects, featured-product */
/* -------------------------- */
div.projects {
    margin-top: 100px;
    margin-bottom: 50px;
}

section.projects {
    display: grid;
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
}

section.projects a {
    position: relative;
    display: block;
    border: solid;
    border-color: var(--red);
    border-width: 4px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-color);
}

section.projects span.summary {
    font-size: 1.125rem;
}


section.projects a h2 {
    font-weight: bold;
    font-size: 1.5625rem;
    margin-top: 5px;
    color: black;
    margin-bottom: 0;
}


/* ------------------------- */
/* Digital Commons templates */
/* ------------------------- */
section.digital-commons {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
    text-align: left;
}

section.digital-commons div.dc-text-columns {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

div.dc-menu {
    display: grid;
    align-content: space-between;
}

div.dc-menu nav.dc-links {
    margin: 0;
    text-align: right;
    margin-bottom: 20px;
}

div.dc-menu nav.dc-links a {
    color: #0000FF;
    text-transform: uppercase;
    display: block;
    font-weight: bold;
    text-decoration: none;
    padding-right: 40px;
    background-repeat: no-repeat;
    background-position: right center;
    font-size: 1.2rem;
    line-height: 29px;
}


div.dc-menu nav.dc-links a:hover {
    opacity: 0.5;
}


div.dc-menu nav.dc-links a:nth-child(1) {
    background-image: url(images/dc-block-1.png);
}

div.dc-menu nav.dc-links a:nth-child(2) {
    background-image: url(images/dc-block-2.png);
}

div.dc-menu nav.dc-links a:nth-child(3) {
    background-image: url(images/dc-block-3.png);
}

div.dc-menu nav.dc-links a:nth-child(4) {
    background-image: url(images/dc-block-4.png);
}

@media(max-width: 900px) {
    section.digital-commons {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width: 500px) {
    section.digital-commons div.dc-text-columns {
        grid-template-columns: repeat(1, 1fr);
    }

    div.dc-menu {
        order: -1;
    }
}



/* ------------------------------- */
/* Digital Commons building blocks */
/* ------------------------------- */
section.digital-commons.building-blocks {
    grid-template-columns: repeat(1, 1fr);
    margin: 0;
    max-width: 900px;
    padding: 0;
}

div.building-blocks-wrapper {
    margin: 0;
    max-width: 1150px;
    background-image: url(images/building-blocks-bg.png);
    background-position: bottom right;
    background-size: 220px;
    background-repeat: no-repeat;
}

section.building-blocks-links {
    display: grid;
    margin: 0;
    max-width: 700px;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
    column-gap: 30px;
    padding-bottom: 200px;
}


section.building-blocks-links a {
    display: grid;
    background-image: url(images/card.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top left;
    align-items: center;
    font-size: 1.7rem;
    text-decoration: none;
    text-align: left;
    padding: 1rem;
}

section.building-blocks-links a:hover {
    background-image: url(images/card-hover.png);
}

section.building-blocks-parts {
    margin: 0;
    max-width: 1150px;
    text-align: left;
}


section.building-blocks-parts div.building-block {
    padding-bottom: min(25vw, 275px);
}

section.building-blocks-parts div.building-block {
    background-image: url(images/floating-blocks-01.svg);
    background-position: bottom right;
    background-size: min(75%, 300px);
    background-repeat: no-repeat;
}


section.building-blocks-parts div.building-block:nth-child(2) {
    background-image: url(images/floating-blocks-02.svg);
}


section.building-blocks-parts div.building-block:nth-child(3) {
    background-image: url(images/floating-blocks-03.svg);
}

section.building-blocks-parts div.building-block:nth-child(4) {
    background-image: url(images/floating-blocks-04.svg);
}

section.building-blocks-parts div.building-block-content {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
}

section.building-blocks-parts div.building-block-content img {
    display: grid;
    align-self: center;
    padding-bottom: 80px;
}

section.building-blocks-parts h2 {
    border: none;
    text-decoration: none;
    margin-bottom: 0;
}


section.building-blocks-parts a.anchor {
    text-decoration: none;
    position: relative;
}

@media(max-width: 950px) {
    section.building-blocks-links {
        display: grid;
        margin: 0;
        max-width: 500px;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
        column-gap: 30px;
        padding-bottom: 100px;
    }

    section.building-blocks-links a {
        font-size: 1.7rem;
    }
}

@media(max-width: 700px) {
    section.building-blocks-parts div.building-block {
        padding-bottom: 30px;
    }

    section.building-blocks-parts div.building-block {
        background-image: none !important;
    }
}

@media(max-width: 600px) {
    section.building-blocks-parts div.building-block-content {
        grid-template-columns: repeat(1, 1fr);
        text-align: left;
        margin-bottom: 50px;
    }

    section.building-blocks-links {
        display: grid;
        margin: 0;
        max-width: 450px;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
        column-gap: 30px;
        padding-bottom: 120px;
    }

    section.building-blocks-links a {
        font-size: 1.6rem;
    }
}

@media(max-width: 500px) {
    div.building-blocks-wrapper {
        background-size: 150px;
    }

    section.building-blocks-links {
        display: grid;
        margin: 0;
        max-width: 300px;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
        column-gap: 30px;
        padding-bottom: 200px;
    }

    section.building-blocks-links a {
        font-size: 1.8rem;
    }
}

/* ------------------------- */
/* Workshops and conferences */
/* ------------------------- */

body.workshop main.article section.title h2 {
    font-size: 2.5rem;
    border-bottom: solid;
    border-color: var(--darkblue);
    border-width: 5px;
}


body.workshop main.article h1 {
    text-align: left;
}

body.workshop article {
    margin: 0;
}

body.workshop main.article h1 a {
    font-size: 2.5rem;
    border: none;
    text-decoration: none;
    text-align: left;
    line-height: 110%;
}

section.workshops-conferences {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 30px;
    margin: 0 auto;
    max-width: 800px;
    padding-left: 20px;
    padding-right: 20px;
}

section.workshops-conferences a {
    display: block;
    position: relative;
    background-image: url(images/workshop.png);
    background-size: cover;
    aspect-ratio: 1 / 1.3;
    text-align: left;
}


section.workshops-conferences a:hover span.wrap {
    background-color: transparent;
}

section.workshops-conferences a span.wrap {
    display: grid;
    align-content: space-between;
    padding: 5px;
    background-color: var(--bg);
    position: absolute;
    top: 7px;
    left: 7px;
    height: calc(100% - 25px);
    width: calc(100% - 25px);
}

section.workshops-conferences a span.title {
    font-family: "Chivo";
    font-size: 30px;
    font-weight: bold;
    line-height: 30px;
    min-height: 60px;
}

section.workshops-conferences a time {
    font-family: "Chivo";
    font-size: 30px;
    font-weight: bold;
    line-height: 30px;
}


section.workshops-conferences a span.time-location {
    font-family: "Chivo";
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
}

@media(max-width: 850px) {
    section.workshops-conferences {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
}

@media(max-width: 550px) {
    section.workshops-conferences {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        max-width: 300px;
        margin: 0 auto;
    }
}


/* ------------------------- */
/* Call to action page       */
/* ------------------------- */
section.call-to-action {
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
}

a.c2a {
    display: inline-block;
    margin-top: 20px;
    background-image: url(images/call-to-action.svg);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 10px;
    aspect-ratio: 284 / 64;
    text-decoration: none;
    font-family: "Chivo";
    font-weight: bold;
    border: none;
    min-height: 58px;
    text-align: center;
    line-height: 45px;
}


a.c2a:hover {
    background-image: url(images/call-to-action-hover.svg);
}


/* -------------------------- */
/* Workshop                   */
/* -------------------------- */
html:has(body.workshop) {
    background-image: url(images/workshop-bg.png);
    background-size: cover;
}

body.workshop {
    background-color: transparent;
}

div.workshop-link-row {
    display: block;
}

div.workshop-link-row a.c2a {
    margin-right: 20px;
}

/* -------------------------- */
/* Search                     */
/* -------------------------- */
div.search {
    margin-top: 100px;
    margin-bottom: 50px;
}

section.search {
    display: grid;
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
}

section.search a {
    position: relative;
    display: block;
    border: solid;
    border-color: var(--yellow);
    border-width: 4px;
    padding: 10px;
    text-decoration: none;
    color: var(--text-color);
}

section.search span.summary {
    font-size: 1.125rem;
}

section.search a h2 {
    font-weight: bold;
    font-size: 1.5625rem;
    margin-top: 5px;
    color: black;
    margin-bottom: 0;
}

div.search-nav {
    text-align: center;
    font-family: "Chivo", sans-serif;
}

/* ---------------------------- */
/* Image list, featured-product */
/* ---------------------------- */
section.image-list {
    /*
    display: grid;
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    margin: 70px auto;
    padding: 0 50px;
    */
}

div.publications section.image-list {
    /*
    display: block;
    width: calc(50% - 40px);
    */
}

main.home div.publications section.image-list {
    width: 100%;
    margin: 70px 0;
    padding: 0;
}

section.image-list a {
    position: relative;
    display: block;
    text-decoration: none;
}

section.image-list img {
    object-fit: contain;
    width: 100%;
    height: 250px;
}

section.image-list a h2 {
    font-size: 1.5625rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-shadow: 3px 3px 3px black;
    color: white;
}

main.id-10568 div.woocommerce.columns-4 a.add_to_cart_button,
main.id-10568 div.woocommerce.columns-4 a.product_type_simple,
div.woocommerce.columns-4 a.add_to_cart_button {
    display: none;
}

section.related.products ul.products li.product a.button {
    display: none !important;
}


/* --------------------- */
/* Captcha styling       */
/* --------------------- */
input.captcha {
    display: inline-block;
    clear: none;
    width: auto;
}

img.wpcf7-captcha-captcha-1 {
    display: inline-block;
    width: auto;
    background-color: white;
    height: auto;
    text-decoration: none;
    border: none;
    text-align: center;
    padding: 0 10px;
    margin-top: 25px;
}


/* ---------------------- */
/* Related stories        */
/* ---------------------- */
div.box.related {
    max-width: 700px;
    margin: 75px auto;
}

div.box.related a {
    display: block;
    text-decoration: none;
    text-align: left;
    clear: both;
    margin-bottom: 20px;
    border-bottom: solid;
    border-width: 2px;
    border-color: var(--yellow);
    font-size: 1.1rem;
}

/* ---------------------- */
/* Big black sticky links */
/* ---------------------- */
a.big-black-link {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 50px;
    color: white;
    background-color: var(--big-black-link);
}

a.big-black-link.right {
    right: 0;
    left: auto;
}

a.big-black-link.left span {
    display: block;
    position: absolute;
    top: 0;
    left: -228px;
    text-align: center;
    width: 500px;
    margin-top: 50vh;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-family: "Chivo";
    font-size: 30px;
}

a.big-black-link.right span {
    display: block;
    position: absolute;
    top: 0;
    left: -224px;
    text-align: center;
    width: 500px;
    margin-top: 50vh;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    font-family: "Chivo";
    font-size: 30px;
}

/* ------------------------ */
/* Contact / donation form  */
/* ------------------------ */

/* ---------------------- */
/* Buttons                */
/* ---------------------- */
a.get-in-touch, a.donate {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: block;
    font-size: 18px;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none;
    font-family: "Chivo", sans-serif;
    padding: 0px;
    width: 100px;
    height: 100px;
    padding-top: 0px;
    line-height: 30px;
    z-index: 10;
}

a.donate {
    left: 10px;
    right: auto;
    line-height: 60px;
}

a.get-in-touch:hover, a.donate:hover {
}

/* ---------------------- */
/* Custom blocks          */
/* ---------------------- */
main.landing-page {
    width: 100%;
    margin: 0 auto;
    font-family: "Chivo", sans-serif;
}

main.landing-page * {
    font-family: "Chivo", sans-serif;
}

main.landing-page div.box {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

main.landing-page div.wide-image {
    position: relative;
    width: 100%;
    display: block;
}

main.landing-page div.wide-background {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-size: 100% 100%;
}

main.landing-page img.wide-image {
    position: relative;
    display: block;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

main.landing-page div.credits,
main.with-credits div.credits {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
    padding: 0 5px;
}

@media(max-width: 500px) {
    main.landing-page div.credits,
    main.with-credits div.credits {
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: end;
        row-gap: 20px;
    }

    main.landing-page div.credits a.little-by-little,
    main.landing-page div.credits div.goed-verhaal,
    main.with-credits div.credits a.little-by-little,
    main.with-credits div.credits div.goed-verhaal {
        text-align: center;
    }
}

main.landing-page a.little-by-little,
main.with-credits a.little-by-little {
    margin-top: 50xp;
    display: block;
    text-align: right;
}

div.credits div.goed-verhaal {
    text-align: left;
}

div.credits img.goed-verhaal {
    width: auto;
    max-height: 100px;
}

main.landing-page a.credits img,
main.with-credits a.credits img {
    height: 30px;
    width: auto;
    margin-right: 5px;
}

main.landing-page article {
   max-width: 100%;
}

main.landing-page article p {
    max-width: 800px;
    margin: auto;
    margin-bottom: 20px;
}

main.article.landing-page article h2.big-underlined {
    margin-top: 0;
}

main.article article a.open-collapse, main.article a.close-collapse {
    text-decoration: none;
}

main.landing-page section.header-with-image {
    width: 100%;
}

main.landing-page section.header-with-image h1 {
    display: flex;
    font-size: 8rem;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
    line-height: 75%;
    color: black;
    margin-bottom: 50px;

    flex-flow: row wrap;
    flex-wrap: wrap;
    gap: 20px;
    overflow: hidden;
}

main.landing-page section.header-with-image h1 span {
    display: block;
}

main.landing-page section.header-with-image div.image {
}

main.landing-page section.header-with-image div.image img {
    max-width: 200px;
    height: auto;
}

/* Kan ook nog no-image class hebben, anders is div.image leeg. */

a.open-collapse, a.close-collapse {
    display: block;
    margin: 0 auto;
    max-width: 700px;
    text-align: right;
    border-bottom: none;
}

a.open-collapse span, a.close-collapse span {
    display: inline-block;
    text-decoration: underline;
    width: auto;
    border-bottom: solid;
    border-color: var(--yellow);
    border-width: 2px;
}

section.landing-stories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0px auto;
    padding: 70px 0 30px 0;
}

section.landing-stories a {
    flex: 0 0 30%;
    display: grid;
    grid-column-gap: 20px;
    grid-template-columns: 30% 60%;
    width: 100%;
    height: auto;
    text-decoration: none;
    border-bottom: none;
    margin-bottom: 40px;
}

section.landing-stories div.left {
    display: flex;
    align-items: center;
    text-align: left;
}

section.landing-stories img {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    height: auto;
}

main.article article section.landing-stories h2,
main.article article section.landing-solutions h2 {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    text-align: left;
    line-height: 120%;
    margin-bottom: 15px;
    margin-top: 20px;
}

main.article article section.landing-stories p,
main.article article section.landing-solutions p {
    margin: 0;
    font-size: 1rem;
}

section.landing-solutions img {
    display: block;
    margin: 50px auto 0 auto;
    width: 100%;
    max-width: 800px;
    height: auto;
}

section.landing-solutions div.solutions-grid {
    display: grid;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    grid-column-gap: 100px;
    grid-template-columns: 40% 40%;
    padding: 30px 0 30px 0;
}

section.landing-solutions a {
    border-bottom: none;
}

/* In case there's only 1 solution */
section.landing-solutions a:first-child:nth-last-child(1) {
    grid-column: 1 / 3;
}

div.collapsible div.above {
    font-size: 1.3rem;
    font-family: "Chivo", sans-serif;
}

a.image-left-text-right, a.image-right-text-left {
    margin: 50px 20px;
    display: grid;
    grid-column-gap: 80px;
    grid-template-columns: repeat(2, 1fr);
    border: none;
}

a.image-left-text-right.boxed, a.image-right-text-left.boxed {
    max-width: 1100px;
    margin: 50px auto;
}

a.image-left-text-right div.image,
a.image-right-text-left div.image {
    text-align: center;
}

main.article article a.image-left-text-right h2,
main.article article a.image-right-text-left h2 {
    margin-top: 0;
}



/* -- Owl carousel tweaks -- */
.owl-nav {
    margin-top: 30px;
}

.owl-nav button {
  position: absolute;
  top: 50%;
  background-color: #000;
  color: #fff;
  margin: 0;
  transition: all 0.3s ease-in-out;
}

.owl-nav button.owl-prev {
  left: 0;
}

.owl-nav button.owl-next {
  right: 0;
}

.owl-dots {
  text-align: center;
  margin-top: 30px;
}

.owl-dots button.owl-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(0,0,0,0.2) !important;
  margin: 0 3px;
}

.owl-dots button.owl-dot.active {
  background-color: rgba(0,0,0,0.6) !important;
}

.owl-dots button.owl-dot:focus {
  outline: none;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.38) !important;
}

.owl-nav button:focus {
    outline: none;
}

/* Here be dragons! Internet explorer fixes ahead */
@media all and (-ms-high-contrast: active), (-ms-high-contrast: none) {
}

@media(min-width: 800px) {
    main.landing-page section.header-with-image h1 {
        font-size: 6rem;
    }
}

@media (max-width: 1200px) {
    header.main {
        text-align: left;
    }

    header.main nav ul li {
        margin-left: 40px;
    }

    .box {
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }
}

@media (min-width: 1100px) {
    section.timeline {
        width: 1100px;
    }
}

@media (max-width: 1050px){
    header {
        height: 90px;
    }

    header nav {
        margin-top: 0;
    }

    header a.menu-toggle {
        margin-top: 10px;
    }

}

@media (max-width: 900px) {
    main.home section.quote {
        padding: 0 20px 20px 20px;
    }

    main.home {
        padding-top: 40px;
    }

    header a.logo img {
        display: inline-block;
        height: 100%;
        max-height: 100px;
        width: auto;
    }

    a.big-black-link {
        display: none;
    }

    section.landing-stories {
        padding: 70px 20px 30px 20px;
    }

    section.landing-stories a {
        flex: 0 0 50%;
        display: grid;
        grid-column-gap: 20px;
        grid-template-columns: 30% 60%;
        width: 100%;
        height: auto;
        text-decoration: none;
        border-bottom: none;
        margin-bottom: 20px;
    }

    section.header-with-image div.image {
        display: none;
    }
}

@media (max-width: 850px) {
    a.scroll-down {
        display: inline-block;
    }

    section.actions-cats div.actions-cats-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    a.image-left-text-right, a.image-left-text-right {
        grid-row-gap: 80px;
        grid-template-columns: repeat(1, 1fr);
    }

}

@media(max-width: 800px) {
    main.landing-page section.header-with-image h1 {
        font-size: 12vw;
    }


    a.image-left-text-right, a.image-right-text-left {
        margin: 50px 20px;
        display: grid;
        grid-column-gap: 80px;
        grid-template-columns: repeat(1, 1fr);
        border: none;
    }
}

@media(max-width: 700px) {
    section.actions-tools {
        display: grid;
        grid-column-gap: 40px;
        grid-row-gap: 40px;
        grid-template-columns: repeat(2, 1fr);
        margin: 70px auto 50px auto;
        padding: 0 50px 20px 50px;
    }

    section.timeline {
        width: 100%;
    }

    section.timeline div.item {
        display: grid;
        place-content: center;
        padding-top: 40px;
    }

    section.timeline div.item div.descr::after {
        background-image: none !important;
    }

    section.timeline div.item div.descr {
        float: none !important;
    }
}

@media(max-width: 600px) {
    main.article {
        margin-top: 100px;
    }

    section.actions-tools {
        grid-template-columns: repeat(1, 1fr);
        margin: 70px auto 150px auto;
        margin-bottom: 50px;
    }

    section.team {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    section.stories, section.projects {
        grid-template-columns: repeat(1, 1fr);
    }

    section.image-list {
        grid-template-columns: repeat(1, 1fr);
    }


    div.publications section.image-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        width: auto;
    }

    section.products, section.products.related ul.products {
        display: grid;
        grid-column-gap: 80px;
        grid-row-gap: 80px;
        grid-template-columns: repeat(1, 1fr);
        margin: 70px auto;
        padding: 0 50px;
    }

    section.landing-stories a {
        flex: 0 0 100%;
    }

    section.landing-stories a {
        margin-bottom: 50px;
    }

    section.landing-stories a:last-child {
        margin-bottom: 0;
    }

    section.landing-solutions {
        grid-column-gap: 50px;
    }
}

@media(max-width: 500px) {
    section.actions-cats div.actions-cats-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    section.landing-solutions {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 50px;
    }
}

@media(max-height: 600px) {
    a.big-black-link.left span {
        font-size: 20px;
    }

    a.big-black-link.right span {
        font-size: 20px;
    }
}
