/*!
 * Start Bootstrap - Simple Sidebar (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

 body {
    overflow-x: hidden;
 }

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -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 {
    padding-left: 250px;	
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    /* right: 250px; */
    left: 0;
    width: 100%;
    height: 100%;
    /* margin-right: -250px; */
    transform: translateX(-100%);
    overflow-y: hidden;
    /* background: #f6f6f6; */
    background: #fff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
}

#wrapper.toggled #sidebar-wrapper {
    /* width: 250px; */
    width: 100%;
    transform: translateX(0);
	border: 1px solid #ddd;  
    -webkit-box-shadow: 0px 0px 27px 1px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 27px 1px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 27px 1px rgba(0, 0, 0, 0.75);
}

#page-content-wrapper {
    width: 100%;
    position: absolute;    
	background:#f5f8fa !important;
    overflow-x: hidden !important;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: relative;
    top: 0;
    /* width: 250px; */
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    line-height: 25px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
	white-space: pre-line;
    z-index: 1000;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color:  #38c;
    /*background-color: #ededed;
    border-color: #ddd;*/
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.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;
}
.sidebar-nav li ul{
	position: relative;
	height:auto !important;
	position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.welcomeuser{margin-left:-150px;float: left;padding-top: 14px;}
@media(min-width:768px) {
    #wrapper {
        padding-left: 25%;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 25%;
        transform: none;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
        transform: none;
    }

    #page-content-wrapper {
        position: relative;
		left: 25%;
		width:75%;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
	.welcomeuser{margin-left:0px;float: left;padding-top: 0px;
    margin-top: -10px;}
	.sidebar-nav{width:100%}
	
	#sidebar-wrapper {
    left: 250px;
    margin-left: -250px;   
	}
}

.sidebar-scrollable-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}