/*!
 * 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)
 */
/*
    DEMO STYLE
*/
p {
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7em;
  color: #999;
}

a,
a:hover,
a:focus {
  text-decoration: none;
  transition: all 0.3s;
}

.navbar {
  padding: 15px 10px;
  background: #fff;
  border: none;
  border-radius: 0;
  margin-bottom: 40px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
  box-shadow: none;
  outline: none !important;
  border: none;
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
  display: flex;
  align-items: stretch;
}

#content, .with-sidebar {
  /*margin-left: 250px;*/
}

#sidebar.active + #content {
    margin-left: 0px;
}

#sidebar {
  z-index: 1000;
  /*height: 100%;*/
  min-height: 100vh;
  min-width: 250px;
  max-width: 250px;
  background: #7386D5;
  color: #fff;
  transition: all 0.3s;
  border-left: 5px solid #6eab28;
  box-sizing: border-box;
  /*position: fixed;*/
  bottom: 0px;
  position: -webkit-sticky;
  position: sticky;
}

#sidebar:not(.active) {
  margin-left: 0px;
}

#sidebar.active {
  margin-left: -250px;
}  

#sidebar .sidebar-header {
  padding: 20px;
}

#sidebar ul.components {
  margin-top: 70px;
  padding: 20px 0;
}

#sidebar ul p {
  color: #fff;
  padding: 10px;
}

#sidebar:not(.products-sidebar) ul li a {
  padding: 10px 30px;
  font-size: 1.5em;
  display: block;
}

a[data-toggle="collapse"] {
  position: relative;
}

a[aria-expanded="false"]::before,
a[aria-expanded="true"]::before {
  content: '\e259';
  display: block;
  position: absolute;
  right: 20px;
  font-family: 'Glyphicons Halflings';
  font-size: 0.6em;
}

a[aria-expanded="true"]::before {
  content: '\e260';
}

ul.CTAs {
  padding: 20px;
}

ul.CTAs a {
  text-align: center;
  font-size: 0.9em !important;
  display: block;
  border-radius: 5px;
  margin-bottom: 5px;
}

a.download {
  background: #fff;
  color: #7386D5;
}

a.article,
a.article:hover {
  color: #fff !important;
}

.sidebar-footer {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 10px;
}

.sidebar-footer ul {
  display: inline-block;
}


.sidebar-footer ul li {
  display: inline-block;
}

#sidebar .sidebar-footer ul li a {
    padding: 0px;
    margin-right: 5px;
}

.sidebar-footer p {
  margin-bottom: 10px;
}

.main-menu li {
  position: relative;
}

.main-menu li.active img {
  position: absolute;
  right: 30px;
  bottom: 34px;
}

.main-menu li.active a:after {
    content: "";
    display: block;
    position: relative;
    z-index: 23782378273;
    height: 15px;
    background-image: url('../images/border-active.png');
    background-repeat: no-repeat;
    background-position: center bottom;
}

/*.main-menu li a:hover:after {
    content: "";
    display: block;
    position: relative;
    z-index: 23782378273;
    height: 15px;
    background-image: url('../images/border-active.png');
    background-repeat: no-repeat;
    background-position: center bottom;
}*/

.main-menu li a:after {
    content: "";
    display: block;
    height: 15px;
    background-image: url('../images/menu-divider.png');
    background-repeat: no-repeat;
    background-position: center bottom;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
  /*padding: 20px;*/
  /*min-height: 100vh;*/
  width: 100%;
  transition: all 0.3s;
  margin-top: -1px; /* fix bootstrap combination 1px margin top */
}

#agmShowMenuIcon {
  display: none;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  #sidebar:not(.active) {
    margin-left: 0px;
    display: none;
  }

  #sidebar.active {
    margin-left: -250px;
  }  

  #agmShowMenuIcon {
    display: inherit;
  }

  #content {
    margin-left: inherit;
  }

  #sidebarCollapse span {
    display: none;
  }
}