#wndPage {

  /* Make sure that this matches the name of your .css file. For example, if your .css file is called steadi-player.css, make sure this class is called .mejs__container.steadi-player */
  /* MediaPlayer/Sprites/steadi-player.png */
  .mejs__container.steadi-player {
    background: transparent;
  }

  #vid {
    background: transparent !important;
  }

  /* Override default styles */
  div[id^="vid"] .steadi-player.mejs__container .mejs__controls,
  div[id^="sndtobj"] .steadi-player.mejs__container .mejs__controls {
    height: auto;
    background: #fff;
    /* bottom: calc(-34px - 1rem); */
  }

  .steadi-player .mejs__controls .mejs__captions-button .mejs__captions-selector {
    background: rgba(0, 0, 0, 0.7);
  }

  .steadi-player .mejs__controls .mejs__captions-button .mejs__captions-selector {
    left: -37px !important;
  }


  /*This is the container for all of the controller elements.*/
  .steadi-player .mejs__controls {
    position: absolute;
    /*bottom: 0;*/
    width: 100%;
    padding: 0 !important;
  }

  /*These 2 ID blocks define the background image for the video/audio controller for Lectora.*/
  div[id^="video"].steadi-player .mejs__controls {
    background: url(MediaPlayer/Sprites/steadi-player.png) 0px 0px;
    height: 30px;
    bottom: -30px;
  }

  div[id^="audio"].steadi-player .mejs__controls {
    background: url(MediaPlayer/Sprites/steadi-player.png) 0px 0px;
    height: 30px;
    bottom: 0;
  }

  /*These 2 ID blocks define the background image for the video/audio controller for Lectora Online.*/
  div[id^="vid"].steadi-player .mejs__controls {
    background: url(MediaPlayer/Sprites/steadi-player.png) 0px 0px;
    height: 30px;
    bottom: -30px;
  }

  div[id^="sndtobj"].steadi-player .mejs__controls {
    background: url(MediaPlayer/Sprites/steadi-player.png) 0px 0px;
    height: 30px;
    bottom: 0;
  }

  /*This defines the position and size of the time-slider from left and top. The time-slider is the bar that shows the progress of the media file.*/
  .steadi-player .mejs__time-slider {
    /* left: 30px; */
    left: 0;
    top: 7px;
    height: 21px;
    display: inline-block;
  }

  /*This sets the position of the time-slider relative to the width of the controller.*/
  .steadi-player .mejs__time {
    top: 0px;
    left: 0px;
    position: relative;
  }

  /*This is the time code container.*/
  .steadi-player .mejs__controls .mejs__time {
    background: url(MediaPlayer/Sprites/steadi-player.png) repeat-x 0 0;
    position: relative;
    top: 0px;
    padding: 10px 3px 0 3px;
    margin: 0;
  }

  /*This is the media progress bar.*/
  .steadi-player .mejs__controls .mejs__time-rail {
    background: url(MediaPlayer/Sprites/steadi-player.png) repeat-x 0 0;
    height: 28px;
    margin: 0 5px;
  }

  /*This sets the color, or color and alpha depending on the browser, and height of the total time-slider bar.*/
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-total {
    background: #eee;
    background: rgba(0, 0, 0, 0.3);
    height: 7px;
    /* margin: 5px; */
  }

  /*This sets the height of the buffering time-slider bar.*/
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-buffering {
    height: 7px;
  }

  /*This sets the color, or color and alpha depending on the browser, and height of the loaded time-slider bar.*/
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-loaded {
    background: rgba(0, 0, 0, 0.3);
    /* width: 0; */
    height: 7px;
  }

  /*This sets the color, or color and alpha depending on the browser, and height of the current time-slider bar.*/
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-current {
    background: #000000;
    background: #377f7f;
    /* width: 0; */
    height: 7px;
  }

  /*This defines the look and position of the time-handle of the time-slider.*/
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-handle {
    display: block;
    border: none;
    margin: 0;
    width: 3px;
    left: 0;
    height: 18px;
    top: -7px;
    /* background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -40px -120px; */
    border: 2px solid #1f3042;
    border-radius: 3px;
    transition: width 0.2s ease-out, transform 0.2s ease-out;
  }

  /* .steadi-player .mejs__controls .mejs__time-rail .mejs__time-handle:hover,
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-handle:focus {
    width: 4px;
    transform: -1px;
  } */

  /*This would describe the time-float, but this skin does not use one.*/
  .steadi-player .mejs__controls .mejs__time-rail .mejs__time-float {
    display: none;
  }

  /*This defines the size and position of the play/pause buttons.*/
  .steadi-player .mejs__controls .mejs__playpause-button {
    top: 0px;
    left: 0px;
    width: 30px;
    height: 30px;
    margin: 0;
  }

  /*This defines the play <button> tag.*/
  .steadi-player .mejs__controls .mejs__playpause-button button {
    width: 30px;
    height: 30px;
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat 0 -30px;
    margin: 0;
    padding: 0;
  }

  /*This defines the pause <button> tag.*/
  .steadi-player .mejs__controls .mejs__pause button {
    width: 30px;
    height: 30px;
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -60px -30px;
    margin: 0;
    padding: 0;
  }

  /*This defines the play button hover state*/
  .steadi-player .mejs__controls .mejs__playpause-button button:hover {
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -30px -30px;
  }

  /*This defines the pause button hover state*/
  .steadi-player .mejs__controls .mejs__pause button:hover {
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -90px -30px;
  }

  /*This defines the size and position of the fullscreen/unfullscreen buttons.*/
  .steadi-player .mejs__controls .mejs__fullscreen-button {
    top: 0px;
    right: 0px;
    width: 30px;
    height: 30px;
    background: none;
  }

  /*This defines the fullscreen button.*/
  .steadi-player .mejs__controls .mejs__fullscreen-button button {
    width: 30px;
    height: 30px;
    background: transparent url(MediaPlayer/Sprites/steadi-player.png) no-repeat 0 -60px;
    margin: 0;
    padding: 0;
  }

  /*This defines the unfullscreen <button> tag.*/
  .steadi-player .mejs__controls .mejs__unfullscreen button {
    background: transparent url(MediaPlayer/Sprites/steadi-player.png) no-repeat -60px -60px;
    margin: 0;
    padding: 0;
  }

  /*This defines the fullscreen button hover state.*/
  .steadi-player .mejs__controls .mejs__fullscreen-button button:hover {
    background: transparent url(MediaPlayer/Sprites/steadi-player.png) no-repeat -30px -60px;
  }

  /*This defines the unfullscreen button hover state.*/
  .steadi-player .mejs__controls .mejs__unfullscreen button:hover {
    background: transparent url(MediaPlayer/Sprites/steadi-player.png) no-repeat -90px -60px;
  }

  /*This defines the size and position of the mute/unmute buttons.*/
  .steadi-player .mejs__controls .mejs__volume-button {
    top: 0px;
    right: 1px;
    width: 30px;
    height: 30px;
    margin: 0;
  }

  .mejs__overlay-play {
    background: rgba(55, 127, 127, 1);
    overflow: hidden;
  }

  /*This defines the mute <button> tag.*/
  .steadi-player .mejs__controls .mejs__mute button {
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat 0 -90px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
  }

  /*This defines the unmute <button> tag.*/
  .steadi-player .mejs__controls .mejs__unmute button {
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -60px -90px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
  }

  /*This defines the mute button hover state.*/
  .steadi-player .mejs__controls .mejs__mute button:hover {
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -30px -90px;
  }

  /*This defines the unmute button hover state.*/
  .steadi-player .mejs__controls .mejs__unmute button:hover {
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat -90px -90px;
  }

  /*These properties define the look and size of the outer background of the pop-up vertical volume slider.*/
  .steadi-player .mejs__controls .mejs__volume-button .mejs__volume-slider {
    background: #dddddd;
    background: rgba(255, 255, 255, 0.7);
    border: solid 2px #ffffff;
    border-width: 2px 2px 0 2px;
    width: 26px;
    height: 70px;
    top: -70px;
    /* left: 0px; */
  }

  /*These properties define the inner background of the volume slider.*/
  .steadi-player .mejs__controls .mejs__volume-button .mejs__volume-total {
    background: #666;
    left: 10px;
    width: 7px;
    height: 60px;
    border-radius: 2px;
  }

  /*These properties define the look of the volume slider amount.*/
  .steadi-player .mejs__controls .mejs__volume-button .mejs__volume-current {
    left: 0;
    width: 100%;
    background: #377f7f;
    height: 60px;
    border-radius: 2px;
  }

  /*This property would define a volume slider handle. This skin does not use one.*/
  .steadi-player .mejs__controls .mejs__volume-button .mejs__volume-handle {
    /* display: none; */
    height: 2px;
    border: 2px solid #1f3042;
    border-radius: 3px;
  }

  /*This defines the text color of the time code.*/
  .steadi-player .mejs__controls .mejs__time span {
    color: #1f3042;
  }

  /*This is the container that wraps the current time code.*/
  .steadi-player .mejs__controls .mejs__currenttime-container {
    position: absolute;
    top: 32px;
    right: 100px;
    border: solid 1px #999;
    background: #333;
    color: #ffffff;
    padding-top: 2px;
    border-radius: 3px;
  }

  /*This is the container that wraps the length time code.*/
  .steadi-player .mejs__controls .mejs__duration-container {
    position: absolute;
    top: 32px;
    right: 65px;
    border: solid 1px #999;
    background: #fff;
    color: #333;
    padding-top: 2px;
    border-radius: 3px;
    color: #333;
  }

  /*This defines the size and position of the captions button.*/
  .steadi-player .mejs__controls .mejs__captions-button {
    position: relative;
    width: 40px;
    right: 0;
    top: 0px;
    margin: 0;
  }

  .steadi-player .mejs__controls .mejs__captions-button button {
    opacity: 0.6;
  }

  .steadi-player .mejs__controls .mejs__captions-button.mejs__captions-enabled button {
    opacity: 1;
  }

  /*This defines the captions <button> tag.*/
  .steadi-player .mejs__controls .mejs__captions-button button {
    width: 40px;
    height: 30px;
    left: -1px;
    top: 0px;
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat 0 -120px;
  }

  .audio-player {
    /* 60px is the prev, next button width */
    left: 60px !important;
    right: 60px !important;
    width: 100% !important;
    height: auto !important;
    margin: auto;
    max-width: 720px;
    top: auto !important;
    bottom: 0;
  }

  .mejs__container.mejs__audio.steadi-player {
    width: 100% !important;
  }

  .steadi-player .mejs__captions-text {
    padding: 3px 6px;
    white-space: pre-wrap;
    /* background-color: rgba(128, 128, 128, 0.1); */
    background-color: #f3f3f3;
    border-radius: 5px;
    display: inline-block;
  }

  /* disable linebreaks */
  .steadi-player .mejs__captions-text {
    white-space: nowrap;
  }

  div[id^="sndtobj"] .mejs__captions-layer {
    width: 100% !important;
    color: #000;
  }

  /* force a height for captions */
  div[id^="sndtobj"] .mejs__captions-layer[style*="display: none"] {
    display: block !important;
    visibility: hidden;
  }

  div[id^="sndtobj"] .mejs__captions-position {
    margin-left: auto !important;
    margin-right: auto !important;
    left: 0;
    right: 0;
    width: 100% !important;
    background-color: #fff !important;
  }

  .audio-player div[id^="sndtobj"] {
    width: 100% !important;
    height: auto !important;
    min-height: 70px;
    position: relative !important;
  }

  /* Prevent timecode from resizing/jumping*/
  /*
  See also: https://blog.usejournal.com/proportional-vs-monospaced-numbers-when-to-use-which-one-in-order-to-avoid-wiggling-labels-e31b1c83e4d0
  */
  .mejs__time>* {
    display: inline-block;
  }

  .mejs__time .mejs__currenttime,
  .mejs__time .mejs__duration {
    min-width: 5ch;
    font-variant-numeric: tabular-nums;
    /* Monospace stack */
    font-family: Lato, Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console",
      "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier,
      monospace;
  }

  .mejs__time .mejs__currenttime {
    text-align: right;
  }

  /* Time separator */
  .mejs__time .mejs__currenttime+span {
    padding-inline: 0.75ch 0.5ch;
  }


  /* FLEX - Captions below */
  div[id^="sndtobj"] .mejs__container .mejs__mediaelement,
  div[id^="sndtobj"] .mejs__container .mejs__controls,
  div[id^="sndtobj"] .mejs__container .mejs__captions-layer {
    position: relative;
  }

  div[id^="sndtobj"] .mejs__captions-position {
    position: static;
    display: flex;
    justify-content: center;
  }

  div[id^="sndtobj"] .mejs__container .mejs__mediaelement,
  div[id^="sndtobj"] .mejs__container .mejs__mediaelement audio,
  div[id^="sndtobj"] .mejs__container .mejs__captions-layer {
    height: auto !important;
  }

  div[id^="sndtobj"] .mejs__container .mejs__captions-layer {
    min-height: 30px;
  }

  div[id^="sndtobj"] .mejs__container {
    display: flex;
  }

  div[id^="sndtobj"] .mejs__container .mejs__inner {
    max-width: 720px;
    display: flex;
    flex: auto;
    flex-direction: column;
  }

  div[id^="sndtobj"] .mejs__container .mejs__controls {
    order: -1;
  }

  /** YTCaption Toggle */
  /*This defines the size and position of the fullscreen/unfullscreen buttons.*/
  .steadi-player .mejs__controls .mejs__ytcaptions-button {
    top: 0px;
    right: 0px;
    width: 40px;
    height: 30px;
    background: none;
  }

  .steadi-player .mejs__controls .mejs__button.mejs__ytcaptions-button button {
    width: 40px;
    height: 30px;
  }

  /*This defines the captions <button> tag.*/
  .steadi-player .mejs__controls .mejs__ytcaptions-button {
    position: relative;
  }

  .steadi-player .mejs__controls .mejs__ytcaptions-button button {
    width: 40px;
    height: 30px;
    left: -1px;
    top: 0px;
    margin: 0 !important;
    background: url(MediaPlayer/Sprites/steadi-player.png) no-repeat 0 -120px;
  }

  .mejs__ytdescriptions-button>button {
    background: url("ad.svg") no-repeat transparent;
    background-position: 50% 50%;
    background-size: 20px 20px;
    margin: 0 !important;
  }

  .mejs__ytcaptions-off>button {
    /* background-position: -20px 1px; */
    opacity: 0.5;
  }

  .mejs__ytcaptions-on>button {
    /* background-position: 0 1px; */
  }

}