/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Feb 28, 2020, 12:29:42 PM
    Author     : rachel.teng
*/

html{
}
body{
    margin: 0;
    padding: 0;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif, 微軟正黑體, 蘋果儷中黑;
    overflow: hidden;
}
a, a:hover, a:active{
    text-decoration:none;
}
section{
    width: 100%;
}

footer{
    background: #757575;
    width: 100%;
    position: fixed;
    bottom: 0;
}
.footer-container{
    max-width: 100%;
    overflow: hidden;
    position: relative;
    font-size: 10px;
    padding: 5px 4px;
    text-align: right;
    color: white;
}
.fix{
    width: 100vw;
    height: 100vh;
    background-image: url("../images/prelisten/background.png");
    background-size: cover;
    overflow: hidden;
}
.panel{
    display: block;
    width: 712px;
    height: 680px;
    margin: 0 auto;
    position: relative;
    top: calc( 50% - 352px );
    overflow: hidden;
    border-radius: 4px;
    -webkit-box-shadow: 0 15px 12px -15px black;
    -moz-box-shadow: 0 15px 12px -15px black;
    box-shadow: 0 15px 12px -15px black;
}
section{
    width: 278px;
    display: block;
    height: 681px;
    float: left;
    overflow: hidden
}
#sec-release{
    width: 434px;
    overflow: hidden;
}

#sec-release-no-platform{
    margin: auto;
    width: 100%;
    overflow: hidden;
}
.track-list-no-platform{
    width: 100%;
    padding: 10px;
    background: #646464;
    color:white;
    height: 327px;
    overflow-y: scroll;
}
.release-info{
    background: #9D9D9D;
    background-size: cover;
    position: relative;
    display: block;
    min-height: 304px;
}
.release-triangle-wrapper{
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 100%;
    overflow: hidden
}
.release-triangle{
    width: 100%;
    background-image: -webkit-linear-gradient(165deg, transparent 50%, #FEFEFE 50%, #f8f8f8 100%);
    background-image: -o-linear-gradient(165deg, transparent 50%, #FEFEFE 50%, #f8f8f8 100%);
    background-image: linear-gradient(165deg, transparent 50%, #FEFEFE 50%, #f8f8f8 100%);
    position: relative;
    height: 100%;
    opacity: 0.85;
}
.release-cover{
    text-align: center;
    position: relative;
    z-index: 999;
    padding-top: 21px;
}
.release-cover img{
    width: 212px;
    height: 212px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
}
.release-data{
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 999;
    padding: 22px;
}
.release-title{
    font-size: 24px;
    color: #333333;
}
.release-artist{
    font-size: 18px;
    color: #696969;
}
.track-list{
    width: 414px;
    padding: 10px;
    background: #646464;
    color: white;
    height: 327px;
    overflow-y: scroll;
}


.track-items{
    min-height: 58px;
    width: 100%;
    background: #797979;
    margin-bottom: 4px;
    border-radius: 9px;
    display: flex;
    cursor: pointer;
}

.track-num{
    width: 58px;
    text-align: center;font-size: 18px;
    vertical-align: middle;margin: auto 0;
}
.track-info{padding: 7px 10px 7px 0;width: calc( 100% - 58px);}
.track-title{font-size: 18px;}
.track-artist{
    font-size: 13px;
    opacity: 0.55;
}
.icon-wrapper, .playing .track-numbering, .track-items:hover .track-numbering{
    display: none;
}
.playing .track-num .icon-wrapper, .track-items:hover .track-num .icon-wrapper{
    display: block;
}
.icon-wrapper{
    width: 26px;
    height: 24px;
    background-image: url("../images/prelisten/player-icon.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;
    margin: 0 auto;
}
.playing .track-num .icon-wrapper{
    background-image: url("../images/prelisten/playing.svg");
}
.playing.track-items:hover .icon-wrapper{
    background-image: url("../images/prelisten/player-icon.png");
    background-position: 0px -24px;
}
.platform-list{
    background: #F5F5F5;
    display: block;
    width: 258px;
    padding: 10px;
    overflow-y: scroll;
    height: 661px;
}
.platform-items{
    min-height: 58px;
    width: 100%;
    background: #FFFFFF;
    margin-bottom: 4px;
    border-radius: 9px;
    display: flex;
    cursor: pointer;
}
.platform-items:hover{
    background: rgba(255,255,255,0.5);
}
.platform-logo{
    width: calc( 100% - 69px);
    margin: auto 12px;
}
.platform-logo-wrapper{
    height: 34px;
}
.platform-logo-wrapper img{
    height: 100%;
}

.play-on-platform{
    height: 28px;
    width: 28px;
    background-image: url("../images/prelisten/btn-gotoPlatform.png");
    background-repeat: no-repeat;
    background-size: 28px 28px;
    margin: auto 0;
}
/* width */
::-webkit-scrollbar {
    width: 7px;	
}

/* Track */
::-webkit-scrollbar-track {

}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #80D0C7 ; 
    background-image: linear-gradient( #FFD111 0%, #FFED3F 100%);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #667EEA; 
}
.btn-close-platform-ovelay, .btn-close-platform-ovelay-close{
    display: none;
}
@media only screen and (min-width: 768px)
{
    .track-items:hover{background-image: linear-gradient(90deg, #667EEA 0%, #80D0C7 100%);}
}
@media only screen and (max-width: 767px) {
    /* width */
    ::-webkit-scrollbar {
        display: none;
    }
    body{

    }
    #sec-release {
        width: unset;
        overflow: unset;
    }
    .fix {
        background-image:unset;
        background-size: unset;
        overflow: scroll;
    }
    .panel{
        width: 100vw;
        display: block;
        height: unset;
        margin: unset;
        position: unset;
        top: unset;
        border-radius: unset;
        -webkit-box-shadow: unset;
        -moz-box-shadow: unset;
        box-shadow: unset;
    }
    section{
        width:100%;
        display: block;
        height: unset;
        float: none;
    }
    .release-info{
        background: #9D9D9D;
        background-image: url("../images/prelisten/background.png");
        background-size: cover;
        position: relative;
        display: block;
    }
    .release-triangle-wrapper{
        width: 100%;
        position: absolute;
        bottom: 0;
        height: 100%;
        overflow: hidden
    }
    .release-triangle{
        width: 100%;
        background-image: -webkit-linear-gradient(78deg, transparent 50%, #FEFEFE 50%, #f8f8f8 100%);
        background-image: -o-linear-gradient(78deg, transparent 50%, #FEFEFE 50%, #f8f8f8 100%);
        background-image: linear-gradient(168deg, transparent 50%, #FEFEFE 50%, #f8f8f8 100%);
        position: relative;
        height: 100%;
        opacity: 0.85;
    }
    .release-cover{
        text-align: center;
        position: relative;
        z-index: 999;
        padding-top: 21px;
    }
    .release-cover img{
        width: 212px;
        height: 212px;
        border: 1px solid #E5E5E5;
        border-radius: 4px;
    }
    .release-data{
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 999;
        padding: 22px;
    }
    .release-title{
        font-size: 24px;
        color: #333333;
    }
    .release-artist{
        font-size: 18px;
        color: #696969;
    }
    .track-list{
        width: 100%;
        padding: 10px;
        background: #646464;
        color: white;
        height: unset;
        overflow-y: unset;
    }
    .track-items{
        min-height: 58px;
        width: calc( 100% - 20px);
        background: #797979;
        margin-bottom: 4px;
        border-radius: 9px;
        display: flex;
    }
    .track-num{
        width: 58px;
        text-align: center;font-size: 18px;
        vertical-align: middle;margin: auto 0;
    }
    .track-info{padding: 7px 10px 7px 0;width: calc( 100% - 58px);}
    .track-title{font-size: 18px;}
    .track-artist{
        font-size: 13px;
        opacity: 0.55;
    }
    .icon-wrapper, .playing .track-numbering, .track-items:hover .track-numbering{
        display: none;
    }
    .playing .track-num .icon-wrapper, .track-items:hover .track-num .icon-wrapper{
        display: block;
    }
    .icon-wrapper{
        width: 26px;
        height: 24px;
        background-image: url("../images/prelisten/player-icon.png");
        background-repeat: no-repeat;
        background-position: 0px 0px;
        margin: 0 auto;
    }
    .playing .track-num .icon-wrapper{
        background-image: url("../images/prelisten/playing.svg");
    }
    .playing.track-items:hover .icon-wrapper{
        background-image: url("../images/prelisten/player-icon.png");
        background-position: 0px -24px;
    }
    .platform-list{
        background: #F5F5F5;
        display: block;
        width: 100%;
        padding: 10px;
        overflow: unset;
        height: unset;
    }
    .platform-items{
        min-height: 58px;
        width: calc( 100% - 20px);
        background: #FFFFFF;
        margin-bottom: 4px;
        border-radius: 9px;
        display: flex;
    }
    .platform-logo{
        width: calc( 100% - 70px);
        margin: auto 12px;
    }
    .platform-logo-wrapper{
        height: 34px;
    }
    .platform-logo-wrapper img{
        height: 100%;
    }

    .play-on-platform{
        height: 28px;
        width: 28px;
        background-image: url("../images/prelisten/btn-gotoPlatform.png");
        background-repeat: no-repeat;
        background-size: 28px 28px;
        margin: auto 0;
    }
    footer{
        background: #757575;
        width: 100%;
        position: unset;
        bottom: unset;
    }
    .footer-container{
        max-width: 100%;
        overflow: hidden;
        position: relative;
        font-size: 10px;
        padding: 5px 4px;
        text-align: right;
        color: white;
    }

    #sec-platform{
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left:100vw;
        background: red;
        z-index: 99999;
        transition: all 0.5s ease;
        overflow-y: scroll;
    }
    .btn-close-platform-ovelay{
        display: block;
        width: 50px;
        height: 50px;
        position: fixed;
        right: 0px;
        top: 0px;
        background-image: url("../images/btn-chain2x.png");
         background-size: 50px;
        z-index: 999999999;
    }
    
    
    .platform-list{
        padding-top: 78px; 
        min-height: calc( 100vh - 88px);
    }
}