
/*PLAYER*/
section.player{
    height:calc(100vh - 9rem);
    background:black;
    position:fixed;
    top:calc(100vh - 6rem);
    width:100%;
    left:0;
    transition-property: top;
    transition-duration: 1s;
 
    color:white;
    
}
section.player.opened{
    top:9rem;
}
    section.player .ctrl{
        
        display:flex;
        position:absolute;
        right:0;
        top:1rem;

        line-height: 5rem;
        cursor:pointer;
    }
    section.player .ctrl div{
        padding:0 1rem;
        border-left:2px solid white;
    }
    section.player.opened .ctrl div.active{
        background:white;
        color:black;
    }
    section.player.opened .ctrl div.active.favorites-btn .star{
        background:transparent;
        color:black;
    }


 
    section.player .ctrl .star{
        font-family: 'BNABBOTGlyphes';
        color: white;
        font-size: 3rem;
        line-height: 3rem;
        display: inline-block;
        border: none;
        padding: 0.5rem;
    }
    

  
   
    section.player .ctrl .screen-toggle:after{
        content: '↑';
        font-size: var(--button-size);
        line-height: var(--line-height);
        padding-top: 0.5rem;
        display: block;
        width: 100%;
        text-align: center;
    }
    section.player.opened .ctrl .screen-toggle:after{
        content:'↓';
        font-size: var(--button-size);
        line-height: var(--line-height);
    }
    section.player .progress{
        width:100%;
        height:1rem;
        background:var(--gray);
        cursor:pointer;
    }
        section.player .progress .progress-bar{
            height:100%;
            width:0%;
            background:black;
        }
    section.player .track{
        display:flex;
        margin:1rem;
        cursor:pointer;
        height:3rem;
    }
        section.player .track div{
            padding:0 1rem;
            position: relative;
            top: -0.45rem;
        }



/*FAVORITES INFO SCREEN*/
    section.player #favorites-list{
        /* padding-top: 3rem; */
        display:block;
    }


    /*TRACK INFO SCREEN*/
    section.player .player-content{
        display:flex;
        /* height:calc(100% - 3rem); */
        overflow-x: scroll;
        /* top: 4rem;
position: relative; */
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    section.player .player-content::-webkit-scrollbar {
        display: none;
    }
    
    /* Hide scrollbar for IE, Edge and Firefox */
    section.player .player-content {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        padding-top: 3rem;
    } 

    section.player .player-content>div{
        height: calc(100vh - 18rem);
        width:100%;
        display:none;
        padding:0 1rem 1rem 1rem;

        /* height:100%; */
    }
    section.player .player-content>div.active{
        display:block;
    }
    section.player .player-content>div>div{
        width:var(--column-width);
       
    }
    section .player-content .main-info{
        padding-bottom: 2rem;
    }
    section .player-content .main-info div.context-note{
        padding-bottom: 2rem;
    }

    .player-content h2{
        margin:1rem 0;
    }

    .track-toggle{
        cursor: pointer;
        background-color: white;
        color: black;
    }
    .track-toggle.loading{
        animation:colors-fade 2s infinite;
    }
    .track-toggle.loaded{
        background-color: black;
        color: white;
        cursor:auto;
    }

    .tags-line.track-info a{
        color:white;
    }

    /*FAVORITES SCREEN */

    .button{
        background:transparent;
        /* width:var(--button-size); */
        /* height:var(--button-size); */
        cursor: pointer;
        border: none;
        top: -0.5rem;
        position: relative;
    }

    .button.play{
        top:-0.2rem;
    }
    .button.play:after{
        font-family: 'BNABBOTGlyphes';
        /* position: relative; */
        content:'P';
        color:var(--selected);
        font-size: var(--button-size);
        /* line-height: var(--line-height); */
    }

    .button.play.currently:after{
        color:var(--white);
    }

    .button.play.inverted:after{
        color:var(--white);
    }
    
    
    .button.pause:after {
        font-family: 'BNABBOTGlyphes';
        content:'O';
        color:black;
        font-size: var(--button-size);
        /* line-height: var(--line-height); */
    }

    .button.pause.currently:after{
        color:var(--white);
    }
    .button.pause.inverted:after{
        color:var(--white);
        top:0.1rem;
    }
    .button.favorite{
        /* margin-right:0.4rem; */
        /* top:-0.2rem; */
    }

    .button.favorite.album{
        top:0;
        float:right;
        right: 2rem;
        /* margin-right:2rem; */
    }
    .button.button.favorite.favorite-player.show{
        display:inline-block;
    }
    .button.button.favorite.favorite-player{
        display: none;
    }
    .button.favorite.favorite-player:after{
        font-family: 'BNABBOTGlyphes';

        content:'V';
        color: var(--selected);
        font-size: var(--button-size);
        /* line-height: var(--line-height); */
        font-weight: bold;
        top: 0.2rem;
        position: relative; 
    }

    .button.favorite.favorite-player.selected:after{
        content:'U';
    }
    .button.favorite.favorite-player.loading{
        transform-origin: 50% 50%;
-webkit-transform-origin: 50% 54%;
-moz-transform-origin: 51% 65%;
-o-transform-origin: 50% 50%;
    }
    .button.favorite:after{
        font-family: 'BNABBOTGlyphes';

        content:'V';
        color: var(--selected);
        font-size: var(--button-size);
        /* line-height: var(--line-height); */
        font-weight: bold;

    }
    .button.favorite.inverted:after{
        color:var(--white);
    }
    .button.favorite.selected:after{
        content:'U';
        /* color: black; */
    }

    .button.favorite.selected.inverted{
        color:white;
    }
    .button.share-track{
        background-image: url('share.svg');
        background-repeat: no-repeat;
background-size: contain;
display: inline-block;
width: 2rem;
height: 2rem;
margin-left: 1rem;

top: -1.1rem;
margin-right: 1rem;
/* scale: 1.8; */
}
.button.share-album{
    background-image: url('share.svg');
    background-repeat: no-repeat;
background-size: contain;
display: inline-block;
width: 2rem;
height: 2rem;
margin-left: 1rem;

top: 0.9rem;
float: right;
/* scale: 1.8; */
right: -4rem;
}

    .button{
        display: block;
    }
    .button.currently {
        /* top:-1.06rem; */
    }
    .button.title-track {
        display: inline-block;

        top: -0.2rem;
        /* top:0; */
    }
    .button.title-track.favorite{
        top: 0;
float: right;
margin-right: 2rem;
    }
    .button.loading{
        /* margin-right: 0.2rem; */
        /* padding:0; */
        transform-origin: 50% 50%;
        -webkit-transform-origin: 50% 54%;
        -moz-transform-origin: 51% 56%;
        -o-transform-origin: 50% 50%;
        /*for chrome : transform-origin: 50% 50%;*/
        background-color:transparent;
        /* width: min-content; */
        /* height: min-content; */
        -webkit-animation: rotation .5s cubic-bezier(.55,.06,.2,.2) infinite;
        -moz-animation: rotation .5s cubic-bezier(.55,.06,.2,.2) infinite;
        -o-animation: rotation .5s cubic-bezier(.55,.06,.2,.2) infinite;
        /* animation: rotation .6s cubic-bezier(.55,.06,.68,.19) infinite; */
        animation: rotation .5s cubic-bezier(.55,.06,.2,.2) infinite;
      }
      .favorites-btn.loading .star{
        transform-origin: 50% 50%;
        -webkit-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 57%;
        -o-transform-origin: 50% 50%;
        background-color:transparent;
        width: min-content;
        height: min-content;
        -webkit-animation: rotation .6s cubic-bezier(.55,.06,.2,.2) infinite;
        -moz-animation: rotation .6s cubic-bezier(.55,.06,.2,.2) infinite;
        -o-animation: rotation .6s cubic-bezier(.55,.06,.2,.2) infinite;
        /* animation: rotation .6s cubic-bezier(.55,.06,.68,.19) infinite; */
        animation: rotation .6s cubic-bezier(.55,.06,.2,.2) infinite;


      }


      @-webkit-keyframes rotation {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(359deg);
        }
      }
      @-moz-keyframes rotation {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(359deg);
        }
      }
      @-o-keyframes rotation {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(359deg);
        }
      }
      @keyframes rotation {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(359deg);
        }
      }
      

/*
.button{
    background:white;
    width:var(--button-size);
    height:var(--button-size);
    border-color: transparent transparent transparent #000;
    transition: 100ms all ease;
    will-change: border-width;
    cursor: pointer;
}

.button.play{
    border-style: solid;
    border-width: calc(var(--button-size) / 2) 0px calc(var(--button-size) / 2) var(--button-size);

}*/

section.player button{
    background:transparent;
    /* border-color: transparent transparent transparent #FFF; */
    border-color: transparent transparent transparent transparent;
    
}

section.player #favorites-list button{
    /* top:0.4rem; */
    top:0;
    display: inline-flex;
}

  section.player #favorites-list button:after{
    position: relative;
    /* top:-0.4rem; */
  }

@keyframes colors-fade{
    
        0%{     
            color:black;
            background-color:#FFF;    
        }
        50%{
            background-color: black;
            color:white;
        }
        100%{   
            color:black;
            background-color: #FFF;    }
    
}
section.player #favorites-list li{
    /* cursor: grab; */
    margin-bottom: 0;
  /* border-bottom:solid 1px gray; */
}

section.player #favorites-list li.playing{
    background-color: var(--selected);
    transition: background-color .3s ease-in-out;
}



section.player #favorites-list li div.handle{
    /* width:var(--button-size); */
    /* height:var(--button-size); */
    cursor: grab;
    /* background-size:contain; */
    /* border: none; */
    /* background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='22' height='22' version='1.1' viewBox='0 0 1.33 1.2673' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(-19.996 -37.794)' stroke='white' fill='none'%3E%3Cg stroke-width='.071363'%3E%3Crect x='20.031' y='38.186' width='1.2586' height='.00078731'/%3E%3Crect x='20.031' y='38.427' width='1.2586' height='.00078731'/%3E%3Crect x='20.031' y='38.668' width='1.2586' height='.00078731'/%3E%3C/g%3E%3Cpath transform='matrix(.053073 0 0 .031392 20.469 37.925)' d='m4.3338 0.98153-1.5831-8.555e-4 0.79217-1.37z' stroke-width='3.7795'/%3E%3Cpath transform='matrix(.053073 0 0 -.031392 20.477 38.93)' d='m4.3338 0.98153-1.5831-8.555e-4 0.79217-1.37z' stroke-width='3.7795'/%3E%3C/g%3E%3C/svg%3E"); */
    top: 0.5rem;
position: relative;
margin: 0 0.4rem 0 0.7rem;
}

.share-fav-button, .clear-fav-button{
    cursor: pointer;
    background-color: white;
    color: black;
}
.glyph {
    font-family: 'BNABBOTGlyphes';
    font-size: var(--button-size);
        line-height: var(--line-height);
}

section.player .share-line{
    display: flex;
    padding-left: 3.5rem;
    font-size: var(--h1-font-size);
    letter-spacing: 0.1rem;
}
section.player button.copy_clipboard{
    font-family: 'BNABBOTGlyphes';
    color: white;
    font-size: 3rem;
    font-weight: bold;
    position: relative;
    top: -0.1rem;
    padding-right: 1rem;
}



#tip{
    position: absolute;
    right: -27rem;
    top: -6rem;
    color: black;
    font-size: 3rem;
    color: #fff;
    background: var(--selected);
    border-radius: 1px;
    padding: 0.2rem 0.8rem;
    font-size: var(--h1-font-size);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    /* line-height: 3rem; */
    opacity: 0;
    height: 3.6rem;
    /* z-index:-1; */

    /* visibility: hidden; */
    /* transition: opacity .6s ease-in-out; */
}

#tip.active{
    opacity: 1;
    /* z-index: 9999; */
    right:1rem;
}

#tip::after{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 16px solid transparent;
    border-top: 22px solid var(--selected);;
    top: 2.8rem;
    right: 9rem;
    /* z-index:0; */
}
.fade{
    transition: opacity .6s ease-in-out;
}

.tip-player{
    right: 5.3rem;
    position: absolute;
    background: var(--selected);
    color: white;
    bottom: 2rem;
    padding: 0rem 0.8rem;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    line-height: 3rem;
    opacity:0;
}
.tip-player.active{
    opacity:1;
}
.tip-player::after{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 9px solid transparent;
    border-top: 16px solid var(--selected);
    top: 2.8rem;
    right: 9rem;
}

.arrow-indicator{
    display:none;
    font-family: "BNABBOTGlyphes";
    position: absolute;
    z-index: 1;
    /* color: var(--selected); */
    color:white;
    bottom: 25%;
    height: auto;
    font-size: 5rem;
    right: 5rem;
    animation: blink-animation 1s steps(5, start) infinite;
        -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
.arrow-indicator.active {
    display: none;
}
 
.tags-line.track-info a{
    color:var(--white);
}

@keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }
  @-webkit-keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }