/*Strip the ul of padding and list styling*/
nav {
    display: block;
    margin-bottom: 0;
	position: relative;
    z-index: 200;
	font-size:0.9em;
}

nav ul {
	list-style-type:none;
	margin:3em 2.5em 0 0;
	padding:0;
	float:right;
}

.k-source-index nav ul {
	
	margin-right:2.5em 2em;
	
	
}

/*Create a horizontal list with spacing*/
nav li {
	display:inline-block;
	float: left;
	margin-right: 1px;
	text-transform:uppercase;
}



/*Style for menu links*/
nav li a, nav li a:visited {
	display:block;
	
	text-align: center;
	padding-left: 2em;
	text-decoration: none;
	color: #ccc;
	transition: color 0.5s ease;
}

/*Hover state for top level links*/
nav li:hover a, nav li a.k-nav-current {
color: #000;
}

/*Style for dropdown links*/
nav li:hover ul a {
	color: #ccc;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
nav li:hover ul a:hover {
	background: #19c589;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
nav li ul {
	display: none;
}

/*Make dropdown links vertical*/
nav li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
nav li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

/*Display the dropdown on hover*/
nav ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	right:0;
	text-decoration: none;
	color: #000;
	text-align: left;
	padding-top: 0.5em;
	display: none;
	font-size: 1.5em;
	line-height:1;
	-webkit-transform:scale(1.5,1); /* Safari and Chrome */
    -moz-transform:scale(1.5,1); /* Firefox */
    -ms-transform:scale(1.5,1); /* IE 9 */
    -o-transform:scale(1.5,1); /* Opera */
    transform:scale(1.5,1); /* W3C */
	margin-right: 0.5em;
}


/*Hide checkbox*/
input[type=checkbox]{
    display: none;
	
}
input[type=checkbox] ~ ul.k-nav-list{
	background-color: transparent;
	transition: background-color 0.5s ease;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ ul.k-nav-list{
   display: block;
    width: 100%;
	height: 100%;
    position: relative;
    top: 0;
    left: 0;
    float: none;
    clear: both;
    margin: 2.1em 0;
    padding: 2em;
    box-sizing: border-box;
       background-color: rgba(255, 255, 255, 0.9);
	    z-index: 300;
		overflow:hidden;
}


/*Responsive Styles*/

@media screen and (max-width : 1023px){
	/*Make dropdown links appear inline*/
	nav ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	nav li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	nav ul li, li a {
		width: 100%;
		box-sizing: border-box;
	}
	/*Display 'show menu' link*/
	.show-menu {
		    display: inline-block;
    float: right;
	}
	
	nav li a{
		padding:0em 1em 1em 1em;
		
	}
}