@import url('../dark/table.css');
/* General Table Styles */
table {
    table-layout: fixed;
}

table.records, 
table.attempts, 
table.topscores, 
table.players, 
table.events {
    width: 100%;
    table-layout: fixed;
}

/* Alternate Row Colors */
table.list tbody tr:nth-child(odd) td {
    background-color: #51414F;
    opacity: 0.7;
}

table.list tbody tr:nth-child(even) td {
    background-color: #301934;
    opacity: 0.7;
}

/* Subheader Styles */
table th.subheader, 
table td.subheader {
    position: sticky;
    top: 0;
    z-index: 1;
    opacity: 1 !important;
    background: #FF7A59 !important;
    text-align: center;
}

/* Specific Column Styles */
table.list th.action {
    opacity: 0.7;
}

td.subheader {
    text-align: center;
}

th.subheader.songartist{
    width: 20%;
    border-right: none;	
}
td.subheader.songartist {
    width: 37%;
    border-right: none;
}

td.subheader.banner {
    width: 15%;
    border-left: none;
}
th.subheader.difficulty {
	width: 15%;
}
td.subheader.difficulty.difficultyE, 
th.subheader.difficulty.difficultyE,
td.subheader.difficulty.difficultyN, 
th.subheader.difficulty.difficultyN,
td.subheader.difficulty.difficultyH, 
th.subheader.difficulty.difficultyH,
td.subheader.difficulty.difficultyEX, 
th.subheader.difficulty.difficultyEX {
    width: 12%;
}

/* Specific Cell Styles */
td.challenge {
    height: 1px;
    background-color: #51414F !important;
}

td.nochart.challenge {
    background-color: #181818 !important;
}

td.midalign, 
td.records {
    background-color: #301934 !important;
    text-align: center;
}

td.banner.midalign, 
th.banner.midalign {
    width: 15%;
}

td.songartist {
    text-align: center;
}

td.records {
    overflow-y: auto;
}

/* scores page */
th.subheader.playername {
    width: 12%;
}
th.subheader.timestamp{
    width: 20%;
}
th.subheader.banner {
	width: 13%;
    border-left: none;
}
th.subheader.score {
    width: 20%;
}

th.subheader.difficulty {
    width: 15%;
}

/* Song Difficulties */
.songdifficulties {
    text-align: center;
    vertical-align: bottom;
}

/* Specific Width for Subheaders */
td.subheader.easy,
td.subheader.normal,
td.subheader.hyper,
td.subheader.ex {
    width: 10%;
}

/* Responsive Design */
@media (max-width: 600px) {
    table.records, 
    table.attempts, 
    table.topscores, 
    table.players, 
    table.events {
        width: unset;
}

img.banner, 
    td.banner.midalign, 
    th.banner.midalign, 
    th.banner, 
    td.subheader.banner {
        display: none;
    }
}

.jacket img {
    display: block;
    margin-left: auto;
    margin-right: 0;
	width: 128px;
}
table.songinfotable td.jacketsonginfo {
    vertical-align: bottom;
}

/* Banner Fix */
table.list tbody tr.songdata td.banner {
    background-color: rgba(48, 25, 52, 0.7) !important;
    opacity: 1 !important;
}

table.list tbody tr.songdata td.banner img.banner {
    opacity: 1 !important;
}
