main { font-size: 16px; }
.site-header { box-shadow: none; }
.header-widget-area { display: flex; align-items: center; padding-bottom: 20px; }

.page-template-home-nieuw .site-inner {
	max-width: unset !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media only screen and (min-width: 600px) {
	.page-template-home-nieuw .site-inner article > section > div[class*="-wrapper"]{
		max-width : 1140px;
		margin-left: auto;
		margin-right: auto;
	}
}

h1, h2, .content h2, h3, h4, h5, h6 { color: #255e92; font-weight: 900 !important; line-height: 1; font-family: 'Avenir', sans-serif !important; }
h1, h2.section_title, .additional-wrapper .col > h2:first-child { font-size: 56px; }
main > article > section { position: relative; }
main > article > section:nth-child(2n + 5)::before, main > article > section:nth-child(4)::before { content: ''; position: absolute; width: 100vw; height: 100%; left: 0; top: 0; display: block; z-index: -1; background-image: linear-gradient(90deg, #f2f2f2, #fff); margin-left: calc( -0.5* (100vw - 100%)); }
main > article > section:nth-child(2n + 5) h2.section_title { color: #0c85a1; }
main > article > section:nth-child(4)::after { content: ''; position: absolute; width: 100vw; height: 20%; left: 0; top: 0; display: block; z-index: -1; background-image: linear-gradient(90deg, #fff, #fff); margin-left: calc( -0.5* (100vw - 100%)); }

.mejs-controls{ display: none !important; }

h1 + h4, h2 + h4, h3 + h4, .col h3, .reviews-slider h3 { color: #007F9C !important; }


.site-header{ top: 0 !important; }
.site-inner{ padding-top: 0 !important; }
main section{ padding: 4% 0 !important; display: flex !important; }
main section.cards { padding: 0 !important; justify-content: center; flex-wrap: wrap; }
main section.cards > .card { background-position: 50%; transition: all .3s ease-in-out; width: 480px; min-height: 480px; position: relative; padding: 50px 30px 60px; background-size: auto 100%; display: flex; flex-direction: column; }


main section.cards > .card:nth-child(even)::after { clip-path: polygon(60% 0, 100% 35%, 100% 100%, 0 100%, 0 0); content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #255E92; opacity: .8; z-index: 0; }
main section.cards > .card:nth-child(odd)::after { clip-path: polygon(60% 0, 100% 35%, 100% 100%, 0 100%, 0 0); content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #007F9C; opacity: .8; z-index: 0; }

main section.cards > .card * { color: #fff; position: relative; z-index: 3; padding-right: 25%;  }
.home main section.cards > .card a { color: #fff; position: relative; z-index: 3; padding-right: 0%; width: fit-content;  }

main section.cards > .card h3 { font-size: 30px; font-weight: 800; }
main section.cards > .card h5 { font-size: 19px; font-weight: 400; }
main section.cards > .card p { margin-top: 4em; margin-bottom: 4em; position: absolute;
	top: 120px;}
	main section.cards > .card a.btn { width: fit-content !important; padding: 15px 30px; border: 1px solid #fff; background-color: transparent !important; text-transform: none; text-decoration: none; position: absolute;
		bottom: 40px; }
		
		main section.cards > .card:hover{
			background-size: auto 120%;
		}
		
		@media only screen and (max-width: 1440px) {
			main section.cards > .card { width: 360px; min-height: 420px; }
			main section.cards > .card * {  padding-right: 0%;  }

		}
		
#intro .first img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
#intro .first + div { padding: 1% 2%; line-height: 1.45; }
#intro .first + div > *:last-child, .additional-wrapper .col > *:last-child { margin-bottom: 0; }
#intro h1 { margin-bottom: 0; line-height: 1; }
#intro .subtitle { font-size: 22px; margin-bottom: 0; color: #0c85a1; font-weight: 700; }
#intro h2, #intro h3 { color: #0c85a1; font-family: "Open Sans", sans-serif !important; }
main h2 { font-size: 22px; }
main h3 { font-size: 19px; }
#intro h1 + *:not(.subtitle) { margin-top: 2em; }
#intro .subtitle + * { margin-top: 1.4em; }
#intro h2, #intro h3, #intro h4 { margin-bottom: .2em !important; }

.buttons > a { margin-right: 0; margin-bottom: 1em; }

@media only screen and (min-width: 600px) {
.buttons > a { margin-right: 30px; margin-bottom: 0; }
.buttons > a:last-child { margin-right: 0;}
}

.btn { background-color: #007F9C !important; border-radius: 0 !important;  font-weight: 700 !important; }
a.btn:hover { filter: brightness(120%); box-shadow: 0px 0px 6px -2px rgba(0,0,0,0.5); }

.therapie_links { margin-top: 10px; display: inline-flex; flex-wrap: wrap; gap: 16px; }
ul.therapie_links > li:nth-child(odd) a.btn { background-color: #255E92 !important; }
ul.therapie_links > li a.btn { box-shadow: 0px 0px 2px #00000043; font-size: 14px !important; padding: 10px 24px !important; }

.additional-wrapper, .contact-wrapper { display: inline-block; width: 100%; text-align: center; }
#additional-7 .additional-wrapper { text-align: left; }

.col { display: flex; flex-direction: column; flex-wrap: wrap;}
.wp-video { width: 100% !important; display: flex; overflow: hidden; }
.wp-video-shortcode video, video.wp-video-shortcode { height: auto; }

section p {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

section .search-form .search-field {
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
}

[id^="gform_fields_"] .gfield_label {
	display: none !important;
}

[id^="gform_fields_"] .ginput_container  {
	margin-top: 0 !important;
}

[id^="gform_fields_"] [id^="field_"] {
	margin-bottom: 12px !important;
}

[id^="gform_fields_"] [id^="field_"],
[id^="gform_fields_"] [id^="input_"] {
	position: relative !important;
	width: 100% !important;
	min-width: 100% !important;
	margin-top: 0 !important;
}

[id^="gform_fields_"] .gf_name_has_2 {
	display: flex !important;
	min-width: 100% !important;
	flex-wrap: wrap;
	justify-content: space-between;
}
[id^="gform_fields_"] .gf_name_has_2 span {
	margin: 0 !important;
	padding: 0 !important;
	min-width: unset !important;
	max-width: 48.5% !important;
}

[id^="gform_fields_"] [id^="input_"][type="checkbox"]{
	width: auto !important;
	min-width: unset !important;
}

[id^="gform_fields_"] [id^="input_"][type="checkbox"] + label {
	display: inline-flex !important;
}

[id^="gform_fields_"] [id^="input_"][type="checkbox"] + label > a {
	margin-left: 6px;
}

ul.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

#contact ul {
	margin-bottom: 20px;
}

#contact ul li a {
	line-height: 22px;
	margin-bottom: 10px;
	display: inline-flex;
	gap: 12px;
}

#contact svg.bi {
	width: 22px;
	height: 22px;
}

.referenties-wrapper {
	width: 100%;
}

.reviews-slider .slick-slide:hover {
  transform: scale(1);
}

.reviews-slider .slide-review {
	padding: 0 !important;
	outline: 0 !important;
}

.reviews-slider .slick-track {
	display: flex !important;
	gap: 40px;
	margin-top: 10px;
}

.reviews-slider .slick-track::before,
.reviews-slider .slick-track::after {
	display: none;
}

div[class^="review-rating"]::after {
	filter: invert(1)contrast(1.75)hue-rotate(-14deg);
}

.footer-logos .widget.widget_text,
.footer-logos .wrap img {
	max-width: unset !important;
	max-height: unset;
	color: #616f72 !important;
}

.footer-logos .widget.widget_text {
	font-size: 16px !important;
}

.footer-logos .wrap {
	gap: 80px;
	padding-top: 4%;
	padding-bottom: 4%;
}

.footer-widgets,
.site-footer {
	border-top: 0;
	background-color: #404040;
}

.additional-wrapper .search-submit {
	display: none;
}

#additional-7 .additional-wrapper {
	display: flex; align-items: center;
}

@media only screen and (max-width: 1440px) {
	main article { flex-direction: column; display: flex; }
	main > article > section:nth-child(1){ order: 2; }
	main > article > section:nth-child(2){ order: 1; }
	main > article > section:nth-child(3){ order: 3; }
	main > article > section:nth-child(4){ order: 4; }
	main > article > section:nth-child(5){ order: 5; }
	main > article > section:nth-child(6){ order: 6; }
	main > article > section:nth-child(7){ order: 7; }
	main > article > section:nth-child(8){ order: 8; }
	main > article > section:nth-child(9){ order: 9; }
	main > article > section:nth-child(10){ order: 10; }

	main > article > section { padding-left: 3% !important; padding-right: 3% !important;}

	main section.cards { gap: 40px } 
}

@media only screen and (max-width: 980px) {
	#additional-7 .additional-wrapper {
		display: flex; align-items: center; flex-direction: column-reverse;
	}
	main section.cards > .card {
		width: 50%;
		min-height: 450px;
	  }
}

@media only screen and (max-width: 768px) {
	main section.cards > .card {
		width: 100%;
		min-height: 450px;
	  }

	#intro { flex-direction: column-reverse; }
	#intro img { max-width: 70vw; margin-bottom: 3em !important; display: flex; }
	
	h1{ font-size: 42px !important; } 
	h2.section_title, .additional-wrapper .col > h2:first-child { font-size: 32px; line-height: 1.15; letter-spacing: 0.01325em; }


	.col[class*="one-"] > p:only-child > img:only-child,
	.col[class*="two-"] > p:only-child > img:only-child,
	.col[class*="three-"] > p:only-child > img:only-child {  max-width: 40vw; margin: 0 auto 2em; display: block; }
	
	#intro .subtitle { font-size: 18px; }

}

