/*
Theme Name: Vlasveen Theme
Theme URI: https://www.vlasveen.com
Author: Tieme Dekker
Author URI: https://www.tiemedekker.nl
Description: Bedrijvenverzamelgebouw Vlasveen 
Version: 1
*/



/* ==== #Reset & Basics (Inspired by E. Meyers) ==== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline:0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline; 
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
em { font-style: italic; }

strong { font-weight: 700; }

/* ==== Basic style ==== */		

html, body { height: 100%; }

:root {
  --brown: #765120;
  --lightbrown: #e7e0d8;
  --grey: #404956;
  --hover: #c07b15;
}

body { 
	color: #1a1a1a;

	font-family: "Source Sans 3", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;

	font-size: 1rem;
	line-height: 1.5em; 
	background: #1a1a1a;
}

h1,h2,h3 { 
	font-family: "Source Sans 3", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
	text-transform: uppercase;
	color: var(--brown);

	line-height: 1em;
	margin-bottom: .25em;
}

.kop-meer-onder {
	margin-bottom: 1em;
}

h1 { font-size: 2.5rem; }

@media screen and (min-width: 450px) {
	h1 { font-size: 3rem; }
}

h2 { font-size: 2rem; }
h3 { 
	color: var(--grey); 
	font-size: 1.5rem; 
	line-height: 1.2em;
	text-transform: none;
	margin-bottom: 1.5em;
}

h4 { 
	font-size: 1.5rem; 
	line-height: 2em;
}

.kopbruin {
	color: var(--brown);
}

.kopgrey {
	color: var(--grey);
}

.kopdun {
	color: var(--grey);
	font-weight: 400;
}

p { 
	padding: 0;	
}

a, a:active, a:visited {
	color: var(--brown);
	text-decoration: none; 
}
a:hover { 
	color: var(--hover);
}

/* ==== Responsive images ==== */

img { max-width:100%; height:auto; }

img.alignleft { float: left; margin: .5em 1.5em 0 0; }

img.alignright { float: right; margin: .5em 0 0 1.5em; }

img.aligncenter { clear: both; margin: .5em auto 0; display: block; }

figure {
	margin-bottom: 0;
}

ul {
	padding: 0 0 1.5em 1rem;
}



/* ==== section onderdelen ==== */

section#main { 
	padding: 100px 0 0;
	background: white;
	width: 100%;
	margin-top: 0;
}

.home section#main {
	padding: 0;
}

.wrapper {
    width: calc(100% - 40px);
	max-width: 1200px;
    margin: 0 auto;
}
 .meerruimte {
	 padding: 2em 0;
 }


/* HERO */

.herobeeld {
	color: white;
	height: 80vh;
	padding: 0 0 2em 0;
	background: url("img/vlasveen-hero.jpg") no-repeat scroll 50% 0;
	background-size: cover;
	display: flex;
	align-items: flex-end;
}

.herotitle {
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 0 auto;

	animation: move 1s;
	animation-timing-function: ease-out;
}

@keyframes move {
	0%   { margin-bottom:-150px; opacity:0; }
	100% { margin-bottom:0px; opacity:1; }
}



/* HEADER */

#main-header {
    position: fixed;
    width: 100%;
	z-index: 1000;
	transition: all 0.5s;
	background: white;
	transition: all 0.25s ease 0s;
}

.menucontainer {
    width: calc(100% - 40px);
	max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	display: flex;
	justify-content: space-between;
}

a.logo {
	padding: 5px 0;
	align-self: start;
}

a.logo img {
	height: 50px;
}

.logowhite {
	display: none;
}

.scrollmenu {
	background: white !important;
	box-shadow: 0 4px 4px rgba(0,0,0,.2) !important;
}

.logocolor,
.scrollmenu .logocolor {
	display: block;
}

.scrollmenu .logowhite {
	display: none;
}

a.logo img {
	height: 50px;
	padding: 15px 0 10px;
}



@media screen and (min-width: 760px) {
	#main-header {
		background: transparent;
		box-shadow: none;
	}
	.home .logowhite,
	.logocolor {
		display: block;
	}
	.home .logocolor {
		display: none;
	}
	.scrollmenu .logowhite {
		display: none;
	}
	.scrollmenu .logocolor {
		display: block;
	}
	.menucontainer {
		width: calc(100% - 40px);
		padding: 0;
	}
	a.logo img {
		height: 60px;
		padding: 20px 0 15px;

	}
	.scrollmenu a.logo img {
		height: 55px;
		padding: 15px 0 10px;
	}
}





/* ==== MAIN MENU ==== */

/* hamburger */

#toggle {
	display: block;
	width: 28px;
	height: 26px;
	padding: 30px 0 0;
}

#toggle span:after,
#toggle span:before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
}

#toggle span:after{
	top: 18px;
}

#toggle span {
	position: relative;
	display: block;
}

#toggle span,
#toggle span::after,
#toggle span::before {
	width: 100%;
	height: 5px;
	background-color: var(--grey);
	backface-visibility: hidden;
	border-radius: 2px;
}

#toggle span,
#toggle span::after {
	transition: all 0.2s;
}

#toggle span:hover,
#toggle span:hover::after,
#toggle span:hover::before {
	background-color: var(--brown);
}

/* on activation */

#toggle.active span {
  transform: rotate(45deg) translate(7px, 6px);
}

#toggle.active span:before {
  background-color: transparent;
}

#toggle.active span:after {
  transform: rotate(-90deg) translate(17px, 0px);
}

#toggle.active + #menu {
  opacity: 1;
  visibility: visible;
}

a#toggle {
    display: block;
}

.wrapperhead {
	justify-content: flex-end;
}

nav#menu {
	display: none;
}

*nav[role=navigation] {
	padding: 0;
	position: absolute;
	left: 0;
}

nav#menu.active {
	display: block;
	width: 100%;
	background: white;
	position: absolute;
	top: 80px;
	left: 0;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 4px 4px rgba(14,14,14,.2);
}

.scrollmenu nav#menu.active {
	top: 80px;
}

nav[role=navigation] li {
	padding: 0 20px;
	background: white;
}

nav[role=navigation] li a,
nav[role=navigation] ul.sub-menu li a {
	padding: 10px 0;
	display: block;
	border-bottom: 1px solid #ccc;
	color: var(--grey);
	font-size: 1rem;
	text-decoration: none;
}

nav[role=navigation] ul.sub-menu li a {
	border-bottom: none;	
}


nav[role=navigation] li a {
	transition: all 0.1s;
}

nav[role=navigation] ul.sub-menu li {
	padding: 0 0 0 20px;
}
	
nav[role=navigation] li:last-child a {
	border-bottom: none;
}

nav[role=navigation] li a:hover,
nav[role=navigation] ul.sub-menu li a:hover {
	color: var(--brown);
	font-weight: 400;
	padding-left: 10px;
}	

nav[role=navigation] li.current_page_item a,
nav[role=navigation] ul.sub-menu li.current_page_item a,
nav[role=navigation] li.current_page_item a:hover,
nav[role=navigation] li.current_page_item a:focus {
	color: var(--brown);
	padding-left: 0;
	font-weight: 700;
}

@media screen and (min-width: 760px) {
	a#toggle {
	   display: none;
	}
	
	.js nav[role=navigation] {
		display: block;
	}
	
	nav#menu {
		display: block;
	}
	
    nav[role=navigation] ul {
		width: 100%;
		display: flex;
		justify-content: flex-end;
		box-sizing: border-box;
		padding: 0;
    } 
    
    nav[role=navigation] li {
        list-style: none;
        margin-left: 25px;
        font-size: 25px;
        padding: 0;
        background: transparent;
    }
       
    .home .scrollmenu nav[role=navigation] li a,
    nav[role=navigation] li a {
		color: #222;
        text-decoration: none;
		border-bottom: 3px solid transparent;
		padding: 28px 0 10px;
		position: relative;
		transition: all 0.25s ease 0s;
	}
        
    .home .scrollmenu nav[role=navigation] li a:hover,
    nav[role=navigation] li a:hover {
		color: var(--brown);
		border-bottom: 2px solid var(--brown);
		padding: 28px 0 10px;
		font-weight: 400;
	}

	.home .scrollmenu nav[role=navigation] li.current_page_item a,
	.home .scrollmenu nav[role=navigation] li.current_page_item a:hover,
	.home .scrollmenu nav[role=navigation] li.current_page_item a:focus,
	nav[role=navigation] li.current_page_item a,
	nav[role=navigation] li.current_page_item a:hover,
	nav[role=navigation] li.current_page_item a:focus {
		color: var(--brown);
		border-bottom: 2px solid var(--brown);
		padding: 28px 0 10px;
		font-weight: 400;
	}
	
	.home nav[role=navigation] li a {
		color: white;
	}
	
    .home nav[role=navigation] li a:hover,
	.home nav[role=navigation] li.current_page_item a,
	.home nav[role=navigation] li.current_page_item a:hover,
	.home nav[role=navigation] li.current_page_item a:focus {
		color: white;
		border-bottom: 2px solid white;
	}
	
	nav[role=navigation] li.menu-item-has-children a {
	}	
	
	nav[role=navigation] li.menu-item-has-children a:after {
	    content: "\f078";
	    font-family: FontAwesome;
	    font-style: normal;
	    font-weight: normal;
	    font-size: 1em;
	    padding-left: 5px;
	}

	nav[role=navigation] li.menu-item-has-children li a:after {
	    content: "";
	    padding-left: 0;
	    }

	nav[role=navigation] li.menu-item-has-children a,
	nav[role=navigation] li.menu-item-has-children a:hover {
		border-bottom: none;
	}


    nav[role=navigation] ul.sub-menu {
	    display: list-item;
	    width: auto;
/*	    visibility: hidden;*/
    }
    
    nav[role=navigation] li:hover ul.sub-menu {
	    visibility: visible;
    }
     
    nav[role=navigation] ul.sub-menu li {
	    padding: 0;
		margin: 0;
	}
    
    nav[role=navigation] ul.sub-menu li a {
		padding: 5px 0 !important;
 		transition: 0.1s;
 		color: white;
    }

    nav[role=navigation] li.current-menu-parent ul.sub-menu li.current_page_item a {
	}

	nav[role=navigation] li.current-menu-parent a {
		color: #005478;
	}

    nav[role=navigation] ul.sub-menu li a:hover,
    nav[role=navigation] ul.sub-menu li.current_page_item li a:hover,
    nav[role=navigation] li.menu-item-has-children ul.sub-menu li a:hover {
		border-bottom: 2px solid white;
		padding: 5px 0;
   }

}


/* PAGINATION */


.navigation {
	display: block;
	clear: both;
	width: 100%;
}

.navigation li {
	display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	color: #222;
	background-color: white;
	cursor: pointer;
	padding: 6px 8px;
	font-size: 80% !important;
	font-weight: 700;
	line-height: 1em;
	transition: all 0.3s;
}

.navigation li.active a {
	background-color: var(--hover) !important;
	text-decoration: none;
}

.navigation li.active a,
.navigation li.active a:hover {
	color: white;
}

.navigation li a:hover {
	color: #0061ad;
}



/*** ZOEKEN ***/

h3.resultaat span { font-size: 1.75em; line-height: 1.25em; }

.zoek {
	margin-bottom: 1.5em;
    min-height: 2em;
}

select, input, textarea {
    background-color: white;
    margin: 0 0 0.75em;
    padding: 10px;
    position: relative;
    width: 96%;
    border: 1px solid #ccc;
	font-size: 1em;
}

select { height: 3em; }
input#name[type="text"], input#email[type="email"] {
    padding: 10px;
    width: 96%;
    font-size: .8em;
    color: #aaa;
}

.screen-reader-text {
    left: -9999px;
    position: absolute;
    top: -9999px;
}

#searchform input {margin: 0;}
#searchform input#s[type="text"] {
    background-color: white;
    border: medium none;
    box-shadow: none;
    color: #888;
    float: left;
    height: 25px;
    padding: 5px 0 5px 10px;
    width: 95%;
    font-size: .8em;
}

#searchsubmit {
    background: white url("img/zoekglas.svg") no-repeat scroll right 0;
    border: medium none;
    cursor: pointer;
    height: 35px;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-indent: -1000px;
    top: 0;
    width: 35px;
}

#searchsubmit:hover {
    background: white url("img/zoekglas30.svg") no-repeat scroll right 0;
}



/* ==== BUTTONS ==== */

button[type="submit"], 
input[type="button"],
.more,
button.vvbutton {
    padding: .4em 1em !important;
    width: auto;
    font-size: 1.25rem;
    line-height: 1em;
	color: white !important;
	background: var(--brown) !important;
	border: none !important;
	border-radius: 500px !important;
	cursor: pointer;
	transition: all 0.3s ease 0s;
}

button[type="submit"]:hover,
input[type="button"]:hover,
.more:hover,
button.vvbutton:hover {
	background: var(--grey) !important;
	color: white;
	transform: scale(1.1);
}

.button:hover {
	transform: scale(1.1);
}



span.wpforms-required-label {
	color: var(--hover) !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
	background: white !important;
	border: none;
}


/*** FOOTER ***/

footer { 
	color: white; 
	background: var(--grey);
	padding: 2em 0; 
	text-align: left; 
}

footer ul, .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

footer a, footer a:active, footer a:visited { color: white; }

footer a:hover,
footer li.current_page_item a { 
	color: var(--hover); 
	
}

footer p {
	margin-bottom: 1em;	
}

footer h3 {
	font-size: 1rem;
	color: var(--hover);
	text-transform: uppercase;
}

footer h3 a {
	color: var(--hover);
}

footer .kollogo img {
 	max-width: 100%;
 	height: 50px;
}



/*** KOLOMMEN FOOTER ***/



.wrapper.footkolommen {
	display: grid; 
	grid-template-columns: 1fr 1fr;
	gap: 2em;
 	text-align: left;
}

.kollogo {
	grid-column: 1/3 ;	
	grid-row: 1/2 ;
}
.kolinfo {
	grid-column: 1/3 ;	
	grid-row: 2/3 ;
}
.kolruth {
	grid-column: 1/2 ;	
	grid-row: 3/4 ;
}
.kolnoord {
	grid-column: 2/3 ;	
	grid-row: 3/4 ;
}



@media screen and (min-width: 400px) {
	.wrapper.footkolommen {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
	}
	.kollogo {
		grid-column: 1/3 ;	
		grid-row: 1/2 ;
	}
	.kolinfo {
		grid-column: 3/6 ;	
		grid-row: 1/2 ;
	}
	.kolruth {
		grid-column: 1/3 ;	
		grid-row: 2/3 ;
	}
	.kolnoord {
		grid-column: 3/5 ;	
		grid-row: 2/3 ;
	}

}


@media screen and (min-width: 760px) {
	.wrapper.footkolommen {
		grid-template-columns: 3fr 5fr 2fr 2fr; 
	}
	.kollogo {
		grid-column: 1/2 ;	
		grid-row: 1/2 ;
	}
	.kolinfo {
		grid-column: 2/3 ;	
		grid-row: 1/2 ;
	}
	.kolruth {
		grid-column: 3/4 ;	
		grid-row: 1/2 ;
	}
	.kolnoord {
		grid-column: 4/5 ;	
		grid-row: 1/2 ;
	}

}


/*** SOCIAL ***/

footer .social {
	text-align: right;
}

footer .social a:hover {
	color: #1a1a1a;
}


.credit { font-size: .6em; line-height: 2em; color: white; padding: 1em 0; }
span.ik, span.ik a, span.ik a:hover, span.ik a:visited { color: #444;  text-decoration: none; }





/* ==== PRINT STYLESHEET ==== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}