/* Flexnav Base Styles */

.touch-button {/*display:none;*/float:right;}
.touch-button i {font-style: normal;}
@media all and (max-width: 1024px) {

    .flexnav {
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        transition: none;
        -webkit-transform-style: preserve-3d;
        overflow: hidden !important;
        margin: 0 auto;
        width: 100%;
        max-height: 0;
    }

        .flexnav.opacity {
            opacity: 0;
        }

        .flexnav.flexnav-show {
            max-height: 2000px;
            opacity: 1;
            -webkit-transition: all .5s ease-in-out;
            -moz-transition: all .5s ease-in-out;
            -ms-transition: all .5s ease-in-out;
            transition: all .5s ease-in-out;
              height: inherit !important;
        }

        .flexnav.one-page {
            position: fixed;
            top: 50px;
            right: 5%;
            max-width: 200px;
        }

        .flexnav li {
            font-size: 100%;
            position: relative;
            overflow: hidden;
            width: 100%;
        }

            .flexnav li a {
                position: relative;
                display: block;
                padding: .6em;
                z-index: 2;
                overflow: hidden;
                color: #222222;
                background: #99c7e9;
                //border-bottom: 1px solid rgba(0, 0, 0, 0.15);
            }

            .flexnav li ul {
                width: 100%;
            }

                .flexnav li ul li {
                    font-size: 100%;
                    position: relative;
                    overflow: hidden;
                }

                .flexnav li ul.flexnav-show li {
                    overflow: visible;
                }

                .flexnav li ul li a {
                    display: block;
                    background: #b2b2af;
                }

        .flexnav ul li ul li a {
            background: #bfbfbc;
        }

        .flexnav ul li ul li ul li a {
            background: #cbcbc9;
        }

        .flexnav .touch-button {
            position: absolute;
            z-index: 999;
            top: 0;
            right: 0;
            width: 50px;
            height: 50px;
            display: none;
            background: #acaca1;
            background: rgba(0, 0, 0, 0.075);
            text-align: center;

        }

            .flexnav .touch-button:hover {
                cursor: pointer;
            }

            .flexnav .touch-button .navicon {
                position: relative;
                top: 1.4em;
                font-size: 12px;
                color: #666;
            }

    .menu-button {
        margin-top:10px;
        position: relative;
        display: block;
        padding: 8px;
        background: #a6a6a2;
        color: #222222;
        cursor: pointer;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }

        .menu-button.one-page {
            position: fixed;
            top: 0;
            right: 5%;
            padding-right: 45px;
        }
}
@media all and (min-width: 1025px) {
    body.one-page {
        padding-top: 70px;
    }

    .flexnav {
        overflow: visible;
    }

        .flexnav.opacity {
            opacity: 1;
        }

    .touch-button {display:none;float:right;}

    .menu-button {
        display: none;
    }

    .oldie .menu-button {
        display: none;
    }
}
