/* ============================================================================
   1. ALGEMENE TABELLEN & MAATWERK STYLING
================================================================================ */

.table_note {
  margin-bottom: 25px;
}

.table_note::before {
  content: var(--list_item_5);
  padding-right: 5px;
}

/* Flexbox layouts voor tabel-containers */
.table_single,
.table_info_01,
.table_info span,
.table_info_02 div {
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.table_info_02 div {
  align-items: center;
}

.table_single section .img:only-child {
  width: 300px;
}

.table_single section .img {
  margin: 8px;
  width: 200px;
}

.table_single h3,
.page1 h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Tabel Info secties */
.table_info_01 {
  width: 50%;
  padding-right: 25px;
}

.table_info_01:first-child {
  border-right-width: 2px;
}

.table_info_01 div {
  width: 100%;
  margin-bottom: 20px;
}

.table_info_01 h3 {
  margin-bottom: 5px;
}

.table_info_02 {
  width: 100%;
  padding: 25px 0px;
  border-top-width: 2px;
  flex-direction: column;
}

.table_info_02 p,
.table_info_02 figure.extra_info
 {
  width: 33%;
  margin-bottom:15px;
}

.table_info_02 p {
  margin-right:25px;
}

.table_info_02 figure.extra_info {
  margin-left:25px;
}

.p-table,
.p-table3 {
  display: none;
}

.p-table2 {
  text-align: center;
}

.p-table2 a {
  font-size: 16px;
  padding: 4px 2px;
  text-decoration: underline;
}

.flextable,
.flextable *,
.table_single,
.table_single * {
  border-color: var(--border-color-dark);
  border-style: var(--border-style-default);
}

.flextable {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr));
  width: 100%;
  margin-bottom: 25px;
}

.flextable thead,
.flextable tbody,
.flextable tr {
  display: contents;
}

 .flextable th,
.flextable td {
  flex-direction: column;
  justify-content: center;
  padding: 5px 10px;
  box-sizing: border-box;
  border-left-width: 2px;
}

.flextable th {
  font-weight: bold;
  border-bottom-width: 2px;
}

.flextable tbody td {
  border-bottom: 1px var(--border-style-dotted);
}

.flextable th:first-child,
.flextable td:first-child {
  border-left: none;
  
}

.flextable a {
  color: var(--color-text-dark);
  font-weight: bold;
}

.flextable .font5 * {
  font-size: 15px;
}

/* Afbeeldingen binnen flextable */
.flextable td img,
.flextable .table_img {
  width: fit-content;
  max-width: 150px;
  height: 100%;
  max-height: 180px;
}

.table_img {
  display: none;
  width: 150px;
  max-height: 240px;
}

.table_img:first-of-type {
  display: block;
  margin: 0 auto;
}

.search_07 {
  justify-content: space-around;
}

.search_07 span {
	width:360px;
}


/* ============================================================================
   3. MEDIA QUERIES (Tablets & Mobiel)
================================================================================ */

/* --- TABLETS (< 1280px) --- */
@media only screen and (max-width: 1279px) {
  .flextable th,
  .flextable td {
    padding: 5px;
  }

  .flextable .font5 *,
  .flextable .p-table2 a,
  .p-table2 {
    font-size: clamp(12.5px, 7px + 0.626vw, 15px);
  }

  .p-table2 a {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--color-background-light);
    border: 1px var(--border-style-default) var(--border-color-primary);
    max-width: 200px;
  }

  .table_single section .img:only-child {
    max-width: 300px;
  }

  .table_single section img {
    margin: 6px 8px 6px 0;
  }

  .table_single section .img:only-child img {
    width: 100%;
    max-width: unset;
    min-width: unset;
  }

  .table_single figcaption {
    display: none;
  }

  .table_info_01 {
    width: 48%;
    font-size: 14px;
    justify-content: center;
    margin-bottom: 20px;
  }

  .search_07 span {
	width:40%;
  }

}

/* --- KLEINE TABLETS (< 800px) --- */
@media only screen and (max-width: 799px) {
  .flextable .p-table2 a,
  .p-table2 {
    font-size: clamp(12px, 6px + 1vw, 14px);
  }

  .table_info_02 p,
  .table_info_02 figure.extra_info {
    width: 280px;
  }


  .table_single h2 {
    font-size:18px;
  }

  .table_info_02 a.extra_info{
    max-width: unset;
  }

  .table_info_02 div {
    justify-content: space-evenly;
}

}

/* --- MOBIEL KAARTWEERGAVE (< 500px) --- */
@media only screen and (max-width: 499px) {
  .table_single .table_info_01:first-child {
    border-right-width: 0px;
  }

  .table_info_01 {
    width: 100%;
    margin: 0;
    padding: 0;
    border-right-width: 0;
    border-bottom-width: 2px;
  }

  .table_info_02 {
    border-top-width: 0px;
  }

  .table_info_02 div p {
    margin-bottom: 15px;
  }

  .table_single section .img {
    width: 46%;
    margin: 7px auto;
  }

  .table_single section .img:only-child {
    max-width: 300px;
  }

  .table_img {
    width: 46%;
    max-width: 170px;
  }

  .flextable thead {
    display: none;
  }

  .flextable,
  .flextable tbody {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    font-size: 13px;
  }

  .flextable tr {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 7px 5px 35px 5px;
    max-width: unset;
  }

  .flextable div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .flextable th,
  .flextable tbody tr td {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border-width: 0 2px 1px 2px;
    border-bottom-style: var(--border-style-dotted);
  }

  .flextable th:first-child,
  .flextable tbody tr td:first-child {
    border-top-width: 2px;
    border-left: 2px;
    border-left-style: var(--border-style-default);
  }

  .flextable th:last-child,
  .flextable tbody tr td:last-child {
    border-bottom-width: 2px;
    border-bottom-style: var(--border-style-default);
  }

  .flextable th span,
  .flextable td span {
    margin: 5px 1px;
  }

  .p-table,
  .p-table3 {
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }

  .p-table2 a {
    font-size: 11px;
    padding: 5px;
    margin: 0 auto;
  }
}

/* --- KLEINE MOBIEL (< 450px) --- */
@media only screen and (max-width: 449px) {
  .flextable tbody {
    font-size: 15px;
  }

  .table_info_01 {
    font-size: 13px;
  }

  .flextable tr {
    width: 100%;
    padding: 0 0 35px 0;
  }

  .p-table2,
  .p-table2 a {
    font-size: 14px;
  }

	.table_info_02 div figure.extra_info {
		margin-inline:0;
	}

  .search_07 {
    flex-direction: column;
  }

  .search_07 span {
    margin-bottom:20px;
    width:100%;
    text-align: center;
  }
}

@media only screen and (max-width: 359px) {
    .table_info_02 div p{
		margin-inline:0;
	}
}
