/*
Theme Name: Door Eendracht Verbonden
Theme URI: http://devkampen.nl/
Author: Cornelis Kuiper
Author URI: http://corneliskuiper.nl/
Description: Custom theme for Door Eendracht Verbonden
Version: 1.0
License: Commercial
License URI: http://corneliskuiper.nl/
Text Domain: corneliskuiper
*/

/*
Color palette

rgba(0,56,87,1)		#56647F	DEV Dark blue
rgba(175,155,103,1)	#AF9B67	DEV Gold
rgba(193,177,137,1)	#C1B189	DEV Light Gold
rgba(255,255,255,1)	#FFFFFF	White
rgba(250,250,250,1)	#FAFAFA	Light grey
rgba(82,82,82,1)	#525252	Dark grey
rgba(0,0,0,1)		#000000	Black
*/


/* General layout and text formatting */

:root {
    --swiper-theme-color: rgba(175,155,103,1) !important;
}

body {
	margin: 0px;
	font-size: 16px;
	line-height: 180%;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.2px;
	font-weight: 300;
	color: rgba(82,82,82,1);
	-webkit-tap-highlight-color: transparent;
}

a {
	text-decoration: none;
	color: rgba(175,155,103,1);

}

div.container {
	width: 1000px;
	margin: auto;
	padding: 30px 20px;
}

@media (max-width: 1200px) {
	div.container {
		width: calc(100% - 200px);
	}
}

@media (max-width: 650px) {
	div.container {
		width: calc(100% - 40px);
	}
}

/* Header */

div#visual {
	box-shadow: inset 100vw 100vh rgba(0,0,0,0.2);
	background-position: center center;
	background-size: cover;
	padding: env(safe-area-inset);
	float: left;
	width: 100vw;
	height: 35vw;
	min-height: 70vh;
	position: relative;
}

@media (max-width: 850px) {
	div#visual {
		min-height: 60vh;
	}
}

div#menu {
	background-color: rgba(193,177,137,0.9);
	width: 100vw;
	height: 100px;
}

@media (max-width: 850px) {
	div#menu div.container {
		width: calc(100% - 40px);
	}
}

div#social {
	position: absolute;
	top: 40%;
	right: 40px;
	z-index: 2;
}

#social ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

#social li {
	margin-bottom: 15px; 
}

#social li:last-child {
	margin-bottom: 0px;
}

#social li img {
	height: 50px;
	width: 50px;
}

@media (max-width: 850px) {
	div#social {
		position: absolute;
		top: 25px;
		right: 25px;
		width: auto;	
	}

	#social ul {
		margin: 0px;
		padding: 0px;
		list-style: none;
	}

	#social ul li {
		float: left;
		clear: initial;
		margin-bottom: 0px;
		margin-right: 15px; 
	}

	#social li:last-child {
		margin-right: 0px;
	}

	#social li img {
		height: 50px;
		width: 50px;
	}
}

div#headercontainer {
	position: relative;
	width: 1200px;
	height: calc(35vw - 100px);
	min-height: calc(70vh - 100px);
	padding: 0px 0px;
}

@media (max-width: 1200px) {
	div#headercontainer {
		width: 100%;
	}
}

@media (max-width: 850px) {
	div#headercontainer {
		min-height: calc(60vh - 100px);
	}
}

div#header {
	display: flex;
	position: absolute;
	bottom: 60px;
}

div#header div {
	align-self: center;
}

img#logo {
	display: block;
	height: 180px;
	margin: 0px 30px 0px 20px;
	float: left;
}

div#header h1 {
	font-weight: 300;
	font-size: 2em;
	margin: 10px 0px;
	line-height: 35px;
	color: rgba(255,255,255,0.8);
	font-family: 'Arvo', sans-serif;
}

div#header h2 {
	font-weight: 300;
	font-size: 2.7em;
	margin: 10px 0px;
	line-height: 45px;
	color: rgba(255,255,255,1);
	font-family: 'Arvo', sans-serif;
}

@media (max-width: 850px) {
	div#headercontainer {
		width: 100%;
	}

	div#header {
		bottom: 30px;
	}

	img#logo {
		height: 20vw;
		margin: 0px 2vw 0px 20px;
	}

	div#header h1 {
		font-size: 3.7vw;
		line-height: 3.8vw;
	}

	div#header h2 {
		font-size: 5vw;
		line-height: 5.5vw;
	}
}

/* Frontpage */

div#frontpagevisual {
	box-shadow: inset 100vw 100vh rgba(0,0,0,0.2);
	background-position: center center;
	background-size: cover;
	background-image: url(vs-frontpage.jpg);
	padding: env(safe-area-inset);
	width: 100vw;
	padding: 30px 0px;
}

div#frontpagevisual div#frontpagecontainer {
	width: 1200px;
}

@media (max-width: 1200px) {
	div#frontpagevisual div#frontpagecontainer {
		width: calc(100% - 40px);
	}
}

div#frontpagevisual h2 {
	color: rgba(255,255,255,0.8);
	border-bottom: 1px solid rgba(193,177,137,0.4);
	text-align: center;
	font-family: 'Arvo', sans-serif;
	font-size: 1.5em;
	line-height: 2em;
	font-weight: 300;
	width: calc(100% - 30px);
	margin: auto;
}

div#frontpagevisual div.content {
	display: flex;
	padding: 30px 0px;
}

div#frontpagecontainer div.tile {
	border-radius: 15px;
	margin-left: 30px;
	width: 100%;
	background-color: rgba(193,177,137,0.9);
	overflow: hidden;
	position: relative;
}

@media (max-width: 1000px) {
	div#frontpagecontainer div.tile:nth-child(3) {
		display: none;
	}
}

@media (max-width: 600px) {
	div#frontpagecontainer div.tile:nth-child(2) {
		display: none;
	}
}

div#frontpagecontainer div.tile:first-child {
	margin-left: 0px;
}

div#frontpagecontainer div.tileimage {
	display: block;
	height: 200px;
}

div#frontpagecontainer div.tileimage img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

div#frontpagecontainer div.tiletext {
	padding: 15px 15px 70px 15px;
}

div#frontpagecontainer h3 {
	margin: 10px 0px;
}

div#frontpagecontainer div.date {
	margin: 10px 0px;
}

div#frontpagecontainer div.readmorecontainer {
	position: absolute;
	width: calc(100% - 30px);
	bottom: 15px;
	left: 15px;
	text-align: center;
}

div#frontpagecontainer a.readmore {
	display: inline-block;
	border: 1px solid white;
	line-height: 40px;
	color: rgba(255,255,255,1);
	font-weight: 400;
	text-decoration: none;
	padding: 3px 14px 3px 14px;
	text-transform: lowercase;
}

div#frontpagecontainer a.readmore:hover {
	transition-property: background-color;
	transition-duration: 0.5s;
	background-color: rgba(193,177,137,5);
}

#frontpagebottom {
	max-width: 600px;
}

@media (max-width: 767px) {
	#frontpagebottom {
		max-width: 50%;
	}
}

#frontpagebottom h2 {
	text-align: center;
}

/* Content */

div.content {
	clear: both;
	padding: 30px 0px 30px 0px;
}

div.content h2 {
	color: rgba(175,155,103,1);
	font-weight: 300;
	font-size: 1.5em;
	font-family: 'Arvo', sans-serif;
	margin-top: 40px;
}

div.content h3 {
	color: rgba(0,56,87,1);
	font-weight: 200;
	font-size: 1.3em;
	margin-bottom: 0px;
	font-family: 'Arvo', sans-serif;
}

div.content h3 + p {
	margin-top: 5px;
}

div.content span.date {
	font-style: italic;
}

div.content p,
div.content h1,
div.content h2,
div.content h3,
div.content h4,
div.content table,
div.content div.wpcp-carousel-wrapper,
div.content div#postnavigation {
	max-width: 650px;
}

div.content div.wpcp-carousel-wrapper,
div.content div#postnavigation {
	padding: 20px 0px;
	display: inline-block;
	width: 100%;
}

div.content p img,
div.content div.wp-block-column img {
	margin: 10px 30px 10px 0px;
	border-radius: 15px;
	float: left;
	max-width: 300px;
}

@media (max-width: 850px) {
	div.content p img,
	div.content div.wp-block-column img {
		max-width: 35vw;
	}
}

div.content div.wp-block-file a {
	font-size: 16px;
}

div.content div.previous,
div.content div.next {
	display: block;
	max-width: 45%;
}

div.content div.previous {
	float: left;
	text-align: left;
}

div.content div.next {
	float: right;
	text-align: right;
}

/* Form */

input.wpcf7-form-control {
	line-height: 20px;
	border: 0px;
	border-bottom: 1px solid rgba(175,155,103,1);
	border-radius: 0px;
	font-size: 16px;
	max-width: calc(100% - 20px);
}

span.wpcf7-list-item {
	display: block;
	clear: both;
}

textarea.wpcf7-textarea {
	border-color: rgba(175,155,103,1);
	border-radius: 0px;
	border-width: 1px;
	font-size: 16px;
	width: calc(100% - 20px);
}

input.wpcf7-submit {
	display: inline-block;
	border: 0px;
	border-radius: 0px;
	background-color: rgba(175,155,103,1);
	line-height: 40px;
	color: rgba(255,255,255,1);
	font-weight: 400;
	font-size: 16px;
	text-decoration: none;
	padding: 3px 14px 3px 14px;
	text-transform: lowercase;
	width: auto;
}

input.wpcf7-submit:hover {
	background-color: rgba(193,177,137,1);
}

.wpcf7-response-output {
	margin: 10px 0px 30px 0px !important;
	display: inline-block;
}

/* Footer */

div#footer {
	display: flex;
	clear: both;
	margin: 0px;
	background-color: rgba(0,56,87,1);
	color: rgba(255,255,255,1);
	padding: 40px 0px 60px 0px;
	align-items: left;
}

div#footer ul {
	padding: 0px;
}

div#footer ul li {
	font-family: 'Lato', sans-serif !important;
	list-style: none;
}

div#footer a {
	color: rgba(255,255,255,1);
}

div#footer a:hover {
	color: rgba(193,177,137,1);
}