#responsive-menu {
	left: 20px;
}

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

/*Create a horizontal list with spacing*/
.responsive-menu li {
	display:inline-block;
	margin-left: 0;
	float: left;
	margin-right: 1px;
	bordder-bottom: 1px #ccc;
}

/*Style for menu links*/
.responsive-menu li a {
	position: relative;
	display:block;
	min-width:auto;
	margin: 1px 1px; /* was margin: 1px 10px; */
	padding: 0 6px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	/* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
	color: #fff;
	/*background: #235091;*/ /* main nav background color */
	text-decoration: none;
	z-index: 9999;

	font: bold 12px Arial, Verdana, sans-serif;
	height: 23px;
	padding: 7px 5px 0px 5px;
}

/*Hover state for top level links*/
.responsive-menu li:hover a {
	background:  #16335d;
	color: #F90!important;
	margin: 1px 1px; /* was margin: 1px 10px; */
	padding: 0 6px;

	background: #4A9CD6;
	color: #FFF !important;
	padding: 7px 5px 0px 5px;
}

/*Style for dropdown links*/
.responsive-menu li:hover ul a {
	background: #235091;
	color: #fff!important;
	height: 40px;
	line-height: 40px;

	background: #4A9CD6;
}

/*Hover state for dropdown links*/
.responsive-menu li:hover ul a:hover {
	background: #16335d;
	color: #F90;
}

/*Hide dropdown links until they are needed*/
.responsive-menu li ul {
	display: none;
}

/*2nd ------------------------------- level----------- horizontal list with spacing*/

.responsive-menu ul ul {
	margin-top: -1px;
}

.responsive-menu ul ul li {
	display:inline-block;
	border-bottom: 1px solid #999;
	float: left;
	width: 200px;
	margin-left: 0;
	margin-right: 1px;
}

.responsive-menu ul ul li a {
	font: normal 12px Arial, Verdana, sans-serif;
	margin: 0 !important;
}

.responsive-menu ul ul li a:hover {
	background: #99C9EA !important;
	color: #FFF !important;
}

/*3rd -------------------------------  level----------- horizontal list with spacing*/

.responsive-menu ul ul ul {
	position: absolute;
	top: 1px;
	left: 200px;
}

.responsive-menu ul ul ul li a:first-child {margin-top: -4px;}
.responsive-menu ul ul ul li a {
	display:block;
	min-width:120px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	color: #fff;
        font:normal 12px Arial, Verdana, sans-serif;
	text-decoration: none;
	z-index: 10000;
}

/* 3rd level positioning */
.responsive-menu ul > li > ul > li > ul > li {
	text-align: center;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
	text-decoration: none;
}

.responsive-menu ul ul ul li a:hover {
	color: #FFF !important;
}

/*3rd ------------------------------- level Hide dropdown links until they are needed*/
.responsive-menu li ul  ul {
	display: none;
}

/*3rd ------------------------------- Make dropdown links vertical*/
.responsive-menu li ul li ul li {
	display: block;
	float: none;
}

/*Make dropdown links vertical*/
.responsive-menu li ul li {
	display: block;
	float: none;
}

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

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

/*------------   Display the 3rd dropdown on hover*/
.responsive-menu ul li ul li a:hover + .hidden, .hidden:hover {
	display: block;
}


.responsive-menu ul li.selected a {border: solid 1px #900;}


/*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: #333;
	text-align: center;
	padding: 5px 0;
	display: none;
}

/*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: #333;
	font-size: 10px;
	text-align: center;
	padding: 5px 0;
	display: none;
}

/*Hide checkbox*/
input#show-menu {
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input#show-menu:checked ~ #responsive-menu {
    display: block;
}

@media screen and (max-width: 760px) {
	.responsive-menu ul {
		position: static;
		display: none;
	}
	.responsive-menu li {
		margin: 0 !important;
	}
	.responsive-menu li a {
		background: #215C98 !important;
		margin: 0 !important;
		padding: 0 !important;
		height: 38px;
		line-height: 38px;
	}
	.responsive-menu ul li, .responsive-menu li a {
		/* 1st level nav item widths */
		width: 100%;
		max-width: 100%;
	}
	.responsive-menu ul ul li, .responsive-menu ul ul li a {
		/* 2nd level nav item widths */
		width: 100%;
		max-width: 100%;
	}
	.responsive-menu li:hover a {
		height: 38px;
		line-height: 38px;
		margin: 0;
		width: auto !important;
		min-width: 0 !important;
	}
	.responsive-menu li:hover ul a {
		/* 2nd level nav items */
		background: #4A9CD6 !important;
		color: #fff;
		height: 38px;
		line-height: 38px;
		margin: 0;
		width: auto !important;
		min-width: 0 !important;
	}
	.responsive-menu ul ul li {
		border-bottom: 0px solid #999;
	}
	.responsive-menu ul > li > ul > li > ul > li {
		background: #999 !important;
		color: #fff;
		height: 38px;
		line-height: 38px;
	}
	.responsive-menu li:hover ul li:hover ul li a {
		/* 3rd level nav items */
		background: #215C98 !important;
		color: #fff;
		height: 38px !important;
		line-height: 38px !important;
		margin: 0 !important;
		border-bottom: none;
	}
	.responsive-menu ul ul ul li a {
		height: 38px;
		line-height: 38px;
	}
	.responsive-menu li > ul > a {
		height: 38px;
	}
	.responsive-menu li > ul >li  {
		margin: 0 0 0 0 !important;
	}
	.responsive-menu li > ul >li >  a {
		height: 38px;
	}
	.responsive-menu ul > li > ul > li > ul > li {
		position: relative;
		margin-left: 0;
		margin-top: 0;
		margin-bottom: 0;
	}
	.show-menu {
		display:block;
		height: 38px;
		line-height: 38px;
	}
}
