/*!
 * 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;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: linear-gradient(to top, #5d544e, #212121, #131313,black);
    background-size: contain;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-right: solid 1px black;

}

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

#page-content-wrapper {
    width: 100%;
    position: relative;
    padding: 15px;
}

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

/* Sidebar Styles */

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

.sidebar-nav li {
    text-indent: 20px;
    line-height: 50px;
}

.sidebar-nav li ul a {
    text-indent: 40px;
    line-height: 50px;
    background-color: #003366;
  
    transition: 0.5s;
    -webkit- transition: .5s;
}

.sidebar-nav li ul a:hover {
border-left-color: #e5dedd;
}

.sidebar-nav li ul  {
    margin-left: -40px;
    background-color: #e5dedd;
    color:  white;
}




.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: rgba(255, 247, 246, 1);
    font-family: 'Catamaran', helvetica neue, serif; 
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: white;
}

.sidebar-nav li ul a:hover  {
    color:  white;
    background-color: #003366;
}

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

.sidebar-nav > .sidebar-brand {
    height: 70px;
    
    line-height: 50px;
    
}

.sidebar-nav > .sidebar-brand a {
    color:  #282729;
    font-family: "Goudy Bookletter 1911", serif;
}


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

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

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

    #sidebar-wrapper {
        width: 250px;
    }

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

    #page-content-wrapper {
        padding: 0px;
        padding-top: 0px;
        position: relative;
       
    }

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

 li:hover .submenu {
  display: block;
  max-height: 5000px;
}


.submenu a {
  background-color: #999;
}

/* hover behaviour for links inside .submenu */
.submenu a:hover {
  background-color: #666;
}

/* this is the initial state of all submenus.
  we set it to max-height: 0, and hide the overflowed content.
*/
.submenu {
  overflow: hidden;
  max-height: 0;
  transition: all 1.3s ease-out;
  -webkit-transition: all 1.3s ease-out;
    
}
@media(max-width:430px) {
    .sidebar-nav > .sidebar-brand{height: 85px}

}
