.g5inside {
    font-family: Arial, Helvetica, Geneva, sans-serif;
    font-size: 9px;
    background-color: #EEE;
    border:1px;
    border-color:gray;
    border-style:solid;
    width:135px;
    height:100px;
    padding:3px;
    overflow: hidden;
}

.g5meter {
    margin: 3px 2px 2px 2px;
    padding: 0;
    height: 4px;
    width:130px;
    background-image: -webkit-linear-gradient(#DDD, #AAA);
    background-image: -moz-linear-gradient(#DDD, #AAA);
    background-image: -ms-linear-gradient(#DDD, #AAA);
    background-image: -o-linear-gradient(#DDD, #AAA);
}

.g5meter > span {
    display: block;
    padding: 0;
    height: 100%;
    background-image: -webkit-linear-gradient(#BBB, #888);
    background-image: -moz-linear-gradient(#BBB, #888);
    background-image: -ms-linear-gradient(#BBB, #888);
    background-image: -o-linear-gradient(#BBB, #888);
}


.g5meter-1pxup::-webkit-slider-thumb {
    margin-top: -2px !important;
}

input[type='range'].volume {
    width: 35px;
    height: 15px;
    margin: 2px;
    padding: 0;
    background-repeat: no-repeat;
    background-image: url(data:image/gif;base64,R0lGODlhIwAPAMQAAAAAAP///8DAwLCwsK6urqampp2dnZWVlYyMjICAgH9/f319fXp6end3d3Z2dnV1dXR0dHNzc3JycnFxcXBwcP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABUALAAAAAAjAA8AAAVWoCCOZGmeaKqubOu+sKPALaFQ1DLRacFQk4QwEeGVCrfIcFk0+ijKpbT5MkQoEqlWSF0dJtitmLhCQB/jdJf0gzTS8MSONEg6HIy8fs/vMyYHRoKDLCEAOw==);
}

input[type='range'].volume::-webkit-slider-thumb {
    background:#BBB;
    height:15px;
    width:4px;
}

input[type='range'].volume::-moz-range-thumb {
    vertical-align:middle;
    -moz-appearance: none !important;
    background:#BBB;
    height:13px;
    width:4px;
    border: 0;
}

@-moz-document url-prefix() {
    input[type='range'].transportbar {
        margin-top: -20px;
    }

    .g5meter-1pxup {
        margin-top: -22px !important;
    }
}

.g5buttons {
    height: 25px;
}

.g5buttons-1pxup {
    height: 14px !important;
}

.g5button {
    outline: none;
    float: left;
    border: 0px;
    width: 30px;
    height: 30px;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 2px;
    padding: 0;
}

.bpmpicker {
    width: 30px;
}

.volumedisabled {
    width: 35px;
    height: 15px;
    background-image: url(data:image/gif;base64,R0lGODlhIwAPAPcAAP//////zP//mf//Zv//M///AP/M///MzP/Mmf/MZv/MM//MAP+Z//+ZzP+Zmf+ZZv+ZM/+ZAP9m//9mzP9mmf9mZv9mM/9mAP8z//8zzP8zmf8zZv8zM/8zAP8A//8AzP8Amf8AZv8AM/8AAMz//8z/zMz/mcz/Zsz/M8z/AMzM/8zMzMzMmczMZszMM8zMAMyZ/8yZzMyZmcyZZsyZM8yZAMxm/8xmzMxmmcxmZsxmM8xmAMwz/8wzzMwzmcwzZswzM8wzAMwA/8wAzMwAmcwAZswAM8wAAJn//5n/zJn/mZn/Zpn/M5n/AJnM/5nMzJnMmZnMZpnMM5nMAJmZ/5mZzJmZmZmZZpmZM5mZAJlm/5lmzJlmmZlmZplmM5lmAJkz/5kzzJkzmZkzZpkzM5kzAJkA/5kAzJkAmZkAZpkAM5kAAGb//2b/zGb/mWb/Zmb/M2b/AGbM/2bMzGbMmWbMZmbMM2bMAGaZ/2aZzGaZmWaZZmaZM2aZAGZm/2ZmzGZmmWZmZmZmM2ZmAGYz/2YzzGYzmWYzZmYzM2YzAGYA/2YAzGYAmWYAZmYAM2YAADP//zP/zDP/mTP/ZjP/MzP/ADPM/zPMzDPMmTPMZjPMMzPMADOZ/zOZzDOZmTOZZjOZMzOZADNm/zNmzDNmmTNmZjNmMzNmADMz/zMzzDMzmTMzZjMzMzMzADMA/zMAzDMAmTMAZjMAMzMAAAD//wD/zAD/mQD/ZgD/MwD/AADM/wDMzADMmQDMZgDMMwDMAACZ/wCZzACZmQCZZgCZMwCZAABm/wBmzABmmQBmZgBmMwBmAAAz/wAzzAAzmQAzZgAzMwAzAAAA/wAAzAAAmQAAZgAAMwAAAO7u7u3t7ezs7Orq6unp6ejo6Ofn5+Dg4Nra2tXV1dHR0c7Ozs3Nzf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAOUALAAAAAAjAA8AAAhqAMkJHEiwoMGDCBMqXMiwocOHELV1g9hwXDds2Lhho5hQ3DaMILFl41hQ3MVsIUGOJOlRZMqUKx+GQ4ny5cuYC8FhrGnTJs6D30Rq60l0J8KP2YYWXbqx4Elt2rZJnUq1qtWP4Ehq3cowIAA7);
}

.g5prev {
    background-image: url(modern_skin_white/prev-button.png);
    background-color: transparent;
    width: 27px;
    height: 34px;
}

.g5next {
    background-image: url(modern_skin_white/next-button.png);
    background-color: transparent;
    width: 27px;
    height: 34px;
}


.g5play.enabled {
    background-image: url(modern_skin_white/play-button.png);
    width: 34px;
    height: 41px;
    background-color: transparent;
}

.g5play.disabled {
    background-image: url(modern_skin_white/pause-button.png);
    background-color: transparent;
    width: 34px;
    height: 41px;
}

.g5stop.enabled {
    background-image: url(data:image/gif;base64,R0lGODlhDwAPANUAAAAAAP///9zc3NTU1NDQ0M/Pz87OzsPDw8LCwsHBwcDAwL+/v76+vr29vbu7u7m5ubi4uLa2trW1taqqqqWlpaSkpKOjo4+Pj46Ojo2NjYuLi4SEhIODg4KCgoGBgYCAgH9/f35+fn19fXx8fHt7e3l5ef///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACYALAAAAAAPAA8AAAZyQIGBQCwaCQYhY4E4OJ8HxGIxVDQolazWMkkoiIrHhzQql0saL/jBAX3ebxFGTQi34fH5t8524+V0dn5wgA1rd39zCYeDeYEPHSEgk5MjGY8bHx6bmyEXdFMRoqMREhAKXwUODQoMDa+wsAUDBUe2BANBADs=);
}


.g5volume.enabled {
    background-image: url(modern_skin_white/volume-icon.png);
    width: 27px;
    height: 34px;
    background-color: transparent;
    cursor: pointer;
}

.g5volume.disabled {
    background-image: url(modern_skin_white/volume-icon-disabled.png), url(modern_skin_white/volume-icon.png);
    background-color: transparent;
    width: 27px;
    height: 34px;
    cursor: pointer;
}
/**
 * Custom css
 */
#player-container {
    /*position:fixed;*/
    left:0px;
    bottom:0px;
    background-color: #eaeaea;
    border: 1px solid #afadad;
    color: #6a6868;
    display: flex;
    height: 75px;
    flex-direction: row;
    /*background-image: url(lib/modern_skin_white/controller-background.png);*/
}

#player-container > div {
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

#player-container > span {
    margin-top: 20px;
    margin-right: 10px;
}

.track-data {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.track-info {
    display: flex;
    flex-direction: row;
    border-radius: 5px;
    justify-content: center;
    background: url('./modern_skin_white/titlebar-middle-pattern.png');
    background-repeat: repeat-x;
    overflow: hidden;
    height: 24px;
}

.track-title {
    font-weight: bold;
}

.track-container {
    padding-top: 3px;
    color: black;
}

.bar-info {
    display: flex;
    flex-direction: row;
    margin-top: 8px;
}

.track-artist {
    flex: 1;
    text-align: center;
}

.player-picker {
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
}

.player-control-play {
    margin-top: 7px;
    margin-left: 4px;
    margin-right: 4px;
    cursor: pointer;
}

.player-control {
    margin-top: 11px;
    cursor: pointer;
}

.bpmpicker {
    width: 120px;
    color: black;
    font-size: 115%;
    height: 30px;
    cursor: pointer;
}

.progress-bar {
    height: 41px;
    margin-top: -8px;
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    flex: 1 1 auto;
    cursor: pointer;
    display: inline-block;
}

.progress-time {
    margin-top: 3px;
}

.progress-bar {
    height: 41px;
    margin-top: -8px;
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    flex: 1 1 auto;
    cursor: pointer;
    display: inline-block;
}

.progress-bar > .elapsed {
    position: absolute;
    top: 15px;
    background-color: #BABABA;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    width: 0;
    height: 8px;
    z-index: 3;
}
.progress-bar > .progress {
    position: absolute;
    top: 14px;
    background-color: #e4e2e2;
    height: 8px;
    width: 100%;
    z-index: 1;
    border-radius: 4px;
    border-top: 1px solid white;
    border-bottom: 1px solid #828282;
}
.progress-bar > .handle {
    visibility: visible;
    position: absolute;
    top: 15px;
    left: 0;
    background-color: black;
    width: 1px;
    height: 8px;
    z-index: 2;
}

/**
 * Volume controls
 */
.volume-container {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-right: 30px !important;
    margin-left: 10px;
}

.volume-button {
    margin-top: 21px;
    margin-left: 10px;
    margin-right: 10px;
}

.volume-container > .volume-bar {
    width: 90px;
    background-color: #e4e2e2;
    height: 8px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    border-top: 1px solid white;
    border-bottom: 1px solid #828282;
}

.volume-container .volume-level {
    position: absolute;
    width: 0;
    height: 8px;
    background-color: #BABABA;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    z-index: 1;
}

.volume-container .volume-handle {
    position: absolute;
    left: 0;
    top: 0px;
    background-color: black;
    width: 1px;
    height: 8px;
    border-radius: 50%;
    z-index: 2;
}

/**
 * PLAYLIST STYLING
 */

.flex-table {
    display: flex;
    flex-flow: column nowrap;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid whitesmoke;
}

.album-table .flex-table-row {
    height: 30px !important;
}

.flex-table-row {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    background-color: #fefefe;
    cursor: pointer;
    position: relative;
}

.play-icon {
    background-image: url(modern_skin_white/playlist-play-button.png);
    position: absolute;
    height: 8px;
    width: 5px;
    left: 12px;
    top: 10px;
}

.flex-table-row:nth-child(odd) {
    background-color: #EEEEEE;
}

.flex-table-row:hover {
    background-color: #d1d1d1;
}

.flex-table-header:hover {
    background-color: #EEEEEE;
}

.table-header {
    margin-left: 10px;
}

.flex-table-row-item {
    display: flex;
    flex-flow: row nowrap;
    flex-grow: 1;
    flex-basis: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    /*word-break: break-word;*/
    padding: 0.5em;
    border: 1px solid whitesmoke;
}

.flex-table-header {
    font-weight: 500;
    background-color: #eaeaea;
    text-transform: uppercase;
    border-bottom: 1px solid #afadad;
}

.album-table {
    border: 1px solid #afadad;
    border-top-width: 0px;
}

.track-name {
    padding-left: 10px !important;
}

.album-table .flex-table-row {
    height: 42px;
}

.album-table .flex-table-row.playing{
    background-color: #d1d1d1;
}

.album-table .flex-table-row .flex-table-row-item {
    border-top: none;
    border-right: none;
    border-left: none;
    padding: 0;
    align-items: center;
}

.flex-table-header[sortable-table-header] .flex-table-row-item {
    cursor: pointer;
    user-select: none;
}

.album-table .track-number, .album-table .add-remove-track {
    flex-grow: 0.25;
    min-width: 50px;
    justify-content: flex-end;
    color: #000000;
}

.album-table .track-name, .album-table .album-name, .album-table .artist-name {
    flex-grow: 7;
    padding-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-table .track-duration, .album-table .popularity {
    flex-grow: 0.6;
    color: #000000;
    justify-content: flex-end;
    min-width: 50px;
    padding-right: 5px !important;
}

.album-table .song-title {
    font-weight: bold;
}

.flex-table-header .flex-table-row-item {
    border: none;
}

.volume-outer-container {
    display: flex;
    margin: 0 !important;
}

@media (max-width: 800px) {
    #player-container > div {
        margin-top: 0;
    }
    #player-container {
        height: unset;
        flex-direction: column;
        align-items: center;
    }
    .track-data {
        width: 95%;
        margin-top: 33px !important;
    }
    .player-picker {
        margin-left: 47px !important;
    }
    .player-picker:focus {
        outline: unset;
    }
    .volume-button {
        margin-top: 0;
    }
    .volume-outer-container {
        margin-bottom: 5px !important;
        margin-left: 15px !important;
    }
    .track-name {
        display: block;
        padding-top: 3px !important;
    }
}