/*** ESSENTIAL STYLES ***/
.fancify-menu,
.fancify-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
    /* transition: 0.2s; */

}

.fancify-menu li {
    position: relative;
}

.fancify-menu ul {
    position: absolute;
    display: block;
    /* top: 100%; */
    left: 0;
    z-index: 99;
}

.fancify-menu>li {
    float: left;
}

.fancify-menu li:hover>ul,
.fancify-menu li.sfHover>ul {
    display: block;
}

.fancify-menu a {
    display: block;
    position: relative;
}

.fancify-menu ul ul {
    top: 0;
    left: 100%;
}


/*** DEMO SKIN ***/
.fancify-menu {
    float: left;
    margin-bottom: 1em;
}

.fancify-menu ul {
    min-width: 12em;
    /* allow long menu items to determine submenu width */
    *width: 12em;
    /* no auto sub width for IE7, see white-space comment below */
}

.fancify-menu a {
    border-left: 1px solid #fff;
    border-top: 1px solid #dFeEFF;
    /* fallback colour must use full shorthand */
    border-top: 1px solid rgba(255, 255, 255, .5);
    padding: 0 1em;
    text-decoration: none;
    zoom: 1;
    /* IE7 */
}

.fancify-menu a {
    color: #13a;
}

/*** arrows (for all except IE7) **/
.fancify-arrows .fancify-with-ul {
    padding-right: 2.5em;
    *padding-right: 1em;
    /* no CSS arrows for IE7 (lack pseudo-elements) */
}

/* styling for both css and generated arrows */


.fancify-arrows>li>.fancify-with-ul:focus:after,
.fancify-arrows>li:hover>.fancify-with-ul:after,
.fancify-arrows>.sfHover>.fancify-with-ul:after {
    border-top-color: #FFFFFF;
    /* IE8 fallback colour */
}

/* styling for right-facing arrows */
.fancify-arrows ul .fancify-with-ul:after {
    margin-top: -5px;
    margin-right: -3px;
    border-color: transparent;
    border-left-color: #dFeEFF;
    /* edit this to suit design (no rgba in IE8) */
    border-left-color: rgba(255, 255, 255, .5);
}

.fancify-arrows ul li>.fancify-with-ul:focus:after,
.fancify-arrows ul li:hover>.fancify-with-ul:after,
.fancify-arrows ul .sfHover>.fancify-with-ul:after {
    border-left-color: #FFFFFF;
}