.nowPlayingText {
    display: inline-block;
    font-weight: normal;
    position: relative;
    top: -7px;
    margin: 0 0 0 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
    text-align: left;
    font-size: 15px;
    max-width: 130px;
}

.mediaButton.infoButton {
    width: 34px;
    height: 34px;
}

.mediaButton.active {
    color: #52B54B;
}

@media (min-width: 500px) {
    .nowPlayingText {
        max-width: 180px;
    }
}

@media (min-width: 600px) {
    .nowPlayingText {
        max-width: 200px;
    }
}

@media (min-width: 800px) {
    .nowPlayingText {
        margin-right: 30px;
    }
}

.mediaButton img {
    height: 24px;
}

.currentTime {
    display: inline-block;
    vertical-align: middle;
    max-width: 110px;
    margin-right: 2em;
    font-weight: normal;
}

/* Now playing bar */
.nowPlayingBar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Above everything, except for the video player and popup overlays */
    z-index: 1097;
    color: #fff;
    background-color: rgba(26,26,26,.94);
    border-top: 1px solid #444;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hiddenNowPlayingBar .nowPlayingBar {
    display: none !important;
}

.mediaButton, .nowPlayingBarUserDataButtons .btnUserItemRating {
    vertical-align: middle;
    color: #e8e8e8;
    margin: 0;
    text-align: center;
}

.mediaButton {
    box-sizing: content-box !important;
}

    .mediaButton.remoteControlButton, .mediaButton.muteButton, .mediaButton.unmuteButton {
        height: 26px;
    }

.nowPlayingDoubleText {
    top: -3px;
}

.nowPlayingBarInfoContainer {
}

.nowPlayingImage {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1em;
}

    .nowPlayingImage img {
        vertical-align: bottom;
    }

    .nowPlayingBar, .nowPlayingImage img {
        height: 80px;
    }

.nowPlayingBarText {
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
    text-align: left;
    font-size: 15px;
    max-width: 130px;
}

.toggleRepeatButton {
    height: 32px;
}

.repeatActive {
    color: #52B54B;
}

@media (min-width: 500px) {
    .nowPlayingBarText {
        max-width: 180px;
    }
}

@media (min-width: 600px) {
    .nowPlayingBarText {
        max-width: 200px;
    }
}

@media (min-width: 700px) {
    .nowPlayingBarText {
        max-width: 240px;
    }
}

@media (min-width: 800px) {
    .nowPlayingBarText {
        max-width: 300px;
        margin-right: 30px;
    }
}

@media (min-width: 900px) {
    .nowPlayingBarText {
        max-width: 400px;
    }
}

.nowPlayingBarCenter {
    vertical-align: middle;
    text-align: center;
    margin-top: 12px;
    /* Need this to make sure it's on top of nowPlayingBarPositionContainer so that buttons are fully clickable */
    z-index: 2;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.nowPlayingBarPositionContainer {
    position: absolute;
    left: 80px;
    top: 0;
    right: 0;
    z-index: 1;
}

.noMediaProgress .nowPlayingBarPositionContainer {
    display: none;
}

.nowPlayingBarPositionSlider paper-progress {
    height: 3px !important;
}

.nowPlayingBarPositionSlider #sliderBar {
    padding-top: 0;
}

.nowPlayingBarPositionSlider #sliderContainer {
    width: 100%;
    margin-left: 0 !important;
}

.nowPlayingBarPositionSlider #sliderKnob {
    top: -15px !important;
}

.nowPlayingBarPositionSlider #progressContainer {
    background-color: transparent !important;
}

.nowPlayingBarPositionSlider #sliderKnobInner {
    width: 14px;
    height: 14px;
}

.nowPlayingBarRight {
    position: relative;
    margin: 0 1em 0 auto;
    /* Need this to make sure it's on top of nowPlayingBarPositionContainer so that buttons are fully clickable */
    z-index: 2;
}

.nowPlayingBarCurrentTime {
    vertical-align: middle;
    font-weight: normal;
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    padding-left: 50px;
}

.nowPlayingBarVolumeSlider {
    margin-left: -1em;
    margin-right: 2em;
}

.nowPlayingBarUserDataButtons {
    display: inline-block;
    margin-left: 2em;
    margin-right: 2em;
}


@media all and (max-width: 1400px) {

    .nowPlayingBarUserDataButtons {
        display: none;
    }
}

@media all and (max-width: 1100px) {

    .nowPlayingBarVolumeSlider, .nowPlayingBar .muteButton, .nowPlayingBar .unmuteButton {
        display: none !important;
    }
}

@media all and (max-width: 1000px) {

    .nowPlayingBar .playlistButton {
        display: none !important;
    }
}

@media all and (max-width: 800px) {

    .nowPlayingBarCurrentTime {
        padding-left: 0;
        top: 22px;
        right: 140px;
        position: absolute;
    }

    .nowPlayingBarCenter > *:not(.nowPlayingBarCurrentTime) {
        display: none !important;
    }

    .nowPlayingBar, .nowPlayingImage img {
        height: 70px;
    }

    .nowPlayingBarPositionContainer {
        left: 70px;
    }

    .nowPlayingBarPositionSlider paper-progress {
        height: 3px !important;
    }

    .nowPlayingBarPositionSlider #sliderKnob {
        top: -15px !important;
    }

    .toggleRepeatButton {
        display: none;
    }
}

@media all and (min-width: 800px) {

    .nowPlayingBarRight .pauseButton {
        display: none;
    }

    .nowPlayingBarRight .unpauseButton {
        display: none;
    }
}

@media all and (max-width: 600px) {

    .nowPlayingBarCurrentTime {
        display: none;
    }
}
