.player-component {
    color: $light-white;
    text-align: left;
    padding: 0px 40px;
    height: 80px;
    background-color: $corpus-blue;
    border-bottom: 1px solid$corpus-black;
    overflow: hidden;
    position: relative;
}

.player-component.video {
    overflow: visible;
}

.player-component #audio {
    height: 100%;
}

.player-component #audio > * {
    display: block;
    float: left;
    height: 100%;
}

.player-component #audio .controls .player-control {
    position: relative;
    width: auto;
    height: 40px;
    line-height: 36px;
    float: left;
    top: 50%;
    margin: -20px 0px 0px 0px;
    cursor: pointer;
}

.player-component #audio .controls i.disabled {
    cursor: pointer;
    pointer-events: none;
    color: $corpus-light-blue;
}

.player-component #audio .controls i.fa-backward {
    margin-right: 10px;
}

.player-component #audio .controls i.fa-play,
.player-component #audio .controls i.fa-pause {
    border: 2px solid $corpus-white;
    border-radius: 100%;
    margin-right: 8px;
    margin-left: 8px;
    width: 40px;
}

.player-component #audio .controls i::before {
    font-size: 22px;
}

.player-component #audio .controls i.fa-play::before,
.player-component #audio .controls i.fa-pause::before {
    font-size: 16px;
}

.player-component #audio .controls i.fa-play::before {
    margin-left: 4px;
}

.player-component #audio .controls i.fa-forward {
    margin-left: 10px;
}

.player-component #audio .controls.extra .player-control {
    margin-left: 16px;
}

.player-component #audio .controls.extra .player-control:first-child {
    margin-left: 0px;
}

.player-component #audio .progress {
    position: relative;
    margin: 0px 20px 0px 50px;
    background-color: transparent;
    border-radius: 0px;
    box-shadow: none;
}

.player-component #audio .progress > * {
    display: inline-block;
    line-height: 80px;
}

.player-component #audio .progress .head,
.player-component #audio .progress .remaining {
    position: absolute;
    top: 0px;
}

.player-component #audio .progress .head {
    left: 0px;
}

.player-component #audio .progress .remaining {
    right: 0px;
}

.player-component #audio .progress .bar {
    width: 214px;
    height: 3px;
    background-color: $corpus-light-blue;
    margin: -1px 60px 0 60px;
    position: relative;
    display: block;
    top: 50%;
    cursor: pointer;
    border: none;
}

.player-component #audio.extra.multiple .progress .bar {
    width: 181px;
}

.player-component #audio .progress .bar .value {
    width: 0%;
    height: 100%;
    background-color: $corpus-white;
    display: block;
}

.player-component #audio .meta {
    width: 431px;
}

.player-component #audio .meta p {
    float: left;
    width: 170px;
    margin: 0px 0px 0px 45px;
    padding: 0px;
    box-sizing: border-box;
    top: 50%;
    margin-top: -22px;
    display: block;
    position: relative;
}

.player-component #audio .meta p:last-child {
    margin-left: 0px;
    float: right;
}

.player-component #audio .meta p > * {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 22px;
    display: block;
}

.player-component #audio .meta .language a {
    text-transform: capitalize;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
    color: inherit;
}

.player-component #audio .meta .title,
.player-component #audio .meta .author {
    position: relative;
    height: 22px;
    text-overflow: clip;
}

.player-component #audio .meta .title {
    font-weight: bold;
}

.player-component #video {
    display: none;
    background-color: #000000;
    border: none;
    z-index: 1;
    left: 0px;
    position: absolute;
    width: 50%;
}

body.videoscreen .player-component.video #video {
    display: block;
}

.player-component #video #popcorn-audio {
    width: 100%;
    height: 260px;
    display: block;
    margin: 0 auto;
}

.player-component #audio .controls.extra i.fa-text-height {
    position: relative;
    overflow: hidden;
    display: block;
    width: 16px;
}

.player-component #audio .controls.extra i.fa-text-height::before {
    font-size: 21px;
}

.player-component #audio .controls.extra i.fa-expand::before,
.player-component #audio .controls.extra i.fa-compress::before {
    font-size: 19px;
}

.player-component .player-language-list span {
    display: inline;
}

.player-component .controls-transcript {
    display:inline-block;
}

.player-component .controls-transcript {
  /* taken from https://codepen.io/jamesbarnett/pen/yILjk*/
    input[type=checkbox] { display:none; } /* to hide the checkbox itself */
    input[type=checkbox] + label:before {
      font-family: FontAwesome;
      display: inline-block;
      color: $corpus-white;
      font-size: 15px;
      width: 15px;
      padding-left: 2px;
    }
    label {
      width: 16px;
    }
    input[type=checkbox] + label:before { content: "\f096"; } /* unchecked icon */

    input[type=checkbox]:checked + label:before { content: "\f046"; } /* checked icon */
}

