/* Font import */
@font-face {font-family: Silkscreen; src: url(./fonts/slkscr.ttf);}

*{
    margin: 0;
    padding: 0;
}

body{
    width: 200px;
    height: 470px;
    font-family: Helvetica;
    color: white;
    background: linear-gradient(to right, #585858 1%,#191919 10%, #191919 50%,#606060 75%, #292929 77%, #0f0f0f 100%);
}

select{
    margin-right: 1px;
}

button{
    padding: 2px;
    margin-right: 1px;
    font-family: Silkscreen, monospace;
    background: none;
    border: outset 0px #ECE0B8;
    border-radius: 2px;
    box-shadow: none;
}

button:active{
    background: linear-gradient(to top, #00000005 0%, #00000015 100%);
    border: inset 0px #ECE0B8;
    border-radius: 2px;
    box-shadow: none;
}

.toggle-button[state='off'] > p::before{
    content: url(./images/green-light-off.gif);
    margin-right: 3px;
}

.toggle-button[state='on'] > p::before{
    content: url(./images/green-light-on.gif);
    margin-right: 3px;
}


select{
    font-family: Silkscreen, monospace;

    background:  linear-gradient(to bottom, #ECE0B8 0%, #c5b580 100%);
    border: outset 2px #ECE0B8;
    border-radius: 2px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);
}

select:active{
    background: linear-gradient(to top, #ECE0B8 0%, #c5b580 100%);
    border: inset 2px #ECE0B8;
    border-radius: 2px;
    box-shadow: none;
}


/* -- Sliders -- */
input[type="range"] {
    appearance: none;
    background: none;
}

/* slider track */
input[type="range"]::-webkit-slider-runnable-track /* For Chrome */ {
    background-color: #201e3a;
    height: 100%;
}

input[type="range"]::-moz-range-track /* For Firefox */ {
    background-color: #201e3a;
    height: 100%;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb /* For Chrome */ {
    appearance: none;

    background: url(./images/slider.gif), linear-gradient(to bottom, #ECE0B8 0%, #c5b580 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: outset 2px #ECE0B8;
    
    border-radius: 2px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);

    height: 1rem;
    width: 2.5rem;
}

input[type="range"]::-webkit-slider-thumb:active /* For Chrome */ {
    background: url(./images/slider.gif), linear-gradient(to top, #ECE0B8 0%, #c5b580 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: inset 2px #ECE0B8;
    border-radius: 2px;
    box-shadow: none;
}



input[type="range"]::-moz-range-thumb /* For Firefox */ {
    background: url(./images/slider.gif), linear-gradient(to bottom, #ECE0B8 0%, #c5b580 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: outset 2px #ECE0B8;
    
    border-radius: 2px;
    box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.75);

    height: 1rem;
    width: 2.5rem;
}

input[type="range"]::-moz-range-thumb:active /* For Firefox */ {
    background: url(./images/slider.gif), linear-gradient(to top, #ECE0B8 0%, #c5b580 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: inset 2px #ECE0B8;
    border-radius: 2px;
    box-shadow: none;
}

/* ---- Web Deck Player ---- */
#web-deck-player{
    padding: 5px;
    margin-top: 0px;
    margin-bottom:0px;
    margin-left:auto;
    margin-right:auto;
    width:190px;
}

/* Player body */
#player-body{
    width:190px;
    padding:0px;
    margin-top: 10px;
    margin-bottom:0px;
    margin-left:auto;
    margin-right:auto;
}

/* Player main section */
#player-main-section{
    margin-bottom: 5px;
}


/* Player display */
#player-display{
    width: 155px;
    height: 243px;
    background: black;
    border: inset 2px #403f67;
}

/* Player info */
#info-screen{
    width: 155px;
    margin-left:auto;
    margin-right: auto;
    height: 243px;
    background: #ffffff;
    color: #000000;
    margin-bottom: 5px;
    border: 10px solid #000000;
    border-radius: 6px;
}

.player-row{
    margin-top: 0px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#volumeButton{
    height: 25px;
    width: 25px;
}

#volumeButton img{
    height: 100%;
}

#volumeBar{
    width: 100%;
}

#playerLogo{
    text-align: center;
    height: fit-content;
}

#playerLogo > img{
    margin-top: 5px;
    max-height: 50px;
}

/* Player control panel */
#player-control-panel{
    font-size: 0;
    width: 140px;
    height: 140px;
    margin-top:20px;
    margin-left:auto;
    margin-right: auto;
    background: #ffffff;
    color: #000000;
    border-radius: 100px;
}

#seekBar{
    width: 99%;
    margin-bottom: 5px;
}

.playing-controls{
    margin-bottom: 0px;
    display: inline-block;
    width: 100%;
}

.playing-controls button{
    height: 30px;
    min-width: 30px;
}

.playing-controls button img{
    height: 100%;
}

.playing-control{
    display: inline-block;
    width: 160px;
    height:15px;
    margin-top:10px;
    margin-left:32px;
}

.playing-control a:link, a:visited{
    font-size:12px;
    color: #ffffff;
    text-decoration: none;
}

#playlistSelector{
    height: 30px;
    max-width: 175px;
    text-overflow: ellipsis;
}