/*!
 * 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 */

.navbar {
	z-index: 900;
}

#menu-toggle:focus {
	outline-style: none;
}

.floating-navbar-header {
	float: left;
}

	.floating-navbar-header span.navbar-brand {
		display: none;
	}

.floating-navbar-right {
	float:right;
	margin:0;
	margin-right: 10px;
}

.navbar-btn {
	margin-left:1ex;
}

#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: 50px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 300px;
    width: 0;
    height: 100%;
    margin-left: -300px;
    overflow-y: auto;
    background: #333;
    background-color: rgba(48, 48, 48, 0.95);
    -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: 300px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 0px;
    padding-top: 70px;
}

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

.navbar-nav > li {
		float : left;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 300px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 15px;
    line-height: 35px;
}

.sidebar-nav li span {
	cursor: pointer;
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li span:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

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

.sidebar-nav li a {
	cursor: pointer;
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

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

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

.sidebar-nav > .sidebar-brand:hover {
	    background-color: rgba(80, 150, 80, 0.8);
}

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

.sidebar-nav > .sidebar-brand span:hover {
    color: #fff;
    background: none;

}

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

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

ul.sidebar-nav {
	counter-reset: chapitre-num;
}

ul.sidebar-nav li.chapitres a:before {
    content: counter(chapitre-num);
    display: inline;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
    padding: 5px 9px;
    margin-right: 0.5ex;
    counter-increment: chapitre-num;
  }

ul.sidebar-nav li hr {
	margin:0;
}

@media(min-width:768px) {

	.floating-navbar-header span.navbar-brand {
		font-style: italic;
		display: block;
	}

    #wrapper.toggled {
        padding-left: 50px;
    }

    #wrapper {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 0;
    }

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

   	#wrapper.toggled #page-content-wrapper {
        padding: 20px;
        padding-top:70px;
        position: relative;
    }

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