/* Mobiel Menu */
.mobielmenu {
	width: 100%;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
}

.mobielmenu i {
	color: #2a2a2a;
	margin-right: 5px;
	margin-top: 0 !important;
	font-size: 30px;
	margin-top: 0;
}

.menu_tiles {
	text-align: center;
	font-size: 15px;
	margin-top: 15px;
	color: #8e8e8e;
}

.menu_tiles a {
	text-decoration: none;
	margin-left: 15px;
	margin-right: 15px;
	color: #2a2a2a;
}

.menu_tiles a:hover {
	text-decoration: underline;
}

.dropdown .dropdown-menu li a {
	color: #292929;
	background: rgba(255, 255, 255, 0.85);
	border-bottom: 1px solid #a0a0a0;
}

.dropdown .dropdown-menu li:last-child a {
	border-bottom: none;
}

.dropdown .dropdown-menu {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.dropdown .dropdown-menu li ul {
	border-radius: 0;
} 

.dropdown .dropdown-menu li a:hover {
	color: #292929;
	background: rgba(255, 255, 255, 0.77);
}

/* Desktop Menu */
nav {
	margin: auto;
	width: 100%;
	font-size: 19px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 100;
	z-index: 9;
	text-align: center;
}

nav ul {
	z-index: 99999;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/*Top level list items*/
nav ul li {
	position: relative;
	display: inline;
}

/*Top level menu link items style*/
nav ul li a {
	width: 20%;
	color: #575756;
	font-weight: 500;
	padding-top: 5px;
	padding-bottom: 5px;
	text-decoration: none !important;
	padding-left: 20px;
	padding-right: 20px;
	margin-left: 20px;
	margin-right: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0);
}

* html nav ul li a { /*IE6 hack to get sub menu links to behave correctly*/
	display: inline-block;
}

nav ul li a:link, nav ul li a:visited {
	color: #303030;
}

nav ul li a.selected { /*CSS class that's dynamically added to the currently active menu items' LI A element*/ 
	color: #303030;
}
	
/* sub menus */
nav ul li ul {
	text-align: left;
	position: absolute;
	left: -3000px;
	margin-top: 34px;
	margin-left: 20px;
	display: none; /*collapse all sub menus to begin with*/
	visibility: hidden;
	z-index: 999999;
}

/*Sub level menu list items (alters style from Top level List Items)*/
nav ul li ul li {
	display: list-item;
	float: none;
	background-color: rgba(255, 255, 255, 0.77);
	-webkit-transition: all ease 0.4s;
	-moz-transition: all ease 0.4s;
	transition: all ease 0.4s;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
nav ul li ul li ul {
	top: 0;
}

/* Sub level menu links style */
nav ul li ul li a {
	display: block;
	font-weight: 300;
	font-size: 13px;
	width: 170px; /*width of sub menus*/
	padding-top: 10px;
	padding-bottom: 10px;
	margin: 0;
	color: #292929 !important;
	border-top-width: 0;
	margin-top: 0;
	border-bottom: none !important;
}

nav ul li ul li:first-child {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

nav ul li ul li:last-child {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

nav ul li ul li:hover {
	background-color: rgba(255, 255, 255, 0.5);	
}

nav ul li ul li a:hover {
}

/* Holly Hack for IE \*/
* html nav{height: 1%;} /*Holly Hack for IE7 and below*/


/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
	position: absolute;
	top: 12px;
	right: 7px;
}

.rightarrowclass{
	position: absolute;
	top: 6px;
	right: 5px;
}

/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow{ 
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	/*background-color: #ccc;*/ /* generally should be just a little lighter than the box-shadow color for CSS3 capable browsers */
}

.toplevelshadow{
	margin: 5px 0 0 5px; /* in NON CSS3 capable browsers gives the offset of the shadow */
	/* opacity: 0.8; shadow opacity mostly for NON CSS3 capable browsers. Doesn't work in IE */
}

.ddcss3support .ddshadow.toplevelshadow {
	margin: 0; /* in CSS3 capable browsers overrides offset from NON CSS3 capable browsers, allowing the box-shadow values in the next selector to govern that */
	/* opacity: 1; */ /* optionally uncomment this to remove partial opacity for browsers supporting a box-shadow property which has its own slight gradient opacity */
}

.ddcss3support .ddshadow {
	
}

@media only screen and (max-width: 959px) {
	.menu_tiles a {
		margin-left: 8px;
		margin-right: 8px;
	}

	nav ul li a {
		margin-left: 7px;
		margin-right: 7px;
		padding-left: 15px;
		padding-right: 15px;
	}
	
	nav ul li ul {
		margin-top: 34px;
	}
}