@font-face {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url(../css/'fa-regular-400.ttf');
}
  nav {
    position: fixed;
    width: 100%;
    max-width: 1600px;
    background-color: #fff;
    z-index: 1000;
    padding: 0;
}

#menu {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 1.1em;
    float: left;
    color: #C1001F;
    letter-spacing: 0.03em;
    z-index: 999;
    cursor: pointer;
}

.menu {
    margin: 5% 20px 0 30%;
}

div.menu nav#menu ul li:before {
    position: absolute;
    font-family: FontAwesome;
    content: '';
    transform: rotate(90deg);
    font-style: normal;
    font-weight: normal;
    margin: 5px 0 0 10px;
}

.menu ul li a {
    display: block;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
    color: #4d4f51;
}

.menu ul li a:hover {
    color: #C1001F;
    background: none;
}

.subsub ul li a {
    color: #fff;
}

#menu ul li ul.submenu li:before {
    content: "";
    font-size: 0.8em;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 9999;
}

ul li {
    display: block;
    position: relative;
    float: left;
    z-index: 9999;
}

/* This hides the dropdowns */
li ul {
    display: none;
}

ul.submenu li a {
    display: block;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    border-bottom: 1px solid #ddd;
    border-left: 2px solid #ddd;
    font-size: 0.8em;
}

ul li a:hover {
    background: #4d4f51;
}

/* Display the dropdown */
li > ul {
    margin-left: 0;
}

li:hover > ul {
    display: block;
    position: absolute;
    background: none;
}

li:hover li {
    float: none;
    color: #fff;
}

ul li {
    background: #b4b4b4;
}

ul.submenu li:hover a {
    background: #ccc;
}

.firstlevel > li:nth-child(1) {
    background: none;
}

.firstlevel > li:nth-child(2) {
    background: none;
}

.firstlevel > li:nth-child(3) {
    background: none;
}

li:hover li a:hover {
    background: #4d4f51;
    color: #fff;
}

.main-navigation li ul li {
    border-top: 0;
}

#menu ul ul ul.subsub li a {
    background: #ccc;
}

#menu ul ul ul.subsub li a:hover {
    background: #4d4f51;
}

/* Displays second level dropdowns to the right of the first level dropdown */
ul ul ul {
    left: 100%;
    top: 0;
}

/* Simple clearfix */
ul:before,
ul:after {
    content: " ";

    /* 1 */
    display: table;

    /* 2 */
}

ul:after {
    clear: both;
}

ul.footer {
    background: #4d4f51;
    bottom: 0;
    text-align: center;
    padding: 0;
    margin-top: -32px;
}

ul.footer li {
    font-size: 0.8em;
    font-family: 'Saira Condensed', sans-serif;
    color: #ccc;
    padding: 5px 20px;
    background: #4d4f51;
    display: inline-block;
    float: none;
}

ul.footer li a {
    text-decoration: none;
    color: #ccc;
}

ul.footer li a:hover {
    color: #fff;
}

@media only screen and (max-width: 1024px) {
    .menu {
        margin: 5% 20px 0 35%;
    }
}
@media only screen and (max-width: 796px) {
    .menu {
        margin: 1%;
    }

    #menu {
        position: relative;
        width: 80%;
        margin: 2% 5% 10%;
    }

    li ul.submenu {
        display: block;
        width: 230px;
    }

    .firstlevel > li:nth-child(1) {
        background: none;
    }

    .firstlevel > li:nth-child(2) {
        background: none;
    }

    .firstlevel > li:nth-child(3) {
        background: none;
    }

    ul li {
        width: 230px;
    }

    ul.footer li {
        width: auto;
    }
}