/* *********************************
	PAGE HEAD (most already in major.css)
***********************************/  
    #sclk_pageHead.sclk_pageHead_charts {
        min-height: 240px;
        max-height: 480px;
    }
    #sclk_pageHead.sclk_pageHead_charts #sclk_pageTitle {
        padding-bottom: 70px;
    }
    #sclk_pageSubtitle {
        position: absolute;
        bottom: 50px; right: 0;
        font-size: 20px; font-weight: normal; text-align: right;
        color: rgba(180,180,180,0.85);
    }
    @media (max-width:1200px) {
        #sclk_pageSubtitle { font-size: 17.5px; } 
    }
    @media (max-width:900px) {
        #sclk_pageHead.sclk_pageHead_charts #sclk_pageTitle { padding-bottom: 50px; }
        #sclk_pageSubtitle { font-size: 15.4px; bottom: 30px; } 
    }
    @media (max-width:600px) {
        #sclk_pageHead.sclk_pageHead_charts #sclk_pageTitle { padding-bottom: 25px; }
        #sclk_pageSubtitle { display: none; } 
    }
    
    /* for pages with advertisement */
    #sclk_pageHead.sclk_pageHead_charts.sclk_pageHead_chartsADS {
        min-height: 110px;
        max-height: 280px;
        background-image: none !important;
    }
    @media (max-width:1400px) {
        #sclk_pageHead.sclk_pageHead_charts.sclk_pageHead_chartsADS { max-height: 230px; } 
    }
    @media (max-width:600px) {
        #sclk_pageHead.sclk_pageHead_charts.sclk_pageHead_chartsADS { height: 110px; } 
    }
    
  
/* *********************************
	Charts Header (w/ play button and genre filter)
***********************************/
    #chartsHeader_wrapper {
        width: 100%;
        margin: auto; 
        overflow: auto;
        position: -webkit-sticky; position: sticky; top: 40px; /* -webkit-sticky is currently needed for Chromes and Safari on iOS (remove when supported) */
        z-index: 1000;
        transition: 0.2s ease-in-out;
        background: black;
    }
    #chartsHeader_wrapper.header-up { /* sc_scrollEvents.js */
        top: 0;
    }
    #chartsHeader_container {
        height: 35px; 
        padding: 10px 0; 
        margin: 5px auto;
        max-width: 600px; 
        display: grid;
        grid-template-columns: 1fr 44px;
    }
    #chartsHeader_container select, #chartsHeader_container option.selected {
        padding: 4px 2px; 
        font-size: 17px; 
        width: 92%;  
        overflow:hidden; 
        white-space:nowrap; 
        text-overflow:ellipsis;
    }
    #chartsHeader_genreBox {
        white-space: nowrap;
        width: 100%; 
        padding: 0 0 10px 4px; 
        text-align: center; 
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .chartsHeader_filters {
        margin-right: 30px;
        display: flex; align-items: center;
        cursor: pointer;
    }
    .chartsHeader_filters:hover {
        color: rgb(245,245,245);
    }
    .chartsHeader_filters i {
        margin: 4px 0 0 7px;
    }
    /* play button */
    #chartsHeader_play #play {
        width:auto; height:auto;
    }
    #chartsHeader_play i {
        font-size: 36px; 
        --fa-primary-color: rgb(255,255,255); 
        --fa-secondary-color: rgb(var(--sc_blue)); 
        --fa-secondary-opacity: 0.9;
    }
    
    /* media */    
    @media (max-width:600px) {
        #chartsHeader_container { padding: 4px; margin: 9px auto;}
    }
      
    
    /*
    #chartsHeader_play {
        position: absolute;
        left: 0; right: 0; margin: auto;
        width: 100px; height: 20px;
    }
    */
    #search_playBox {
        white-space: nowrap;
        margin: auto;
        text-align: center;
        display: grid;
        grid-template-columns: 1fr 60px;
    }
    
    /* Genre list in header 
    #chartsHeader_genreWrapper {
        display: none;
        max-width: 1500px; margin: 0 auto;
    }
    #chartsHeader_genreContainer {
        display: flex;
        width: 100%;
    }
    #chartsHeader_listGenre {
        display: flex; flex-wrap: wrap;
        height: fit-content;
        width: 30%; padding: 10px;
        background: rgb(70, 70, 70);
    }
    #chartsHeader_listSubGenre {
        display: flex; flex-wrap: wrap;
        height: fit-content;
        width: 70%; padding: 10px;
        background: rgb(55, 55, 55);
    }
    .chartsHeader_header {
        width: 100%; box-sizing: border-box;
        padding: 4px 10px;
        font-weight: 700;
        background: rgba(0,0,0,0.2);
    }
    a.chartsHeader_listedGenre {
        display: inline-block;
        padding: 10px;
        color: rgba(255,255,255,0.8);
    }
    a.chartsHeader_listedGenre.selectedGenre {
        color: rgb(103, 192, 242);
        font-weight: 500;
     }
     */
     
     /* media   
    @media (max-width:600px) {
        a.chartsHeader_listedGenre { padding: 4px 5px; }
    }
     */ 
    /* Sort-by list in header
    #chartsHeader_sortWrapper {
        display: none;
        max-width: 1500px; box-sizing: border-box;
        margin: 0 auto; padding: 20px;
        background: rgb(55, 55, 55);
        text-align: right;
    } */
    
/* *********************************
	Charts
***********************************/
    #chartsUpdate_inProgress {
        text-align: center;
        padding: 40px 0;
        font-size: 21px;
        line-height: 25px;
    }

    #chartsWrapper {
        width: 100%;
    }
    #chartsWrapper:after {
        content: "";
        display: table;
        clear: both;
    }
    #charts {
        max-width: 1500px;
        overflow: hidden;
        margin: 0 auto; 
    }
    #charts_loadTopOfCharts {
        padding: 30px;
        font-size: 20px;
        text-align: center;
        background: rgba(25,25,25,1.00); color: rgb(255,255,255);
    }
    #charts_loadTopOfCharts:hover {
        background: rgba(30,30,30,1.00);
    }
    #charts_loadTopOfCharts i {
        padding-right: 20px;
    }
    
    /* media */    
    @media (max-width:600px) {
        #chartsUpdate_inProgress { padding: 10px; font-size: 17px; line-height: 22px;}
    }
    
 /* *********************************
	Song boxes 
***********************************/   
    .charts_songBox {
        height: 50px; box-sizing: content-box;
        margin: 1px 0; padding: 10px;
        background: rgba(25,25,25,1.00); color: rgb(255,255,255);
        transition: 0.15s;
        display: flex;
    }
    
    /* colors */
    .tonedDown {
        color: rgb(130,130,130);
    }
    
    /* links */
    .charts_songBox a {
        color: rgb(130,130,130);
        transition: 0.15s;
    }
    .charts_songBox:hover a {
        color: rgb(180,180,180);
    }
    .charts_songBox a:hover {
        color: rgb(255,255,255);
    }
    
    /* hover */
    .charts_songBox:hover { background: rgba(30,30,30,1.00); }

    
    /* mobile distribution in song box */
    @media (min-width:600px) {        /* only for mobile, see below */
        .inlineDistribution div.price {display: none;}
    }
    @media (max-width:600px) {
     .inlineDistribution {
            display: grid;
            grid-template-columns: auto 1fr;
            gap:9px;
        }
    .inlineDistribution div.price {
            color: rgb(65 131 168);
            font-weight: 500;
        }   
    }
    
/* *********************************
	Buttons left
***********************************/   
    .chartsBtns_left {
        width: 100px;
        display: flex; align-items: center; justify-content: space-around;
    }
    .chartsBtns_left div {
        cursor: pointer;
    }
    .chartsTrend {
        width: 15px;
        text-align: center;
        opacity: 0.4;
    }
    .newEntry {
        font-size: 12.5px;
    }
    /* toggle position/play button */
    .charts_posPlayToggle {
        width: 25px;
        display: flex; align-items: center; justify-content: center;
    }
    .charts_posPlayToggle .chartsPlayBtn {
        width:25px; height:25px; border-radius: 12.5px;
        display: flex; align-items: center; justify-content: center;
        background: rgb(59,119,153); background: rgb(var(--sc_blue)); color: rgb(255,255,255);
        display: none;
    }    
    .charts_posPlayToggle .chartsPlayBtn i {padding-left: 2.5px;}
    
    /* hover */
    .charts_songBox:hover .chartsTrend { opacity: 0.7; }
    .charts_songBox:hover .chartsPlayBtn { display: flex;}
    .charts_songBox:hover .chartsPosition { display: none;}
    
 /* *********************************
	Picture
***********************************/  
    .charts_picture {
        background: center center no-repeat; background-size: cover;
        background-color: rgb(15,15,15);
        height: 50px; width: 50px; margin: 0 5px;
        cursor: pointer;
        filter: brightness(1.1) saturate(1.3);
    }
    
 /* *********************************
	Song title & artist name
***********************************/  
    .charts_titleBox {
        width: 25%; margin: 0 20px;
        display: flex; flex-wrap: wrap; flex-grow: 1;
    }
    .charts_songname {
        height: 50%; width: 100%;
        display: flex; align-items: center;
        font-size: 17.5px; font-weight: 500;
        cursor: pointer;
    }
    .charts_artist {
        height: 50%; width:100%;
        display: flex; align-items: center;
    }
    /* keep as child of flex, so that ellipsis works */
    .charts_songname span, .charts_artist a {
        min-width: 0;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

 /* *********************************
	Tags 
***********************************/  
    .charts_tags {
        width: 30%; margin: 0 20px;
        display: flex; align-items: center;
    }
    .charts_tags a {
        padding: 10px; 
    }

    /* keep as child of flex, so that ellipsis works */
    .charts_tags span {
        min-width: 0;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    /* description instead of hasgtags on artist page if opted so; Elipsis overflow after 3 lines */
    .charts_tags .artistPage_description {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        line-height: 16px;
        font-size: 14.9px;
    }
    
 /* *********************************
	Distribution 
***********************************/  
    .charts_distribution {
        width: 20%; margin: 0 20px;
        display: flex; align-items:center; justify-content:flex-end;
    }
    .charts_freeDownload {
        color: rgba(255,255,255, 0.8);
        margin: 0 5px 0 15px;
        cursor: pointer;
    }
    .charts_freeDownload:hover {
        color: rgba(255,255,255, 1);
    }
    .charts_purchase {
        white-space:nowrap; 
        background:rgba(59,119,153,1.00); background:rgb(var(--sc_blue)); color: rgba(255,255,255, 0.8);
        padding: 5px 10px; margin: 0 5px;
        border-radius: 15px;
        cursor: pointer;
    }
    .charts_purchase i {
        margin-right:5px;
    }
    .charts_purchase span {
        font-size:14.5px;
    }
    .blue_freeDownload {
        padding: 5.5px 14px;
        font-size: 14.5px;
        font-weight: 500;
        opacity: 0.8;
        letter-spacing: 0.7px;
        margin: 0 2px;
        cursor: pointer;
        background-color: rgba(59,119,153,1.00);
        background-color: rgb(var(--sc_blue));
        color: rgb(255,255,255);
        border-radius: 16px;
    }
    .charts_purchase:hover {
        color: rgba(255,255,255, 1);
    }
    .blue_freeDownload:hover {
        opacity: 1;
    }

 /* *********************************
	Media
***********************************/  
    @media (max-width:1200px) {
        .charts_tags { width: 20%; margin: 0 10px; }
        .charts_titleBox { width: 30%; margin: 0 10px; }
    }
    @media (max-width:1050px) {
        .charts_titleBox { width: 50%; }
    }
    @media (max-width:900px) {
        .charts_tags { display: none; }
        .charts_songBox { padding: 10px 5px; }
        .chartsBtns_left { width: 80px; }
        .charts_titleBox { width: 40%; }
        .tonedDown { color: rgb(170,170,170); }
        .charts_songBox a { color: rgb(170,170,170); }
        .charts_songBox:hover a { color: rgb(200,200,200); }
    }
    @media (max-width:800px) {
        .chartsTrend { display: none; }
        .charts_songBox:hover .chartsPlayBtn { display: none;}
        .charts_songBox:hover .chartsPosition { display: flex;}
        .charts_songBox .chartsPosition { color: rgb(140,140,140); }
    }
    @media (max-width:600px) {
        .chartsMoreInfo {display: none; }
        .chartsBtns_left { width: 30px; justify-content:flex-start; }
        .charts_distribution { display: none; }
    }
    
