/* 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{
    display: none;
    padding-left: 0;
    list-style: none;
}

.flexnav li{
    font-size: 100%;
    position: relative;
    overflow: hidden;
}

.flexnav li a{
    font-family: 'effra', sans-serif;
    text-decoration: none;
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    padding: 0.96em;
    color: #000000;
    border-bottom: 1px solid #62ccca;
    background: #ffffff;
}

.flexnav li a:hover{
    color: #62ccca;
}

.flexnav li ul{
    width: 100%;
}

.flexnav li ul li{
    font-size: 100%;
    position: relative;
    float: none;
    overflow: hidden;
}

.flexnav li ul.show li{
    overflow: visible;
}

.flexnav li ul li a{
    display: block;
    color: #000000;
    border-bottom: 1px solid #62ccca;
    background: #ececec;
}

.flexnav ul li ul li a{
    background: #bfbfbc;
}

.flexnav ul li ul li ul li a{
    background: #cbcbc9;
}

.flexnav .touch-button{
    text-align: center;
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #acaca1;
    background: rgba(0, 0, 0, 0.075);
}

.flexnav .touch-button:hover{
    cursor: pointer;
}

.navicon{
    font-style: normal;
}

.flexnav .touch-button .navicon{
    font-size: 12px;
    position: relative;
    top: 1.4em;
    color: #666666;
}

.menu-button{
    position: relative;
    display: block;
    padding: 1em;
    cursor: pointer;
    color: #000000;
    background: #ececec;
}

.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{
    font-size: 16px;
    position: relative;
    top: 1em;
    color: #000000;
}

@media all and (min-width: 767px){
    .flexnav .touch-button{
        background-color: transparent;
    }
    body.one-page{
        padding-top: 70px;
    }
    .flexnav{
        display: inline-block;
        overflow: visible;
        width: auto;
        max-height: none;
    }
    .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;
        background: none;
    }
    .flexnav li a{
        font-size: 14px;
        padding: 0.7rem 0.47rem;
        border-bottom: none;
        border-left: 1px solid #62ccca;
        background: none;
    }
    .flexnav li a:hover{
        color: #000000;
    }
    .flexnav > li:first-child > a{
        border: none;
    }
    .flexnav > li:hover > a{
        padding-top: 0.5rem;
        border-top: 3px solid #62ccca;
    }
    .flexnav > li:hover > a.navOnlyLink{
        cursor: default;
    }
    .flexnav li > ul{
        text-align: left;
        position: absolute;
        top: auto;
        left: 0;
        width: 100%;
        min-width: 175px;
    }
    .flexnav li > ul li{
        width: 100%;
    }
    .flexnav li ul li > ul{
        top: 0;
        margin-left: 100%;
    }
    .flexnav li ul li a{
        font-size: 0.8rem;
        color: #ffffff;
        border-bottom: 1px solid #641b1e;
        border-left: none;
        background: #a93338;
    }
    .flexnav li ul li:hover a{
        padding-top: 0.7rem;
        color: #ffffff;
        border-top: none;
        background: #641b1e;
    }
    .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:767px) and (orientation:portrait){
    .flexnav > li{
        max-width: 90px;
    }
    .flexnav > li > a{
        height: 65px;
    }
}

.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;
    background-color: #a6a6a2;
}

.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;
    background: #acaca1;
}

.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;
}

.content .subnav ul li{
    font-size: 0.750rem;
    padding: 6px 0;
    border-bottom: 1px dotted #cac9bf;
}

.subnav ul li ul{
    display: none;
    padding-left: 10px;
}

.subnav ul li a{
    font-size: 1rem;
    text-decoration: none;
    color: #000000;
}

.subnav ul li a:hover{
    color: #a93338;
}

.subnav ul li ul li a{
    color: #6f6f6f;
}

.subnav h2,
.subnav h2 a,
.subnav h2 a:visited{
    font-family: 'adelle', serif;
    font-weight: 400;
    text-decoration: none;
    color: #757048;
}

.subnav h2 a:hover,
.subnav h2 a:active{
    font-family: 'adelle', serif;
    font-weight: 400;
    text-decoration: underline;
    color: #a93338;
}
