/* Main */
ul li.deeper>a, ul li.deeper>span{
	background-image:url(../images/arrow-right.png);
	background-position: 98% center;
	background-repeat: no-repeat;
	padding-right:18px;
}
	
.menu>li.deeper>a,.menu>li.deeper>span{
cursor:pointer;
	background-image:url(../images/top-arrow.png);
	background-position: 98% center;
	background-repeat: no-repeat;
	padding-right:18px;
}
nav li a:hover {
	background-color: #ccc;
}
nav li span:hover {
	background-color: #ccc;
}
.menu li{
	float: left;
	position: relative;
}

.menu li:hover > ul{
border: 1px solid #E4E4E4;
}

/* Sub-menu */

.menu ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    left: 100%;
	top:0;
    z-index: 99999;    
    background: #fff;
}
.menu>li>ul{
	left: 0;
	top:100%;
	z-index:9999;
}

.menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
}
.menu ul a{    
    padding: 10px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
    font-size: 13px;
}


*:first-child+html .menu ul a{ /* IE7 */    
	height: 10px;
	width: 150px;
}



/* Clear floated elements */
.menu:after{
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
*:first-child+html .menu { zoom: 1; } /* IE7 */


nav ul {
    background-color: #ececec;
    padding: 4px 10px;
    clear: both;
  	border: 3px solid #999;
}

nav li a,nav li>span, nav>li>a,nav>li>span {
	white-space:nowrap;
    font-size: 20px;
    display: block;
    padding: 5px 8px;
    font-weight: bold;
    text-decoration: none;
    color: #323232;
	cursor:pointer;
}

nav ul ul span{
	font-weight: initial;
	font-size: 14px;
}

nav ul il ul {
   border:1px solid #444;
}

nav li {
    float: left;
}

nav li.active>a, nav li.active>span{
    background-color: #323232;
    color: #fff;
	cursor : pointer;
}

nav ul li.active>a:hover,
nav ul li.active>a:span {
    background-color: #323232;
	color:#fff;
}

li.divider > span > img{
	position: absolute;
	left: 100%;
	top: -1px;
	border: 10px solid #CCC;
	display:none;
	z-index:999;
}

nav ul {
  	display: flex;
  	display: -webkit-flex;
    flex-wrap: wrap;
    justify-content: space-around;
}