#colorNav > ul {
    width: auto;
	text-align: center;
}

#colorNav > ul > li { /* will style only the top level li */
    list-style: none;
    display: inline-block;
    line-height: 1;
    margin: 1px;
    border-radius: 3px;
    position: relative;
	text-align: center;
	width: 45px;
	height: 25px;
	font-size: 25px;
    padding: 20px;
}

#colorNav > ul > li > a {
    color:inherit;
    text-decoration:none !important;
}

#colorNav li ul {
    position:absolute;
    list-style:none;
    text-align:center;
    width: 180px;
    left: 50%;
    margin-left: -130px;
    top: 50px;
    font: bold 11px 'Quicksand', sans-serif;

    /* This is important for the show/hide CSS animation */
    max-height:0px;
    overflow:hidden;

    -webkit-transition:max-height 0.4s linear;
    -moz-transition:max-height 0.4s linear;
    transition:max-height 0.4s linear;
}

#colorNav li:hover ul {
    max-height: 350px;
}

#colorNav li ul li {
    background-color:#313131;
}

#colorNav li ul li a{
    padding:12px;
    color:#fff !important;
    text-decoration:none !important;
    display:block;
}

#colorNav li ul li:nth-child(odd){ /* zebra stripes */
    background-color:#363636;
}

#colorNav li ul li:hover{
    background-color:#444;
}

#colorNav li ul li:first-child{
    border-radius:3px 3px 0 0;
    margin-top:25px;
    position:relative;
}

#colorNav li ul li:first-child:before{ /* the pointer tip */
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    border: 5px solid transparent;
    border-bottom-color: #313131;
    left: 50%;
    top: -10px;
    margin-left: -5px;
}

#colorNav li ul li:last-child{
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#colorNav li.dark {
	background-color: #ececec; /* This is the color of the menu item */
	color:#9d9d9d; /* This is the color of the icon */
}

#colorNav li.light {
	background-color: #f9f9f8;
	color:#9d9d9d;
}