html {
  --padding-inline: 3rem;
  --content-max-width: 900px;
  --windowsizemin: 250px;

  --textcolor: #425358;
  --linkcolor: #425358;

  --headertextcolor: #ffffff;
  --header1color: #57788a;

  --headerbgheight: 177px;
  --navigation-height: 1rem;

  --textsize: 1.1rem;
  --headertextsize: 5.8rem;
  --imagesize:170px;
}

@media (max-width: 420px) {
  html{
    /* --navigation-height: 4rem; */
  }
}

@media (max-width: 600px) {
  html{
    --headerbgheight: 32vw;
    --padding-inline: 1rem;
  }
}

/* Staat in de HTML vanwege kiezen font 
@font-face {
  font-family: 'Gilroy';
  src: url('../font/orkney/Orkney Bold.ttf');
  src: url('../font/Gilroy-Medium.ttf');
  src: url('../font/Gilroy-Bold.ttf');
  src: url('../font/Outfit-SemiBold.ttf');
  font-weight: normal;
  font-style: normal;
}
*/

body {
  margin: 0;
  min-width: 300px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 300;
  font-size: var(--textsize);
  color: var(--textcolor);
  font-style: normal;
  line-height: 1.6;

  /* background: linear-gradient(135deg, rgba(186,139,201,1) 0%,rgba(186,139,201,1) 38%,rgba(221,182,234,1) 100%); */
  /* #57788a */
}


/* Link colors */
a,
a:hover,
a:visited
{
  color: black;
  color: var(--header1color);
  color: var(--textcolor);
  font-weight: 400;
  text-decoration-color: var(--header1color);
  text-decoration-thickness: 2px ;
  text-decoration-line: underline;
  text-underline-offset: 3px;
}

a:hover
{
  text-decoration: none;
}


/* Grid */
.main-grid {
  display: grid;
  grid-template-columns:
    [full-start]
      minmax(var(--padding-inline), 1fr)
      [content-start]
          min(100% - (var(--padding-inline) * 2), var(--content-max-width))
      [content-end]
      minmax(var(--padding-inline), 1fr)
    [full-end];
}

header.main-grid {
  grid-template-rows:
  [header-start
    color-start]
      var(--headerbgheight)
    [color-end
    navigation-start]
      var(--navigation-height)
    [navigation-end
  header-end];
  grid-row-gap: 0px;
}


/* Header */
.header-image-piano {
  grid-column: full;
  grid-row: color;
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 820px) {
  .header-image-piano {
    filter: opacity(25%);
  }
}


.header-image {
  /* header image grows with window size */
  max-width: 100%;
  max-height: 100%;
  grid-row: header; 
  padding-bottom: 8px;
  z-index: 10;
}

@media (max-width: 820px) {
  .header-image {
    height: 52vh;
  }
}


header {
  background: rgb(87,120,138);
  background: linear-gradient(137deg, rgba(87,120,138,1) 0%, rgba(87,120,138,0.9668242296918768) 50%, rgba(87,120,138,0.7539390756302521) 100%);
  background-repeat: no-repeat;
  background-size: auto var(--headerbgheight);
}

.header-wrap {
  grid-column: content;
  grid-row: color-start/navigation-end;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: end;
}

.header-name-logo {
  /* Erik Kammenga logo */
  /*margin-left: -1.75rem; /* De Y iets naar links */
  width: 70%;
  width: 34rem;
  width: 29rem;
  margin-right: -3.6rem;
  z-index: 11;
}


/* navigatie */
nav {
  grid-column: content;
  grid-row: navigation;
  padding-top: 1rem;

  font-family: "Gilroy", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.3rem;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  line-height: 1;
}

@media (max-width: 760px) {
  nav {
    justify-content: center;
  }
}

@media (max-width: 440px) {
  nav {
    font-size: 1.2rem;
  }
}


nav li {
  display: inline;
}

nav img {
  width: 7px;
  height: 7px;
  padding-top: 0.8rem;
}

nav li a {
  text-decoration: none;
  color: rgb(102, 67, 109, 0.7);
}

nav li a.current{
  border-bottom: 2px solid var(--header1color);
  color: var(--textcolor);
}

nav li a:hover  
{
  border-bottom: 2px solid var(--header1color);
}

nav span.dot:last-child {
  display: none;
}



/* content container */
.container section {
  grid-column: content;
}

/* Koppen */
.container h1, .container h2  {
  color: var(--header1color);
  font-weight: normal;
  line-height: 1.2;
  padding-bottom: 0.3rem;

  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.container h1 {
  font-family: 'Gilroy', sans-serif;
  font-size: 2.1rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.container h2:after {
  content: "";
  flex: 1 1;
  /* border-bottom: 1px solid rgba(186,139,201,0.4); */
  margin: 0 0 1rem 1rem;
}

.container h2 {
  font-family: 'Gilroy', sans-serif;
  font-size: 1.7rem;
  margin-top: 3rem;
  margin-bottom: -0.2rem;
  padding-bottom: 0;
}

.container .subtitle {
  padding-left: 0.8rem;
  font-size: 0.8em;
  align-items: baseline;
}


@media (max-width: 700px) {
  .container h1,
  .container h2
  {
    font-size: 1.8rem;
  }
}

@media (max-width: 590px) {
  .container h1,
  .container h2
  {
    font-size: calc(0.7rem + 2.5vw);
  }
}


/* Tekst en image */
.container p {
  margin-top: 0;
}

.container em {
  font-family: 'Gilroy', sans-serif;
  font-style: normal;
}

.container p.header,
.container section strong,
.rlb-preview-head2
{
  font-family: 'Gilroy', sans-serif;
  color: var(--header1color);
  font-weight: normal;
  font-size: 1.2rem;
  margin-top: 6rem;
  line-height: 1;
}

.content-image {
  float: right;
  margin: 0.5rem 0 1rem 2rem;
  max-width: 375px;
  /* border-bottom-right-radius: 15px; */
  /* border-bottom-left-radius: 15px; */
  /* border-radius: 15px; */
  /* border: 5px solid #57788a; */
  clip-path: polygon(2% 5%,100% 0, 97% 99%, 0 99%);
  /* filter: url(#svgTint) */
    /* filter: brightness(100%) saturate(100%) invert(60%) sepia(11%) saturate(732%) hue-rotate(154deg) brightness(91%) contrast(85%); */
  /* filter: brightness(97%) contrast(105%) hue-rotate(305deg) grayscale(56%) sepia(23%) invert(11%)  */
  /* filter: grayscale(1);  hue-rotate(140deg) sepia(0.47) ; */
}

@media (max-width: 900px) {
  .content-image {
    max-width: 45%;
  }
}


/* tabellen */
.rlb-reikicursus-tabellen {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  justify-content: center;
  gap: 1.8rem;
}

.rlb-reikicursus-tabellen .reikitable.rlb-lijst {
  flex-basis: 48%;
}

.reikitable td.cursus_vol {
  color: var(--header1color);
}

/* override width 100% van de andere lijsten  */
.rlb-reikicursus-tabellen .reikitable.rlb-lijst{
  width: auto;
}


.rlb-lijst {
  border-spacing: 0;
  width: 100%;
  background-color: color(display-p3 0.8 0.667 0.863 / 0.2);
  background-color: color(display-p3 0.961 0.933 0.973);
  background: linear-gradient(135deg,
              color(display-p3 0.961 0.933 0.973) 0%,
              color(display-p3 0.961 0.933 0.973 / 0.8) 38%,
              color(display-p3 0.961 0.933 0.973 / 0.6) 100%);
  background-repeat: no-repeat;
  border-radius: 0.8rem 0.8rem 0.8rem 0.8rem;
  padding: 0.5rem 2rem 1rem 2rem;
}

.rlb-lijst.reikitable tr:not(:last-of-type) td,
.rlb-lijst.consulten tr:not(:last-of-type) td
{
  border-bottom: 1px #ead7ef solid;
}


.rlb-lijst a {
  text-decoration: none;
  border-bottom: 1px #bb8ac9 solid;
  color: var(--linkcolor);
}


/* Definities tabellen voor   */
/* smallere schermen */
.rlb-lijst [data-type="startdag-en-datum"] {
  display: none;
}
.rlb-lijst [data-type="korte-startdatum"] {
  display: none;
}
.rlb-lijst.retraite .aantaldagen{
  display: none;
}
.rlb-lijst.retraite .datum.kort{
  display: none;
}


@media (max-width: 670px) {
  .rlb-lijst.retraite .plaats {
    display: none;
  }

  .rlb-lijst.consulten tr:not(:last-of-type) td
    {
    /* background-color: white; */
    /* border-top: 1px solid black; */
    border-bottom: 1px #ead7ef solid;
  }
}


@media (max-width: 580px) {
  .rlb-lijst [data-type='startdag-en-datum'] {
    display: table-cell;
  }
  .rlb-lijst [data-type='soortles'] {
    display: none;
  }
  .rlb-lijst [data-type='weekdag'] {
    display: none;
  }
  .rlb-lijst [data-type='startdatum'] {
    display: none;
  }
}

@media (max-width: 520px) {
  .rlb-lijst td.bedrag {
    display: none;
  }
  .rlb-lijst [data-type='bijdrage'] {
    display: none;
  }
  .rlb-lijst.retraite .einddatum{
    display: none;
  }
  .rlb-lijst.retraite .aantaldagen{
  }
}

@media (max-width: 460px) {
  .rlb-lijst [data-type='startdag-en-datum'] {
    display: table-cell;
  }
  .rlb-lijst [data-type='einddatum'] {
    display: none;
  }
}

@media (max-width: 410px) {
  .rlb-lijst.retraite .datum.kort {
    display: table-cell;
  }
  .rlb-lijst.retraite .datum.lang {
    display: none;
  }
}



@media (max-width: 380px) {
  .rlb-lijst [data-type='startdag-en-datum'] {
    display: none;
  }
  .rlb-lijst [data-type='korte-startdatum'] {
    display: table-cell;
  }
}

/* einde definitie tabellen */
/* smallere schermen */



.rlb-lijst tbody::before {
  content: '';
  display: block;
  margin-top: 0.4rem;
}

.rlb-lijst th {
  border-bottom: 1px #bb8ac9 solid;
  font-weight: normal;
  line-height: 1.8;
  font-family: 'Gilroy', sans-serif;
}

.rlb-lijst thead tr {
  height: 2.5rem;
}

.rlb-lijst td {
  font-size: 1rem;
}

.rlb-lijst th,
.rlb-lijst td {
  text-align: left;
}

.rlb-lijst .amp {
  padding-inline: 1rem;
}

.rlb-lijst .datum,
.rlb-lijst .getal,
.rlb-lijst .bedrag {
  text-align: end;
}

.rlb-lijst .center {
  text-align: center;
}

.rlb-lijst .bedrag::before {
  content: '€';
  padding-right: 0.4rem;
  font-size: 0.8em;
}


/* details gegevens yoga/meditatie/retraite/ */
h2.rlb-preview{
  font-size: 1.5rem;
}

.rlb-preview-head2 {
  margin-bottom: 0.5rem;
}

.container .rlb-preview-p {
  margin-top: -0.4rem;
}


.image_at_the_end {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding-right: 12rem;
  /* margin-bottom: 5rem; */
  filter: opacity(60%) grayscale(60%);
}

/*      footer     */
footer {
  border-top: 1px solid rgb(87,120,138);
  background: rgb(87,120,138);
  background: linear-gradient(137deg, rgb(184, 210, 225) 0%, rgba(208, 227, 237, 0.967) 100%);
  background: rgb(87,120,138);
  background: linear-gradient(137deg, rgba(87,120,138,1) 0%, rgba(87,120,138,0.9668242296918768) 50%, rgba(87,120,138,0.7539390756302521) 100%);


  /* margin-top: 2rem; */
  padding-bottom: 4rem;
}

.footer-content {
  padding-top: 1rem;
  grid-column: content;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #ba8bca;
  color: var(--textcolor);
  color: aliceblue;
  gap: 2rem;
  line-height: 1.4;
}


.footer-content address a:hover,
.footer-content address a:visited
{
  color: aliceblue;
}

.footer-content a,
.footer-content a:hover,
.footer-content a:visited
{
  color: aliceblue;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: aliceblue;
}

.footer-content a:hover
{
  text-decoration: none;
}



footer h2 {
  margin-bottom: 0;
  color: var(--header1color);
  color: white;
  font-weight: normal;
  font-size: 1.4rem;
  font-family: 'Gilroy', sans-serif;
}

footer p {
  margin-top: 0;
  margin-bottom: 0;
}

footer .midden img {
  margin-top: 4rem;
}

footer .whatsapp-link {
  display: flex;
  gap: 7px;
}

@media (max-width: 740px) {
  .footer-content {
    flex-direction: column;
  }
  footer .links, 
  footer .rechts 
  {
    text-align: center;
  }
  footer .midden{
    display: none;
  }
  footer .whatsapp-link {
    justify-content: center;
  }
}

/* forms */

form {
  box-sizing: border-box;
  /* background-color: white; */
  /* padding: 1rem 1rem 1rem 0; */
  /* border: 1rem solid #ffffff; */
  font-size: 1rem;
  font-weight: 200;
  display: grid;
}

.formrow {
  display: flex;
  justify-content: end;
  line-height: 2;
  padding-bottom: 0.5rem;
  /* width: 100%; */
}

.formrow.left {
  justify-content: start;
  line-height: 1.5;
  gap: 0.4rem 1rem;
}

.radio input{
  padding-left: 0.3rem;
}

.radio label{
  padding-left: 0.3rem;
}

/* show and hide field on radio button change */
/* initial settins */
/* #postcode_line,
#straat_line,
#plaats_line, */
#uitklappen 
{
  /* display: none; */
  max-height: 0;
  transition: max-height 1s;  
  overflow: hidden;
}

#uitklappen.toon-alle-velden {
  max-height: 21rem;
}

#uitklappen.toon-deel-velden {
  max-height: 0;
}


#postcodecheck {
  /* font-weight: bold; */
  color: var(--header1color);
}

.onzichtbaar{
  display: none;
}

.zichtbaar
{
  display: inline;
}


.zichtbaar span {
  margin-bottom: 1rem;
}


.formrow.radiogroup {
  display: flex;
  flex-wrap: wrap;
}  

.formrow.formrow.radiogroup .radio {
  flex-wrap: nowrap;
}

.formrow label {
  flex: 0.4 2;
  white-space: nowrap;
  min-width:7rem;
}

.formrow input{
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;

  flex: 1.5 1;
  outline: none;
  border: 2px solid transparent;
  background-color: transparent;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0.575862px 0px 0px;
}

.radio input{
  height: 0.9rem;
  width: 2rem;
  margin-right: -1rem;
}


input:focus {
  border: 2px solid var(--header1color);
  box-shadow: none;
}


.errors  {
  font-weight: 400;
  color: #b35220;
}

.formrow.submit {
  gap:9rem;
  margin-top: 1.5rem;
}

.formrow.submit input[type=submit].whatsapp {
  background-color: #4FCE5D;
}


input[type=submit] {
  font-size: 1.1rem;
  font-weight: 400;
  background-color: var(--header1color);
  border: none;
  color: white;
  padding: 0.7rem 1rem;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
  max-width: 50%;
  justify-self: end;
  border-radius: 10px;
}

.uniform__potty { /* vanwege Uniform */
  position: absolute;
  left: -9999px;
}

/* einde forms */