.nav-pills > li > a {
    border-radius: 0;
}

.navbar {
    min-height: 60px !important;
    margin-bottom: 0px !important;
    padding-left: 10px !important;
    padding-right: 5px !important;
    padding-top: 5px !important;
}

.search-box-top {
    padding-top: 1px;
}

#wrapper {
    padding-left: 0;
    height: calc( 100% );
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    //overflow: hidden;
    overflow: auto;
}

#wrapper.toggled {
    padding-left: 250px;
    overflow: hidden;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: calc( 100% );
    margin-left: -250px;
    overflow-y: auto;
    overflow-x: clip;
    background: #000 !important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    position: absolute;
    padding-top: 0 !important;
    //padding-bottom: 50px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.xyz {
    min-width: 360px;
    background-image: url("images/escheresque_@2X.png");
    background-repeat: repeat;
    //padding-left: 5px !important;
    //padding-right: 5px !important;
}

#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px;
}

.fixed-brand {
    width: auto;
}
/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    //position: fixed;
    //top: 62px;
    width: 250px;
    margin: 0;
    padding: 0;
    //padding-top: 58px;
    list-style: none;
    //margin-top: 2px;
    font-size: 14px;
}

.sidebar-nav li {
    //text-indent: 15px;
    text-indent: 3px;
    line-height: 25px;
}

.nav-pills>li+li {
    margin-top: 0px!important; // 2px by default
}
.sidebar-nav li a {
    display: block;
    text-decoration: none;
    //color: #999999;
    color: white;
    background: #000;
    //border-bottom: 0 !important;
}


.sidebar-nav li a:hover, .sidebar-nav li a:focus {
    text-decoration: none;
    color: white;
    background-color: gray;
    //border-left: black 2px solid;
}


.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    //background: none;
}

.nav-pills > li.active > a {
    //background-color: gray;
}

.no-margin {
    margin: 0;
}

.content-searchbar {
    display: none;
}

@media (max-width: 900px) {
    .search-box-top {
        display: none;
    }
    .content-searchbar {
        display: block;
    }
    .menu-logout {
        display: none;
    }
    #page-content-wrapper.container-fluid {
        overflow-x: scroll !important;
    }
}
@media (min-width: 768px) {

    #wrapper {
        padding-left: 250px;
    }
    .fixed-brand {
        width: 250px;
    }
    #wrapper.toggled {
        padding-left: 0;
    }
    #sidebar-wrapper {
        width: 250px;
    }
    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }
    #wrapper.toggled-2 #sidebar-wrapper {
        width: 50px;
    }
    #wrapper.toggled-2 #sidebar-wrapper:hover {
        width: 250px;
    }
    #page-content-wrapper {
        //padding: 20px;
        position: relative;
        //z-index: 1000;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }
    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
        padding-left: 250px;
    }
    #wrapper.toggled-2 #page-content-wrapper {
        position: relative;
        margin-right: 0;
        margin-left: -200px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        width: auto;
    }
}

.kv-sidenav li a {
    border-bottom: 0 !important;
}

html, body{ height:100%;}

body {
    display: flex;
    flex-direction: column;
    padding-top: 65px;
}
.content {
    flex: 1 0 auto;
}

footer {
    height: 50px;
    text-align: center;
    background-color: steelblue;
    border-top: 1px solid blue;
    position: relative;
    width: 100%;
}

.white, .white a {
    color: #fff;
}

.disable-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by any browser but < IE9 */
}

