@charset "UTF-8";
:root{
    --orange: #FF6721;
    --myBlack: #555555;
    --lineStrengh: 2px;
}

/* CSS Document */
#playbackContainer{
    position: fixed;
    bottom: var(--footer-height);
    width: 70%;
    padding: 0.5rem 3% 0.5rem 3%;
    display: flex;
    justify-content: center;
    background:rgba(255,255,255,0.4);
    z-index: 10;
}
.hiddenPlayback{
    display: none !important;
}
#controls{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#controls > *{
    margin: 0 0.3rem;
}

/*Buttons*/
.playcontrols{
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
}
#prev_btn{
    background-image: url(../images/button/prev_btn.svg);
}
#play_btn{
    background-image: url(../images/button/play_btn.svg);
}
#next_btn{
    background-image: url(../images/button/next_btn.svg);
}



/*Zeitleiste*/
#slider-container{
    position: relative;

    width: 75%;
    height: 0.7rem;
    padding: 0 0.3rem;

    box-sizing: border-box;
    border-left: solid var(--myBlack) var(--lineStrengh);
    border-right: solid var(--myBlack) var(--lineStrengh);

    display: flex;
    align-items: center;
}
#slider-container *{
    -webkit-outline: none !important; /*verhindert blauen rand in firefox/chrome*/
    -moz-outline: none !important;
    outline: none !important;
}
/*Slider*/
#seekslider{ 
    position: absolute;
    width: 100%;
    height: var(--lineStrengh);
    margin: 0;
    left: 0;

    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none;

    background-color: var(--myBlack);
    z-index: 60;
}
#seekslider:hover{
    cursor: grab;
}
/*Slidergriff*/
#seekslider::-webkit-slider-thumb{
    -webkit-appearance: none !important; 
    -moz-appearance: none !important;
    appearance: none !important;
    width: 0.5rem;
    height: 0.5rem;
    
    border: solid var(--orange) 0.5rem;
    border-radius: 0.5rem;
    color: gray;
    cursor: grabbing;

    z-index: 80;
}
/*fortschrittsbalken*/
#pastTime{
    position: absolute;
    left: 0;
    height: var(--lineStrengh);
    background: var(--orange);
    pointer-events: none;

    z-index: 70;
}
/*aktuelle Zeit*/
#playbackPosition{
    position: relative;
    font-size: 0.7rem;
}    


/*kapitel marker*/
.marker{
    height: 100%;
    border-left: var(--lineStrengh) solid var(--myBlack);
    position: absolute;

    z-index: 50;
    top: 0;
}
.marker:first-of-type{
    border-left: none;
}
.slideInfo{
    width: 100%;
    min-width: max-content;
    text-align: center;

    font-size: 0.5rem;
    position: absolute;

    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);

    opacity: 0;
    transition: opacity 0.5s;
}
/* .marker:hover .slideInfo, .slideInfo:hover, .marker:hover{
    opacity: 1;
    cursor: pointer;
} */
/* .marker:hover{
    background: lightgray;
} */

/*aktive marker*/
.activeMarker{

}
.activeMarker > .slideInfo{
    /* opacity: 1; */
    opacity: 0;
}