/* Flexnav Base Styles */

@media only screen and (max-width:767px) {


    #site-header {
        position: relative;
        top: 0px;
        z-index: 999999;
    }

    .menu-button {
    background: url(images/mob_menu_icon.png) left 4% center no-repeat;
    display: block;
    top: 27px;
    height: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 10000;
    float: left;
    left: 6%;
    position: absolute;
    margin: 20px 0 0;
    background-size: 28px;
    }
    .mobile_menu_box {
        margin: 0;
        padding: 0;
        float: left;
        width: 100%;
        position: relative;
        top: -2px;
        display: block !important;
    }

    .flexnav{
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        transition: none;
        -webkit-transform-style: preserve-3d;
        /*	overflow: hidden;*/
        margin: 0 auto;
        width: 100%;
        max-height: 0;
        position:absolute;
        left:0;
        z-index:999;
        border-top: 2px solid #469696;
        border-bottom: 2px solid #469696;
    }

    .flexnav ul{
        margin:0 0 0 0;
        padding:0;
        float:left;
        width:100%;
        position:relative;
        list-style:none;
    }

    .flexnav .menu-header > ul{
        margin:2px 0 0 0;
    }

    .flexnav.opacity {
        display: none;
        z-index: -999999999;
    }

    .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;
        z-index: 100;
        border-top: 1px solid #dbdcdd;
        border-bottom: 1px solid #dbdcdd;
        display:block;
    }
    .menu-button h2.entry-title {
        text-align: center;
        padding: 15px 0 0 0;
        color: #3736fc;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        text-transform: none;
    }
    .flexnav.one-page {
        position: fixed;
        top: 50px;
        right: 5%;
        max-width: 200px;
    }

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

    .flexnav li a {
        position: relative;
        display: block;
        padding: 0 27px;
        z-index: 2;
        font-size: 12px;
        line-height: 38px;
        font-weight: 700;
        overflow: hidden;
        color: #469696;
        letter-spacing: 1px;
        background: #fff;
        text-decoration: none;
        border-bottom: 1px solid #dbdcdd;
        text-transform: uppercase;
    }
    .flexnav li a:hover {
        background: #469696;
        color: #fff;
    }
    .flexnav li.current_page_item > a,
    .flexnav li.current-menu-ancestor > a,
    .flexnav li.current-menu-item > a,
    .flexnav li.current-menu-parent > a
    {
        background: #469696;
        color: #fff;
    }

    .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: #2ca349;
        padding: 0 45px;
        font-size: 15px;
        border-bottom: 1px solid #117c2b;
    }

    .flexnav ul li ul li > a {
        background: #2ca349;
        padding: 0 60px;
        border-bottom: 1px solid #117c2b;
    }

    .flexnav ul li ul li ul li a {
        background: #2ca349;
        padding: 0 75px;
    }

    .flexnav .touch-button {
        position: absolute;
        z-index: 999;
        top: 0;
        right: 0;
        width: 50px;
        height: 45px;
        display: inline-block;
        background: #abd9e9;
        background: rgba(76, 76, 76, 0.15);
        text-align: center;
        border-left: 1px solid rgba(0, 0, 0, 0.15);
    }

    .flexnav li ul li .touch-button {
        height: 44px;
    }

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

    .flexnav .touch-button .navicon {
        position: relative;
        top: 15px;
        font-size: 12px;
        color: #fff;
        font-style: normal;
    }

    .menu-button:after{
        content: '';
        margin: 0;
        padding: 0;
        width: 15px;
        height: 12px;
        background: url(images/mobile_nav_bt.png) 0 0 no-repeat;
        position: absolute;
        top: 11px;
        right: 12px;
        display:none;
    }

    .menu-button.one-page {
        position: fixed;
        top: 0;
        right: 5%;
        padding-right: 45px;
    }

    .menu-button .touch-button {
        background: transparent;
        position: absolute;
        z-index: 999;
        top: 0;
        right: 0;
        width: 50px;
        height: 50px;
        display:none;
        text-align: center;
    }

    .menu-button .touch-button .navicon {
        font-size: 16px;
        position: relative;
        top: 1em;
        color: #666;
    }


}