/*
Theme Name: 	TenDesign
Theme URI: 	http://www.ten-design.nl
Description: 	Responsive template van Ten Design | Creatieve Communicatie
Version: 	1.0
Author: 	Ten Design, Den Ham
Author URI: 	http://www.ten-design.nl
Tags: 		responsive template wordpress, responsive wordpress, ten design, wordpress, template
*/

@import "reset.css";
@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css');
@import url('//fonts.googleapis.com/css?family=Open+Sans:300,400,700');
@import url('//fonts.googleapis.com/css?family=Bitter:700,400italic');

*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html,
body {
	position: relative;
	height: 100%;
	min-height: 100%;
	max-width: 100%;
	width: 100%;
	background-color: #fff;
}
html.ie6 header,
html.ie6 main,
html.ie6 footer,
html.ie7 header,
html.ie7 main,
html.ie7 footer,
html.ie8 header,
html.ie8 main,
html.ie8 footer{
	display: none;
}
html.ie6 body,
html.ie7 body,
html.ie8 body{
	height: 100% !important;
	min-height: 100% !important;
	background-image: url(images/browser.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #f2f2f2;
}
img{
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
figure{
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}
figure:before{
	content: '';
	display: block;
	padding-top: 75%;
}
figure img{
	position: absolute;
	height: 100%;
	width: auto;
	max-width: none;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
	margin: auto;
}
.video{
	position: relative;
	height: 0;
	overflow: hidden;
	padding: 30px 0 56.25%;
	margin-bottom: 2em;
}
.video embed, 
.video iframe, 
.video object {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
}
a,
section.highlight a{
	color: inherit;
	text-decoration: inherit;
}
p a{
	color: #00a7e7;
}

body #wpadminbar{
	position: fixed;
	top: 0;
}

/* Media Queries */
@media only screen and (min-width : 320px) {
	nav ul li.social_media{
		display: none;
	}
	body{
		font-family: 'Open Sans', sans-serif;
		font-weight: 400;
		color: #000;
		font-size: 15px;
		line-height: 26px;
	}
	header{
		display: block;
		z-index: 99;
		top: 0;
		width: 100%;
		height: 85px;
		-webkit-box-shadow: 0 0 2px 0 rgba( 0, 0, 0, 0.25 );
		   -moz-box-shadow: 0 0 2px 0 rgba( 0, 0, 0, 0.25 );
		             box-shadow: 0 0 2px 0 rgba( 0, 0, 0, 0.25 );
		-webkit-transition: all 400ms, -webkit-transform 400ms;
		transition: all 400ms, transform 400ms;
	}
	header.active{
		background-color: rgba(255,255,255,0);
		-webkit-box-shadow: none;
		   -moz-box-shadow: none;
		             box-shadow: none;
	}
	header a#logo{
		position: absolute;
		right: 5%;
		top: 17px;
		width: 150px;
		height: auto;
		z-index: 98;
		-webkit-transition: opacity 400ms, -webkit-transform 400ms;
		transition: opacity 400ms, transform 400ms;
	}
	header.active a#logo,
	header.active a#trigger_locatie,
	header a#logo.active{
		opacity: 0;
	}
	nav a:focus{
		outline: 0;
	}
	nav{
		position: fixed;
		display: block;
		left: 5%;
		top: 15px;
		width: 50px;
		height: 50px;
		margin: 0;
		-webkit-transition: width 400ms, height 400ms, -webkit-transform 400ms;
		transition: width 400ms, height 400ms, transform 400ms;
		border-radius: 7px;
		background-color: #660066;
		color: #fff;
		z-index: 99;
	}
	nav.active{
		position: fixed;
		width: 90%;
		height: 90%;
	}
	nav .hoofdmenu{
		height: 100%;
		margin: 0 auto;
		width: 100%;
		text-align: center;
		min-height: 100%;
	}
	nav .hoofdmenu:before,
	nav ul{
		display: inline-block;
		vertical-align: middle;
	}
	nav.active .hoofdmenu:before{
		content: '';
		width: 0;
		height: 100%;
		vertical-align: middle;
	}
	nav ul{
		position: relative;
		visibility: hidden;
		text-align: center;
		opacity: 0;margin: 0 auto;
		-webkit-transition: opacity 50ms, -webkit-transform 50ms;
		transition: opacity 50ms, transform 50ms;
		z-index: 98;
	}
	nav.active ul{
		visibility: visible;
		opacity: 1;
		-webkit-transition: opacity 300ms ease-in 400ms, -webkit-transform 300ms;
		transition: opacity 300ms ease-in 400ms, transform 300ms;
	}
	nav ul li{
		font-size: 22px;
		line-height: 34px;
		font-weight: 300;
		margin: 5px 0;
	}
	nav ul li a{
		padding: 0 10px 3px;
		border-radius: 10px;
	}
	nav li.current_page_item a,
	nav li.current_page_ancestor a,
	nav li.current-menu-ancestor a,
	nav li.current-menu-item a,
	nav li.current-menu-parent a{
		font-weight: 600;
		background: rgba(0,0,0,0.2);
	}
	nav a#pull {
		position: absolute;
		display: block;
		width: 50px;
		height: 50px;
		z-index: 99;
		text-align: center;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
	}
	nav a#pull > span,
	nav a#pull:before,
	nav a#pull:after{
		position: absolute;
		display: block;
		width: 50%;
		height: 10%;
		content: '';
		background-color: #fff;
		border-radius: 2px;
		left: 25%;
		outline: 1px solid transparent;
	}
	nav a#pull > span{
		top: 45%;
	}
	nav a#pull:before{
		top: 25%;
	}
	nav a#pull:after{
		bottom: 25%;
	}
	nav.active a#pull > span{
		opacity: 0;
	}
	nav.active a#pull:before{
		top: 25%;
		left: 28%;
		width: 56%;
		-ms-transform: rotate(45deg); /* IE 9 */
		-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
		transform: rotate(45deg);
	}
	nav.active a#pull:after{
		bottom: 25%;
		left: 28%;
		width: 56%;
		-ms-transform: rotate(-45deg); /* IE 9 */
		-webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
		transform: rotate(-45deg);
	}
	nav.active a#pull:before,
	nav.active a#pull:after{
		-ms-transform-origin: center left;
		-webkit-transform-origin: center left;
		transform-origin: center left;
		-webkit-transition: 200ms ease-in-out 200ms;
		-moz-transition: 200ms ease-in-out 200ms;
		-o-transition: 200ms ease-in-out 200ms;
		transition: 200ms ease-in-out 200ms;
	}
	nav a#pull:before,
	nav a#pull:after{
		-webkit-transition: 200ms ease-in-out;
		-moz-transition: 200ms ease-in-out;
		-o-transition: 200ms ease-in-out;
		transition: 200ms ease-in-out;
	}
	nav a#pull > span{
		-webkit-transition: 200ms ease-in-out 200ms;
		-moz-transition: 200ms ease-in-out 200ms;
		-o-transition: 200ms ease-in-out 200ms;
		transition: 200ms ease-in-out 200ms;
	}
	nav.active a#pull > span{
		-webkit-transition: 200ms ease-in-out;
		-moz-transition: 200ms ease-in-out;
		-o-transition: 200ms ease-in-out;
		transition: 200ms ease-in-out;
	}
	nav:after{
		position: absolute;
		bottom: -10px;
		left: 10px;
		content: '';
		border-bottom: 10px solid transparent; 
		border-left: 10px solid #660066;
		outline: 1px solid transparent;
	}
	a#trigger_locatie {
		position: absolute;
		display: block;
		font-size: 1.8em;
		left: 5%;
		margin-left: 60px;
		top: 15px;
		border-radius: 10px;
		width: 50px;
		line-height: 50px;
		z-index: 98;
		color: #660066;
		background: #ededed;
		text-align: center;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
		-webkit-transition: all 200ms, -webkit-transform 400ms;
		transition: all 200ms, transform 400ms;
	}
	a#trigger_locatie:focus{
		outline: 0;
	}
	a#trigger_locatie.active {
		color: #fff;
		background: #660066;
	}
	a#trigger_locatie span:before{
		font-family: 'FontAwesome';
		content: '\f095';
	}
	.locatie{
		display: none;
		color: rgba(255,255,255,0.5);
		padding: 1em;
		text-align: center;
		background: #510051;
	}
	.locatie .telefoon{
		font-size: 1.4em;
		letter-spacing: 1px;
		color: rgba(255,255,255,1);
	}
	.locatie .bedrijfsnaam{
		display: none;
	}
	
	
	main{
		display: block;
		text-align: center;
		padding-top: 30px;
		padding-bottom: 50px;
		z-index: 97;
	}
	main article{
		position: relative;
		width: 90%;
		margin: 0 auto;
		z-index: 90;
	}
	main article.slider{
		width: 90%;
	}
	main article.contact{
		padding-top: 40px;
		text-align: center;
	}
	main section.grid.werk{
		margin-top: 50px;
		margin: 50px 0 -50px 0;
		width: 100%;
		max-width: 100%;
		font-size: 0;
		padding-bottom: 0;
	}
	section{
		margin-bottom: 2em;
	}
	section.blog,
	section.project,
	section.highlight{
		text-align: left;
	}
	section.highlight{
		padding: 4em 0 2em;
		background-position: left bottom;
		background-repeat: no-repeat;
	}
	#slider div{
		margin-bottom: 30px;
	}
	#slider div figure,
	#slider div p{
		margin: 0 10px;
	}
	#slider div figure{
		margin-bottom: 1.5em;
	}
	#map-canvas{
		height: 200px;
	}
	#map-canvas img {
		max-width: none; 
	}
	main section.grid.werk ul li{
		position: relative;
		display: inline-block;
		vertical-align: top;
		width: 50%;
		margin-top: 4px;
	}
	main section.grid.werk ul li:nth-child(1),
	main section.grid.werk ul li:nth-child(3),
	main section.grid.werk ul li:nth-child(5){
		padding-right: 2px;
	}
	main section.grid.werk ul li:nth-child(2),
	main section.grid.werk ul li:nth-child(4),
	main section.grid.werk ul li:nth-child(6){
		padding-left: 2px;
	}
	main article.klanten_overzicht{
		margin-top: 2em;
	}
	ul.galerij,
	ul.klanten{
		font-size: 0;
		margin: 10px 0 20px;
		text-align: center;
	}
	ul.galerij li{
		position: relative;
		display: inline-block;
		vertical-align: top;
		width: 100%;
		margin-top: 5px;
		border: none;
	}
	ul.klanten li{
		position: relative;
		display: inline-block;
		vertical-align: top;
		width: 49%;
		margin: 5px 0.5% 0;
		border: 1px solid #eee;
	}
	ul.usp{
		position: relative;
		margin: 30px 0;
		font-size: 0;
		text-align: center;
		width: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	ul.usp li{
		position: relative;
		display: inline-block;
		width: 100%;
		font-size: 15px;
		vertical-align: middle;
		white-space: normal;
	}
	ul.usp li:before{
		display: block;
		font-family: 'FontAwesome';
		font-size: 24px;
		content: '\f00c';
		width: 40px;
		height: 40px;
		border-radius: 100px;
		line-height: 42px;
		background-color: #00a7e7;
		color: #fff;
		margin: 0 auto 10px auto;
	}
	ul.usp li:nth-child(2){ left: -100%; }
	ul.usp li:nth-child(3){ left: -200%; }
	ul.usp li:nth-child(4){ left: -300%; }
	ul.usp li:nth-child(5){ left: -400%; }
	ul.usp li:nth-child(6){ left: -500%; }
	ul.usp li:nth-child(7){ left: -600%; }
	ul.usp li:nth-child(8){ left: -700%; }
	ul.usp li:nth-child(9){ left: -800%;}
	ul.usp li:nth-child(10){ left: -900%;}
	
	ol.list > li{
		border-top: 1px solid #ccc;
		padding: 3em 0;
		text-align: left;
	}
	ol.list > li:first-child{
		border-top: none;
	}
	
	h1{
		font-family: 'Bitter', serif;
		font-size: 1.8em;
		line-height: 1.2em;
		font-weight: 700;
		margin-bottom: 0.5em;
	}
	h2{
		font-size: 1.8em;
		line-height: 1.2em;
		margin-bottom: 0.5em;
		font-weight: 700;
	}
	h1 span,
	h2 span{
		font-family: 'Open Sans', sans-serif;
		font-weight: 400;
		display: block;
		text-transform: uppercase;
		color: #00a7e7;
		font-size: 0.5em;
		line-height: 1.6em;
	}
	h1 a,
	h2 a{
		display: block;
	}
	h3{
		font-size: 1.6em;
		font-weight: 400;
		line-height: 1.2em;
		margin-bottom: 0.5em;
	}
	h4{
		font-size: 1.4em;
		font-weight: 700;
		line-height: 1.2em;
	}
	blockquote{
		font-family: 'Bitter', serif;
		font-weight: 400;
		font-style: italic;
		text-align: center;
		font-size: 1.7em;
		line-height: 1.2em;
		max-width: 70%;
		margin: 2em auto;
		color: #00A7E7;
	}
	blockquote p:before,
	blockquote p:after{
		content: '"';
	}
	p{
		margin-bottom: 2em;
	}
	.blauw{
		color: #00a7e7;
	}
	.disclaimer{
		font-size: 0.8em;
		color: #888;
	}
	a.button_a,
	a.button_b,
	a.meer,
	.paginatie a{
		display: inline-block;
		text-transform: uppercase;
		padding: 8px 30px;
		text-align: center;
		min-width: 200px;
		margin: 0 0 10px;
		border-radius: 5px;
	}
	.next{
		text-align: center;
		color: #ddd;
		border-top: 1px solid #eee;
		margin: 3em 0 -3em 0;
		padding: 2em 1em 0;
	}
	.next a{
		display: block;
	}
	.next div:after{
		position: relative;
		font-family: 'FontAwesome';
		content: '\f178';
		margin-left: 10px;
		top: 1px;
	}
	.next div{
		display: inline-block;
		background-color: #ddd;
		padding: 0.25em 1em;
		margin-bottom: 1em;
		color: #fff;
		border-radius: 50px;
	}
	a.button_a{
		letter-spacing: 1px;
		color: #fff;
		background-color: #00a7e7;
		-webkit-transition: all 200ms ease-in-out, -webkit-transform 200ms;
		transition: all 200ms ease-in-out, transform 200ms;
	}
	a.button_a:hover{
		background-color: #660066;
	}
	a.button_b,
	a.meer{
		color: #00a7e7;
		background-color: transparent;
		border: 2px solid #00a7e7;
		-webkit-transition: all 200ms ease-in-out, -webkit-transform 200ms;
		transition: all 200ms ease-in-out, transform 200ms;
	}
	a.button_b:hover,
	a.meer:hover{
		color: #660066;
		border: 2px solid #660066;
	}
	.paginatie a{
		color: #fff;
		background-color: #ccc;
		border: 2px solid #ccc;
	}
	a.meer{
		margin-top: 1em;
	}
}


@media only screen and (min-width : 480px) {
	ul.galerij li{
		width: 32.5%;
		margin: 5px 1% 0 0;
	}
	ul.galerij li:nth-child(3n+3){
		margin-right: 0;
	}
	ul.klanten li{
		width: 32%;
		margin: 5px 0.5% 0;
	}
}

@media only screen and (min-width : 768px)  and (min-height : 500px) {
	html,
	body {
		font-size: 20px;
		line-height: 38px;
	}
	header{
		height: 120px;
	}
	header a#logo{
		top: 25px;
		width: 200px;
	}
	nav{
		width: 70px;
		height: 70px;
		top: 25px;
	}
	nav:after{
		bottom: -15px;
		left: 15px;
		border-bottom: 15px solid transparent; 
		border-left: 15px solid #660066;
	}
	nav a#pull {
		width: 70px;
		height: 70px;
	}
	a#trigger_locatie {
		top: 25px;
		width: 70px;
		line-height: 70px;
		margin-left: 80px;
	}
	nav ul li{
		font-size: 34px;
		line-height: 54px;
		margin: 5px 0;
	}
	nav ul li a{
		padding: 0 20px 5px;
	}
	nav ul li a:hover{
		background: rgba(255,255,255,0.1);
	}
	nav li.current_page_item a:hover,
	nav li.current_page_ancestor a:hover,
	nav li.current-menu-ancestor a:hover,
	nav li.current-menu-item a:hover,
	nav li.current-menu-parent a:hover{
		background: rgba(0,0,0,0.2);
	}
	nav ul li.social_media{
		display: block;
		margin-top: 20px;
	}
	nav ul li.social_media a{
		display: inline-block;
		vertical-align: top;
		font-family: 'FontAwesome';
		font-size: 30px;
		width: 50px;
		height: 50px;
		line-height: 50px;
		border-radius: 100px;
		text-align: center;
		padding: 0;
		background: rgba(255,255,255,0.2);
	}
	nav ul li.social_media a.twitter:before{
		content: '\f099';
	}
	nav ul li.social_media a.facebook:before{
		content: '\f09a';
	}
	main section.grid.werk ul li,
	main section.grid.werk ul li:nth-child(1),
	main section.grid.werk ul li:nth-child(2),
	main section.grid.werk ul li:nth-child(3),
	main section.grid.werk ul li:nth-child(4),
	main section.grid.werk ul li:nth-child(5),
	main section.grid.werk ul li:nth-child(6){
		width: 33%;
		padding: 0;
	}
	main section.grid.werk ul li:nth-child(2),
	main section.grid.werk ul li:nth-child(5){
		width: 34%;
		padding: 0 0.5%;
	}
	main section.grid.werk ul li figure img,
	#slider div figure img{
		-webkit-transition: all 500ms ease-in-out, -webkit-transform 500ms;
		transition: all 500ms ease-in-out, transform 500ms;
	}
	main section.grid.werk ul li figure img:hover,
	#slider div figure img:hover{
		-webkit-transform: scale(1.02);
		transform: scale(1.02);
	}
	main section.grid.werk ul li figure a:before{
		content: '';
	}
	ul.galerij{
		margin: 30px 0;
	}
	ul.klanten li{
		width: 19%;
		margin: 5px 0.5% 0;
	}
	ul.klanten li:nth-child(5n+5){
		margin-right: 0;
	}
	ul.usp{
		margin: 50px 0;
	}
	ul.usp li{
		font-size: 20px;
	}
	ul.usp li:before{
		font-size: 36px;
		width: 50px;
		height: 50px;
		line-height: 50px;
	}
	@-moz-keyframes bounce{
		0%, 20%, 50%, 80%, 100% { 
			margin-top: 0;
		}
		40%{ 
			margin-top: -30px;
		}
		60%{ 
			margin-top: -15px;
		}
	}
	@keyframes bounce {
		0%, 20%, 50%, 80%, 100% { 
			margin-top: 0;
		}
		40%{ 
			margin-top: -30px;
		}
		60%{ 
			margin-top: -15px;
		}
	}
	@-webkit-keyframes bounce {
		0%, 20%, 50%, 80%, 100% { 
			margin-top: 0;
		}
		40%{ 
			margin-top: -30px;
		}
		60%{ 
			margin-top: -15px;
		}
	}
	#scroll_pointer{
		position: fixed;
		display: block;
		width: 50px;
		line-height: 50px;
		text-align: center;
		left: 50%;
		top: 90%;
		margin-left: -25px;
		font-size: 30px;
		color: #fff;
		border-radius: 50px;
		background-color: #00a7e7;
		z-index: 98;
		
		/* Chrome, Safari, Opera */
		-webkit-animation-duration: 2s;
		-webkit-animation-iteration-count: infinite;
		-webkit-animation-name: bounce;
		/* Standard syntax */
		animation-duration: 2s;
		animation-iteration-count: infinite;
		animation-name: bounce;
	}
	#scroll_pointer:after{
		font-family: 'FontAwesome';
		content: '\f078';
	}
	.adresgegevens{
		display: table;
		width: 100%;
		margin-bottom: 2em;
	}
	.adresgegevens p{
		display: table-cell;
		vertical-align: top;
	}
	#map-canvas{
		display: block;
		height: 400px;
		margin-bottom: 20px;
	}
	ul.usp{
		margin: 30px auto;
		width: 70%;
	}
}


@media only screen and (min-width : 1040px) {
	nav,
	main article{
		max-width: 930px;
	}
	figure,
	main article.slider,
	main article.klanten_overzicht{
		max-width: 1250px;
	}
	header a#logo{
		right: 50%;
		margin-right: -465px;
	}
	nav{
		left: 50%;
		margin-left: -465px;
		border-radius: 10px;
	}
	a#trigger_locatie {
		left: 50%;
		margin-left: -380px;
	}
	nav ul li{
		font-size: 46px;
		line-height: 70px;
		margin: 10px 0;
	}
	nav ul li.social_media a{
		font-size: 36px;
		width: 60px;
		height: 60px;
		line-height: 60px;
	}
	main{
		padding-top: 70px;
	}
	h1{
		font-size: 2em;
	}
}