.sideNav {
  display: block;
  height: calc(100vh - 60px);
  width: 200px;
  overflow-x: hidden;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 1;
  margin-top: 60px;
  box-shadow: 1px -1px 1px -1px var(--primary-shadow-color);
  background-color: var(--side-nav-color);
  transition-property: width;
  transition-duration: 150ms;
  transition-timing-function: ease-in-out;
}

.inner {
  height: 100%;
  width: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.closed .inner {
  width: 80px;
}

.topNavOption {
  margin-top: 10px;
}

.navOption, .navChannel {
  position: relative;
  padding: 5px;
  cursor: pointer;
}

.moreOption {
  display: none;
}

.navOption:hover, .navChannel:hover {
  background-color: var(--side-nav-hover-color);
  -moz-transition: background 0.2s ease-in;
  -o-transition: background 0.2s ease-in;
  transition: background 0.2s ease-in;
}

.navOption:active, .navChannel:active {
  background-color: var(--side-nav-active-color);
  -moz-transition: background 0.2s ease-in;
  -o-transition: background 0.2s ease-in;
  transition: background 0.2s ease-in;
}

.navIcon {
  margin-left: 10px;
}

.navLabel {
  margin-left: 5px;
  display: inline-block;
}

.navChannel .navLabel {
  font-size: 11px;
  width: 150px;
  margin-left: 40px;
}

.thumbnailContainer {
  width: 35px;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.channelThumbnail {
  border-radius: 50%;
  width: 35px;
}

.closed {
  width: 80px;
}

.sideNav hr {
  width: 90%;
  height: 1px;
  border: 0;
  background-color: var(--primary-color);
}

.refreshIcon {
  position: absolute;
  top: 20px;
  right: 20px;
}

.closed .refreshIcon {
  display: none;
}

.closed .navOption {
  width: 100%;
  height: 45px;
  padding: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.closed .navIcon {
  margin-left: 0px;
  width: 100%;
  display: block;
  margin-bottom: 0px;
}

.closed .navLabel {
  margin-left: 0px;
  width: 100%;
  text-align: center;
  left: 0px;
  font-size: 11px;
}

.closed .navChannel {
  width: 100%;
  padding: 0px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.closed .thumbnailContainer {
  position: static;
  display: block;
  float: none;
  margin-left: 0px;
  margin: 0 auto;
  top: 0px;
  -ms-transform: none;
  transform: none;
}

@media only screen and (max-width: 680px) {
  .inner {
    display: contents; /* sunglasses emoji */
  }

  hr, .mobileHidden, .refreshIcon {
    display: none;
  }

  .sideNav {
    display: flex;
  }

  .topNavOption {
    margin-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sideNav, .closed {
    margin-top: 0px;
    height: 60px;
    width: 100%;
    bottom: 0px;
    top: auto;
    overflow-y: hidden;
  }

  .navOption, .closed .navOption {
    width: 70px;
    height: 40px;
    padding: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navLabel {
    margin-left: 0px;
    width: 100%;
    text-align: center;
    left: 0px;
    font-size: 11px;
  }

  .navIcon {
    margin-left: 0px;
    width: 100%;
    display: block;
    margin-bottom: 0px;
  }

  .moreOption {
    display: block;
  }
}
