/*-------------------------------------------------------------------*/
/* All styling for the navbar and the open and closing functionality */
/*-------------------------------------------------------------------*/

/*------------------------------*/
/* The bar itself and the links */
/*------------------------------*/

/** Styles the navigation bar */
.navigation-bar {
  height: 100%;
  width: 10.1rem;
  padding-top: 2.125rem;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #2d2d2d;
  background-color: #565a5c;
  background-color: #262626;
  box-shadow: 0rem 0rem 3.2px 0.0016px black;
  overflow-x: hidden;
}

/**
  Styles the container for the logo - the size is preset, prevents the logo
  from 'jumping in' when loaded.
*/
.logo-container {
  width: 10rem;
  height: 5rem;
  display: block;
  margin: 0 auto;
  margin-top: 1.5rem;
  margin-bottom: 1.9rem;
}

  /** Styles the logo in the navigation bar */
  .navigation-bar img {
    width: 9.5rem;
    padding: 0.5rem 0.5rem 2.25rem 0.5rem;
    display: block;
    margin: 0 auto;
  }

/** Styles the navigation links */
.navigation-link {
  width: 6rem;
  height: 5rem;
  padding: 0.5rem;
  margin: 0 auto;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255,255,255,0.57);
  color: lightgrey;
  text-align: center;
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 5.6px;
  box-shadow: 0rem 0rem 4.8px 0.016px black;
  background-color: #565a5c;
  background-color: #D1D4D3;
  background-color: rgba(255,255,255,0.1);
  opacity: 0.3;
  cursor: pointer;
}

/** Inverts the coloring */
.navigation-link:hover {
  color: #2d2d2d;
  color: #262626;
  background-color: rgba(255,255,255,0.8);
  color: white;
  background-color: rgba(255,255,255,0.1);
  opacity: 1;
}

  /** Container for the logo and text */
  .navigation-link div {
    height: 100%;
    width: 100%;
  }

  /** Styles the <i> elements that is an font-awesome element inside the link */
  .navigation-link i {
    padding-top: 0.325rem;
    margin: 0;
    display: block;
    font-size: 1.8rem;
  }

  /** Styles the <span> elements that displays a text regarding the link */
  .navigation-link span {
    padding-top: 0.3rem;
    margin: 0;
    display: block;
    font-size: 0.92rem;
  }

/** Link color inverting class - added with JavaScript */
.invert-link-colors {
  color: white;
  background-color: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.3);
  opacity: 1;
}

/** Adds the navigation bars width */
.navbar-width {
  width: 10rem;
}

/** Pushes the #main elements to the right */
.navbar-push {
  margin-left: 10rem;
}

/** Container that holds the content for each of the links */
.navigation-content {
  height: 100%;
  width: 0rem;
  float: left;
  display: inline-block;
  position: absolute;
  z-index: 1;
  background-color: white;
  background-color: #E6E6E6;
  background-color: #F5F5F5;
  background-color: rgb(238,238,238);
  background-color: #F2F2F2;

  border-right: 0.6px solid rgba(45,45,45,0.3);
  box-shadow: 0rem 0rem 0.3rem 0.001rem black;
  overflow-x: hidden;
  overflow-y: auto;
}

/** Space for the next and prev links on the navbar */
#prevLink {
  margin-top: 5rem!important;
}

/** Styles the prev and next links */
.prev-next-link {
  width: 6rem;
  height: 5rem;
  padding: 0.5rem;
  margin: 0 auto;
  margin-bottom: 1.3rem;
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255,255,255,0.57);
  color: lightgrey;
  text-align: center;
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 5.6px;
  box-shadow: 0rem 0rem 4.8px 0.016px black;
  background-color: #565a5c;
  background-color: #D1D4D3;
  background-color: rgba(255,255,255,0.1);
  opacity: 0.3;
  cursor: pointer;
}

/** Inverts the coloring */
.prev-next-link:hover {
  color: #2d2d2d;
  color: #262626;
  background-color: rgba(255,255,255,0.8);
  color: white;
  background-color: rgba(255,255,255,0.1);
  opacity: 1;
}

  /** Container for the logo and text */
  .prev-next-link div {
    height: 100%;
    width: 100%;
  }

  /** Styles the <i> elements that is an font-awesome element inside the link */
  .prev-next-link i {
    padding-top: 0.325rem;
    margin: 0;
    display: block;
    font-size: 1.8rem;
  }

  /** Styles the <span> elements that displays a text regarding the link */
  .prev-next-link span {
    padding-top: 0.3rem;
    margin: 0;
    display: block;
    font-size: 0.92rem;
  }