/*** ESSENTIAL STYLES ***/
.mainNavigation, .mainNavigation * {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mainNavigation li {
    position: relative;
}
.mainNavigation ul {
    position: absolute;
    display: none;
    top: 100%;
    z-index: 9999999;
}
.mainNavigation > li {
    float: left;
}
.mainNavigation li:hover > ul,
.mainNavigation li.sfHover > ul {
    display: block;
}

.mainNavigation a {
    display: block;
    position: relative;
}
.mainNavigation ul ul {
    top: 0;
    left: 100%;
}

/*** DEMO SKIN ***/
.mainNavigation {
    float: left;
    border-right: 1px solid #fff;
}
.mainNavigation ul {
    box-shadow: 2px 2px 6px rgba(0,0,0,.2);
    min-width: 165px;
}
.mainNavigation a {
    padding: 0px 10px 0px 15px;
    text-decoration: none;
    zoom: 1; /* IE7 */
}
.mainNavigation a {
     font: bold 15px/29px Arial;
     color: #e2e2df;
 }
.mainNavigation a:hover {
    color: #fff;
}
.mainNavigation li {
    #border-right: 1px solid #fff;
}
.mainNavigation ul li {
    background: #004b7b;
    padding: 6px 0;
    width: 190px;
}

.mainNavigation ul li a {
    font: 14px/35px Arial;
}

.mainNavigation ul li a:hover {
    color: #fff;
}
.mainNavigation ul ul li {
    background: #9AAEDB;
}
.mainNavigation li:hover,
.mainNavigation li.sfHover {
    /* only transition out, not in */
    -webkit-transition: none;
    transition: none;
    #background-color: #dd1d32;
    color: #fff;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
    padding-right: 30px;
    *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: 10px;
    margin-top: -3px;
    height: 0;
    width: 0;
    /* order of following 3 rules important for fallbacks to work */
    border: 5px solid transparent;
    border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
    border-top-color: rgba(255,255,255,.5);
}
.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: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-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);
}
.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: white;
}
