.dropdown-menu {
    padding: 0;
}

    .dropdown-menu > li > a {
        font-size: 16px;
        padding: 7px 15px 7px 15px !important;
        font-family: Georgia, 'Times New Roman', Times, serif;
        border-color: none;
        background: #666;
    }

.navbar {
    margin-bottom: 0;
    width: 100%;
    background: #333;
}

.navbar-nav > li {
    padding: 0px;
}

.navbar-nav ul .sub-arrow {
    position: absolute;
    right: 0;
    margin-top: 10px;
    margin-right: 3px;
    border-top: 4px dashed transparent;
    border-bottom: 4px dashed transparent;
    border-left: 4px solid;
}

.nav .open > a, .nav .open > a:hover {
    border: 0px;
}

.navbar-nav > li > a {
    line-height: inherit;
    text-decoration: none;
}

.navbar-nav a {
    text-decoration: none;
}

.affix {
    top: 0;
    position: fixed !important;
}

.navbar-static-top {
    /*position: inherit !important;*/
}
/* screw writing importants and shit, just stick it in max width since these classes are not shared between sizes */
@media (max-width:767px) {
    #slide-nav .container {
        margin: 0 !important;
        padding: 0 !important;
        height: 100%;
    }

    #slide-nav .navbar-header {
        margin: 0 auto;
        padding: 0 25px;
    }

    #slide-nav .navbar.slide-active {
        position: absolute;
        width: 80%;
        top: -1px;
        z-index: 1000;
    }

    #slide-nav #slidemenu {
        background: #4c4c4c;
        left: -100%;
        width: 80%;
        min-width: 0;
        position: absolute;
        padding-left: 0;
        z-index: 2;
        top: -8px;
        margin: 0;
        height: auto;
    }

        #slide-nav #slidemenu .navbar-nav {
            min-width: 0;
            width: 100%;
            margin: 0;
            overflow: auto;
        }

            #slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
                min-width: 0;
                width: 80%;
                white-space: normal;
            }

    #slide-nav {
        border-top: 0;
        border-bottom: 1px solid;
    }

        #slide-nav.navbar-inverse #slidemenu {
            background: #333;
        }
    /* this is behind the navigation but the navigation is not inside it so that the navigation is accessible and scrolls*/
    #navbar-height-col {
        position: fixed;
        top: 0;
        height: 100%;
        bottom: 0;
        width: 80%;
        left: -80%;
        background: #f7f7f7;
    }

        #navbar-height-col.inverse {
            background: #333;
            z-index: 1;
            border: 0;
        }

    #slide-nav .navbar-form {
        width: 100%;
        margin: 8px 0;
        text-align: center;
        overflow: hidden;
        /*fast clearfixer*/
    }

        #slide-nav .navbar-form .form-control {
            text-align: center;
        }

        #slide-nav .navbar-form .btn {
            width: 100%;
        }

    .navbar-nav > li > a {
        color: #fff !important;
    }

    .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
        background-color: #808080 !important;
    }

    .navbar-nav, .navbar-collapse.collapse {
        overflow: visible;
        margin-top: 0px !important;
    }
}

@media (min-width:768px) {
    #page-content {
        left: 0 !important;
    }

    .navbar.navbar-fixed-top.slide-active {
        position: fixed;
    }

    .navbar-header {
        left: 0 !important;
    }

    .navbar-nav, .navbar-collapse.collapse {
        display: table;
        margin: auto;
        overflow: visible;
    }
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

ul.dropdown-menu {
    overflow: visible;
    border: none;
    border-radius: 0px;
}


/*nav-bar*/
@media (max-device-width: 767px) {
    #slidemenu > .navbar-nav {
        padding-bottom: 20px;
    }

    .nav > li {
        background: #555;
        border-bottom: 1px solid #484848;
    }

        .nav > li a {
            color: white;
        }

    #slidemenu #search {
        background: #333;
    }

    #slide-nav .navbar-form {
        margin: 8px 0px 0px 0px;
    }

        #slide-nav .navbar-form input {
            background: #555 !important;
            border: 0px;
        }

        #slide-nav .navbar-form .input-group-btn > .btn {
            background: #555 !important;
            border: 1px solid #555;
        }

    .nav > li > a:hover {
        text-decoration: none;
        background-color: #666;
    }

    .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
        text-decoration: none;
        background-color: #666;
    }
}

.navbar, .navbar-default {
    border-radius: 0px !important;
    border: none;
    border-color: none !important;
    z-index: 999;
}

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: none;
    }
