/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Header */
.site-header {
  background: linear-gradient(180deg, rgb(253, 250, 225) 0%, rgb(255, 255, 255) 100%);
}

#primary-menu ul li:last-child a {
  background: var(--wetime-rood);
  color: white;
  display: inline;
  padding: 10px 20px;
  margin-left: 10px;
  box-shadow: 3px 3px 4px rgb(0, 0, 0, 0.2);
}

#primary-menu ul li:last-child a:hover {
  background: var(--wetime-geel);
}

.page-id-890 #primary-menu ul li:last-child a {
  background: unset;
  color: unset;
  box-shadow: none;
}

.page-hero h1 {
  text-shadow: 0px 1px 3px black;
}

@media screen and (max-width: 450px) {
  .site-branding {
    max-width: 150px;
  }

  .home .page-hero {
    text-align: left;
  }
}

@media screen and (max-width: 375px) {
  .site-branding {
    max-width: 95px;
  }

  .site-description {
    font-size: 16px;
  }
}

/* All Pages */

.site-main .wp-block-group__inner-container {
  padding: 100px 40px;
}

.entry-content ul {
  list-style-type: square;
}

.entry-content li::marker {
  color: var(--wetime-groen);
}

.entry-content .has-wetime-groen-background-color li::marker {
  color: #fff;
}

.flatlist {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 35px;
}

blockquote {
  border: none;
}

@media screen and (max-width: 768px) {
  .site-main .wp-block-group__inner-container {
    padding: 80px 20px;
  }

  .flatlist {
    flex-direction: column;
    margin-left: 40px;
  }
}

@media screen and (max-width: 450px) {
  .has-text-align-right,
  .has-text-align-center {
    text-align: left;
  }

  h2,
  h2.has-text-align-right,
  h2.has-text-align-left,
  h2.has-text-align-center,
  h3 {
    width: 100%;
    text-align: center;
  }

  #slider p.has-text-align-center {
    width: 100%;
    text-align: center;
  }
}

/* Sticky TOC */
.stickytoc {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 20px;
  z-index: 999;
  font-size: 22px;
}

body.admin-bar .stickytoc {
  top: 32px;
}

.stickytoc .site-logo {
  position: absolute;
  left: 50px;
  z-index: 99999;
  top: 15px;
}
.stickytoc .site-logo img {
  height: 45px;
  width: auto;
}
.stickytoc ul {
  display: flex;
  gap: 25px;
}

body.admin-bar .stickytoc.mobile {
  top: 0;
}

.stickytoc.mobile {
  position: relative;
}

.stickytoc.mobile.stuck {
  position: fixed;
  justify-content: flex-end;
  top: 0;
  left: 0;
  width: 100%;
}

.stickytoc.mobile.stuck .site-logo {
  left: 20px;
}

.stickytoc.mobile.stuck ul {
  justify-content: flex-end;
}

.stickytoc.mobile.stuck ul li {
  display: none;
}

.stickytoc.mobile.stuck ul li:first-child {
  display: block;
}

/* Buttons */

.wp-block-button__link {
  border-radius: 0;
  box-shadow: 3px 3px 4px rgb(0, 0, 0, 0.2);
}

.subc2a .wp-block-button__link:not(.has-background) {
  background-color: var(--wetime-blauw);
}

div.wpforms-container-full button[type='submit'],
.sm-square {
  border-radius: 0;
}

.wp-block-navigation-item.wp-block-navigation-link.toc-button,
.stickytoc.mobile.stuck ul li:first-child {
  background-color: #e52029;
  color: white;
  padding: 0 10px;
  box-shadow: 3px 3px 4px rgb(0, 0, 0, 0.2);
}

/* PDF Document */
.wp-block-file a {
  font-size: 19px;
}
.wp-block-file a::before {
  content: url('/wp-content/uploads/pdf.svg');
  width: 30px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

/* Slider */
.hidden {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.progress-bar-container {
  max-width: 300px;
  height: 5px;
  border-radius: 10px;
  overflow: hidden;
  background: lightgreen;
  margin: 0 auto;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #fff;
  transition: width 0.1s;
}

/* Donatie popup */

.popped {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
}

.popped #popup-inner {
  position: relative;
  background: white;
  width: 1100px;
  max-width: 90%;
  max-height: 90%;
  padding: 40px;
  margin: 0 auto;
  margin-top: 100px;
  overflow-y: auto;
}

#close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .popped #popup-inner {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    max-height: calc(100% - 40px);
  }
}

/* Footer */
#footer-widgets {
  background: linear-gradient(180deg, rgb(253, 250, 225) 0%, rgb(255, 255, 255) 100%);
}

.footer-widget-1 {
  flex-grow: 2 !important;
}

.footer-widget-2 aside {
  padding-left: 70px !important;
}

.footer-widget-2 h2 {
  margin-bottom: 0;
  font-style: italic;
}

.footer-widget-3 {
  min-width: 270px;
}

.widget ul#menu-footer-menu li,
.widget ul#menu-deelnemers li {
  margin-bottom: 0.1em;
}

ul#menu-footer-menu a,
ul#menu-deelnemers a {
  text-decoration: none;
  color: black;
}

#menu-footer-menu {
  text-align: right;
}

.wp-block-social-links {
  float: right;
}

#footer-icons {
  background: url(/wp-content/uploads/2024/05/footer-icons-small.png);
  height: 32px;
  background-repeat: repeat-x;
  background-size: contain;
  border-bottom: 2px solid #fff;
}

.logos {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.logos img {
  height: 60px;
  width: auto;
}

@media screen and (max-width: 768px) {
  .logos {
    justify-content: center;
  }
  .footer-widget-2 {
    text-align: center;
  }
  .footer-widget-2 aside {
    padding-left: unset !important;
  }
  #menu-footer-menu,
  #menu-deelnemers {
    text-align: center;
  }

  #block-10 {
    display: flex;
    justify-content: center;
  }

  .wp-block-social-links {
    float: none;
  }

  .site-footer:not(.footer-bar-active) .copyright-bar {
    padding: 0 40px;
  }
}

@media screen and (max-width: 450px) {
  .logos {
    justify-content: space-between;
    gap: unset;
  }

  .logos img {
    height: 40px;
  }
}

/* FAQ */
/* Rank Math FAQ + Accordion */
.rank-math-list {
  margin-bottom: 30px;
}

.rank-math-list-item {
  background: #fffee7;
  padding: 10px 20px;
  margin-bottom: 15px;
  border-left: 3px solid var(--wetime-groen);
  box-shadow: 4px 4px 3px -5px #c6c6c6;
}

.rank-math-list-item:hover {
  background: #fffdd4;
}

.rank-math-list-item::before {
  content: '\2771';
  float: left;
  margin-right: 10px;
  margin-top: -3px;
  transition: all ease 0.2s;
}

.rank-math-list-item.open::before {
  transform: rotate(90deg);
}

.rank-math-question {
  font-weight: bold;
  font-size: 19px;
  margin-bottom: 0px;
  margin-left: 20px;
  width: auto;
  color: #3a3a3a;
  cursor: pointer;
  text-align: left;
}

.accv2-title h3 {
  margin-bottom: 0;
}

.rank-math-answer.open {
  margin-top: 10px;
  margin-left: 19px;
  border-top: 1px dotted var(--wetime-groen);
  padding-top: 5px;
}

.rank-math-answer p:last-child {
  margin-bottom: 0;
}
