/* Tested on Chrome, Firefox, and Opera. */


/* BASE STYLES
------------------------------------------------------- */

button {
    border: none;
    background: none;
    outline: none;
}


/* LAYOUT
------------------------------------------------------- */

#wrapper {
    width: 100%;
    margin: 0 auto;
}

#videoContainer {
    position: relative;
    /*height: 737px;*/
    background: #333;
}

#video {
    width: 100%;
    display: block;
    /*height: 738px;*/
}

#transcript p {
    font-family: 'Varela Round', sans-serif;
    font-size: 18px;
    line-height: 36px;
    margin: 20px;
}

.highlight {
    color: #ff9900;
}


/* VIDEO CONTROLS
------------------------------------------------------- */


/*#videoControls {
  bottom: 65px;
  left: 0;
  margin: 0 auto;
  padding: 5px 0;
  position: absolute;
  right: 0;
  text-align: center;
  width: 100%;
}*/

/*#videoControls {
    bottom: 50px;
    max-width: 1170px;
    padding: 5px 0;
    position: absolute;
    right: 13.3%;
    width: 58%;
}*/
#videoControls {
  bottom: 50px;
  left: 15.3%;
  margin: 0 auto;
  max-width: 1170px;
  padding: 5px 0;
  position: absolute;
  right: 0;
  text-align: center;
  width: 758px;
}
#progress {
    background-color: #547eb8;
    border-radius: 5px;
    height: 25px;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: -15px;
    width: 0;
    z-index: 1;
}

#progressBar {
    background-color: #262626;
    border-radius: 5px;
    height: 25px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: -15px;
    width: 100%;
    z-index: 0;
}

#progressBar:focus {
    outline: none;
}

#progressBar::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    height: 0;
    width: 0;
}

#progressBar::-moz-range-thumb {
    visibility: hidden !important;
}

#buttons {
    opacity: 0;
    transition: opacity .3s ease-out;
}

#videoContainer:hover #buttons {
    opacity: 1.0;
}

#duration, #fastFwd {
  bottom: -35px;
  color: white;
  float: right;
  font-size: 25px;
  font-weight: 900;
  position: relative;
  right: 17%;
  z-index: 10;
}

#closedCaption,
#fullScreen,
#volumeBar {
    float: right;
}

#volumeSlider {
    width: 60px;
    float: right;
}

#volumeSlider::-webkit-slider-thumb {
    background-color: green;
    height: 10px;
    width: 10px;
}


/* =========================================
   MEDIA QUERIES */

@media (min-width: 1400px) {
    #wrapper {
        width: 100%;
    }
    #transcript p {
        font-size: 14px;
        line-height: 24px;
    }
    #videoControls {
        top: %;
    }
    #videoControls {
        bottom: 50px;
        left: 10.3%;
        margin: 0 auto;
        max-width: 1170px;
        padding: 5px 0;
        position: absolute;
        right: 0;
        text-align: center;
        width: 758px;
    }
}
