
/* #title {
    padding: 25px 20px 25px 28px;
    font-size: 140%;
    font-weight: bold;
  } */


#text {
    max-width: 600px;
    margin: auto;
    padding-top: 5px;
    padding-bottom: 20px;
}

video {
    width: 100%;
    position: relative;
    display: block;
}

#wrapper {
	position: relative;
    overflow: hidden;
    /* margin: 20px -90px; */
}

#prevnext {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: right;
}

.small {
    display: none;
    font-size: 70%;
}


.duration {
    color: #aaa;
}
 

#audiocontrols {
    display: flex;
    transition: height 0.3s ease-in-out;
    flex-direction: column;
    height: 50px;
}

#speech {
    flex:1;
    max-width: calc(100% - 30px);
}
  
#kk {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#kk .hide {
    height: 0px !important;
    overflow: hidden;
}  

#srt {
    text-align: center;
    left: 0;
    right: 0;
    color: white;
    text-shadow: 1px 1px 1px #000;
    font-family: arial;
    font-size: 1.4em;
    padding-bottom:10px;
}

#controlbar {
    display: flex;
    align-items: center;
    flex: 1;
    background: #000000b0;
    padding: 0px 10px;
    color:white;
}
  
#progress {
    height: 10px;
    display: flex;
    padding-top: 6px;
    cursor: pointer;
}

#time {
    font-size: 70%;
    padding: 0 10px;
    flex: 0.4;
    white-space: nowrap;
}

#prev, #next {
    padding: 0px 20px;
    color: white;
    cursor: pointer;
    font-size: 70%;
}

#prev:hover, #next:hover {
    background: #aaa;
}
  
#tracks {
    flex: 1;
    display: flex;
}

#tracks > div {
    flex: 1;
    text-align: center;
    cursor: pointer;
    /* padding: 4px; */
    font-size: 70%;
    color: white;
}

#tracks > div:hover, #tracks > div.selected {
    background: #aaa;
}

#speech {
    border-bottom-left-radius: 10px;
}

.button {
    min-width:30px;
    min-height: 30px;
}

#playpause {
    background: url(/media/playButton.svg) no-repeat center center;
    cursor: pointer;
}

#playpause.playing {
    background: url(/media/pauseButton.svg) no-repeat center center;
}
  
#fs {
    background: url(/media/fullscreenEnterButton.svg) no-repeat center center;
    cursor: pointer;
}

#fs.fullscreen {
    background: url(/media/fullscreenExitButton.svg) no-repeat center center;
}

  #done {
    width: 100px;
    max-height: 4px;
    background: #395a7b;
  }
  
  #left {
    flex: 1;
    background: #ffffff70;
  }
  

#overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    cursor: pointer;
}

#overlay .clicktoplay {
        width: 10%;
        padding-top: 10%;
        border-radius: 50%;
        position: absolute;
        z-index: 3;
        left: 45%;
        top: 45%;
        background: #111111b0 url(/media/playButton.svg) no-repeat 60% center;
        background-size: 50%;
}

#overlay.hide {
    display: none;
}

.go {
    background: #00000090;
    padding: 6px 45px;
    color: white;
    border-radius: 30px;
    text-decoration: none;
}

.go:hover {
    background: #395a7b;
}

@media only screen and (max-width:1000px) {

    h1 {
        font-size: 4vw;
        padding-bottom:10px;
    }

    #title {
        padding: 0 10px;
    }

    #wrapper {
        margin: unset;
        width: 100%;
    }

    #menu img {
       vertical-align: middle;
    }

    #overlay {
        background-size: 9vw;
    }
}

@media only screen and (max-width:400px) {
     #tracks {
         display: none;
     }

    .small {
       display: block;
    }

}


#text.hide {
    display: none;
}




  #tracks > div:hover, #tracks > div.selected {
    /* background: #aaa; */
    background: #cac7c7b0;
    border-radius: 10px;
  }
  
  .duration {
    /* color: #aaa; */
    color: #ddd;
  }
  
  #done {
    /* background: #395a7b; */
    background: #cc1f1f;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
  }
  
  #left {
    /* background: #ffffff70; */
    background: #ffffff40;
  }
  
  #prev:hover, #next:hover {
    border-radius: 10px;
  }
  



