﻿.nav-lock-scroll {
    overflow: hidden;
}

.nav {
    /*display: none;*/
    /*position: fixed;*/
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    overflow-x: hidden;
    /*overflow-y: auto;*/
}

    .nav ul {
        /*display: table;*/
        position: relative;
        zoom: 1;
        list-style-type: none;
        margin: 0;
        padding: 0;
        width: 753px;
    }

    .nav a,
    .nav a:hover,
    .nav a:active,
    .nav a:visited {
        position: relative;
    }

@media only screen and (min-width: 1px) {

    .nav {
        display: block;
        position: relative;
        bottom: auto;
        overflow: visible;
    }

        .nav li {
            position: relative;
            white-space: nowrap;
        }

        .nav > ul > li {
            display: inline;
            padding: 5.8px;
            margin: 0;
        }

        .nav ul ul {
            display: none;
            position: absolute;
            top: 10;
            left: 0;
            z-index: 1000;
        }

            .nav ul ul ul {
                top: 5px;
                left: 95%;
                z-index: 902;
            }

                .nav ul ul ul ul {
                    z-index: 903;
                }

                    .nav ul ul ul ul ul {
                        z-index: 904;
                    }

            .nav ul ul li.nav-left > ul {
                left: auto;
                right: 95%;
            }

        .nav li:hover > ul {
            display: block;
        }
}

@media only screen and (max-width: 959px) {

    .nav-button:hover + .nav,
    .nav:hover,
    .nav-button:hover + .nav + .nav-close,
    .nav:hover + .nav-close {
        display: block;
    }
}
