#artmelodies-player a,
#artmelodies-player {
    background-color: gray;

}

/**
 * SoundManager 2: "Bar UI" player - CSS
 * Copyright (c) 2014, Scott Schiller. All rights reserved.
 * http://www.schillmania.com/projects/soundmanager2/
 * Code provided under BSD license.
 * http://schillmania.com/projects/soundmanager2/license.txt
 */

.am-bar-ui {
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: helvetica, arial, verdana, sans-serif;
    font-weight: normal;
    /* prevent background border bleed */
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    /* because indeed, fonts do look pretty "fat" otherwise in this case. */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    /* general font niceness? */
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-width: 20em;
    max-width: 30em;
    /* take out overflow if you want an absolutely-positioned playlist dropdown. */
    border-radius: 2px;
    overflow: hidden;
    /* just for fun (animate normal / full-width) */
    transition: max-width 0.2s ease-in-out;
}

.am-bar-ui .am-playlist li {
    text-align: center;
    margin-top: -2px;
    font-size: 95%;
    line-height: 1em;
}


.am-bar-ui ul {
    line-height: 1em;
    list-style-type: none;
    padding: 0.1rem;
}

.am-bar-ui.full-width {
    max-width: 100%;
    z-index: 5;
}

.am-bar-ui.fixed {
    position: fixed;
    top: 90%;
    bottom: -1px;
    left: 0px;
    right: 0px;
    border-radius: 0px;
    /* so the absolutely-positioned playlist can show... */
    overflow: visible;
    /* and this should probably have a high z-index. tweak as needed. */
    z-index: 999;
    padding: 0;
    max-height: 5rem;
}

.am-bar-ui.fixed .bd,
.am-bar-ui.bottom .bd {
    /* display: table; */
    border-radius: 0px;
    border-bottom: none;
}


.am-bar-ui.playlist-open .bd {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-color: transparent;
}

.am-bar-ui .bd {
    position: relative;
    background-color: gray;
    /*
    transition: background 0.2s ease-in-out;
    */
}

.am-bar-ui .am-inline-gradient {
    /* gradient */
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    /* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.125) 5%, rgba(255, 255, 255, 0.125) 45%, rgba(255, 255, 255, 0.15) 50%, rgba(0, 0, 0, 0.1) 51%, rgba(0, 0, 0, 0.1) 95%); */
    /* W3C */
}


.am-bar-ui .bd {
    display: table;
    border-bottom: none;
}

.am-bar-ui .am-playlist-wrapper {
    background-color: rgba(0, 0, 0, 0.1);
}

.am-bar-ui,
.am-bar-ui .bd a {
    color: #fff;
}

.am-bar-ui .bd a {
    text-decoration: none;
}

.am-bar-ui .bd .am-button-element:hover {
    background-color: rgba(0, 0, 0, 0.1);
    background-image: url(../image/black-10.png);
    background-image: none, none;
}

.am-bar-ui .bd .am-button-element:active {
    background-color: rgba(0, 0, 0, 0.25);
    background-image: url(../image/black-25.png);
    background-image: none, none;
}

.am-bar-ui .bd .active .am-inline-button {
    -ms-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -webkit-transform-origin: 50% 50%;
    /* firefox doesn't scale quite right. */
    transform: scale(0.9);
    transform-origin: 50% 50%;
    /* firefox doesn't scale quite right. */
    -moz-transform: none;
}



.am-bar-ui {
    /* base font size */
    font-size: 15px;
    text-shadow: none;
}

.am-bar-ui .am-inline-element {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 0px;
    overflow: auto;
}

.am-bar-ui .am-inline-element,
.am-bar-ui .am-button-element .am-button-bd {
    position: relative;
}

.am-bar-ui .am-inline-element,
.am-bar-ui .am-button-element .am-button-bd {
    /**
     * if you play with UI width/height, these are the important ones.
     * NOTE: match these values if you want square UI buttons.
     */
    min-width: 2.8em;
    min-height: 2.8em;
}

.am-bar-ui .am-inline-button {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}


.am-bar-ui .am-inline-status {
    line-height: 100%;
    /* how much to allow before truncating song artist / title with ellipsis */
    display: inline-block;
    min-width: 200px;
    max-width: 20em;
    /* a little more spacing */
    padding-left: 0.75em;
    padding-right: 0.75em;
}

.am-bar-ui .am-inline-element {
    /* extra-small em scales up nicely, vs. 1px which gets fat */
    border-right: 0.075em dotted #666;
    /* legacy */
    border-right: 0.075em solid rgba(0, 0, 0, 0.1);
}


.am-bar-ui .am-inline-element:first-of-type {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    overflow: hidden;
}

.am-bar-ui .am-inline-element:last-of-type {
    border-right: none;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.am-bar-ui .am-inline-status a:hover {
    background-color: transparent;
    text-decoration: underline;
}

.am-inline-time,
.am-inline-duration {
    display: table-cell;
    width: 1%;
    font-size: 75%;
    line-height: 0.9em;
    min-width: 2em;
    /* if you have sounds > 10:00 in length, make this bigger. */
    vertical-align: middle;
}

.am-bar-ui .am-playlist {
    position: relative;
    height: 1.45em;
}

.am-bar-ui .am-playlist-target {
    /* initial render / empty case */
    position: relative;
    min-height: 1em;
    text-align: center;
}

.am-bar-ui .am-playlist ul {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    list-style-type: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.am-bar-ui p,
.am-bar-ui .am-playlist ul,
.am-bar-ui .am-playlist ul li {
    margin: 0px;
    padding: 0px;
}

.am-bar-ui .am-playlist ul li {
    position: relative;
}

.am-bar-ui .am-playlist ul li,
.am-bar-ui .am-playlist ul li a {
    position: relative;
    display: block;
    /* prevent clipping of characters like "g" */
    height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.am-row {
    position: relative;
    display: table-row;
}

.am-progress-bd {
    /* spacing between progress track/ball and time (position) */
    padding: 0px 0.8em;
}

.am-progress .am-progress-track,
.am-progress .am-progress-ball,
.am-progress .am-progress-bar {
    position: relative;
    width: 100%;
    height: 0.65em;
    border-radius: 0.65em;
}

.am-progress .am-progress-bar {
    /* element which follows the progres "ball" as it moves */
    position: absolute;
    left: 0px;
    top: 0px;
    width: 0px;
    background-color: rgba(0, 0, 0, 0.33);
    background-image: url(../image/black-33.png);
    background-image: none, none;
}

.volume-shade,
.playing .am-progress .am-progress-track,
.paused .am-progress .am-progress-track {
    cursor: pointer;
}

.playing .am-progress .am-progress-ball {
    cursor: -moz-grab;
    cursor: -webkit-grab;
    cursor: grab;
}

.am-progress .am-progress-ball {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 1em;
    height: 1em;
    margin: -0.2em 0px 0px -0.5em;
    width: 14px;
    height: 14px;
    margin: -2px 0px 0px -7px;
    width: 0.9333em;
    height: 0.9333em;
    margin: -0.175em 0px 0px -0.466em;
    background-color: #fff;
    padding: 0px;
    /*
    z-index: 1;
   */
    transition: transform 0.15s ease-in-out;
}


.am-progress .am-progress-track {
    background-image: url(../image/black-33.png);
    /* legacy */
    background-image: none, none;
    /* modern browsers */
}

/* scrollbar rules have to be separate, browsers not supporting this syntax will skip them when combined. */
.am-playlist-wrapper ul::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.4);
}

.playing.grabbing .am-progress .am-progress-track,
.playing.grabbing .am-progress .am-progress-ball {
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.am-bar-ui.grabbing .am-progress .am-progress-ball {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

.am-inline-button {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    /* hide inner text */
    line-height: 10em;
    /**
     * image-rendering seems to apply mostly to Firefox in this case. Use with caution.
     * https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering#Browser_compatibility
     */
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    -ms-interpolation-mode: bicubic;
}

.am-icon-play-pause,
.am-icon-play-pause:hover,
.paused .am-icon-play-pause:hover {
    background-image: url(../img/play.png);
    background-image: none, url(../img/playGray.svg);
    background-size: 50%;
    background-position: 40% 53%;
}

.playing .am-icon-play-pause {
    background-image: url(../img/pause.png);
    background-image: none, url(../img/pauseGray.svg);
}



.am-icon-radio {
    background-size: 58%;
    background-position: 54% 51%;
}

.am-icon-radio.radion {
    background-image: url(../img/Radio.png);
}

.am-icon-radio.radioff {
    background-image: url(../img/Radiooff.png);
}


.am-icon-menu {
    background-image: url(../img/list2.png);
    background-image: none, url(../img/list2.svg);
    background-size: 58%;
    background-position: 54% 51%;
}

.am-icon-previous {
    background-image: url(../img/first.png);
    background-image: none, url(../img/first.svg);
}

.am-icon-next {
    background-image: url(../img/last.png);
    background-image: none, url(../img/last.svg);
}

.am-icon-previous,
.am-icon-next {
    background-size: 49.5%;
    background-position: 50% 50%;
}


.am-icon-repeat {
    background-image: url(../img/loop.png);
    background-image: none, url(../img/loop.svg);
    background-position: 50% 43%;
    background-size: 54%;
}


.am-playlist-wrapper ul li .am-row {
    display: table;
    width: 100%;
}

.am-playlist-wrapper ul li .am-icon {
    display: inline-block;
    overflow: hidden;
    width: 2em;
    color: transparent !important;
    /* hide text */
    white-space: nowrap;
    /* don't let text affect height */
    padding-left: 0px;
    padding-right: 0px;
    text-indent: 2em;
    /* IE 8, mostly */
}

.am-playlist-wrapper ul li .am-icon,
.am-playlist-wrapper ul li:hover .am-icon,
.am-playlist-wrapper ul li.selected .am-icon {
    background-size: 55%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}


.am-playlist-wrapper ul li .am-icon:hover {
    background-color: rgba(0, 0, 0, 0.33);
}

.am-bar-ui .am-playlist-wrapper ul li .am-icon:hover {
    background-color: rgba(0, 0, 0, 0.45);
}


.am-progress-ball .icon-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: none, url(../img/spinner.svg);
    background-size: 72%;
    background-position: 50%;
    background-repeat: no-repeat;
    display: none;
}

.playing.buffering .am-progress-ball .icon-overlay {
    display: block;
    -webkit-animation: spin 0.6s linear infinite;
    animation: spin 0.6s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.am-element ul {
    font-size: 95%;
    list-style-type: none;
}

.am-element ul,
.am-element ul li {
    margin: 0px;
    padding: 0px;
}

.bd.am-playlist-drawer {
    /* optional: absolute positioning */
    /* position: absolute; */
    z-index: 3;
    border-radius: 0px;
    width: 100%;
    height: 0px;
    border: none;
    background-image: none;
    display: block;
    overflow: hidden;
    transition: height 0.2s ease-in-out;
}

.am-bar-ui.fixed .bd.am-playlist-drawer {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
}

.am-bar-ui.fixed .am-playlist-wrapper,
.am-bar-ui.bottom .am-playlist-wrapper {
    padding-bottom: 0px;
}

.am-bar-ui.fixed .bd.am-playlist-drawer,
.am-bar-ui.bottom .bd.am-playlist-drawer {
    /* show playlist on top */
    bottom: 5rem;
}

.am-bar-ui .bd.am-playlist-drawer {
    opacity: 0.5;
    /* redraw fix for Chrome, background color doesn't always draw when playlist drawer open. */
    transform: translateZ(0);
}

/* experimental, may not perform well. */
/*
   .am-bar-ui .bd.am-playlist-drawer a {
    -webkit-filter: blur(5px);
   }
   */

.am-bar-ui.playlist-open .bd.am-playlist-drawer {
    height: auto;
    opacity: 1;
}

.am-bar-ui.playlist-open .bd.am-playlist-drawer a {
    -webkit-filter: none;
    /* blur(0px) was still blurred on retina displays, as of 07/2014 */
}

.am-bar-ui.fixed.playlist-open .bd.am-playlist-drawer .am-playlist-wrapper,
.am-bar-ui.bottom.playlist-open .bd.am-playlist-drawer .am-playlist-wrapper {
    /* extra padding when open */
    padding-bottom: 0.5em;
    box-shadow: none;
}

.am-bar-ui .bd.am-playlist-drawer {
    transition: all 0.2s ease-in-out;
    transition-property: transform, height, opacity, background-color, -webkit-filter;
}

.am-bar-ui .bd.am-playlist-drawer a {
    transition: -webkit-filter 0.2s ease-in-out;
}

.am-bar-ui .bd.am-playlist-drawer .am-inline-texture {
    /* negative offset for height of top bar, so background is seamless. */
    background-position: 0px -2.8em;
}

.am-box-shadow {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    box-shadow: inset 0px 1px 6px rgba(0, 0, 0, 0.15);
}

.am-playlist-wrapper {
    position: relative;
    padding: 0.5em 0.5em 0.5em 0.25em;
    background-image: none, none;
}

.am-playlist-wrapper ul {
    max-height: 9.25em;
    overflow: auto;
}

.am-playlist-wrapper ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.am-playlist-wrapper ul li:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

.am-playlist-wrapper ul li a {
    display: block;
    padding: 0.5em 0.25em 0.5em 0.75em;
    margin-right: 0px;
    font-size: 90%;
    vertical-align: middle;
}


.am-playlist-wrapper ul li:hover a {
    background-color: rgba(0, 0, 0, 0.20);
    background-image: url(../image/black-20.png);
    background-image: none, none;
}

.am-playlist-wrapper ul li.selected a {
    background-color: rgba(0, 0, 0, 0.25);
    background-image: url(../image/black-20.png);
    background-image: none, none;
}


.am-bar-ui .disabled {
    filter: alpha(opacity=33);
    /* <= IE 8 */
    opacity: 0.33;
}

.am-bar-ui .bd .am-button-element.disabled:hover {
    background-color: transparent;
}

.am-bar-ui .active,
/*.am-bar-ui.playlist-open .am-menu,*/
.am-bar-ui.playlist-open .am-menu:hover {
    /* depressed / "on" state */
    box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.1);
    background-image: none;
}

/* some custom scrollbar trickery, where supported */
/*    
   .am-playlist-wrapper ul::-webkit-scrollbar {
    width: 10px;
   }
   
   .am-playlist-wrapper ul::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.33);
    border-radius: 10px;
   }
   
   .am-playlist-wrapper ul::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #fff;
   }
    */

.am-bar-ui .label {
    position: relative;
    display: inline-block;
    font-size: 0.7em;
    margin-left: 0.25em;
    vertical-align: top;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    padding: 0px 3px;
    box-sizing: padding-box;
}

.am-bar-ui .am-playlist-drawer .label {
    font-size: 0.8em;
    padding: 0px 3px;
}

/* --- full width stuff --- */

.am-bar-ui .am-inline-element {
    display: table-cell;
}

.am-bar-ui .am-inline-element {
    /* collapse */
    width: 1%;
}

.am-bar-ui .am-inline-element.am-album {
    padding:0 1rem;
}
.am-bar-ui .am-inline-element.am-volume {
    width: 5%;
}
.am-bar-ui .am-inline-status {
    /* full width */
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
.am-bar-ui .am-inline-status .am-progress #waveform,
.am-bar-ui .am-inline-status .am-progress #waveform > div,
.am-bar-ui .am-inline-status .am-progress {
    height: 100%;
}

.am-bar-ui>.bd {
    width: 100%;
    height: 100%;
}

.am-bar-ui .am-playlist-drawer {
    /* re-hide playlist */
    display: block;
    overflow: hidden;
}

#waveform {
    height: 2rem;
    position: relative;
}

div.am-playlist-element {
    width: 10% !important;
}

#artmelodies-player.container.am-bar-ui.playlist-open div.bd.am-playlist-drawer.am-element div.am-playlist-wrapper ul.am-playlist-bd li.selected a::before {
    content: '>';
    margin-right: 5px;
}

.am-playlist-element div.am-playlist-target ul.am-playlist-bd li:not(:first-child) {
    display: none;
}


.am-volume-control {
    background-image: url(../img/volume.png);
    background-image: none, url(../img/volume.svg);
}

.am-volume-control,
.am-volume-shade {
    background-position: 42% 50%;
    background-size: 56%;
}

.volume-shade {
    filter: alpha(opacity=33);
    /* <= IE 8 */
    opacity: 0.33;
    /* -webkit-filter: invert(1);*/
    background-image: url(../img/volume.png);
    background-image: none, url(../img/volume.svg);
}

#albumlink,
#buttonplaypause {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-width:5rem;
}

#albumlink {
    cursor: pointer;
}

#currentlyplaying  {
    position:relative;
}

#currentlyplaying:hover #artistename {
    display: block;
    position:absolute;
    bottom:2rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
}
#artistename {
    display: none;
}
#artistename a {
    color: #fff;
    background-color: unset !important;
    text-decoration: underline;
    cursor: pointer;
}
#buttonplaypause .am-button-bd a {
    background-color:transparent;
}