body.lezen-main,
.main-content {
  background-image: none;
}

body main {
  background-image: url('../images/patroon-gradient.svg') !important;
  background-repeat: repeat-y;
  /* Repeat vertically */
  background-size: 100% 10px;
  /* Stretch to full width */
  background-position: left top;
  /* Start from top-left */
  background-attachment: local;
  height: auto;
}

.main-content {
  background-color: transparent;
  /* Ensure no background color */
}

@media screen and (max-width: 1280px) {
  body.lezen-main,
  .main-content {
    background-size: 100%;
  }
}

#hp-intro {
  background-color: transparent;
  border-bottom: 8px solid #ffffff;
  align-items: flex-end;
}

#hp-intro * {
  color: #ffffff;
  font-size: 28px;
  line-height: 32px;
}

#hp-intro p {
  padding: 0;
  margin: 0;
}

#hp-intro .header-center-img {
  margin-left: auto;
  margin-right: 0;
}

.page1954 #hp-intro {
  border-bottom: 0px;
}

@media (min-width: 768px) {
  #hp-intro .has-image {
    padding: 70px 0 80px;
  }
}

.bouwstenen-overzicht__header {
  color: #ffffff;
}

.bg-salmon {
  background-color: #DAF5FD;
}

@media (min-width: 1099px) {
  body:not(.open-menu) div.main-menu ul.nav-drop-2nd {
    background-color: #DAF5FD;
  }
}

.tiles-3 .tile-3,
.tiles-3 .tile-2 {
  background-color: #ffffff;
}

.tiles-3 .tile-3 *,
.tiles-3 .tile-2 * {
  color: #004B9C;
}

.tiles-3 .button-placement,
.button-std-white {
  background-color: #E63228;
  color: #ffffff;
}

.tiles-3 .button-placement *,
.button-std-white * {
  color: #ffffff;
}

.font-red,
.font-red * {
  color: #E63228;
}

.bouwstenen-container-tabs a.active {
  background-color: #DAF5FD;
}

.bouwstenen-container {
  width: 100%;
}

.bg-red,
.bouwsteen-intro {
  background-color: #004B9C;
  background-image: url('../images/horizontal_gradient_blue.jpg');
}

.bouwsteen-intro {
  width: 100%;
}

.bouwsteen-content.flex {
  width: calc(100% - 75px);
}

.footer > .cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body .centered-content p > a:not(.wp-element-button) {
  display: inline;
}

.menu-bouwsteen svg {
  width: 40px;
  display: inline-block;
  height: 40px;
}

.menu-bouwsteen:hover polygon {
  fill: #E63228;
}

.menu-bouwsteen .title {
  width: calc(100% - 40px);
}

.tip-body {
  margin-bottom: 20px;
}

@media (min-width: 1099px) {
  .menu-item-1960:hover .nav-drop-2nd span,
  .menu-item-1961:hover .nav-drop-2nd span {
    border-bottom: 3px solid #DAF5FD !important;
  }
}

.centered-content a[target="_blank"]::after {
  font-family: "Font Awesome 5 Free";
  /* Important for FA5 */
  content: "\f35d";
  /* Unicode for external-link-alt */
  font-weight: 900;
  /* Needed to render solid style */
  margin-left: 0.4em;
  font-size: 0.8em;
  vertical-align: middle;
}

.lezen-main.home .viewport {
  padding-top: 0;
}

.lezen-main.home #hp-intro .has-image {
  width: auto;
  margin-right: 30px;
}

.lezen-main.home #hp-intro .header-center-img img {
  max-width: 300px;
  width: 100%;
}

.lezen-main.home #hp-intro p {
  font-size: 27px;
  line-height: 36px;
}

#boys {
  width: 176px;
  bottom: 0;
  right: 0px;
}

.fa-instagram:before {
  color: #fff;
}

body .footer #insta a {
  background-color: transparent;
}

body .footer #insta i {
  bottom: 9px;
  right: 7px;
}

@media (min-width: 650px) {
  body iframe:not(.localfocusvisual) {
    min-height: auto;
  }
}

body .centered-content .tip-body a:not(.wp-element-button) {
  display: inline;
}

#page-intro p {
  font-size: 22px;
  line-height: 27px;
  width: 100%;
  padding: 0;
  margin: 0;
}

[data-tmpl="page-1954"] #hp-intro {
  border-bottom: 0;
}

[data-tmpl="page-1954"] #hp-intro .has-image {
  padding-bottom: 0;
}

.regular-page main {
  background-image: url('../images/patroon-gradient.svg');
  background-position: left top;
  background-repeat: repeat-y;
  background-size: 109%;
  background-color: transparent;
}

.bouwstenen-content a.bouwsteen:hover .title {
  color: #ffffff !important;
}

.bouwstenen-content a.bouwsteen:hover svg polygon {
  fill: #004B9C;
}

.button-std-red {
  font-family: 'TTNormsPro-ExtraBold';
}

.footer li a:hover {
  text-decoration: underline;
}

footer .logo-container img {
  max-width: 75px;
}

.header-center {
  padding-top: 6px;
}

@media (min-width: 1080px) {
  .header-center {
    height: 151px;
  }
}

#header-partner-logos {
  margin-bottom: -1px;
}

.tiles-3 .tile-2 {
  margin-bottom: 36px;
}

.columns-2 img {
  max-height: 150px;
}

.nav-drop-item svg polygon {
  fill: #004B9C;
}

#page-intro {
  background-image: url('../images/horizontal_gradient_blue.jpg');
}

@media (min-width: 768px) {
  .p-bouwstenen-leesonderwijs #hp-intro {
    padding-right: 40px;
    background-image: url('../images/horizontal_gradient_blue.jpg');
  }

  .p-bouwstenen-leesonderwijs #hp-intro h1 {
    font-size: 40px;
    line-height: 53px;
  }

  .p-bouwstenen-leesonderwijs #hp-intro .has-image {
    padding: 40px;
  }

  .p-bouwstenen-leesonderwijs #hp-intro .header-center-img {
    width: 300px;
    margin-left: 30px;
  }
}

@media (min-width: 768px) {
  .p-bouwstenen-leesonderwijs #hp-intro .header-center-img {
    position: relative;
    width: 665px;
    height: 265px;
    margin-left: 30px;
    margin-top: -20px;
  }

  .p-bouwstenen-leesonderwijs #hp-intro .header-center-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (max-width: 769px) {
  .bouwsteen-content.flex {
    width: 100%;
  }

  .breadcrumb {
    margin-top: 8px;
    line-height: 18px;
    padding: 9px 4px;
  }

  [data-tmpl="page-14"] .main-content {
    padding-top: 90px;
  }

  body:not(.open-menu).showMenu .menu-wrap div.main-menu .nav-drop-2nd a {
    display: flex;
  }

  body:not(.open-menu).showMenu .menu-wrap div.main-menu .nav-drop-2nd a .title {
    display: inline-block;
    margin-left: 10px;
  }

  .bouwstenen-content a.bouwsteen:hover .title {
    color: #004B9C !important;
  }

  .bouwsteen {
    height: auto;
    min-height: 0;
    width: 100%;
    padding-left: 48px;
  }

  .bouwsteen .content-wrapping {
    width: 100%;
    background-color: #fff;
    margin-left: 40px;
  }

  .bouwsteen .content-wrapping .title {
    padding-top: 18px;
    height: 69px;
  }

  .bouwsteen svg {
    position: absolute;
    z-index: 0;
    width: 70px;
    height: 69px;
    left: 14px;
  }

  .bouwsteen svg polygon {
    fill: #E63228;
  }

  body .bouwstenen-overzicht .bouwstenen-content .bouwsteen .content-wrapping {
    width: 100%;
  }
}

.mobile-header-image {
  display: none;
}

@media (max-width: 768px) {
  #hp-intro[data-twig="page-home"] {
    display: flex;
    flex-direction: column;
    padding-right: 0;
    margin-top: 4px;
  }

  #hp-intro[data-twig="page-home"] .mobile-header-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0px;
  }

  #hp-intro[data-twig="page-home"] .mobile-header-image img {
    width: 100%;
    height: auto;
  }

  #hp-intro[data-twig="page-home"] .has-image br {
    display: none;
  }
}

@media (min-width: 768px) {
  #hp-intro[data-twig="page-home"] * {
    font-size: 36px;
    line-height: 36px;
  }
}

@media (max-width: 380px) {
  .bouwsteen .content-wrapping .title {
    padding-top: 6px;
    height: 69px;
    font-size: 20px;
  }
}
