@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
#cssmenushell {
	display: block;
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	text-align: center;
	margin-bottom: 0;
	z-index: 99;
}
#cssmenu, #cssmenu ul, #cssmenu ul li, #cssmenu ul li a, #cssmenu #menu-button {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	line-height: 1;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#cssmenu:after, #cssmenu>ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#cssmenu #menu-button {
	display: none;
}
#cssmenu {
	/*float:right;*/
	width: auto;
	margin-left: 10px;
	margin-right: 10px;
	font-family: 'Open Sans', Helvetica, sans-serif;
	background: transparent;
}
#cssmenu>ul {
	/* background: url('images/bg.png');*/
}
#cssmenu.align-right>ul>li {
	float: right;
}
#cssmenu>ul>li {
	float: none;
	display: inline-block;
}
#cssmenu.align-center>ul {
	float: none;
	text-align: center;
}
#cssmenu.align-center>ul>li {
	float: none;
}
#cssmenu.align-center ul ul {
	text-align: left;
}
#cssmenu>ul>li>a {
	padding: 2px 12px 2px 12px;
	text-decoration: none;
	font-size: 14px;
	line-height: 33px;
	font-weight: 500;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0;
}
#cssmenu>ul>li:hover, #cssmenu>ul>li.active {
	color: #000000;
	background: rgba(0, 0, 0, 0.1);
	/*the main button change on hover */
}
#cssmenu>ul>li.has-sub>a {
	padding-right: 24px;
}
#cssmenu>ul>li.has-sub>a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-top-color: #000000;
	right: 6px;
	top: 16px;
}
#cssmenu>ul>li.has-sub.active>a::after, #cssmenu>ul>li.has-sub:hover>a {
	border-top-color: #FFFFFF;
}
#cssmenu ul ul {
	position: absolute;
	margin-top: -25px;
	left: -9999px;
	margin-left: 0px;
	top: 35px;
	padding-top: 16px;
	font-size: 14px;
	opacity: 0;
	-webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
	-moz-transition: top 0.2s ease, opacity 0.2s ease-in;
	-ms-transition: top 0.2s ease, opacity 0.2s ease-in;
	-o-transition: top 0.2s ease, opacity 0.2s ease-in;
	transition: top 0.2s ease, opacity 0.2s ease-in;
}
#cssmenu.align-right ul ul {
	text-align: right;
}
#cssmenu>ul>li>ul::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-bottom-color: #CCCCCC;
	/* up-arrow color */
	top: 3px;
	left: 20px;
	bottom: -5px;
}
#cssmenu.align-right>ul>li>ul::after {
	left: auto;
	right: 20px;
}
#cssmenu ul ul ul::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-right-color: #FFFFFF);
	/*right arrow color */
	top: 11px;
	left: -4px;
}
#cssmenu.align-right ul ul ul::after {
	border-right-color: transparent;
	border-left-color: #ffffff;
	left: auto;
	right: -4px;
}
#cssmenu>ul>li>ul {
	top: 120px;
}
#cssmenu>ul>li:hover>ul {
	top: 52px;
	left: 0;
	opacity: 1;
}
#cssmenu.align-right>ul>li:hover>ul {
	left: auto;
	right: 0;
}
#cssmenu ul ul ul {
	padding-top: 0;
	padding-left: 6px;
	margin-top: 0;
}
#cssmenu.align-right ul ul ul {
	padding-right: 6px;
}
#cssmenu ul ul>li:hover>ul {
	left: 250px;
	top: 0;
	opacity: 1;
}
#cssmenu.align-right ul ul>li:hover>ul {
	left: auto;
	right: 100%;
	opacity: 1;
}
#cssmenu ul ul li a {
	text-align: left;
	text-decoration: none;
	font-weight: 400;
	padding: 11px 25px;
	width: 250px;
	color: #000000;
	margin-top: -2px;
	border: solid 2px #CCCCCC;
	/*background:rgba(1,146,196,0.5);*/
	background-color: #FFFFFF;
	/* sub box background color */
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
}
#cssmenu ul ul li a:hover {
	text-decoration: none;
	color: #000000;
	/* background:rgba(1,146,196,0.6);*/
	background-color: #DEDEDE;
	/* sub menu hover background color */
}
#cssmenu ul ul li:hover>a, #cssmenu ul ul li.active>a {
	color: #000000;
}
#cssmenu ul ul li:first-child>a {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}
#cssmenu ul ul li:last-child>a {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}
#cssmenu>ul>li>ul::after {
	position: absolute;
	display: block;
}
#cssmenu ul ul li.has-sub>a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border: 4px solid transparent;
	border-left-color: transparent;
	right: 7px;
	top: 14px;
}
#cssmenu.align-right ul ul li.has-sub>a::after {
	border-left-color: transparent;
	border-right-color: #000000;
	right: auto;
	left: 17px;
}
#cssmenu ul ul li.has-sub.active>a::after, #cssmenu ul ul li.has-sub:hover>a::after {
	border-left-color: transparent;
}
#cssmenu.align-right ul ul li.has-sub.active>a::after, #cssmenu.align-right ul ul li.has-sub:hover>a::after {
	border-right-color: #000000;
	border-left-color: transparent;
}
#cssmenu ul ul ul::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-right-color: #CCCCCC;
	top: 11px;
	left: -2px;
}

/* ---------------------------------------------------------  mobile view  ----------------------------------------------- */

@media all and (max-width: 997px) {
	#cssmenushell {
		/*float:right;*/
		position: absolute;
		top: 0;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		max-width: 1000px;
		font-family: 'Open Sans', Helvetica, sans-serif;
		background: transparent;
		z-index: 999;
		padding: 0;
	}
	#cssmenu {
		text-align: left;
		background: #000000;
		margin: 0;
	}
	#cssmenu>ul {
		display: none;
	}
	#cssmenu>ul.open {
		display: block;
		border-top: 1px solid #000000);
		background: #33ff00;
	}
	#cssmenu.align-right>ul {
		float: none;
	}
	#cssmenu.align-center>ul {
		text-align: left;
	}
	#cssmenu>ul>li, #cssmenu.align-right>ul>li {
		float: none;
		display: block;
		border: solid 1px #01557F;
		border-radius: 0;
		-webkit-transform: skew(0deg);
		-moz-transform: skew(0deg);
		-o-transform: skew(0deg);
		transform: skew(0deg);
	}
	#cssmenu>ul>li>a {
		color:#FFFFFF;
		padding: 10px 25px 10px 25px;
		border-right: 0;
		background: #3498db;
		background-image: -webkit-linear-gradient(top, #3498db, #006699);
		background-image: -moz-linear-gradient(top, #3498db, #006699);
		background-image: -ms-linear-gradient(top, #3498db, #006699);
		background-image: -o-linear-gradient(top, #3498db, #006699);
		background-image: linear-gradient(to bottom, #3498db, #006699);
		-webkit-transform: skew(0deg);
		-moz-transform: skew(0deg);
		-o-transform: skew(0deg);
		transform: skew(0deg);
	}
	#cssmenu>ul>li:hover, #cssmenu>ul>li.active {
		background: rgba(0, 0, 0, 0.2);
		color:#FFFFFF;
		/*the main button change on hover */
	}
	#cssmenu #menu-button {
		display: block;
		text-decoration: none;
		font-size: 18px;
		font-weight: 700;
		color: #FFFFFF;
		padding: 18px 25px 18px 25px;
		text-transform: uppercase;
		letter-spacing: 1px;
		text-align: center;
		cursor: pointer;
		background: #3399CC;
		/*darken top strip */
		border-bottom: 1px solid #FFFFFF;
	}
	#cssmenu ul ul, #cssmenu ul li:hover>ul, #cssmenu>ul>li>ul, #cssmenu ul ul ul, #cssmenu ul ul li:hover>ul, #cssmenu.align-right ul ul, #cssmenu.align-right ul li:hover>ul, #cssmenu.align-right>ul>li>ul, #cssmenu.align-right ul ul ul, #cssmenu.align-right ul ul li:hover>ul {
		left: 0;
		right: auto;
		top: auto;
		margin-left: 0;
		opacity: 1;
		width: 100%;
		padding: 0;
		position: relative;
		text-align: left;
		background-color: #000000;
	}
	#cssmenu ul ul li {
		width: 100%;
	}
	#cssmenu ul ul li a {
		color: #000000;
		width: 100%;
		box-shadow: none;
		padding-left: 35px;
	}
	#cssmenu>ul>li>ul::after {
		content: "";
		position: absolute;
		width: 0;
		height: 0;
		border: 1px solid transparent;
		border-top-color: transparent;
	}
	#cssmenu ul ul li a:active {
		color: #000000;
	}
	#cssmenu ul ul li a:hover {
		color: #000000;
	}
	#cssmenu ul ul li.has-sub>a::after {
		content: "";
		position: absolute;
		width: 0;
		height: 0;
		border: 4px solid transparent;
		border-left-color: transparent;
		right: 7px;
		top: 14px;
	}
	#cssmenu ul ul ul::after {
		content: "";
		position: absolute;
		width: 0;
		height: 0;
		border: 5px solid transparent;
		border-right-color: #000000);
		/*right arrow color */
		top: 11px;
		left: -4px;
	}
	#cssmenu ul ul ul li a {
		padding-left: 45px;
	}
	#cssmenu ul ul li:first-child>a, #cssmenu ul ul li:last-child>a {
		border-radius: 0;
	}
	#cssmenu ul ul {
		margin-top: 0;
	}
	#cssmenu #menu-button::after {
		display: block;
		content: '';
		position: absolute;
		height: 3px;
		width: 22px;
		border-top: 2px solid #FFFFFF;
		border-bottom: 2px solid #FFFFFF;
		right: 25px;
		top: 18px;
	}
	#cssmenu #menu-button::before {
		display: block;
		content: '';
		position: absolute;
		height: 3px;
		width: 22px;
		border-top: 2px solid #FFFFFF;
		right: 25px;
		top: 28px;
	}
	#cssmenu>ul>li.has-sub>a::after, #cssmenu ul ul li.has-sub>a::after {
		display: none;
	}
	/* Functionality */
	#cssmenu li>.subgroup {
		height: 0;
		overflow: hidden;
		-webkit-transition: height .2s ease-in-out;
		-moz-transition: height .2s ease-in-out;
		-o-transition: height .2s ease-in-out;
		-ms-transition: height .2s ease-in-out;
		transition: height .2s ease-in-out;
	}
	#cssmenu li:hover>.subgroup, #cssmenu li:target>.subgroup {
		height: auto;
	}
}