.sf-menu,
.sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
    cursor: pointer;
}

.sf-menu li {
    position: relative;
    text-align: left
}

.sf-menu ul {
    position: absolute;
    display: none;
    top: calc(100% + 2px);
    left: -66px;
    z-index: 99;
}

.sf-menu>li {
    display: inline-block;
}

.sf-menu li:hover>ul,
.sf-menu li.sfHover>ul {
    display: block
}

.sf-menu a {
    display: block;
    position: relative
}

.sf-menu ul ul {
    top: 0;
    left: calc(100% + 2px);
}

.sf-menu ul li a {
    padding: 10px 14px;
}

.sf-menu {
    width: 100%;
}

.sf-menu ul {
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, .2);
    min-width: 11em;
    /* allow long menu items to determine submenu width */
    *width: 11em;
    /* no auto sub width for IE7, see white-space comment below */
}

.sf-menu a {
    color: #FFF;
    font-size: 1.125rem;
    font-weight: 700;
    font-style: normal;
    padding: 10px 9px;
    text-decoration: none;
    zoom: 1;
    /* IE7 */
}

.sf-menu li:last-child a {
    /*padding: 10px 14px;*/
}

.sf-menu a:hover {
    color: #f5f5f5;
}

.sf-menu li {
    white-space: nowrap;
    /* no need for Supersubs plugin */
    *white-space: normal;
    /* ...unless you support IE7 (let it wrap) */
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.sf-menu ul {
    border-left: 1px solid #460088;
    border-bottom: 1px solid #460088
}

.sf-menu ul li {
    background: #6e67b2;
    border-top: 1px solid #460088;
    border-right: 1px solid #460088;
}

.sf-menu>li:hover>a {
    color: #f5f5f5;
    text-decoration: underline;
}

.sf-menu ul li:hover {
    background: #4f0099;
}

.sf-menu ul li a {
    font-size: 1rem;
}


/*
chaining hover
#nav > li:hover > a {}
#nav > li > ul > li:hover > a {}
#nav > li > ul > li > ul > li:hover > a {}
*/


/*** arrows (for all except IE7) **/

.sf-arrows .sf-with-ul {
    padding-right: 1em;
    *padding-right: 1em;
    /* no CSS arrows for IE7 (lack pseudo-elements) */
}


/* styling for both css and generated arrows */

.sf-arrows .sf-with-ul:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -1px;
    height: 0;
    width: 0;
    /* order of following 3 rules important for fallbacks to work */
    border: 5px solid transparent;
    border-top-color: #FFF;
    /* edit this to suit design (no rgba in IE8) */
    border-top-color: rgba(255, 255, 255, 1);
}

.sf-arrows>li>.sf-with-ul:focus:after,
.sf-arrows>li:hover>.sf-with-ul:after,
.sf-arrows>.sfHover>.sf-with-ul:after {
    border-top-color: #8780cc
}


/* styling for right-facing arrows */

.sf-arrows ul .sf-with-ul:after {
    margin-top: -5px;
    margin-right: -3px;
    border-color: transparent;
    border-left-color: #FFF;
    /* edit this to suit design (no rgba in IE8) */
    border-left-color: rgba(0, 0, 0, .5);
}

.sf-arrows ul li>.sf-with-ul:focus:after,
.sf-arrows ul li:hover>.sf-with-ul:after,
.sf-arrows ul .sfHover>.sf-with-ul:after {
    border-left-color: #000
}