
/*!
  https://bootsnipp.com/snippets/7np2j

 * 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: hidden;
  /*padding-top: 50px;*/
}

#main {
    height: 100vh;
    padding: 0;
}

#wrapper {
  padding-left: 0;
  transition: all 0.5s ease;
  height: 100vh;
}

/*#wrapper.toggled {
  padding-right: 400px;
}*/

#sidebar-wrapper {
  z-index: 1000;
  position: absolute;
  right: 0;
  width: 455px;
  background-color: var(--primary-white-color, #ffffff);
  transition: all 0.5s ease;
  /* padding: 32px 32px 0; */
  overflow: hidden;
  height: 100vh;
  border: none;
}

/* The sidebar changes height and width depending on the distance method (expanded vs shrunken)
 and whether  the scrollbar is visible (wide vs narrow). Add a bottom margin to */
/* #sidebar-wrapper.expanded {
  max-height: 673px;
}

#sidebar-wrapper.shrunken {
  max-height: 580px;
} */

/* #sidebar-wrapper.narrow {
  width: 400px;
}

#sidebar-wrapper.wide {
  width: 420px;
} */

/* Ensure that the sidebar is visible on a 1280 x 720 laptop */
/*@media screen and ( max-height: 600px ) {
  #sidebar-wrapper {
    background: pink;
    height: 575px;
  }
}*/

/* Leave space for the right-hand map icons beside the sidebar wrapper. Make
room for the scrollbar if necessary

 */
.esri-ui-top-right.narrow {
  right: 410px;
}

.esri-ui-top-right.wide {
  right: 425px;
}

/*#wrapper.toggled #sidebar-wrapper {
  width: 400px;
}*/

#page-content-wrapper {
  height: 100%;
  /* position: absolute; */
  width: calc(100% - 455px);
  /*padding: 15px;*/
}

#wrapper.toggled #page-content-wrapper {
  position: absolute;
  margin-right: 0px;
}


/* Sidebar Styles */

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 400px;
  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;
}

@media(min-width:768px) {
  #wrapper {
    padding-left: 0;
  }

  #page-content-wrapper {
    /*padding: 20px;*/
    position: relative;
  }
  #wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0;
  }
}

/*# sourceMappingURL=sourcemaps/sidebar.css.map */
