﻿.music {
    margin: auto;
    background-color: #000000;
    padding-top: 20px;
    color: #A0A0A0;
    font-family: 'Raleway', sans-serif;
}

.musiccontainer {
    margin: auto;
    position: relative;
    text-align: center;
    font-size: 11pt;
}

.albumcontainer {
    position: absolute; 
    top:48%; 
    left:50%; 
    transform: translate(-50%, -50%);
}

.player {
    width: 50%;
    margin: auto;
    font-weight: normal;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#trackList {
    border-collapse: collapse;
}

    #trackList tr {
        height: 36px;
        color: #ffffff;
    }

        #trackList tr td, th {
            /*border: 1px solid #ccc;*/
            padding: 5px;
        }

        #trackList tr:hover {
            border-radius: 10px !important;
            opacity: 0.9;
            background-color: #150B09;
            /*background-color: #4C1E0E;*/
        }

    #trackList td:nth-child(1) {
        width:250px; 
        text-align:left;
    }

    #trackList td:nth-child(2) {
        width: 260px;
        text-align: left;
        white-space:nowrap;
    }

.currenttime {
    display: inline-block;
    width:36px;
}

.timeline {
    width: 44%;
    height: 14px;
    border-radius: 15px;
    border: black 1px solid;
    display: inline-block;
    background-color: rgb(0,0,21);
    box-shadow: inset 0 2px 9px rgba(255,255,255,0.3), inset 0 -2px 6px rgba(0,0,0,0.4);
}

.tracktime {
    display: inline-block;
    padding-left:12px;
}

.tracklabel {
    display: inline-block;
    white-space:nowrap;
}

.votetrack {
    display: inline-block;
    width: 45px;
    padding-left:5px;
}

.playhead {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,69,0, 0.5);
    /*background: rgba(0, 0, 0, 1); black w/opacity:1*/
}

@media screen and (max-width: 600px) {
    .music {
        margin: auto;
        background-color: #000000;
        width: 400px;
        max-height: 100%;
        border: solid 1px #4b4b4b;
        color: #808080;
        font-size: 9pt;
        font-family: 'Raleway', sans-serif;
        text-transform: uppercase;
        display: grid;
        grid-template-columns: auto;
    }

    .player {
        width: 100%;
        margin: auto;
        font-weight: normal;
        text-align: center;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .musiccontainer {
        font-size: 8pt;
    }

    .albumcontainer {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #trackList {
        width:100%;
        border-collapse: collapse;
    }

    #trackList td {
        text-align:left;
        display: table-row;
    }

}