/*!
 * Start Bootstrap - Simple Sidebar (https://startbootstrap.com/template-overviews/simple-sidebar)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/master/LICENSE)
 */

body {
  overflow-x: hidden;
}

#wrapper {
  z-index: -1!important;
  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;
  /* box-shadow: -100px 0px 100px 10px #000000; */

}

#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: #000;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background-image: url('../img/header.jpg');
  background-position: center;
  background-size: cover;
  box-shadow: inset 0px 0px 15px rgb(0 0 0 / 30%); 
}

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

#page-content-wrapper {
  width: 100%;
  position: absolute;
  padding: 20px;
  /* float: right; */
  /*box-shadow: -5px 0px 15px 0 rgb(0 0 0 / 10%);*/
  padding-top: 90px;
}

#wrapper.toggled #page-content-wrapper {
  position: relative;
  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: 40px;
}

.sidebar-nav li a {
  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: 65px;
  font-size: 18px;
  line-height: 60px;
}

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

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

#main_header {
  border-radius: 15px;
  background-color: rgba(1, 1, 1, 0.3);
  padding: 10px;
}

/* Tooltip container */
.tooltip_host {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip_host .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 7px;
  border-radius: 6px;
  font-size: 0.8em;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  bottom: 100%;
  left: 50%;
  /*margin-left: -50%;*/
  z-index: 1;
  /*opacity: 0.75;*/
  opacity: 0.8;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip_host:hover .tooltiptext {
  visibility: visible;
}

#menu-toggle {
  margin: 15px;
}

@media(max-width:1090px) {
  #wrapper {
    padding-left: 0;
  }
  #wrapper.toggled {
    padding-left: 90px;
  }
  #sidebar-wrapper {
    width: 0px;
  }
  #wrapper.toggled #sidebar-wrapper {
    width: 90px;
  }
  #page-content-wrapper {
    padding: 20px;
    position: relative;
    padding-top: 90px;
    -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;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-brand {
    display: flex;
    width: 90px!important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-toggler {
    display: none;
}

@media(min-width:1090px) {
  #wrapper {
    padding-left: 0;
  }
  #wrapper.toggled {
    padding-left: 250px;
  }
  #sidebar-wrapper {
    width: 0;
  }
  #wrapper.toggled #sidebar-wrapper {
    width: 250px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  #page-content-wrapper {
    padding: 20px;
    position: relative;
    padding-top: 75px;
  }
  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
  .navbar-brand {
    display: flex;
    width: 250px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
}

@media(min-width:500px){
  .navbar-nav {
    /*flex-direction: row;*/
    flex-direction: column;
  }
  .navbar-collapse {
    /*display: flex;*/
    width: 100%;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-nav > .nav-item {
    background-color: #234d06;
  }
  .navbar-nav > li.nav-item > a.nav-link {
    border: none!important;
  }
  .navbar-nav > li.nav-item > a.nav-link:hover {
    border: none!important;
  }
}

@media(max-width:992px) {
  #wrapper {
    padding-left: 0;
  }
  #wrapper.toggled {
    padding-left: 0px;
  }
  #sidebar-wrapper {
    width: 0px;
  }
  #wrapper.toggled #sidebar-wrapper {
    width: 0px;
  }
  #page-content-wrapper {
    padding: 20px;
    position: relative;
    padding-top: 90px;
    -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;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-brand {
    display: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-toggler {
    display: flex;
    position: absolute;
    right: 7px;
    top: 7px;
  }
  .navbar-toggler:focus {
    outline: 3px solid;
  }


@media(max-width:845px) {
  #wrapper {
    padding-left: 0;
  }
  #wrapper.toggled {
    padding-left: 0px;
  }
  #sidebar-wrapper {
    width: 0px;
  }
  #wrapper.toggled #sidebar-wrapper {
    width: 0px;
  }
  #page-content-wrapper {
    padding: 20px;
    position: relative;
    padding-top: 90px;
    -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;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .navbar-brand {
    display: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
}
