#nav {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;

    position: absolute;
    z-index: 6;
    width: 930px;
    padding: 0;
    margin: 0;
}

#nav > li {
    position: relative;
    width: 100%;
    display: block;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 27px;
    font-weight: bold;
    text-align: center;
    padding: 0;
    margin: 0;
}

/*#nav > li:not(:last-child) {
    margin-right: 43px;
}*/

#nav > li > a {
    display: block;
    width: 100%;
    height: 27px;
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    word-break: keep-all;
    white-space: nowrap;
    padding: 0 15px;
    margin: 0;
}

#nav > li:hover > a,
#nav > li.active > a {
    background: url(../images/menu_over.png) repeat;
    text-decoration: none;
}

/* dropdown */
#nav > li > ul {
    display: none;
    position: absolute;
    left: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav > li:hover > ul {
    display: block;
}

#nav > li > ul > li {
    float: none;
    margin: 0;
    text-align: left;
    width: auto;
    font-size: 14px;
    word-break: keep-all;
    white-space: nowrap;
}

#nav > li > ul > li > a {
    width: 100%;
    min-width: 132px;
    display: block;
    background: #FFFFFF;
    color: #000000;
    font-weight: normal;
    text-decoration: none;
    padding: 5px 15px;
}

#nav > li > ul > li:hover > a,
#nav > li > ul > li.active > a {
    background: url(../images/submenu_over.png) repeat;
}