nav {
	margin: 0px;
	
}


a:hover {
	
	text-decoration: none;
}
a:link {
	
	text-decoration: none;
}
a:active {
	
	text-decoration: none;
}
a:visited {
	
	text-decoration: none;
}




/*Strip the ul of padding and list styling*/
ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
	
	
}

/*Create a horizontal list with spacing*/
li {
    display:inline-block;
    float: left;
    margin-right: 1px;
	
	
}
/*Style for menu links*/
li a {
	display:block;
	min-width:140px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-size: 1.375em;
	color: #FFF;
	text-decoration: none;
	width: auto;
	font-weight: 500;
	
	
}
/*Hover state for top level links*/
li:hover a {
	background:rgba(179,179,179,1.00);
	color: white;
	text-decoration: none;
	
}
/*Style for dropdown links*/
li:hover ul a {
	color: #FFFFFF;
	height: 30px;
	line-height: 30px;
	background-color:  rgba(82,186,213,1.00);
    text-align: left;
	max-height: 120px;
	z-index:9999999999999999;
	text-decoration: none;

}
/*Hover state for dropdown links*/
li:hover ul a:hover {
	color: #00F;
	background-color: #FFFFFF;
	text-decoration: none;
	
}
/*Hide dropdown links until they are needed*/
li ul {
    display: none;
	
}
/*Make dropdown links vertical*/
li ul li {
    display: block;
    float: none;
	
}
/*Prevent text wrapping*/
li ul li a {
    width: 100%;
    min-width: 100px;
    padding: 0 20px;
	text-decoration: none;
	z-index:1;
}
/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
    display: block;
	
}

.submenu {
	position: absolute;
	left: 170px;
	display: none;
	z-index: 9999;
	width:auto;
	padding: 0px 5px 5px 5px;
	margin: -30px 0px 0px 10px;
	top: auto;
	text-align: left;
	white-space: nowrap!important;
	
}

ul .submenu a {
	
	background-color: #781014!important;
	border-bottom: solid thin white;
}
ul .submenu a:hover {
	
	color:white!important;
}

ul .submenu:hover a {
	
	background-color: #781014;
}


ul li a:hover + .submenu {
    display: block;
	
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #ffc;
	text-align: center;
	padding: 10px 0;
	display: none;
}
/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}
/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}

/*Responsive Styles*/
@media screen and (max-width : 760px){
	
	li:hover ul a {
	color: #FFFFFF;
	height: 30px;
	line-height: 30px;
	background-color:#5DB0D0;
	width: auto;
	text-align: center;
		left: 0px;
	
}
	
	.submenu {
		position: absolute;
	display: none;
	width:100%;
	left: 0px;
		margin: 0px;
		padding: 0px;
	
}
	
	ul li a:hover + .submenu {
    display: block;
	
}
	
    /*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%;
	background-color: rgba(82,186,213,1.00);		
    }
    /*Display 'show menu' link*/
    .show-menu {
	display:block;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-bottom: 15px;
    }


	
}
