/* ------ Navigation ------ */
nav {
    background: white;
    /*height: 70px;*/
    line-height: 70px;
    transition: .25s all;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,.1);
    border-top: 1px solid rgba(0,0,0,.1);
    z-index: 1000;
    white-space: nowrap;
    overflow-x: auto;
}

    nav.tacked {
        position: sticky;
        top: 0;
    }

    nav .toggle {
        display: none;
    }

    nav li {
        display: inline-block;
        padding: 0 20px;
    }

    nav a {
        color: #494949 !important;
        display: block;
        /*padding: 0 20px;*/
        text-decoration: none;
        font-weight: 400;
        font-size: 17px;
    }

        nav a:hover {
            color: #494949 !important;
        }

        nav a:visited {
            color: #494949 !important;
        }

    nav li.active {
        /*background: rgba(159, 182, 223, .4);*/
        /*border-bottom: 3px solid #1b89b2;*/        
    }

    nav li:hover {        
        /*padding: 0 20px;*/
    }

        nav li.active a {
            /*text-decoration: underline solid #1b89b2;*/
            color: #494949;
            font-weight: 500;
            border-bottom: 3px solid #1b89b2;
            padding: 0;
        }

    /*scroll*/
    /*nav::-webkit-scrollbar {
    width: 1em;
}

nav::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

nav::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #c1c1c1;    
}

nav::-webkit-scrollbar:vertical {
    display: none;
}*/

    nav::-webkit-scrollbar {
        -webkit-appearance: none;
    }

        nav::-webkit-scrollbar:vertical {
            width: 11px;
        }

        nav::-webkit-scrollbar:horizontal {
            height: 11px;
        }

    nav::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 4px solid white;
        background-color: #d7d7d7;
        height: 10px;
    }

nav::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
}

/* ------ Panes ------ */
.panes li {
    border-bottom: 1px solid #fafafa;
    /*height: 450px;*/
    /*padding: 1em;*/
    padding-top: 2em;
    /*color:#fff;*/
    padding-right: 0;
    padding-left: 0;
}

@media (min-width: 767.99px) {
    nav li:hover {
        /*border-bottom: 3px solid #1b89b2;*/        
    }

    nav li a:hover {
        color: #494949;
        font-weight: 500;
        border-bottom: 3px solid #1b89b2;
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    nav {
        line-height: 50px;
    }

        nav a {
            padding: 0 12px;
        }

        nav li:hover {
            padding: 0 12px !important;
        }

        nav li.active {
            padding: 0 12px !important;
        }

        nav li a:hover {            
            padding: 0;
        }

    a:hover {
        color: #494949;
        text-decoration: none;
    }
}
