@font-face {
    font-family: "icon-font";
    src: url('fonts/icon-font.eot');
    src: url('fonts/icon-font.eot?#iefix') format('eot'), url('fonts/icon-font.woff') format('woff'), url('fonts/icon-font.ttf') format('truetype'), url('fonts/icon-font.svg#icon-font') format('svg');
}

.icon-desktop:before,
.icon-menu-close:before,
.icon-menu:before,
.icon-mobile:before,
.icon-submenu-down:before,
.icon-submenu-right:before,
.icon-world:before,
header h1:before,
.nav-button:before,
.nav-close:before,
.nav .nav-submenu > a:after,
.nav > ul > .nav-submenu > a:after {
    font-family: "icon-font";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    text-decoration: none;
    text-transform: none;
    vertical-align: middle;
    margin-top: 4px;
}

.icon-desktop:before {
    content: "\E001";
}

.icon-menu-close:before {
    content: "\E002";
}

.icon-menu:before {
    content: "\E003";
}

.icon-mobile:before {
    content: "\E004";
}

.icon-submenu-down:before {
    content: "\E005";
}

.icon-submenu-right:before {
    content: "\E006";
}

.icon-world:before {
    content: "\E007";
}

#nav-button-container {
    position: absolute;
    width: 4.1rem;
    height: 4.1rem;
    right: 10px;
    top: -20px;
}

.nav-button,
.nav-close {
    position: relative;
    /* left: 1px; */
    /* top: 20px; */
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    z-index: 902;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    background: #7f3f97;
    color: #ffffff;
}

.nav-button:hover,
.nav-close:hover {
    background: #8f4fa7;
    color: #fff;
    text-decoration: none;
}

/*
.nav-button a:visited, .nav-button a:active, .nav-button a:link {
    color: #fff;
    text-decoration: none;
}
*/
 a.nav-button:visited, a.nav-button:active, a.nav-button:link {
    color: #fff;
    text-decoration: none;
}

.nav-button:before,
.nav-close:before {
    display: block;
    text-align: center;
}

.nav-button {
    display: inline-block;
    right: 1rem;
    font-size: 1rem;
    line-height: 1.3rem;
}


.nav-button:before {
    content: "\E003";
}

.nav-close {
    display: none;
    right: 4rem;
    font-size: 1.9rem;
}

.nav-close:before {
    content: "\E002";
}

.nav {
    padding-top: 3.7em;
    line-height: 2em;
    color: #7f3d24;
    font-family: 'Fjalla One', sans-serif;
}

.nav ul {
    /* border-radius: 0 0 6px 6px; */
    border-radius: 0;
}

.nav ul ul {

}

.nav li {
    /* border-top: 1px solid #59544F; */
    cursor: pointer;
    color: #ffffff;
    font-size: .9em;
    font-weight: bold;
    background: #471f59;
               border-top: #ffffff 1px solid;
/*
      margin-left: 2px;
    margin-right: 2px;
*/
    margin-left: 0;
    margin-right: 0;
}

.nav li:hover > a,
.nav li.nav-active > a {
    background: #7f3f97;
    color: #ffffff;
}

.nav .nav-submenu > ul {
    margin-left: 10px;
      
}

.nav .nav-submenu > a {
    padding-right: 30px !important;
}

.nav a,
.nav a:hover,
.nav a:active,
.nav a:visited {
    color: #fff;
    padding: 0.5em 1em 0.5em 1em;
    text-decoration: none;

}

.nav .nav-submenu > a:after {
    position: absolute;
    display: block;
    right: 10px;
    top: 1px;
    content: "\E005";
}

@media only screen and (min-width: 1000px) {

    body {
        padding: 0 !important;
    }

    header {
        position: relative;
    }

    header h1:before {
        content: "\E001";
    }

    #nav-button-container {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .nav {
        padding: 0 !important;
    }

    .nav > ul > li {
        border-top: none;
    }

    .nav li > ul {
    }

    .nav ul ul ul {
        border-radius: 0 6px 6px 6px;
    }

    .nav ul ul ul li:first-child {
        border-top: none;
    }

    .nav .nav-left > ul {
        border-radius: 6px 0 6px 6px;
    }

    .nav .nav-submenu li {
        min-width: 110px;
 
    

    .nav .nav-submenu > ul {
        margin: 0;
    }

    .nav > ul > .nav-submenu > a:after {
        content: "\E005";
    }

    .nav .nav-submenu > a:after {
        content: "\E006";
    }

}

