#audio-player-element {
    background: #06040F;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    transition: margin 300ms;
    z-index: 100;
    user-select: none;
}

#audio-player-element > *:not(:last-child) {
    margin-right: 5px;
}

#audio-visualization {
    z-index: -10;
    pointer-events: none;
}

#audio-player-element:not(.visible) > #audio-visualization {
    visibility: hidden;
}

.ap-button:before, .ap-bar {
    cursor: pointer;
}
.ap-button[disabled="disabled"]:before {
    color: gray;
    pointer-events: none;
}

.ap-player-title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    padding-left: 1rem;
    cursor: pointer;
}
.ap-player-title:hover {
    color: white;
}

.ap-button:before {
    font-family: "FontAwesome";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: orange;
}

.ap-volume.volume-low:before {
  content: "\f027";
}

.ap-volume.volume-high:before {
  content: "\f028";
}

.ap-volume.volume-muted:before {
  content: "\f026";
}

.ap-volume-group {
    position: relative;
}

.ap-volume-slider {
    display: none;
    opacity: 0;
    transition: opacity .2s;
    padding-top: 5px;
    position: absolute !important;
    left: -.29rem;
    bottom: 2rem;
    height: 8rem !important;
    background: #06040F;
    z-index: 1;
}
.ap-volume-slider > .slider {
    height: 100%;
}

.ap-volume-group:hover > .ap-volume-slider,
.ap-volume-slider-dragging { 
    display: block;
    opacity: 1 !important;
    transition: opacity .2s;
}

.ap-volume-group:hover .slider-thumb {
    opacity: 1 !important;
}

.ap-playbar-spacer {
    flex: 1 1 0px;
}

@media only screen and (max-width: 40rem)  {
    .ap-playbar-spacer {
        flex: none;
    }
}

.ap-playing:before { content: "\f04c"; }
.ap-stopped:before { content: "\f144"; }
.ap-loading:before { content: "\f110"; }
.ap-playdisabled:before {
    content: "\f144";
    color: gray;
}
.ap-playdisabled, .ap-disabled {
    cursor: default !important;
    pointer-events: none;
}

.ap-list-open:before {
    content: "\f0c9";
}

.ap-playlist-item {
    cursor: pointer;
    user-select: none;
    padding: 0 .5rem 0 0;
    display: flex;
    align-items: center;
}

.ap-playlist-item-title {
    margin-top: .2rem;
    flex: 1 0 0px;
}

.ap-playlist-item > .ap-play {
    margin-right: .5rem;
}

/* f074  random */

.ap-playlist-item.playlist-item-playing {
    background: #FAA2011f;
}

.ap-playlist-item.playlist-item-playing:hover {
    background: #FAA2012f !important;
}

.ap-playlist-item:hover {
    background: #FAA20108 !important;
}


.ap-playlist-remove:before {
    content: '\f00d';
    font-size: 1.2rem;
}

.ap-playlist-shuffle:before {
  content: "\f074";
}

.ap-playlist {
    display: flex;
    border-radius: 5px;
    flex-direction: column;
    border: 3px solid #2f3754;
    background: #06040F;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) ), url('../images/blurryphones.jpg');
    background-position: left 20% bottom;
    background-repeat: no-repeat;
    background-size: 400% 200%;
    box-shadow: 2px 2px 12px rgba(1, 0, 0, .8);
    position: absolute;
    bottom: calc(30px + .3rem);
    z-index: 1;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: 60rem;
    height: 40vh;
}

.ap-playlist-titlebar {
    font-size: 1.3rem;
    flex: none;
    color: #999;
    display: flex;
    background: #2f3754;
    align-items: center;
    width: 100%;
    padding: .1rem;
    padding-left: .5rem;
}

.ap-playlist-title {
    flex: 1 0 auto;
    text-align: center;
}

.ap-playlist-drag-handle {
    border: 0;
    background-image: url(../images/drag-handle.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 18px;
    height: 24px;
    cursor: move;
    flex-shrink: 0;
}

.ap-playlist-close-button {
    margin-left: auto;
}

.ap-playlist-close-button:before {
    font-size: 1.3rem;
    width: 1rem;
    height: 1rem;
    margin-right: .7rem;
    color: #999;
    content: '\f00d';
}

.ap-bar {
    width: 200px;
}

.ap-position {
    font-size: 1.2rem;
    color: orange;
}

.slider {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    position: relative; 
    height: 21px; 
}

.slider[vertical] {
    flex-direction: column;
    width: 21px; 
}

.slider > .slider-bar {
    position: relative;
    background: gray;
    margin: 0 5px 0 5px;
    width: 100%; 
    height: 3px;
}

.slider > .slider-bar > .slider-bar-progress {
    position: absolute;
    background: orange;
    width: 100%;
    z-index: 1;
    height: 3px;
}

.slider[vertical] > .slider-bar > .slider-bar-progress {
    bottom: 0;
    height: 100%;
    width: 3px;
}

.slider[vertical] > .slider-bar {
    margin: 5px 0 5px 0;
    width: 3px;
    height: 100%;
}

.slider > .slider-thumb {
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 100%;
    width: 10px;
    height: 10px;
    position: absolute;
    background: orange;
    pointer-events: none;
}

.slider > .slider-thumb.slider-thumb-visible {
    opacity: 1;
    transition: opacity 0.2s;
}
