/**
 * gemini-scrollbar
 * @version 1.5.3
 * @link http://noeldelgado.github.io/gemini-scrollbar/
 * @license MIT
 */

/* disable selection while dragging */
.gm-scrollbar-disable-selection {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* fallback for native floating scrollbars */
.gm-prevented {
  -webkit-overflow-scrolling: touch;
}
.gm-prevented > .gm-scrollbar {
  display: none;
}

/* actual gemini-scrollbar styles */
.gm-scrollbar-container {
  position: relative;
  overflow: hidden!important;
  width: 100%;
  height: 100%;
}

.gm-scrollbar {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 1;
  border-radius: 3px;
}

.gm-scrollbar.-vertical {
  width: 6px;
  top: 2px;
}

.gm-scrollbar.-horizontal {
  height: 6px;
  left: 2px;
}

.gm-scrollbar .thumb {
  position: relative;
  display: block;
  width: 0;
  height: 0;
  cursor: pointer;
  border-radius: inherit;
  background-color: rgba(0,0,0,.2);
  transform: translate3d(0,0,0);
}

.gm-scrollbar .thumb:hover,
.gm-scrollbar .thumb:active {
  background-color: rgba(0,0,0,.3);
}

.gm-scrollbar.-vertical .thumb {
  width: 100%;
}

.gm-scrollbar.-horizontal .thumb {
  height: 100%;
}

.gm-scrollbar-container .gm-scroll-view {
  width: 100%;
  height: 100%;
  overflow: scroll;
  transform: translate3d(0,0,0);
  -webkit-overflow-scrolling: touch;
}

/* @option: autoshow */
.gm-scrollbar-container.gm-autoshow .gm-scrollbar {
  opacity: 0;
  transition: opacity 120ms ease-out;
}
.gm-scrollbar-container.gm-autoshow:hover > .gm-scrollbar,
.gm-scrollbar-container.gm-autoshow:active > .gm-scrollbar,
.gm-scrollbar-container.gm-autoshow:focus > .gm-scrollbar {
  opacity: 1;
  transition: opacity 340ms ease-out;
}

.gm-resize-trigger {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
}

html {
  height: 100%;
}
/* github corner */
.github-corner {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
}
.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out;
}
.github-corner > svg {
  display: block;
  border: 0;
  fill: #151513;
  color: #fafafa;
}
@keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0);
  }
  20%,
  60% {
    transform: rotate(-25deg);
  }
  40%,
  80% {
    transform: rotate(10deg);
  }
}
@media (max-width: 500px) {
  .github-corner:hover .octo-arm {
    animation: none;
  }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
  }
}
.title small {
  font-size: .4em;
  opacity: .6;
}
h2 small {
  display: block;
  opacity: .6;
  font-style: italic;
}
.problem h2 {
  margin-bottom: 1em;
}
.demo-container {
  padding-bottom: 2em;
  text-shadow: none;
}
.demo-container .container {
  background-color: #eff2f3;
  border-radius: 3px;
  padding: 3em 0;
  box-shadow: 0 0 0 2px #E4E9EB;
}
.demo-container .sample {
  position: relative;
  width: 80%;
  margin: 0 auto;
}
.demo-container .gm-scrollbar-container {
  z-index: 0;
}
.demo-container .credits {
  font-size: .8em;
  padding: 1.5em 0 2em;
  text-align: center;
  opacity: .6;
  font-weight: bold;
}
body.gm-prevented {
  overflow: auto !important;
  width: initial;
  height: initial;
}
body > .gm-scrollbar.-vertical {
  left: 6px;
  right: initial;
  top: 6px;
  bottom: 6px;
  background-color: rgba(0, 0, 0, 0.1);
}
body > .gm-scrollbar .thumb {
  background-color: #84B3FC;
}
body > .gm-scrollbar .thumb:hover,
body > .gm-scrollbar .thumb:active {
  background-color: #9dc2fd;
}