/* roboto-100 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Thin'), local('Roboto-Thin'),
       url('../fonts/roboto-v18-latin-100.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-100.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'),
       url('../fonts/roboto-v18-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v18-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('../fonts/roboto-v18-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('../fonts/roboto-v18-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-900 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: local('Roboto Black'), local('Roboto-Black'),
       url('../fonts/roboto-v18-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Roboto', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;

  /* Background pattern from Toptal Subtle Patterns */
  background: #ECE9E6 url(dust_scratches.png) repeat fixed top left;
}

.font-jp {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

.container {
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3rem;
  line-height: 2rem;
  text-align: center;
}

.footer-text {
  font-size: 0.75rem;
  font-weight: 300;
  opacity: 0.6;
}

#list-title {
  cursor: pointer;
}

@keyframes grow {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.card .caption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px;
  width: 100%;
  color: white;
  text-shadow: 0 1px 0 black;
  font-size: 1.8em;
  line-height: 1em;
}

.card img {
  min-height: 3em;
  -webkit-filter: brightness(60%);
  filter: brightness(60%);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.card:hover img {
  -webkit-filter: brightness(90%);
  filter: brightness(90%);
}

.btn:focus, .btn.focus {
  box-shadow: none !important;
}

#list-filter {
  -webkit-animation: grow 0.4s ease-out;
          animation: grow 0.4s ease-out;
}

.list-group-item {
  background-color: rgba(255, 255, 255, 0.6);
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
}

.list-group-item:first-child {
  border-top-right-radius: 0px !important;
  border-top-left-radius: 0px !important;
}

.list-group-item:last-child {
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

#song-lyrics {
  visibility: hidden;
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 0;
  height: 0;
}

.nav-pills .nav-link:not(.active) {
  background: none !important;
  color: #343a40 !important;
}

.nav-pills .nav-link {
  background-color: rgba(52, 58, 64, 0.8) !important;
  color: white !important;
}

.tab-pane.fade {
  transition: opacity 0.1s linear !important;
}

.dropdown-item {
  font-weight: 300;
}

.song-container {
  position: absolute;
  width: 100%;
  height: 100%;
  padding-top: 1rem;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  overflow-x: hidden;
}

.split {
  -webkit-animation-duration: 0.6s;
          animation-duration: 0.6s;
}

@media (max-width: 768px) {
  .back {
    width: 100%;
    margin-bottom: 1rem;
  }

  .nav-pills {
    -ms-flex-pack: center !important;
    justify-content: center !important;
  }

  #song-info {
    display: block !important;
    font-size: 1.4rem;
    text-align: center;
    word-break: keep-all;
  }

  .split {
    width: 100% !important;
  }

  #split-left {
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
  }

  #split-right {
    -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
    padding-bottom: 1rem;
    text-align: center;
  }

  .right-pane-content {
    padding-top: 1rem;
    width: 100%;
    height: 100vh;
  }
}

@media (min-width: 768px) {
  .song-container {
    padding-bottom: 2rem;
  }

  .back {
    margin-bottom: 0.5rem;
  }

  .split {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: ew-resize;
  }

  .gutter.gutter-vertical {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=')
  }

  .gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==')
  }

  .split.split-horizontal, .gutter.gutter-horizontal {
    height: 100%;
    float: left;
  }

  #split-right {
    padding-left: 10px;
  }

  .right-pane-content {
    padding-top: 10px;
    width: 100%;
    height: calc(100% - 45px);
  }
}

#song-info {
  font-weight: 200;
}

.media-block {
  padding: 10px 20px;
  max-width: 700px;
}

.lyrics-block {
  padding: 10px 20px;
}

.lyrics-block h5 {
  color: #888;
  font-weight: 300;
}

.lyrics-block p {
  border-left: 1px solid #ddd;
  padding-left: 8px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.audio-wrapper {
  padding-top: 10px;
}

.audio-wrapper audio {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .hide-on-sm {
    display: none;
  }
}

@media (min-width: 768px) {
  .hide-on-lg {
    display: none;
  }
}
