/*** ESSENTIAL STYLES ***/
.sf-menu {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sf-menu .sf-mega {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        z-index: 999999;
    }

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

    .sf-menu li:hover > .sf-mega,
    .sf-menu li.sfHover > .sf-mega {
        display: block;
    }

    .sf-menu > li > a {
        display: block;
        position: relative;
    }

    .sf-menu > li > a { /*自己添加的*/
        text-transform: uppercase;
        font-size: 15px;
        color: #fff;
        font-family: 'Oswald', sans-serif;
        font-weight: normal;
        font-style: normal;
        padding: 10px 18px; /*子菜单的高度*/
        text-decoration: none;
        color: #fff;
        font-weight: normal;
        zoom: 1; /* IE7 */
    }


/*** DEMO SKIN ***/
.sf-menu {
    float: left;
    margin-bottom: 1em;
    width: 100%;
}

    .sf-menu .sf-mega {
        box-shadow: 2px 3px 6px rgba(0,0,0,.2);
        width: 100%; /* allow long menu items to determine submenu width */
    }

    .sf-menu > li > a > i {
        margin-right: 6px;
    }

    .sf-menu > li:hover,
    .sf-menu > li.sfHover {
        background: #54b016;
        /* only transition out, not in */
        -webkit-transition: none;
        transition: none;
    }

/*** mega menu dropdown ***/

.sf-mega {
    background-color: #166FB0;
    padding: 1em;
    box-sizing: border-box;
    width: 100%;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.sf-mega-section {
    float: left;
    width: 230px; /* optional */
    padding: 0 1em 0 0;
    margin-right: 1em;
    border-right: 0px solid #e6e6e6;
}

    .sf-mega-section ul li i {
        margin-right: 6px;
    }

.sf-mega ul {
    background-color: transparent;
    list-style: none;
    margin: 0;
    padding-left: 5px;
}

.sf-mega li {
    display: block;
    margin-left: 0;
}

    .sf-mega li:hover,
    .sf-mega li:sfHover {
        background: #54b016; /*子菜单停留时的背景色*/
        -webkit-transition: none;
        transition: none;
        color: #fff;
    }

.sf-mega h2 {
    font-size: 15px;
    margin: 0px;
    padding: 5px 0px 5px 10px;
    color: #fff;
    font-weight: bold;
    font-style: normal;
    background: transparent url(../../Images/square-black.png) repeat 0 0;
}



.sf-mega ul li a, .sf-mega ul li a:visited {
    font-size: 14px;
    display: block;
    color: #fff;
    padding: 3px 8px;
    text-decoration: none;
}

    .sf-mega ul li a:hover {
        color: #fff;
        background-color: #54b016;
        text-decoration: none;
        cursor: pointer;
    }


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
    padding-right: 2.5em;
    *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: 1em;
        margin-top: -3px;
        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,.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;
    color: #fff; /* IE8 fallback colour */
}
