/* Flexnav Base Styles */
.flexnav{
    overflow: hidden;
    width: 100%;
    max-height: 0;
    margin: 0 auto;
    padding-left: 0; 
    -webkit-transition: none;
       -moz-transition: none;
        -ms-transition: none;
            transition: none;
    -webkit-transform-style: preserve-3d;
    list-style: none;
}
.flexnav.opacity{
    opacity: 0;
}
.flexnav.show{
    max-height: 2000px;
    -webkit-transition: all 0.5s ease-in-out;
       -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out; 
    opacity: 1;
}
.flexnav.one-page{
    position: fixed;
    top: 50px;
    right: 5%;
    max-width: 200px;
}
.flexnav ul{
    padding-left: 0;
    list-style: none;
}
.flexnav li{
    font-size: 100%;
    position: relative;
    overflow: hidden;
}
.flexnav li a{
    font-family: 'museo-slab',serif;
    font-size: 0.96rem;
    text-decoration: none; 
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    padding: 0.96em;
    color: #f7b71a;
    border-bottom: 3px double #5d1717;
}
.flexnav li a:hover{
    color: white;
}
.flexnav li ul{
    width: 100%;
}
.flexnav li ul li{
    font-size: 100%;
    position: relative;
    overflow: hidden;
}
.flexnav li ul.show li{
    overflow: visible;
}
.flexnav li ul li a{
    font-family: 'Trebuchet MS', Verdana, sans-serif;
    font-size: 0.8rem; 
    display: block;
    color: white;
    border-bottom: 1px solid #5d1717;
}


.flexnav .touch-button{
    text-align: center; 
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    display: inline-block;
    width: 50px;
    height: 61px;
    background: #acaca1;
    background: rgba(0, 0, 0, 0.075);
}
.flexnav .touch-button:hover{
    cursor: pointer;
}
.touch-button .navicon{
    position: relative;
    top: 1.6em;
    left: 28%;
    display: block;
    width: 22px;
    height: 10px;
    background: url(../images/nav-arrows.png) top right no-repeat;
}
.touch-button.active .navicon{
    background-position: top left;
}
.menu-button{
    font-family: 'museo-slab',serif;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    display: block;
    padding: 1em;
    cursor: pointer;
    color: #f7b71a;
    border-bottom: 1px solid #e8b21a;
    background: #951c0f; /* Old browsers */
    background:    -moz-linear-gradient(top, #951c0f 0%, #871a0d 50%, #511507 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#951c0f), color-stop(50%,#871a0d), color-stop(100%,#511507)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #951c0f 0%,#871a0d 50%,#511507 100%); /* Chrome10+,Safari5.1+ */
    background:      -o-linear-gradient(top, #951c0f 0%,#871a0d 50%,#511507 100%); /* Opera 11.10+ */
    background:     -ms-linear-gradient(top, #951c0f 0%,#871a0d 50%,#511507 100%); /* IE10+ */
    background:         linear-gradient(to bottom, #951c0f 0%,#871a0d 50%,#511507 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#951c0f', endColorstr='#511507',GradientType=0 ); /* IE6-9 */
}
.menu-button.one-page{
    position: fixed;
    top: 0;
    right: 5%;
    padding-right: 45px;
}
.menu-button .touch-button{
    text-align: center; 
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: transparent;
}
.menu-button .touch-button .navicon{
    top: 1.2em;
}

@media all and (min-width: 769px){
    body.one-page{
        padding-top: 70px;
    }
    .flexnav{
        overflow: visible;
        padding: 0 20px;
    }
    .flexnav.opacity{
        opacity: 1;
    }
    .flexnav.one-page{
        top: 0;
        right: auto;
        max-width: 1080px;
    }
    .flexnav li{
        position: relative;
        display: block;
        float: left;
        overflow: visible; 
        list-style: none;
    }
    .flexnav li a{
        padding: 0.7rem 1.2rem; 
        border-bottom: none;
    }
    .flexnav li > ul{
        position: absolute;
        top: auto;
        left: 0;
        width: 200px;
        border-top: 1px solid black;
        background: #951c0f; /* Old browsers */
        background:    -moz-linear-gradient(top, #951c0f 0%, #871a0d 50%, #511507 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#951c0f), color-stop(50%,#871a0d), color-stop(100%,#511507)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #951c0f 0%,#871a0d 50%,#511507 100%); /* Chrome10+,Safari5.1+ */
        background:      -o-linear-gradient(top, #951c0f 0%,#871a0d 50%,#511507 100%); /* Opera 11.10+ */
        background:     -ms-linear-gradient(top, #951c0f 0%,#871a0d 50%,#511507 100%); /* IE10+ */
        background:         linear-gradient(to bottom, #951c0f 0%,#871a0d 50%,#511507 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#951c0f', endColorstr='#511507',GradientType=0 ); /* IE6-9 */
    }
    .flexnav li > ul li{
        width: 100%;
    }
    .flexnav li ul li > ul{
        top: 0; 
        margin-left: 100%;
    }
    .flexnav li ul li a{
        color: #feb120;
        border-left: none;
    }
    .flexnav li ul.open{
        z-index: 1; 
        display: block;
        visibility: visible;
        opacity: 1;
    }
    .flexnav li ul.open li{
        overflow: visible;
        max-height: 100px;
    }
    .flexnav li ul.open ul.open{
        top: 0; 
        margin-left: 100%;
    }
    .no-touch .flexnav .touch-button,
    .touch-button .navicon{
        display: none;
    }
    .menu-button{
        display: none;
    }
}
@media all and (min-width: 768px) and (orientation:portrait){
    .flexnav li a{
        padding: 0.7rem 0.5rem;
    }
}
.oldie body.one-page{
    padding-top: 70px;
}
.oldie .flexnav{
    overflow: visible;
}
.oldie .flexnav.one-page{
    top: 0;
    right: auto;
    max-width: 1080px;
}
.oldie .flexnav li{
    position: relative;
    display: block;
    float: left;
    overflow: visible; 
    width: 20%;
    min-height: 50px;
    list-style: none;
}
.oldie .flexnav li:hover > ul{
    display: block;
    overflow: visible; 
    width: 100%;
}
.oldie .flexnav li:hover > ul li{
    float: none; 
    width: 100%;
}
.oldie .flexnav li a{
    overflow: visible; 
    border-bottom: none;
    border-left: 1px solid #acaca1;
}
.oldie .flexnav li > ul{
    position: absolute;
    z-index: 1;
    top: auto;
    left: 0;
    display: none;
    overflow: visible;
}
.oldie .flexnav li ul li ul{
    top: 0;
}
.oldie .flexnav li ul li a{
    border-bottom: none;
}
.oldie .flexnav li ul.open{
    display: block;
    overflow: visible; 
    width: 100%;
}
.oldie .flexnav li ul.open li{
    width: 100%;
}
.oldie .flexnav li ul.open ul.open{
    top: 0;
    display: block;
    overflow: visible; 
    width: 100%;
    margin-left: 100%;
}
.oldie .flexnav ul li:hover ul{
    top: 0; 
    margin-left: 100%;
}
.oldie .menu-button{
    display: none;
}
.oldie.ie7 .flexnav li{
    width: 19.9%;
}

/* Subnav Styles */
.subnav ul{
    padding-left: 0;
    list-style-type: none;
}
.subnav ul li ul{
    display: none;
    padding-left: 10px;
}
.subnav ul li a{
    font-size: 1rem;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    color: #f7b71a;
    border-bottom: 1px solid #7e6b54;
}
.subnav ul li a:hover{
    color: white;
}
.subnav ul li ul li a{
    color: white;
}
.subnav ul li ul li a:hover{
    color: #f7b71a;
}
