/* Single locatie*/
.single-locatie .single-meta {display: flex; flex-wrap: wrap; gap: 0.5vmin;}
.single-locatie .single-content { position: relative;}
.single-locatie .single-content:not(.visible):before {content: ""; width: 100%; height: 100px; position: absolute; bottom: 0px; left: 0px; background-image: linear-gradient( 180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100% );}
.single-locatie .section-inner-wrap .rounded.content {padding-left: 0px; padding-right: 0px; padding: clamp(20px, 5vmin, 50px);}
.single-locatie .content h2, .single-locatie .sidebar h2, .single-locatie h2 {border-bottom: 1px solid #aaaaaa; padding-bottom: 3px; width: 100%; font-size: var(--h4);  color: var(--hoofdkleur-1);}
.single-locatie section.carousel {background-color: #ffffff;}
.single-locatie .carousel .section-inner-wrap {padding-top: 0px; max-width: 1600px;}
.single-locatie .locatie-inhoud .section-inner-wrap {padding-bottom: 30px;}
.single-locatie .carousel h2 {font-size: var(--h3);}

.single-locatie .locatie-breadcrumb .section-inner-wrap { padding-top: 15px; padding-bottom: 15px;}
.single-locatie .locatie-breadcrumb a {text-decoration: none; color: #666666; transition-duration: 0.4s;}
.single-locatie .locatie-breadcrumb a:hover {color: #404040; transition-duration: 0.4s;}
.single-locatie .locatie-inhoud .section-inner-wrap { padding-top: 30px;}

.locatie-galerij .section-inner-wrap {display:grid;grid-template-columns: repeat(4, minmax(0, 1fr));grid-template-rows: repeat(2, minmax(0, 1fr)); padding-top: 0px; padding-bottom: 0px; max-width: 1600px; overflow:hidden; gap: max(16px, calc(var(--borderradius)));}
@media (max-width: 767px) {.locatie-galerij .section-inner-wrap {gap: max(8px, calc(var(--borderradius)/2));}}
.locatie-galerij-main {grid-column: span 2 / span 2;grid-row: span 2 / span 2; position: relative; overflow: hidden; }
.geen_galerij .locatie-galerij-main {grid-column: span 4 / span 4;}
@media (max-width: 767px) {.locatie-galerij-main {grid-column: span 4 / span 2;}}
.locatie-galerij img {max-height: 25vh; height: 100%; min-height:100%; width: 100%; object-fit: cover; border-radius: var(--borderradius);}
.locatie-galerij-main img {max-height: calc(50vh + 6px);}
.locatie-galerij a:not(a:nth-child(1)):not(a:nth-child(2)):not(a:nth-child(3)):not(a:nth-child(4)):not(a:nth-child(5)) {display: none;}
.locatie-galerij .show_all_images { position: absolute; bottom: 10px; left: 10px; padding: 5px 15px; border-radius: 50px; background: #ffffff; color: var(--hoofdkleur-1);}
.locatie-galerij .show_all_images:hover {color: var(--hoofdkleur-1); }

@media (min-width:992px) {.single-locatie .locatie-inhoud .section-inner-wrap {display: grid; grid-template-columns: 2fr 1fr;  grid-gap: clamp(20px, 5vmin, 50px);}}
.single-locatie .locatie-inhoud h1, .single-locatie .single-meta, .single-locatie .single-content, .single-locatie .content-more, .single-locatie .locatie-faciliteiten{margin-bottom: var(--s-space);}
.single-locatie .locatie-inhoud h1 {color: var(--hoofdkleur-1);}
.single-meta .dashicons {color: var(--hoofdkleur-1);}
.single-locatie .single-content.visible + .content-more {display: none;}
.single-locatie .single-content h2 + p {margin-block-start: 0px;}
.single-locatie .content h2 {margin-bottom: 1vmin;}
.single-locatie .single-content.overflow {-webkit-box-orient: vertical; display: -webkit-box; text-overflow: ellipsis; white-space: normal;line-clamp: calc(5 + 1vmin); -webkit-line-clamp: calc(5 + 1vmin);overflow: hidden;transition: max-height 2s ease;max-height:200px;}
.single-locatie .single-content.overflow.visible {line-clamp: unset; -webkit-line-clamp: unset;max-height:2000px;}
.single-locatie .content-more {font-weight:bold;display: flex; align-items: center; margin-top: -15px;}
.single-locatie .single-content.overflow.visible + .content-more:before {   content: 'Verberg tekst';} 
.single-locatie .single-content.overflow + .content-more:before {  content: 'Lees meer'; color: var(--hoofdkleur-1);} 
.single-locatie .single-content.overflow.visible + .content-more .dashicons {  transform: rotate(180deg);} 
.single-locatie .faciliteiten-grid {display: grid; grid-template-columns: 1fr 1fr 1fr;}
@media (max-width: 767px) {.single-locatie .faciliteiten-grid {grid-template-columns: 1fr 1fr;}}
@media (max-width: 479px) {.single-locatie .faciliteiten-grid {grid-template-columns: 1fr;}}
.single-locatie .faciliteiten-grid > div {display: flex; align-items: center; }
.single-locatie .faciliteiten-grid > div:before {content: "\f15e"; margin-right: 3px; font-family: dashicons; font-size: 20px; color: var(--hoofdkleur-1);}
.single-locatie .leaflet-map {border-radius: var(--borderradius); width: calc(100%); margin-top: 20px; z-index:0;}

@media (max-width:991px) {.single-locatie .sidebar {margin-top: 30px;}}

.single-locatie section.carousel .carousel-cell .text-block .post-info {display: flex;    flex-direction: column;}
.single-locatie section.carousel .carousel-cell .text-block > div span:first-child {color: var(--hoofdkleur-3);}

/**locatiepagina**/
@media (min-width:768px) {.button-kaart {gap: 1vmin; position: absolute; top: 0px; right: 0px;}}
.overzicht-locatie .content.rounded {background: transparent; padding: 0px; box-shadow: none;}
body .content .wpgb-map-marker-title {color: var(--hoofdkleur-1);}
section .section-inner-wrap .wp-grid-builder .wpgb-sidebar {flex-basis: 20%;}
section .section-inner-wrap .wpgb-sidebar .wpgb-facet {height:auto;}
section .section-inner-wrap .wpgb-card-content .wpgb-card-body {padding: 15px;}
section .section-inner-wrap .wpgb-card-content h3.wpgb-block-1 {font-size: 20px; font-weight: 400;}
section .section-inner-wrap .wpgb-card-content h3.wpgb-block-1:hover {color: #262626 !important;}
section .section-inner-wrap .wpgb-card-content .locatie_plaats {color: var(--hoofdkleur-1); font-weight: 400;}
section .wpgb-card-wrapper {border-radius: var(--borderradius); overflow: hidden;}
.wpgb-map-marker-content:not(.wpgb-map-marker_link) {overflow: hidden;    text-overflow: ellipsis;    display: -webkit-box;  line-clamp: 3;  -webkit-line-clamp: 3;    -webkit-box-orient: vertical;}
.wpgb-map-marker-title {font-weight: 600;}
.wpgb-facet-1 {margin-top: 10px;}
.ml-wp-grid-builder {margin-top: 20px;}
.wp-grid-builder .wpgb-main {padding-left: 0px !important;}
@media (min-width:768px) {
	.ml-wp-grid-builder {display: grid; grid-template-columns: 1fr 3fr; grid-gap: 20px; }
	.filter-button, .dashicons.filter-button {display: none;}
	.ml-wpgb-sidebar h2 {display: none;}
}
@media (max-width:767px) {
	.ml-wpgb-sidebar {position: fixed;    top: 0px;   left: -100%;    width: 100%;    height: 100%;    padding: 20px; padding-top: 30px; padding-bottom: 0px;   z-index: 9999;    background: #ffffff; transition-duration: 0.5s; overflow: scroll;}
	.ml-wpgb-sidebar.visible {   left: 0%; transition-duration: 0.5s;}
	.ml-wpgb-sidebar h2 {margin-bottom: 20px;}
	.ml-wpgb-sidebar .dashicons-no-alt {position: absolute;    font-size: 36px;    right: 20px;    top: 20px;    width: 36px;    height: 36px; cursor: pointer;}
	.sluit-filters-wrapper {position: sticky;    bottom: 0px;    padding-bottom: 20px; padding-top: 10px;    background: #ffffff;    width: 100%;}
}


.wpgb-facet-1 {max-height:0px;overflow:hidden;transition:max-height 0.25s ease-in !important;}
.wpgb-facet-1.visible {max-height:800px;overflow:auto;}
.toon-locatie-kaart-button + p {display:none;}
.flex-center {display: flex; align-items: center;}
.flex-center > span {margin-right:10px;}

#home-search-form {display:flex;}
#home-search-form .wpgb-facet fieldset {margin-bottom:0px;}