.mdl-layout__drawer .mdl-navigation__link:before {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    word-wrap: normal;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-right:8px;
}

.mdl-navigation__link.music:before {
  content: '\E405';
}

.mdl-navigation__link.video:before {
  content: '\E04B';
}

.mdl-navigation__link.books:before {
  content: '\E866';
}

.content-wrapper {
  height:calc(100vh - 90px);
  position:relative;
  max-width: 100vw;
}

@media (max-width: 839px) {
  .content-wrapper {
    height:calc(100vh - 56px);
  }
}

.main-content {
  max-width:1080px;
}

/* Music Player (mp-) */
.mp-cell {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  padding-bottom: 12px;
}
.mp-cell a {
  color:#000;
  text-decoration: none;
}
.mp-cell a:hover {
  text-decoration: underline;
}
.mp-cell--flex-end {
  justify-content: flex-end;
}
.mp-imge--thumb {
  margin-right:8px;
}
.playlist-title, .playlist-info {
  overflow: hidden;
  white-space: normal;
  line-height: 1.2em;
  height: 1.2em;
  text-align: left;
  position: relative;
  width: 100%;
  max-width: 30vw;
}
.playlist-title:after, .playlist-info:after {
  content: '';
  display: block;
  width: 32px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(to right,rgba(255,255,255,0),rgba(255,255,255,1));
}
tr:hover .playlist-title:after, tr:hover .playlist-info:after {
  background: linear-gradient(to right,rgba(238,238,238,0),rgba(238,238,238,1));
}
.mdl-data-table tbody tr {
  transition-duration: 0s!important;
}

#p2 {
  width:100%;
  position:fixed;
}

.mdl-card__title {
  height: 180px;
  background: #eee;
}

.mdl-card__actions {
  display: flex;
  box-sizing:border-box;
  align-items: center;
}

.mdl-card__supporting-text a {
  text-decoration:none;
}
.mdl-card__supporting-text a:hover {
  text-decoration:underline;
}

.footer-drawer {
  height:90px;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
  position: relative;
  z-index: 5;
}

.footer-drawer > .mdl-slider__container {
  background: none;
  position: absolute;
  width: calc(100% - 64px);
  bottom: 80px;
  left: 64px;
}

@media (max-width: 839px) {
  .footer-drawer {
    height:56px;
  }
  .footer-drawer > .mdl-slider__container {
    left: 0;
    width: 100%;
    bottom: 47px;
  }
}

.desktop-controls {
  display:flex;
  height: 100%;
  justify-content: space-between;
}
.desktop-controls > * {
  align-self: center;
}
.desktop-controls .mdl-button {
  width:40px;
  height:40px;
  font-size:32px;
}
.desktop-controls .mdl-button.btn-play {
  width:48px;
  height:48px;
  margin:0 8px;
}
.desktop-controls .btn-play .material-icons {
  font-size: 32px;
  height: 32px;
  width: 32px;
  transform: translate(-16px,-16px);
  line-height: 32px;
}

.desktop-controls-left {
  height:100%;
  display:flex;
  align-items:center;
  width: 275px;
  max-width: 275px;
}

.desktop-controls-left img {
  max-height:100%;
  max-width: 90px;
}

#coverall {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background:black;
  z-index:11;
  display: none;
}

#video {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background:black;
  z-index:11;
  display: none;
}

#now-playing {
  margin-left: 16px;
}

#now-playing > div {
  width: calc(32vw - 106px);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#now-playing a {
  text-decoration: none;
}

#now-playing a:hover {
  text-decoration: underline;
}

.desktop-controls-right {
  display: flex;
  margin-right:32px;
}
.desktop-controls-right .desktop-volume {
  display: flex;
  align-items: center;
}/*
.desktop-volume .mdl-slider__container, .desktop-volume .btn-volume-less {
  opacity:0;
  transition: all 300ms;
}
.desktop-volume:hover .mdl-slider__container, .desktop-volume:hover .btn-volume-less {
  opacity: 1;
}*/

.mobile-controls {
  display:flex;
  height: 100%;
}
.mobile-controls > * {
  flex-grow: 5;
  align-self: center;
  text-align: center;
}
.mobile-controls .mdl-button.btn-play {
  width:40px;
  height:40px;
}
.mobile-controls .btn-play .material-icons {
  font-size: 28px;
  height: 28px;
  width: 28px;
  -webkit-transform: translate(-14px,-14px);
  transform: translate(-14px,-14px);
  line-height: 28px;
}

/* Queue view */

.mdl-data-table td p {
  text-align: left;
  white-space: initial;
}

th .material-icons {
  font-size: 16px;
}

.mdl-data-table {
  width:100%;
  /*max-width: 720px;*/
}

.mdl-data-table th:nth-child(3), .mdl-data-table th:nth-child(4) {
  text-align: left;
}

