/*** adding the class sf-navbar in addition to sf-menu creates an all-horizontal nav-bar menu ***/
.sf-navbar {
    background: #fff;
    position: relative;
    margin-bottom: 5em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border-radius: 0 0 5px 5px;
}

.sf-navbar > li {
    width: 100%;
    text-align: center;
}
/* provide background colour for submenu strip */
/* you should just set the menu's container bg colour rather than use pseudo-elements */
/*.sf-navbar:before {
	content: '';
	position: absolute;
	left: 0;
	z-index: -1;
	background-color: #BDD2FF;
	height: 200%;
	width: 100%;
}*/

.sf-navbar ul {
    box-shadow: none;
}

.sf-navbar > li:not(:last-child) > a {
    border-left: 1px solid #00d3ff;
}

.sf-navbar li {
    position: static;
    padding: 5px 0;
}
.sf-navbar > li > a,
.sf-navbar > li > ul > li > a {
    border: none;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.sf-navbar > li > ul {
    min-width: 100%; /* set this to whatever suits your design */
    background-color: rgba(36, 86, 121, 0.87);
    /*display: flex;*/
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    animation-name: fadeInDown;
    animation-duration: 0.2s;
    min-height: 250px;
}
.sf-navbar ul li {
    position: relative;
    /*flex: 1 0 20%;*/
}
.sf-navbar ul ul {
    left: 0;
    top: 100%;
}
.sf-navbar ul ul li {
    width: 100%;
}

.sf-menu ul ul {
    position: static;
    display: block;
}

.sf-navbar ul ul li {
    padding: 0;
}

.sf-menu ul ul a {
    border: none;
    font-size: 0.8rem;
    color: #fff;
}

.sf-navbar li.current {

}
.sf-navbar li:hover,
.sf-navbar li.sfHover,
.sf-navbar ul li.current {

}
.sf-navbar ul li:hover,
.sf-navbar ul li.sfHover,
.sf-navbar ul ul li {

}
.sf-navbar ul ul li:hover,
.sf-navbar ul ul li.sfHover,
.sf-navbar ul ul li.current {

}
.sf-navbar ul li.current > a {
    font-weight: bold;
}

/*** point all arrows down ***/
.sf-arrows.sf-navbar ul .sf-with-ul:after {
    margin-top: -3px;
    margin-right: 0;
    border-color: transparent;
    border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
    border-top-color: rgba(255,255,255,.5);
}

.sf-arrows.sf-navbar ul > li > .sf-with-ul:focus:after,
.sf-arrows.sf-navbar ul > li:hover > .sf-with-ul:after,
.sf-arrows.sf-navbar ul > .sfHover > .sf-with-ul:after {
    border-color: transparent;
    border-top-color: white;
}
