/*Strip the ul of padding and list styling*/
#nav{
		display:inline;
		
		background-color:#335;
		/* float:right; */
		height:20%;

		width:100%;

}
#nav ul{
			z-index:-3;
		position:absolute;
    list-style-type:none;
    margin:0;
    padding:0;

}


	
/*Create a horizontal list with spacing*/
#nav li {
    display:inline-block;
    float: left;
    margin-right: 0px;
	padding: 0 0px;
}

/*Style for menu links*/
#nav li a {
    display:block;
    min-width:100px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    font-family:Arial, sans-serif;
	font-size:14px;
    /* color: #fff; */
    /* background: #335; */
    text-decoration: none;
	/* border-radius:18px; */
}
/*----------------------------------*/
/*To make the menu selection go red on grey*/
/*Nb the two lines in the previous element were switch off*/
a, a:visited {
    color: inherit;
}
#nav li a{
	background-color:#034c89;
	
	color:white;
}

/*------------------------------------*/

/*Hover state for top level links*/
#nav li:hover a {
    background: #034c89;
	background: #f3f3f3;
	color:#034c89;
}

/*Style for dropdown links*/
 #nav li:hover ul a {
	position:relative;
    background: #f3f3f3;
    color: #034c89;
    height: 30px;
    line-height: 30px;
	z-index:1;
}

/*Hover state for dropdown links*/
#nav li:hover ul a:hover {
    background: #335;
    color: #fff;
}
/*Hide dropdown links until they are needed*/
li ul {
    display: none;
}

/*Make dropdown links vertical*/
#nav li ul li {
    display: block;
    float: none;
}
/*Prevent text wrapping*/
 li ul li a {
    width: auto;
    min-width: 100px;
    padding: 0 10px;
}

/*Display the dropdown on hover*/
#nav ul li a:hover + .hidden, .hidden:hover {
    display: block;
	position:absolute;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #fff;
    background: #034c89;
    text-align: center;
    padding: 20px 0;
    display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}
.selItem{
	color:red;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked + #menu{
    display: block;
}

/*Responsive Styles*/
@media screen and (max-width : 760px){
#nav{
		display:inline;
		
		/*background-color:red;*/
		/* float:right; */
/* 		margin-right:50px;
		margin-top:-5%; */
		left:0px;
		top:0;
		
		width:100%;
	

}	
#nav ul li a:hover + .hidden, .hidden:hover {
    display: block;
	position:relative;
}
    /*Make dropdown links appear inline*/
    ul {
        position: static;
        display: none;
    }
    /*Create vertical spacing*/
    li {
        margin-bottom: 1px;

    }
    /*Make all menu links full width*/
    ul li, li a {
        width: 100%;
    }
    /*Display 'show menu' link*/
    .show-menu {
        display:block;
    }
}
