/* Flexnav Base Styles */

.flexnav{
    position: relative;
    z-index: 9999;
    overflow: hidden;
    width: 100%;
    max-height: 0;
    margin: 0 auto;
    padding: 0;
    -webkit-transition: none;
       -moz-transition: none;
        -ms-transition: none;
            transition: none;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
            list-style: none;
}

.flexnav.flexnav--opacity{
    opacity: 0;
}

.flexnav.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 li{
    font-size: 100%;
    position: relative;
    overflow: hidden;
}

.flexnav li a{
    text-decoration: none;
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    padding: 0.96em;
    color: #ffffff;
}

.flexnav li a:visited{
    color: #ffffff;
}

.flexnav > li:hover,
.flexnav > li:focus{
    background-color: #505050;
}

.flexnav li ul{
    width: 100%;
    padding: 0;
    list-style: none;
}

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

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

.flexnav li ul li{
    background: #505050;
}

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

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

.flexnav .flexnav__btn__touch{
    text-align: center;
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: transparent;
}

.flexnav .flexnav__btn__touch:hover{
    cursor: pointer;
}

.flexnav .flexnav__btn__touch .flexnav__btn__touch__ico{
    font-size: 12px;
    position: relative;
    top: 1.4em;
    color: transparent;
}

.flexnav__btn .flexnav__btn__touch{
    text-align: center;
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: transparent;
}

.flexnav__btn .flexnav__btn__touch .flexnav__btn__touch__ico{
    font-size: 16px;
    position: relative;
    top: 1em;
    color: #666666;
}


/*-------------------*/

.flexnav__btn{
    font-size: 1.25rem;
    font-weight: 300;
    text-align: right;
    position: relative;
    z-index: 900;
    top: 0;
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 1em 0.5em;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    color: #aaaaaa;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.flexnav__btn__touch{
    text-align: center;
    position: absolute;
    z-index: 999;
    top: 5px;
    right: 0;
    display: inline-block;
    width: 35px;
    height: 35px;
    background: transparent;
}

.flexnav .flexnav__btn__touch svg{
    width: 100%;
    max-height: 24px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
    fill: #ffffff;
    stroke: #ffffff;
    stroke-width: 1px;
}

.flexnav .flexnav__btn__touch:focus,
.flexnav .flexnav__btn__touch svg:focus,
.flexnav .flexnav__btn__touch svg use:focus{
    outline: none;
}

.flexnav .flexnav__btn__touch.active svg,
.flexnav .flexnav__btn__touch.active:after{
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}

.flexnav .flexnav__btn__touch .flexnav__btn__touch__ico{
    font-size: 12px;
    position: relative;
    top: 1em;
    color: #ffffff;
}

.flexnav__btn .flexnav__btn__touch{
    top: 50%;
    left: 0.5em;
    width: 50px;
    height: 30px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    border-radius: 100%;
}

.flexnav__btn .flexnav__btn__touch .flexnav__btn__touch__ico{
    position: absolute;
    top: 12px;
    right: 4px;
    left: 4px;
    display: block;
    height: 2px;
    -webkit-transition: background 0.2s;
            transition: background 0.2s;
    background: #ffffff;
}

.flexnav__btn .flexnav__btn__touch .flexnav__btn__touch__ico:before,
.flexnav__btn .flexnav__btn__touch .flexnav__btn__touch__ico:after{
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    -webkit-transition-delay: 0.3s, 0s;
            transition-delay: 0.3s, 0s;
    -webkit-transition-duration: 0.3s, 0.3s;
            transition-duration: 0.3s, 0.3s;
    -webkit-transition-property: top, -webkit-transform;
            transition-property: top, transform;
    background-color: #ffffff;
}

.flexnav__btn .flexnav__btn__touch .flexnav__btn__touch__ico:after{
    top: auto;
    bottom: -12px;
}

.flexnav__btn .flexnav__btn__touch.active .flexnav__btn__touch__ico{
    background: transparent;
}

.flexnav__btn .flexnav__btn__touch.active .flexnav__btn__touch__ico:before,
.flexnav__btn .flexnav__btn__touch.active .flexnav__btn__touch__ico:after{
    -webkit-transition-delay: 0.3s, 0s;
            transition-delay: 0s, 0.3s;
    -webkit-transition-duration: 0.3s, 0.3s;
            transition-duration: 0.3s, 0.3s;
}

.flexnav__btn .flexnav__btn__touch.active .flexnav__btn__touch__ico:before{
    top: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.flexnav__btn .flexnav__btn__touch.active .flexnav__btn__touch__ico:after{
    bottom: 0;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}


/*************
Subnav Styles
*************/

.subnav{
    width: 300px;
    background-color: #343434;
}

h2.subnav__title{
    font-family: 'acumin-pro', sans-serif;
    font-size: 1.25rem;
    font-weight: normal;
    position: relative;
    margin: 0;
    padding: 80px 1rem 0.25rem;
    color: #ffffff;
}

.content-area__main .subnav__title a:not([class]){
    text-decoration: none;
    color: currentColor;
}

.subnav ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.subnav ul li{
    margin: 0.5em 0;
    padding: 0 1em;
    -webkit-transition: all 250ms ease-out;
            transition: all 250ms ease-out;
}

.subnav ul li:hover{
    background: #505050;
}

.subnav ul li a{
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    display: block;
    padding: 0.75rem 0;
    color: #c3c3c3;
}

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

.subnav ul li ul{
    display: none;
}

@media all and (min-width: 1024px){
    .flexnav{
        display: -webkit-box;
        display:    -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display:         flex;
                justify-content: space-around;
                align-items: center;
                align-content: center;
        overflow: visible;
        height: auto;
        max-height: none;

        -webkit-align-content: center;
        -webkit-align-items: center;
        -webkit-box-align: center;
           -moz-box-align: center;
        -webkit-box-pack: justify;
           -moz-box-pack: justify;
        -ms-flex-align: center;
        -ms-flex-line-pack: center;
        -ms-flex-pack: justify;
        -webkit-justify-content: space-around;
    }
    .flexnav.flexnav--opacity{
        opacity: 1;
    }
    .flexnav li{
        text-align: center;
        position: relative;
        display: block;
                flex: 1 1 auto;
        float: left;
        overflow: visible;
        list-style: none;

        -webkit-flex: 1 1 auto;
            -ms-flex: 1 1 auto;
    }
    .flexnav ul li:hover{
        background-color: #343434;
    }
    .flexnav > li > a{
        padding: 1.625em 0.96em;
    }
    .flexnav li a{
        border-bottom: none;
    }
    .flexnav > li:first-child > ul{
        display: -ms-flexbox;
        display: -webkit-flex;
        display:         flex;
                flex-flow: row wrap;
        width: 200%;

        -webkit-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
    }
    .flexnav > li:first-child > ul > li{
        flex: 1 1 50%;
    }
    .flexnav li > ul{
        position: absolute;
        top: auto;
        left: 0;
        margin: 0;
        padding: 0;
    }
    .flexnav li > ul li{
        width: 100%;
    }
    .flexnav li ul li > ul{
        top: 0;
        margin-left: 100%;
    }
    .flexnav li ul li a{
        padding: 0.5rem 0.96rem;
        border-bottom: none;
    }
    .flexnav li ul.flexnav--open{
        z-index: 1;
        display: block;
        visibility: visible;
        opacity: 1;
    }
    .flexnav li ul.flexnav--open li{
        overflow: visible;
        max-height: 100px;
    }
    .flexnav li ul.flexnav--open ul.flexnav--open{
        top: 0;
        margin-left: 100%;
    }
    .flexnav__btn{
        display: none;
    }
}


/* Flexbox Fallback */

.no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav{
    display: inline-block;
}

.no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav li{
    width: 100%;
}

.no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav li ul li{
    width: 100%;
}

@media all and (min-width: 641px){
    .no-flexbox.no-flexboxlegacy.no-flexboxtweener .flexnav li{
        width: 20%;
    }
}
@media all and (min-width: 1024px){
    .flexnav .flexnav__btn__touch{
        height: 100%;
    }
    .flexnav .flexnav__btn__touch .flexnav__btn__touch__ico{
        top: 2.25em;
    }
}
