#cssmenu{background: linear-gradient(0deg, #005278, #0073a6); position: relative; z-index: 99999; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}
#cssmenu ul{display: flex; font-size: 0; text-align: center;}
#cssmenu ul li{flex: 1; display: inline-block; position: relative; border-left: 1px #005478 solid; border-right: 1px #0271a9 solid;}
#cssmenu ul li:first-child{border-left: none;}
#cssmenu ul li:last-child{border-right: none;}
#cssmenu ul li:first-child a{border-bottom-left-radius: 10px;}
#cssmenu ul li:last-child a{border-bottom-right-radius: 10px;}
#cssmenu ul li a{display: block; height: 100%; font-size: 12px; text-decoration: none; text-transform: uppercase; color: #fff; padding: 20px 15px;}
#cssmenu > ul > li:hover > a{background: #0073a6;}
#cssmenu ul li:hover > ul{left: auto;}
#cssmenu ul ul{
	display: block;
	position: absolute;
	left: -9999px;
	top: 100%;
	text-align: left;
	border-bottom: 1px #ccc solid;

}
#cssmenu ul ul li{display: block; border: 1px #ccc solid; border-bottom: none;}
#cssmenu ul ul li:first-child{border-left: 1px #ccc solid;} #cssmenu ul ul li:first-child a{border-bottom-left-radius: 0;}
#cssmenu ul ul li:last-child{border-right: 1px #ccc solid;} #cssmenu ul ul li:last-child a{border-bottom-right-radius: 0;}
#cssmenu ul ul li a{background: #333; width: 288px; font-size: 12px; text-decoration: none; color: #ddd; padding: 12px;}
#cssmenu ul ul li a:hover, #cssmenu ul ul li:hover > a{background: #555; color: #fff;}
#cssmenu ul ul li.has-sub > a::after{position: absolute; top: 18px; right: 8px; font-family: FontAwesome; font-size: 8px; content: '\f054';}
#cssmenu ul ul ul{margin-left: 100%; top: -1px;}
#cssmenu #menu-button{display: none;}
#cssmenu ul li:hover > ul {
    left: 0;
    top: 100%;
}


@media screen and (max-width: 768px){
	#cssmenu{width: 100%; background: linear-gradient(0deg, #005278, #0073a6); border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}
	#cssmenu ul{width: 100%; display: none; text-align: left;}
	#cssmenu ul li{width: 100%; border: none; border-top: 1px solid #ccc;}
	#cssmenu ul li:last-child{border-right: none;}
	#cssmenu ul li a{background: #333; font-size: 12px; padding: 20px; width: 100%;}
    #cssmenu ul li:last-child a{border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;}
	#cssmenu ul ul{display: none; position: relative; left: 0; right: auto; width: 100%; margin: 0;}
	#cssmenu ul ul li{width: 100%; border: none; border-top: 1px solid #ccc;}
	#cssmenu ul ul li a{background: #555; font-size: 12px; color: #fff; padding: 20px; width: 100%;}
	#cssmenu ul ul ul{display: none; position: relative; top: 0; left: 0; right: auto; width: 100%; margin: 0;}
	#cssmenu ul ul ul li a{padding: 20px 40px; background: #555;}
	#cssmenu > ul > li.has-sub > a::after, #cssmenu ul ul li.has-sub > a::after{display: none;}
	#cssmenu #menu-button{display: block; padding: 20px; color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase;}
	#cssmenu #menu-button::after{position: absolute; top: 19px; right: 20px; font-family: FontAwesome; font-size: 16px; content: '\f0c9';}
	#cssmenu .submenu-button{position: absolute; z-index: 10; right: 0; top: 0; display: block; height: 55px; width: 100%; cursor: pointer;}
	#cssmenu .submenu-button::after{position: absolute; top: 19px; right: 20px; font-family: FontAwesome; font-size: 16px; content: '\f067'; color: #fff;}
	#cssmenu .submenu-button.submenu-opened:after{content: '\f068';}
}