/* CSS Document */

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
#nav-container {
	border-bottom: solid 1px rgba(37,34,56,1.00);
}
.navcontainer {
	display: block;
	float: left;
	top: 0;
/*	position: sticky;*/
	position: fixed;
	width: calc(100% - 0px);
/*	background-image: linear-gradient(rgba(0,0,0,0.70), rgba(0,0,0,0.00));*/
	z-index: +100;
	margin:0px 0px 50px 0px;
/*	padding: 20px 0px;*/
	padding: 0px 0px;
	background-color: rgba(255,255,255,1.00);
	transition: 0.25s;
	height: 62px;
}
.navcontainer-alt {
	display: block;
	float: left;
	top: 0;
	position: sticky;
	width: 100%;
/*	background-image: linear-gradient(rgba(0,0,0,0.70), rgba(0,0,0,0.00));*/
	z-index: +100;
	margin:0px 0px 50px 0px;
	padding: 0px;
	background-color: rgba(255,255,255,1.00);
	transition: 0.25s;
	height: 62px;
}
nav { 
	margin:0;
	padding: 0;
	width: 100%;
/*	max-width: 1200px;*/
/*	min-width: 380px;*/
	margin-left: auto;
	margin-right: auto;
	font-family: 'Montserrat', sans-serif;
/*	background-color: rgba(18,25,31,1.00);*/
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */
nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: left;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	padding: 0px;
	display:inline-block;
	float: left;
	list-style: none;
	}

/* Styling the links */
nav a {
	display:block;
	padding:16px 18px;	
	color:rgba(37,34,56,0.95);
	text-decoration:none;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 500;
/*	line-height: 28px;*/
}
/* Background color change on Hover */
nav a:hover { 
/*	background-color: rgba(163,35,142,1.00); */
	transform: scale(1.05);
	transition: 0.25s;
}
nav	.home p {
		font-size: 18px;
		line-height: 30px;
/*		font-weight: 500; */
		text-align: center;
		color: rgba(255,255,255,1.0);
	}

nav .home img {
	height: 30px;
	margin-left: 10px;
}
nav .home:hover { 
/*	background-color: rgba(163,35,142,1.00); */
	transform: scale(1.2);
	transition: 0.25s;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 62px;
	background-color: rgba(37,34,56,0.95);
}
nav ul ul a:hover { 
	background: rgba(163,35,142,0.95); 
	transition: 0.25s;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
	transition: 0.25s;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:220px;
	float:none;
	display:list-item;
	position: relative;
	border-bottom: solid 1px rgba(255,255,255,1.00);
}
nav ul ul li a {
	line-height: 20px;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: rgba(255,255,255,1.00);
	text-transform: none;
}
/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-0px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:220px; 
}

.register {
	display: block;
	float: right;
	height: 16px;
	line-height: 16px;
	min-width: 90px;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
/*	border: solid 2px rgba(255,255,255,1.00);*/
	color: rgba(255,255,255,1.00);
	margin-top: 6px;
	margin-bottom: 6px;
	margin-right: 20px;
	text-transform: uppercase;
	border-radius: 5px;
/*	line-height: 14px;*/
}

.register, .register-mobile { 
	background: rgba(163,35,142,1.00);
}

.register:hover, .register-mobile:hover { 
	background: rgba(37,34,56,1.00); 
	transition: 0.25s;
}
	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ''; }
li > a:only-child:after { content: ''; }

.register-mobile {
	visibility: hidden;
	height: 0;
	width: 0;
}

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 840px) {

	nav {
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		height: 70%;
		max-height: 500px;
		overflow:auto;
	}
	#nav-container {
		height: auto;
		position: fixed;
		top: 0;
		padding: 0px;
	}
	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle label */
	.toggle {
		display: block;
		background-color: rgba(255,255,255,1.00);
		padding: 16px 20px;	
		font-size: 16px;
		font-weight: 500;
		line-height: 16px;
		color: rgba(37,34,56,1.00);
		text-decoration:none;
		text-transform: uppercase;
		border-bottom: solid 1px rgba(37,34,56,1.00);
	}

	.toggle:hover {
		background-color: rgba(163,35,142,1.00);
		color: rgba(255,255,255,1.00);
		transition: 0.25s;
	}

	/* Display Dropdown when clicked on Parent Label */
	[id^=drop]:checked + ul {
		display: block;
		width: 100%;
	}

	/* Change menu items width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		font-size: 16px;
		line-height: 16px;
		background-color: rgba(255,255,255,1.00);
		border-bottom: solid 1px rgba(37,34,56,1.00);
		overflow: hidden;
		}
	nav ul ul li a {
		font-size: 16px;
		font-weight: 400;
	}
	/* Background for 1st level link with 2nd level items */
	nav ul li .toggle {
		/* [disabled]background-color: rgba(255,63,0,1.00); */
	}
	
	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
		background-color: rgba(90,90,90,1.00);
		font-weight: 400;
	}

	nav ul li ul li a:hover {
		background-color: rgba(163,35,142,1.00);
		transition: 0.25s;
	}
	
	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
	/* [disabled]background-color: #000000; */
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  	nav ul ul ul a{
		padding:12px 20px;	
		color:#FFF;
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
	/* [disabled]background-color: #212121; */
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 
	}
	
	nav .home {
		font-size: 16px;
		font-weight: 500;
		text-transform: uppercase;
	}
	nav .home:hover { 
		background-color: rgba(163,35,142,1.00);
		color: rgba(255,255,255,1.00);
		transform: scale(1);
		transition: 0.25s;
	}

	.register {
		visibility: hidden;
		height: 0;
		width: 0;
		margin: 0;
		padding: 0;
		display: none;
		float: none;
	}

	.register-mobile {
		visibility: visible;
		height: auto;
		width: 100%;
	}
	.register-mobile a {
		font-size: 18px;
		line-height: 24px;
		background-color: rgba(163,35,142,1.00);
		color: rgba(255,255,255,1.00);
		text-transform: uppercase;
	}

	.register-mobile a:hover {
		background-color: rgba(37,34,56,1.00);
		color: rgba(255,255,255,1.00);
		transform: scale(1);
		transition: 0.25s;
	}
}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}