
.navbar-megamenu {
    background: #3C5071;
    border-color: #2F415E;
    border-radius: 2px;
}

.navbar-brand {
    color: #fff;
    font-weight: 800;
}

.navbar-nav > li > a {
    color: #fff;
}

.navbar-nav > li > a:hover {
    color: #fff;
}
.primary-menu ul li.level0 a:hover {
	color: #343434;
}

.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav li a:hover {
	color: #E3C049;
}

.primary-menu {
	/*
	margin: 64px 0 0 40px;
	*/
	
} 
.primary-menu ul {
	margin: 0 0 0 40px;
	padding: 0;
	list-style-type: none;
}
.primary-menu ul li {
	display: inline-block;
	float: left;
}
.primary-menu ul li a {
	padding: 10px 30px;
	color: #fff;
	text-decoration: none;
	font-size: 20px;
}
.primary-menu ul li.level0 a {
	line-height: 150px;
	position: relative;
}

.primary-menu ul li .mega-menu a {
	padding: 10px;
}
/*
*/
.primary-menu li.has-mega-menu .mega-menu__wrapper {
	/*
	visibility: hidden;
    position: absolute;
    top: 150px;
	transform: translateY(-2em);
	z-index: 500;
	transition: all 0.3s ease-in-out 0s, visibility 0.5s linear 0.3s, z-index 0s linear 0.01s;
	display: none;
	height: 0;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	*/
	visibility: hidden; /* hides sub-menu */
	opacity: 0;
	position: absolute;
	width: 100vw;
    left: 50%;
    right: 50%;
	padding: 40px 0;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #343434;
	transform: translateY(-2em);
	z-index: -1;
	transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}
.primary-menu li.has-mega-menu:hover .mega-menu__wrapper {
	visibility: visible; /* shows sub-menu */
	opacity: 1;
	z-index: 1;
	transform: translateY(0%);
	transition-delay: 0s, 0s, 0.3s; /* this removes the transition delay so the menu will be visible while the other styles transition */
	/*
    position: relative;
    width: 100vw;
    margin-left: -50%;
	display: block;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
	visibility: visible;
	height: auto;
	transform: translateY(0%);
	transition-delay: 0s, 0s, 0.3s;
	*/
}
.primary-menu li.has-mega-menu .mega-menu__wrapper .mega-menu__subnav {
	width: 100%;
}
.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	margin: 0;
	float: left;
	width: 66%;
}
.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav li.subnavitem {
	clear: both;
	width: 50%;
}
.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav li a {
    font-size: 13px;
	line-height: 33px;
}
.primary-menu li.has-mega-menu .mega-menu__wrapper .mega-menu__content {
	color: #fff;
	width: 33%;
	float: right;
	display: inline-block;
}

.nav-search {
	position: absolute;
    right: 160px;
    top: 53px;
	width: 44px;
	height: 44px;
}
.nav-search i {
	width: 44px;
	height: 44px;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
}
.nav-search i:before {
	margin: 10px 50px 0 12px;
    line-height: 44px;
    font-size: 20px;
	color: #fff;
}
.nav-search .search-bar__wrapper {
	opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}
.nav-search .search-bar__wrapper.item-open {
	background-color: rgba(62,62,63,0.8);
	opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
	z-index: 99998;
	position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.nav-search .closesearch {
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 30px;
	color: #f00;
}
.nav-search .search-bar {
	position: relative;
    top: 50%;
    left: 50%;
	width: 100%;
	max-width: 300px;
	height: 100px;
	margin-left: -150px;
	margin-top: -50px;
}
.nav-search .search-bar input[type= "text"] {
	background: none;
	border: 0;
	outline: none;
	border-bottom: 2px solid #fff;
	font-size: 30px;
	color: #fff;
	padding: 10px;
	width: 100%;
}
.nav-search .search-bar .zoek {
	float: right;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: -10px;
}

.primary-menu li.oranje a {
	background: #EE7601;
    float: right;
    position: absolute;
    right: 0;
    top: 55px;
    width: 85px;
    text-align: center;
}
.closemainnav {
	display: none;
}


@media only screen and (max-width: 1200px) {
	
	.navbar-responsive-collapse.collapse {
		display: none!important;
	}
	.navbar-responsive-collapse.in {
		position: fixed;
		right: 0;
		left: 0;
		top: 0;
		width: 100vw;
		overflow: auto;
		background-color: #343434;
		z-index: 9999;
	}
	.closemainnav {
		display: block;
		float: right;
		color: #F00;
		width: 44px;
		height: 44px;
		margin: 10px 10px 0 0;
	}
	.primary-menu {
		width: 100%;
		height: 100vh;
		overflow: auto;
	}
/*
	.primary-menu .nav-search,
	.primary-menu li.oranje a {
		position: relative;
		top: 0;
		right: auto;
	}
*/
	.primary-menu ul li.small_tekst a {
		right: auto!important;
		display: block;
		margin-top: 20px;
		left: 0;
		padding: 0;
		position: relative;
	}
	.primary-menu ul li.oranje {
		clear: both;
	}
	.primary-menu li.oranje a {
		clear: both;
		margin: 5px 0 30px 0;
		position: relative;
		float: left;
		right: auto;
		left: 0;
	}
	.primary-menu ul li.level0 a:hover {
		color: #fff;
	}
	
	.primary-menu li.has-mega-menu .mega-menu__wrapper {
		visibility: visible;
		opacity: 1;
/*
*/
		position: relative;
		background: none;
		display: none;
		transform: none!important;
		transition: none!important;
		transition-delay: 0s!important;
		padding: 10px 0 40px 0;
	}
	
	.btn-navbar {
		float: right;
		padding: 7px 10px;
		margin-right: 5px;
		position: absolute;
		top: 50px;
		right: 0px;
		height: 50px;
		border-radius: 0;
		color: #fff;
		width: 48px;
		z-index: 9999;
		box-shadow: none;
	}
	.btn-navbar .icon-bar {
		display: block;
		width: 24px;
		height: 4px;
		margin-left: 3px;
		margin-top: 4px;
		background-color: #f5f5f5;
		-webkit-border-radius: 1px;
		-moz-border-radius: 1px;
		border-radius: 1px;
		-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
		-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
		box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	}
	.primary-menu li.has-mega-menu .mega-menu__wrapper {
		width: 100%;
		left: 0;
		right: 0;
		margin: 0;
	}
	.primary-menu ul li.level0 {
		width: 100%;
		padding: 20px 0;
		clear: both;
	}
	.primary-menu ul li.level0 a {
		line-height: 30px;
		padding: 0;
	}
	.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav {
		column-count: 1;
		margin: 0;
		float: left;
		width: 100%;
	}
	.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav li.subnavitem {
		clear: both;
		width: 100%;
	}
	.primary-menu li.has-mega-menu .mega-menu__wrapper ul.subnav li a {
		font-size: 13px;
		line-height: 33px;
	}
	.primary-menu li.has-mega-menu .mega-menu__wrapper .mega-menu__content {
		color: #fff;
		width: 100%;
		float: left;
	}


}
@media only screen and (max-width: 640px) {
	.nav-search {
		right: 80px;
		top: 48px;
	}
	.nav-search .search-bar {
		position: relative;
		top: 50%;
		left: 0;
		width: 80%;
		height: 100px;
		margin-left: 10%;
		margin-top: -50px;
	}
}
