/* 
Theme Name: psycholoogtamara.nl
Author: Monsterbrands 
Author URI: https://www.monsterbrands.nl
Version: 2.0
*/ 

:root {
	--bordeaux:	rgb(83, 23, 20);
	--red:		rgb(185, 52, 45);
	--white: 	rgb(255, 255, 255);
	--lightGrey:rgb(235, 235, 235);
	--darkGrey:	rgb(87, 84, 84);	
	--greyBlue:	rgb(47,65,76);
}

* { margin: 0; padding: 0; outline: 0; }
img { display: block; max-width: 100%; height: auto; } 

body { font-family: 'Rasa'; font-size: 20px; overflow-x: hidden; color: var(--darkGrey); }
div.wrapper { width: 960px; margin: 0 auto; position: relative; }
.menu-active  { position: fixed; }

h1 { font-weight: 700; font-size: 32px; }
h2 { font-weight: 700; font-size: 32px; }
h3 { font-weight: 400; font-size: 20px; line-height: 1.4em; padding: 8px 0; font-style: italic; }
h4 { font-weight: 700; font-size: 26px; }
h5 { font-weight: 700; font-size: 20px; }
h6 { font-family: 'Delius'; font-size: 16px; padding-top: 14px; }
p  { margin: 15px 0; line-height: 1.4em; }

/* mobile menu styling */
div#mobilemenu { width: 280px; height: 100%; overflow-y: auto !important; background-color: rgba(48, 48, 48, 0.97); position: fixed; z-index: 50; top: 0; right: -280px; -webkit-overflow-scrolling: touch; transition: 0.3s right; }
div#mobilemenu ul { list-style-type: none; }
div#mobilemenu div.menu-mobilenav-container>ul { padding: 20px 20px 20vh 30px; margin-top: 40px; text-align: left; }
div#mobilemenu li { padding: 10px 0; border-top: solid 1px #444; }
div#mobilemenu li:first-child { border-top: none; }
div#mobilemenu a  { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--white); transition: 0.3s color; }
div#mobilemenu a:hover { color: var(--red); }
div#mobilemenu li ul li { padding: 5px 0; border: none; }
div#mobilemenu li ul a { padding-left: 20px; font-weight: 400; font-size: 13px; font-style: italic; text-transform: none; }
div#mobilemenu li ul li ul a { padding-left: 40px; font-weight: 400; font-style: normal; text-transform: none; }  

/* topnav styling */
section#top { padding: 20px 0; }
section#top div.top_holder { overflow: auto; display: flex; }
section#top div.logo { float: left; width: 240px; padding: 20px 0; }
section#top div.topnav { float: left; width: calc(100% - 240px); position: relative; }
section#top div.topnav ul { list-style-type: none; padding: 6px 0; position: absolute; top: 50%; transform: translateY(-50%); right: 0; }
section#top div.topnav li { display: inline-block; margin: 4px 4px; }
section#top div.topnav a { font-family: 'Delius'; font-size: 15px; padding: 10px 10px; text-decoration: none; border-radius: 6px; color: var(--bordeaux); transition: 0.3s background-color, 0.3s color; }
section#top div.topnav a:hover { color: var(--red); }
section#top div.topnav li.current_page_item a{ background-color: var(--bordeaux); color: var(--white); }
section#top div.topnav li.current_page_item a:hover { background-color: var(--red); color: var(--white); }
/* hamburger icon styling */
section#top div.wrapper { overflow: auto; }
section#top div.hamburger { display: none; z-index: 300; position: absolute; top: 50%; transform: translateY(-50%); right: 0; width: 20px; height: 20px; cursor: pointer; padding: 8px 12px 9px 12px; border-radius: 6px; background-color: var(--bordeaux); border: 2px solid var(--white); transition: 0.3s all; }
section#top div.hamburger:hover { background-color: var(--red); }
section#top div.hamburger svg { display: block; position: relative; top: 50%; transform: translateY(-50%); }

/* slider styling */
section#slider { height: 600px; position: relative; background-color: var(--white); }
section#slider div.slider     { width: 100%; height: 100%; position: relative; overflow: hidden; text-align: center; background-position: center center; background-size: cover; background-repeat: no-repeat; 
	background-image:linear-gradient(to right, rgba(255, 251, 195) 10%, rgba(246, 211, 108) 100%); }
section#slider div.slider>div { width: 100%; height: 100%; position: absolute; 
    background-position: center center; background-size: cover; background-repeat: no-repeat; }   
section#slider div.slider>span.container { display: block; width: 100%; color: var(--white); background-color: rgba(0,0,0,0.1); position: absolute; padding: 20px 0; top: 50%; transform: translateY(-50%);  border-top: 1px solid white; border-bottom: 1px solid white; }
section#slider div.slider span.headline { display: block; font-weight: 700; font-size: 60px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); margin-bottom: 10px; }
section#slider div.slider span.subline { display: block; font-weight: 400; font-size: 30px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); margin-bottom: 15px; }
section#slider div.slider span.tag { display: inline-block; margin: 0 12px; }
section#slider div.slider span.tag:before { content: '\f00c'; font-family: 'FontAwesome'; font-size: 24px; display: inline-block; margin-right: 4px; color: var(--white); }

/* slider_next styling */
section#slider_next { height: 350px; position: relative; background-color: rvar(--white); }
section#slider_next div.slider     { width: 100%; height: 100%; position: relative; overflow: hidden; text-align: center; background-position: center center; background-size: cover; background-repeat: no-repeat; 
	background-image:linear-gradient(to right, rgba(255, 251, 195) 10%, rgba(246, 211, 108) 100%); }
section#slider_next div.slider>div { width: 100%; height: 100%; position: absolute; 
    background-position: center center; background-size: cover; background-repeat: no-repeat; }   
section#slider_next div.slider>span.container { display: block; width: 100%; color: var(--white); background-color: rgba(0,0,0,0.1); position: absolute; padding: 20px 0; top: 50%; transform: translateY(-50%);  border-top: 1px solid white; border-bottom: 1px solid white; }
section#slider_next div.slider span.headline { display: block; font-weight: 700; font-size: 60px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); margin-bottom: 10px; }
section#slider_next div.slider span.subline { display: block; font-weight: 400; font-size: 30px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); margin-bottom: 15px; }
section#slider_next div.slider span.tag { display: inline-block; margin: 0 12px; }
section#slider_next div.slider span.tag:before { content: '\f00c'; font-family: 'FontAwesome'; font-size: 24px; display: inline-block; margin-right: 4px; color: var(--white); }

/* visual styling */
section#visual { height: 300px; position: relative; background-color: var(--white); }
section#visual div.visual     { width: 100%; height: 100%; position: relative; overflow: hidden; text-align: center; background-position: center center; background-size: cover; background-repeat: no-repeat; 
	background-image:linear-gradient(to right, rgba(0,181,204,0.5) 10%, rgba(244, 133, 14, 0.5) 100%); }
section#visual div.visual>div { width: 100%; height: 100%; position: absolute; 
    background-position: center center; background-size: cover; background-repeat: no-repeat; }   




section#content { padding: 40px 0 10px 0; background-color: var(--lightGrey); }
section#content div.content_holder { overflow: auto; }
section#content div.content_holder div.sidenav { float: left; width: calc(30%); }
section#content div.content_holder div.sidenav ul {  }
section#content div.content_holder div.sidenav li {  }
section#content div.content_holder div.sidenav a {  }
section#content div.content_holder div.sidenav a:hover {  }
section#content div.content_holder div.content_main { float: left; width: calc(70% - 20px); margin-right: 20px; }
section#content div.row { display: flex; padding: 15px 0; }
section#content div.col { float: left; }
section#content div.col:first-child { width: calc((200% / 3) - 80px); padding-right: 80px; }
section#content div.col:last-child { width: calc(100% / 3); }
section#content div.col:last-child div.contact_data p { margin: 0; }
section#content div.col:last-child iframe { width: 100%; height: 350px; border: solid 2px var(--white); }

section#content h1 { color: var(--red); }
section#content h2 { }
section#content h3 { color: var(--darkGrey); }
section#content h5 { }
section#content h6 { color: var(--greyBlue); }

section#content ul { margin-left: 30px; }
section#content li { padding-left: 7px; line-height: 2em; /*font-style: italic; */ }
section#content a { color: var(--red); text-decoration: underline; }
section#content a:hover { text-decoration: none; }


/* --- table styling --- */
section#content table { border: 3px solid var(--white); border-radius: 6px; background-color: var(--white); }
section#content tbody {  }
section#content tr:first-child { background-color: var(--greyBlue) !important; font-weight: 500 !important; color: var(--lightGrey); }
section#content tr:nth-child(even) { background-color: rgba(47,65,76,0.1);  }
section#content tr:nth-child(odd) { background-color: var(--white);  }
section#content td { padding: 4px 6px;  }
section#content td:first-child { width: 250px; }

/* --- form styling --- */
section#content div.contact_holder {  }
section#content div.contact_holder form {  }
section#content div.contact_holder div.form_row {  }
section#content div.contact_holder div.form_label { line-height: 2em; }
section#content div.contact_holder div.form_field {  }
section#content div.contact_holder input[type=text], section#content div.contact_holder input[type=email] { width: 400px; box-sizing: border-box; border: solid 1px rgb(166, 168, 171); font-family: 'Rasa'; font-size: 18px; line-height: 2em; padding: 0px 8px; -webkit-appearance: none;}
section#content div.contact_holder textarea { width: 400px; height: 200px; box-sizing: border-box; resize: none; border: solid 1px rgb(166, 168, 171); font-family: 'Rasa'; font-size: 18px; padding: 4px 8px; -webkit-appearance: none;}
section#content div.contact_holder input[type=submit] { cursor: pointer; border: 0;  font-family: 'Rasa'; font-weight: 500; font-size: 20px; background-color: var(--bordeaux); color: var(--lightGrey); padding: 4px 8px; border-radius: 5px; transition: 0.3s background-color; -webkit-appearance: none;}
section#content div.contact_holder input[type=submit]:hover { background-color: var(--red); }

/* --- form validation styles --- */
.hp-field { position: absolute; left: -9999px; }
input.error, textarea.error { border: 2px solid var(--red) !important; background-color: rgba(185, 52, 45, 0.1); }
.field-error { color: var(--red); font-size: 16px; margin-top: 4px; min-height: 18px; }
.antispam-hint { min-height: auto; }
.antispam-hint .form_label { font-weight: 500; }
.antispam-code { display: inline-block; background-color: var(--bordeaux); color: var(--white);
	padding: 4px 12px; border-radius: 4px; font-weight: 700; font-size: 18px; letter-spacing: 2px; }

/* --- toast notification --- */
.form-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000;
	background-color: var(--white); border: 2px solid var(--red); border-radius: 8px;
	padding: 16px 24px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); max-width: 90%; box-sizing: border-box;
	opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.form-toast.show { opacity: 1; visibility: visible; }
.toast-content { display: flex; align-items: flex-start; gap: 12px; }
.toast-icon { font-size: 24px; color: var(--red); flex-shrink: 0; line-height: 1; }
.toast-message { color: var(--red); font-size: 16px; font-weight: 500; line-height: 1.4; word-wrap: break-word; }


section#cta { padding: 40px 0; background-color: var(--white); }
section#cta div.cta_holder { }
section#cta div.row { display: flex; }
section#cta div.col { float: left; }
section#cta div.col:first-child { width: 50%; padding-right: calc(100% / 6); }
section#cta div.col:last-child { width: calc(100% / 3); position: relative; }
section#cta a.readmore { position: absolute; transform: translateY(-50%); top: 50%; left: 0; font-family: 'Rasa'; font-weight: 500; font-size: 22px; text-decoration: none; display: inline-block; color: var(--white); background-color: var(--bordeaux); 
	padding: 24px 36px; border-radius: 10px; border: 2px solid var(--white); transition: 0.3s background-color, 0.3s color; }
section#cta a.readmore:hover { background-color: var(--red); color: var(--white); }
section#cta a.readmore span { margin-right: 15px; }
section#cta h4 { color: var(--red); }


section#news { padding: 40px 0; background-color: var(--bordeaux); color: var(--white); }
section#news div.news_holder { overflow: auto; }
section#news div.col { float: left; width: calc((100% / 3) - 40px); padding-right: 40px; margin: 20px 0 10px 0; }
section#news div.col div.news_visual { width: 100%; height: 70px; position: relative; overflow: hidden; background-position: center center; background-size: cover; background-repeat: no-repeat; border: solid 3px var(--white); margin-bottom: 20px; }
section#news div.col p { margin: 10px 0; }
section#news a.readmore { font-family: 'Rasa'; font-weight: 500; font-size: 20px; text-decoration: none; display: inline-block; color: var(--red); background-color: var(--white); margin: 6px 0; padding: 3px 8px; border-radius: 6px; border: 2px solid var(--white); transition: 0.3s background-color, 0.3s color; }
section#news a.readmore:hover { background-color: var(--red); color: var(--white); }


section#news_details { padding: 20px 0; }
section#news_details div.news_details_holder {  }
section#news_details div.col { padding: 20px 0 10px 0; border-bottom: 1px solid var(--lightGrey); }
section#news_details div.news_visual { width: 100%; height: 120px; position: relative; overflow: hidden; background-position: center center; background-size: cover; background-repeat: no-repeat; border: solid 3px var(--red); margin-bottom: 20px; }
section#news_details h5 { color: var(--red); }
section#news_details a { color: var(--red); text-decoration: underline; }
section#news_details a:hover { text-decoration: none; }


section#footer { padding: 40px 0; background-color: var(--red); border-bottom: 6px solid white;}
section#footer div.footer_holder {   }
section#footer div.row { overflow: auto; padding: 5px 0; display: flex; }
section#footer div.row h4 { color: var(--lightGrey); }
section#footer div.col { float: left; position: relative; width: calc((100% / 3) - 40px); padding-right: 40px; }
section#footer div.col h6 { color: rgba(0,0,0, 0.55); }
section#footer div.col h6:first-child { padding-top: 0; }
section#footer div.col p  { margin: 0; color: var(--lightGrey); }
section#footer div.col ul { list-style-type: none; }
section#footer div.col li { line-height: 1.4em; }
section#footer div.col a { color: var(--lightGrey);  text-decoration: none; }
section#footer div.col a:hover { text-decoration: underline; }
section#footer div.col:last-child { text-align: center; }
section#footer div.col:last-child img.tamara { display: inline-block; border-radius: 50%; width: 200px; padding: 6px; border: solid 6px var(--white); }
section#footer div.col:last-child img.logo { width: 160px; display: inline-block; opacity: 0.87; margin-top: 20px; }


section#credits { font-family: 'Source Sans Pro'; /*text-transform: uppercase;*/ font-weight: 500; padding: 20px 0; background-image: url('/images/bg5.png'); background-repeat: none; background-size: cover; background-position: center; width: 100%; }
section#credits div.credits_holder { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
section#credits div.credits_holder a { display: inline-block; min-width: 220px; background-color: var(--lightGrey); font-size: 12px; text-decoration: none; color: var(--bordeaux); text-align: center; padding: 12px 6px; border: 2px solid var(--bordeaux); border-radius: 6px; transition: 0.3s background-color, 0.3s color; }
section#credits div.credits_holder a:hover { background-color: var(--bordeaux); color: var(--white); }

.cookie-consent {
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 1200;
	display: none;
}

.cookie-consent.visible {
	display: block;
}

.cookie-consent__inner {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	max-width: 860px;
	margin: 0 auto;
	padding: 18px 20px;
	border: 4px solid var(--white);
	border-radius: 16px;
	background-color: var(--bordeaux);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-consent__content {
	flex: 1;
}

.cookie-consent__title,
.cookie-consent__text {
	color: var(--white);
	margin: 0;
}

.cookie-consent__text {
	margin-top: 8px;
}

.cookie-consent__text a {
	color: var(--white);
	text-decoration: underline;
}

.cookie-consent__actions {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	flex-shrink: 0;
	gap: 12px;
	margin-top: 16px;
}

.cookie-consent__button {
	border: none;
	cursor: pointer;
	padding: 10px 16px;
	border-radius: 8px;
	font-family: 'Source Sans Pro';
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.cookie-consent__button--primary {
	background-color: var(--white);
	color: var(--bordeaux);
}

.cookie-consent__button--primary:hover {
	background-color: var(--lightGrey);
}


/* --- @media queries --- */
@media screen and (max-width: 980px) {	
	div.wrapper { width: 90%; }
	section#top div.hamburger { display: block; }
	section#top div.topnav { display: none; }
	section#slider { height: 450px; }
	section#slider_next { height: 250px; }	

	section#content div.content_holder div.sidenav { float: none; display: none; }
	section#content div.content_holder div.content_main { float: none; width: 100%; margin-right: 0px; }	
	section#content td:first-child { width: 45%; }

	section#cta div.row { display: block; }
	section#cta div.col { float: none; }
	section#cta div.col:first-child { width: 100%; padding-right: 0; }
	section#cta div.col:last-child { width: 100%; }
	section#cta a.readmore { position: initial; transform: initial; top: initial; left: initial; font-size: 16px;  
		padding: 16px 18px; }
}

@media screen and (max-width: 800px) {
	section#content div.contact_holder input[type=text], section#content div.contact_holder input[type=email] { width: 100%; font-size: 15px; }
	section#content div.contact_holder textarea { width: 100%; height: 200px; font-size: 15px; }
	section#content div.contact_holder input[type=submit] { font-size: 18px; }
}

@media screen and (max-width: 750px) {
	section#footer div.row { display: block; }
	section#footer div.col { float: none; width: 100%; padding-right: 0; padding-bottom: 15px; }
	section#footer div.col:last-child { text-align: left; }
	section#footer div.col:last-child img.tamara { display: block; width: 140px; }
	section#footer div.col:last-child img.logo { display: block; width: 160px; margin-top: 20px; }
}

@media screen and (max-width: 700px) {
	section#top div.logo { width: 200px; }
	section#slider { height: 350px; }
	section#slider div.slider span.headline { font-size: 48px; }
	section#slider div.slider span.subline { font-size: 24px; }
	section#slider_next { height: 200px; }
	section#slider_next div.slider span.headline { font-size: 48px; }
	section#content div.row { display: block; padding: 15px 0; }
	section#content div.col { float: none; }
	section#content div.col:first-child { width: 100%; padding-right: 0; }
	section#content div.col:last-child { width: 100%; margin-top: 20px; }
	section#content ul { margin-left: 15px; }
	section#content li { padding-left: 5px; line-height: 1.8em; }
	section#content div.contact_holder { padding-bottom: 30px; }
	section#content div.contact_holder input[type=text], section#content div.contact_holder input[type=email] { width: 80%; font-size: 15px; }
	section#content div.contact_holder textarea { width: 80%; height: 200px; font-size: 15px; }
	section#content div.contact_holder input[type=submit] { font-size: 18px; }
	section#news div.col { float: none; width: 100%; padding-right: 0; margin: 20px 0 10px 0; }
	section#news div.col div.news_visual {  box-sizing: border-box; height: 70px; margin-bottom: 20px; }
	/* toast responsive */
	.form-toast { width: auto; max-width: 90%; left: 50%; right: auto; transform: translateX(-50%); padding: 12px 16px; }
	.toast-message { font-size: 14px; }
	.field-error { font-size: 14px; }
	.cookie-consent { left: 12px; right: 12px; bottom: 12px; }
	.cookie-consent__inner { flex-direction: column; align-items: stretch; padding: 16px; }
	.cookie-consent__actions { flex-direction: column; margin-top: 16px; }
	.cookie-consent__button { width: 100%; }
}

@media screen and (max-width: 600px) {	
	section#slider div.tagblock { display: none; }
}

@media screen and (max-width: 550px) {	
	section#slider { height: 250px; }
	section#slider div.slider span.headline { font-size: 32px; }
	section#slider div.slider span.subline { font-size: 18px; }
	section#slider_next { height: 160px; }
	section#slider_next div.slider span.headline { font-size: 32px; }	
}

@media screen and (max-width: 500px) {	
	section#top div.logo { width: 170px; }
	section#content td:first-child { width: 35%; }
	section#content td { font-size: 12px; padding: 4px 6px; }	
	section#footer div.col:last-child img { width: 120px; display: block; position: initial; bottom: initial; right: initial; margin-top: 20px; }
}

@media screen and (max-width: 450px) {
	body { font-size: 13px; }
	h1   { font-size: 22px; }
	h2   { font-size: 22px; }
	h3   { font-size: 16px; padding: 4px 0; }
	h4   { font-size: 20px; }
	h5   { font-size: 16px; }
	h6   { font-size: 11px; }
	p    { font-size: 13px; }
	section#content div.contact_holder input[type=text], section#content div.contact_holder input[type=email] { width: 100%; font-size: 13px; }
	section#content div.contact_holder textarea { width: 100%; height: 200px; font-size: 13px; }
	section#content div.contact_holder input[type=submit] { font-size: 13px; }
	section#news a.readmore { font-size: 11px; margin: 4px 0; padding: 3px 6px; }
	/* form validation responsive */
	.field-error { font-size: 12px; }
	.toast-message { font-size: 12px; }
	.antispam-code { font-size: 14px; padding: 3px 10px; }
}

@media screen and (max-width: 400px) {	
	section#top div.logo { width: 140px; }
	section#slider div.slider span.headline { font-size: 22px; }
	section#slider div.slider span.subline { font-size: 15px; }
	section#slider_next { height: 140px; }	
	section#cta a.readmore { font-size: 14px; padding: 12px 14px; }
	section#credits div.credits_holder { justify-content: center; }
}

/* Text from the editor: a heading of more lines is a paragraph in the heading and looks like the heading itself;
   an image in a centred or right-aligned paragraph follows it; a paragraph holds an image that floats beside it */
span.headline p, section#content h1 p { margin: 0; font: inherit; }
p[style*="text-align: center"] img { margin-left: auto; margin-right: auto; }
p[style*="text-align: right"] img { margin-left: auto; }
p:has(> img[style*="float"]) { display: flow-root; }
