.cwb-audio-player-footer {
  position: fixed;
  width: 100%;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 80px;
  box-shadow: 0 -2px 4px 0 #e3e3e3;
  border: 1px solid #e0e0e0;
  z-index: 20;
  background: white;
  transition: height 0.2s linear;

  &.expanded {
    height: 100%;
  }
  .footer-content {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0px 25px;
    @media (max-width: 620px) {
      &.desktop-player {
        display: none;
      }
      &.mobile-player {
        display: flex;
      }
    }
    @media (min-width: 621px) {
      &.desktop-player {
        display: flex;
      }
      &.mobile-player {
        display: none;
      }
    }
  }
  .btn-pause-play {
    border-radius: 40px;
    -webkit-box-shadow: 0 1px 1px 0 rgba(35, 53, 57, 0.07),
      0 0 1px 1px rgba(35, 53, 57, 0.11), 0 3px 2px 0 rgba(35, 53, 57, 0.1),
      0 4px 9px 4px rgba(35, 53, 57, 0.08);
    -moz-box-shadow: 0 1px 1px 0 rgba(35, 53, 57, 0.07),
      0 0 1px 1px rgba(35, 53, 57, 0.11), 0 3px 2px 0 rgba(35, 53, 57, 0.1),
      0 4px 9px 4px rgba(35, 53, 57, 0.08);
    box-shadow: 0 1px 1px 0 rgba(35, 53, 57, 0.07),
      0 0 1px 1px rgba(35, 53, 57, 0.11), 0 3px 2px 0 rgba(35, 53, 57, 0.1),
      0 4px 9px 4px rgba(35, 53, 57, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background: white;
    margin-left: 20px;
    margin-right: 20px;
    cursor: pointer;
    img {
      margin: 0px;
    }
  }
  .audio-image {
    height: 40px;
    width: 40px;
    border-radius: 2px;
    background-color: #f8f8f8;
    box-shadow: inset 0 -1px 0 0 rgba(209, 213, 221, 0.5),
      inset 0 1px 0 0 #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .audio-info {
    margin-left: 23px;
    width: 200px;
    margin-right: 8px;
  }
  .audio-actor-name {
    color: #353b48;
    font-size: 15px;
    font-weight: bold;
    line-height: 24px;
    max-width: 150px;
  }
  .audio-take {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    color: #758196;
    .star {
      margin-right: 12px;
    }
    .audio-filename {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 100%;

      color: #758196;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.11px;
      line-height: 24px;
    }
  }
  .audio-controls {
    margin-right: 20px;
    display: flex;
    align-items: center;
    .icon-cwb-previous-track,
    .icon-cwb-next-track {
      cursor: pointer;
      &.disabled-control {
        cursor: unset;
        opacity: 0.3;
      }
    }
  }
  .video-js {
    height: 30px;
    flex-grow: 1;
    background: white;
    .vjs-big-play-button {
      display: none;
    }
    .vjs-current-time {
      display: block;
      padding-right: 0px;
    }
    .vjs-remaining-time {
      display: block;
      padding-left: 0px;
      margin-right: 10px;
    }
    .vjs-play-progress:before {
      display: none;
    }
    .vjs-control {
      background: white;
    }
    .vjs-load-progress div {
      background-color: #e0e4e9;
      border-radius: 6.5px;
    }
    .vjs-progress-holder {
      background-color: #e0e4e9;
      height: 4px;
      border-radius: 6.5px;
    }
    .vjs-volume-control {
      margin-right: 0px;
      width: 100px;
    }
    .vjs-volume-level {
      background-color: #353b48;
      height: 4px;
      border-radius: 100px;
      &:before {
        font-size: 14px;
        color: white;
        border-radius: 16px;
        box-shadow: 0 1px 1px 0 rgba(35, 53, 57, 0.07),
          0 0 1px 1px rgba(35, 53, 57, 0.11), 0 3px 2px 0 rgba(35, 53, 57, 0.1),
          0 4px 9px 4px rgba(35, 53, 57, 0.08);
        background: white;
      }
    }
    .vjs-volume-bar {
      background-color: #e0e4e9;
      width: 100px;
      height: 4px;
      border-radius: 100px;
    }
    .vjs-control-bar {
      background: white;
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      color: black;
    }
    .vjs-play-progress {
      background: #00aaff;
      border-radius: 6.5px;
    }
    .vjs-time-tooltip {
      font-size: 10px;
      padding: 8px 13px;
    }
  }

  // Mobile styling
  @media (max-width: 620px) {
    & {
      height: 87px;
    }

    .footer-content.mobile-player {
      display: block;
      margin-left: 0px;
      margin-right: 0px;
      padding-left: 20px;
      padding-right: 20px;

      .num-clips {
        color: #00aaff;
        font-weight: normal;
      }

      .video-js {
        width: 100%;
      }

      .footer-top {
        width: 100%;

        &.expanded {
          position: absolute;
          bottom: 50px;
          left: 0px;
          padding-left: 20px;
          padding-right: 20px;
        }
      }

      .footer-bottom {
        width: 100%;
        display: flex;

        &.expanded {
          .audio-info {
            height: 82px;
            padding-top: 20px;
          }

          .audio-actor-name {
            font-size: 17px;
          }

          .expand-collapse {
            align-self: flex-start;
            margin-top: 20px;
            display: flex;
            justify-content: space-around;
            align-items: center;

            .cwb-chevron.down {
              border-color: #00aaff;
            }
          }
        }
      }

      .vjs-current-time {
        padding-left: 0px;
      }

      .vjs-remaining-time {
        padding-right: 0px;
      }

      .audio-controls {
        .btn-pause-play.no-border {
          border-radius: 0px;
          -webkit-box-shadow: none;
          -moz-box-shadow: none;
          box-shadow: none;
          width: 24px;
          height: 40px;
          margin-left: 0px;
          margin-right: 16px;
          font-size: 20px;

          span:before {
            font-size: 24px;
            color: #8f9295;
          }

          span.icon-cwb-pause-track:before {
            color: #00aaff;
          }
        }

        &.expanded {
          position: absolute;
          bottom: 10px;
          left: 0px;
          width: 100%;
          display: flex;
          justify-content: center;
          align-items: center;

          .btn-pause-play {
            margin-left: 16px;
            width: 40px;
          }
        }

        .icon-cwb-previous-track,
        .icon-cwb-next-track {
          font-size: 26px;
        }

        .icon-cwb-pause-track:before {
          color: #00aaff;
        }
      }

      .audio-info {
        margin-left: 0px;
        margin-right: 10px;
        flex: 1;
      }

      .expand-collapse {
        width: 46px;
        display: flex;
        align-self: center;
        justify-content: flex-end;
        justify-content: space-around;
        align-items: center;
      }

      .footer-track {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        box-shadow: 0 -1px 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0;
        width: 100%;
        height: 72px;

        .btn-pause-play {
          margin-left: 0px;
          position: relative;

          .circular-progress-bar {
            width: 110%;
            position: absolute;
          }
        }

        .footer-track-name {
          color: #353b48;
          font-size: 15px;
          font-weight: 600;
          letter-spacing: 0.44px;
          line-height: 24px;
        }
      }
    }

    .vjs-mute-control {
      display: none;
    }
    .vjs-volume-control.vjs-volume-horizontal {
      display: none;
    }
  }

  .vjs-error-display.vjs-modal-dialog {
    &:before {
      display: none !important;
    }
  }

  .vjs-modal-dialog-content {
    background: white;
    color: black;
    padding: 0px !important;
    line-height: unset !important;
    font-size: 12px !important;
  }
}
