*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

html{
	-webkit-text-size-adjust: 100%;
}

.clearfix{
	clear: both;
}

body{
	font-family: 'Ubuntu', Arial, Times New Roman, Georgia;
	font-size: 14px;
	line-height: 32px;
	color: #3c3c3c;
/* 	background-color: #312b1b; */
	}
	
.current{
}

img {
	width: 100%;
}

.pittig{
	display: inline-table;
	vertical-align: middle;
	width: 19px;
	margin: 0 2px;
}

.dubbelpittig{
	display: inline-table;
	vertical-align: middle;
	width: 30px;
	margin: 0 5px;
}

#bgindex{
	background-image: url(background.jpg);
	margin: auto;
	height: 100%;
    width: 100%;
    position: fixed;
    z-index: 0;
    background-size: cover;
    opacity: .7;
/*
    -webkit-clip-path: polygon(45% 0, 100% 0%, 75% 100%, 14% 100%);
clip-path: polygon(45% 0, 100% 0%, 75% 100%, 14% 100%);
*/
/*

-webkit-clip-path: polygon(0 19%, 0% 100%, 25% 100%, 33% 0, 95% 0, 50% 100%, 100% 100%, 100% 56%);
clip-path: polygon(0 19%, 0% 100%, 25% 100%, 33% 0, 95% 0, 50% 100%, 100% 100%, 100% 56%);
*/
    }

#sidebar, #menu{
	background-color: #911c1c;
/*
	background-image: url(bamboo.jpg);
	background-size: cover;
*/

}

/* MENU */
#sidebar{
	position: fixed;
	z-index: 2;
	top: 0px;
	left: 0px;
	width: 20%;
	height: 100%;
	display: table;
	opacity: .9;
/* 	border-right: 8px dotted rgba(255, 255, 255, .9) */
}

#sidebar-container{
	position: absolute;
	height: 100%;
}

header{
	font-size: 36px;
	padding-bottom: 20px;
	text-align: center;	
	font-family: Georgia, 'Courgette', 'Ubuntu', arial, sans-serif;
	line-height: 36px;
	text-transform: uppercase;
	font-weight: bold;
}

#menu{
	width: 100%;
	z-index: 1;
	display: table-cell;
	vertical-align: middle;
}

#menu a{
	color: #ffffff;
}

a{	
	color: #3c3c3c;
	text-decoration: none;
}
	
ul li{
	display: block;
	list-style: none;
	text-align: center;
}

ul li a{
	text-transform: uppercase;
	padding: 8px 10px;
	letter-spacing: 2px;
}

#menu ul li a.current{
	background-color: #6d1212;
}

@media only screen and (min-width: 1025px){
ul li{
	display: block;
	list-style: none;
	text-align: center;
	padding: 5px 0;
}
}
	
#menu-link{
	display: none;
}

.moreinfo {
	font-weight: normal;
/* 	font-style: italic; */
}

/* MAIN */

#index-wrapper{
	position: relative;
	z-index: 1;
}

#main{
	margin-left: 20%;
	padding: 5% 8%;
	display: block;
}

.intro{
	background-image: url(sprinkles.png);
	
	-moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
	
	text-align: center;
	margin-bottom: 20px;
}

.intro:nth-child(2){
	margin-top: 50px;
}

.intro > #introtext{
	padding: 5% 17% 3%;
}

#mededeling{
	padding: 3% 17% 2%;
}

#mededeling p{
	line-height: 24px;
}

#rijsttafel, #favobox{
	width: 60%;
	margin: auto;
}

#welcome img{
	padding: 5% 5% 0;
	border-radius: 3px;
}

img{
	width: 100%;
}

article{
	display: block;
}

h1{
	font-size: 25px;
	font-family: 'Cantata One', serif, 'Ubuntu', arial, sans-serif;
/* 	font-weight: 900; */
/* 	text-transform: uppercase; */
/* 	letter-spacing: 2px; */
	color: #911c1c;
	padding-bottom: 20px;
}

h2{
	font-size: 20px;
	font-family: 'Ubuntu', arial, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 18px;
	color: #3c3c3c;
	margin-bottom: -2%;
}

#main p{
	padding: 0 0 25px;
}

#main > article > p:first-of-type{
/* 	padding-top: 5%; */
}

#main > article > p:last-of-type{
/* 	padding-bottom: 50px; */
}

#more{
	background-color: #545454;
}

#more h1{
	color: #ffffff;
	font-size: 14px;
	padding: 45px 0;
	text-align: center;
}

table{
	width: 100%;
/* 	padding-left: 4%; */
}

#main section{
	background-color: #fffffa;
	opacity: 0.9;
	margin: auto;
	margin-bottom: 3%;
	padding: 5% 5% 6%;
	
	max-width: 560px;

	-moz-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
	box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.2);
}

#main section:first-of-type{
	margin-top: 3%;
}

td{	
	vertical-align:top; 
}

#afhaal td:nth-of-type(2){
	width: 65%;
/* 	font-weight: bolder; */
}

#afhaal td:last-child{
	float: right;
	}
	
/* RESTAURANT MENU */

#rest td:first-child{
	width: 80%;
	font-weight: 600;
}

#rest td:last-child{
	float: right;
}

#gangen td:first-child{
	text-align: right;
	font-weight: bold;
/* 	color: #911c1c; */
}

#gangen td:last-child{
	padding-left: 25px;
}

#gangen > section p:last-of-type{
 	font-weight: bold;
 }

iframe{
	margin-bottom: 20px;
}


footer{
	margin-top: 10%;
}

}

@media only screen and (min-width: 1025px){
	ul li{
		padding: 5px 0px;
	}
}

/* MOBILE */
@media only screen and (max-width: 609px){
	#rijsttafel, #favobox{
		width: 100%;
		margin: auto;
	}
	
	#index-wrapper{
		margin-top: 68px;
		
		transition: margin-top 0.4s;
		-webkit-transition: margin-top 0.4s;
		-moz-transition: margin-top 0.4s;
		-o-transition: margin-top 0.4s;
		-ms-transition: margin-top 0.4s;
	}
	
	#index-wrapper.aan{
		margin-top: 300px;
	}
	
/* 	MENU */


/*
	#sidebar,
	#sidebar-container,
	#main,
	#tiles, 
	#menu{
		position: static;
		width: 100%;
		display: block;
	}
*/

	#sidebar{
		position: relative;
		width: 100%;
		display: block;
	}
	
	#menu{
		position: fixed;
		top: 0;
	}
	
	#menu-link{
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 40px;
		margin: 14px 0px 14px 14px;
/* 		opacity: 0.2; */
	}
	
	#menu-link img{
		transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	
		-webkit-transition: 0.4s ease-in-out;
		-moz-transition: 0.4s ease-in-out;
		-o-transition: 0.4s ease-in-out;
	}
	
	#menu-link img.aan{
	transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	
	-webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
	}
	
	header{
		display: block;
		text-align: center;
		padding: 20px 0;
		margin: auto;
		font-size: 20px;
		line-height: 32px;
	}
	
	.br span{
	display: none;
	}
	
	.br::after{
	content: " "
	}

	nav{
		display: block;
		width: 100%;
		overflow: hidden;

		height: 0px;
		transition-delay:0s;	
		transition: height 0.4s;
		-webkit-transition: height 0.4s;
		-moz-transition: height 0.4s;
		-o-transition: height 0.4s;
		-ms-transition: height 0.4s;

	}
	
	nav.aan{
		height: 232px;
		transition-delay:0s;
		transition: height 0.4s;
		-webkit-transition: height 0.4s;
		-moz-transition: height 0.4s;
		-o-transition: height 0.4s;
		-ms-transition: height 0.4s;
	}
	
	nav ul li{	
		width: 100%;
		text-align: center;
		margin: auto;
		padding: 15px 0px;
		float: left;
		visibility:visible;
		opacity: 1;
		height: 58px;
	}
	
	nav ul{
		display: block;
		width: 100%;
		background-color: #a52c2c;	
		visibility:visible;
		opacity: 1;	
		height: 232px;
	}
	
/* 	MAIN */
	
	#main{
		margin: 0;
		margin-top: 72px;
		padding: 10% 5%;
		position: relative;
		
		transition: margin-top 0.4s;
		-webkit-transition: margin-top 0.4s;
		-moz-transition: margin-top 0.4s;
		-o-transition: margin-top 0.4s;
		-ms-transition: margin-top 0.4s;
	}
	
	#main.aan{
		margin-top: 1260px;
	}
	
	.intro > #introtext{
		padding: 6%;
	}
	
	h1{
		font-size: 20px;
	}
	
	h2 {
		padding: 0 5% 2%;
	}
	
	p{
		padding: 0 5% 5%;
	}
	
	article > p:last-of-type{
	padding-bottom: 35px;
	}
	
	table{
		width: 100%;
	}
	
	#main section{
		width: 100%;
	}
		
}

/* TABLET */

@media only screen and (min-width: 481px) and (max-width: 609px){
	nav ul li{
		font-size: 12px;
	}
	
	#rijsttafel, #favobox{
		width: 100%;
		margin: auto;
	}
}

@media only screen and (min-width: 610px) and (max-width: 1024px){
	#rijsttafel ,#favobox{
		width: 80%;
		margin: auto;
	}

	#index-wrapper{
		margin-top: 68px;
		
		transition: margin-top 0.4s;
		-webkit-transition: margin-top 0.4s;
		-moz-transition: margin-top 0.4s;
		-o-transition: margin-top 0.4s;
		-ms-transition: margin-top 0.4s;
	}
	
	#index-wrapper.aan{
		margin-top: 126px;
	}
	
/* 	MENU */
	
	#sidebar-container,
	#main,
	#tiles, 
	#menu{
		position: relative;
		width: 100%;
		display: block;
		margin: 0;
	}
	
	#sidebar{
		position: relative;
		width: 100%;
		display: block;
	}
	
	header{
		font-size: 20px;
		padding: 20px 0;
		line-height: 32px;
	}
	
	.br span{
	display: none;
	}
	
	.br::after{
	content: " "
	}
	
	#menu{
		position: fixed;
		top: 0;
	}
	
/*
	#menu-link{
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 40px;
		margin: 14px 0px 14px 14px;
	}
	
	#menu-link img{
		transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	
		-webkit-transition: 0.4s ease-in-out;
		-moz-transition: 0.4s ease-in-out;
		-o-transition: 0.4s ease-in-out;
	}
	
	#menu-link img.aan{
	transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	
	-webkit-transition: 0.4s ease-in-out;
    -moz-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
	}
		
	nav{
		display: block;
		width: 100%;
		overflow: hidden;

		height: 0px;
		transition-delay:0s;	
		transition: height 0.4s;
		-webkit-transition: height 0.4s;
		-moz-transition: height 0.4s;
		-o-transition: height 0.4s;
		-ms-transition: height 0.4s;
	}
*/
	
	nav.aan{
		height: 58px;
		transition-delay:0s;
		transition: height 0.4s;
		-webkit-transition: height 0.4s;
		-moz-transition: height 0.4s;
		-o-transition: height 0.4s;
		-ms-transition: height 0.4s;
	}
	
	nav ul li{	
		width: 25%;
		text-align: center;
		margin: auto;
		padding: 12px 5px;
		float: left;
		visibility:visible;
		opacity: 1;
		height: 58px;
		vertical-align: middle;
	}
	
	nav ul{
		display: block;
		width: 100%;
		background-color: #a52c2c;	
		visibility:visible;
/* 		opacity: 1;	 */
		height: 58px;
	}
	
/* 	MAIN */
	#main{
		margin-top: 130px;
		padding: 8%;
		position: relative;
		
		transition: margin-top 0.4s;
		-webkit-transition: margin-top 0.4s;
		-moz-transition: margin-top 0.4s;
		-o-transition: margin-top 0.4s;
		-ms-transition: margin-top 0.4s;
	}
	
	#main.aan{
		margin-top: 126px;
	}
	
	.screen{
		margin-bottom: 10px;
	}
	
	.caption p{
		margin: -8px 0px -5px 20px;
	}
	
	#main section{
		width: 100%;
	}