/*
 *
 * Popcorn V1
 * A run through of what's what.
 *
 * Made by @joericho
 * Licensed under MIT
 *
 */

/* clearfix */
.cf:after {
  content: "";
  display: table;
  clear: both
}

#videoWrap {
  background: #E45635;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
}

#videoWrap .fa {
  color: #fff;
}

#videoWrap video {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

#controls {
  background: #E45635;
  padding-bottom: 40px;
}

#videoWrap button {
  -webkit-appearance: none;
  outline: 0;
  border: 0;
  background: transparent;
  float: left;
  width:12%;
  font-size: 1.3em;
  cursor:pointer;
}

#videoWrap .fa:hover {
  color: rgba(255,255,255,.6);
}


#muteBtn,
#fullScreen {
  float: right!important;
}

#slider {
  float: left;
}

.time {
  float: left;
  font-family: "Arial";
  font-size: .8em;
  margin-right: 5px;
  width: 6%;
  text-align:center;
  color: #fff;
  margin-top: 6px;
}

.time:first-of-type {
  margin-left:10px;
}

.time:last-of-type {
  margin:0;
  margin-top: 6px;
}

input[type='range'] {
 -webkit-appearance: none;
 -webkit-border-radius: 5px;
 -moz-border-radius: 5px;
 border-radius: 5px;
 background: rgba(0,0,0,.3);
 height: 10px;
 outline: 0;
 width: 30%;
 margin-top: 6px;
 margin-left: 10px;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  background-color: #fff;
  height: 15px;
  width: 15px;
}

/* Landscape mobile & down */
@media (max-width: 30em) {
  #videoWrap {
    margin-top: 0;
  }

  input[type='range'] {
    display: none;
  }

  #videoWrap button {
    width: 18%;
  }

  .time {
    margin-top: 6px;
  }

  .time:last-of-type {
    margin:0;
    margin-top: 6px;
  }
}

/* Portrait tablet to landscape */
@media (min-width: 30em) and (max-width: 50em) {
  #videoWrap video {
    height: 300px;
  }
}