.popup__content .popup-player-wrapper {
  height: 100%;
  display: flex;
  justify-content: center;
}

.popup__content .popup-player-wrapper iframe {
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
}

.video-poster.journey__video .video-poster__player iframe {
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
}

.theme--undervisning .popup__content .button {
  background-color: #d96619;
}

.ui-widget.ui-widget-content {
  border: none !important;
  background-color: transparent !important;
}

.ui-dialog .ui-dialog-titlebar {
  display: none;
}
.ui-widget-overlay {
  background: rgba(35, 31, 32) !important;
  opacity: 0.9;
}
.ui-widget .uv-player input,
.ui-widget .uv-player .button {
  font-size: 12px;
}
.ui-widget .uv-player .js-clipper input[type=text] {
  font-size: 13px;
  color: #fff;
}
.ui-widget button.vjs-icon-subtitles,
.ui-widget button.vjs-icon-cog {
  font-family: THEOplayer !important;
}

.card__delete-button {
  display: none !important;
}

.ajax-progress,
.ajax-progress-throbber {
  display: none !important;
}
/* TODO EC: also used in dfi_filmcentralen_user css*/
.popup__close {
  position: fixed !important;
}
.user-logged-in .popup__close {
  top: 80px;
}
.user-logged-in.toolbar-vertical .popup__close {
  top: 40px;
}


#unilogin-message {
  width: 30%;
  margin: 0 auto;
}
#unilogin-message p {
  color: #fff;
}

#fc-theoplayer-save-favorit-button-form {
  display: inline-block;
}
.uv-player__main .video {
  padding-bottom: 0;
}

.node--view-mode-embed header {
  display: none;
}
.node--view-mode-embed .node__content {
  margin: 0;
}
.js-clipper {
  margin-top: 5px;
}
.js-clipper div {
  float: left;
  margin-right: 10px;
}
.js-clipper input[type="text"] {
  width: 80px;
}

.uv-player__sidebar.hidden,
.uv-player__sidebar .hidden {
  display: none;
}
.uv-player__sidebar.visible,
.uv-player__sidebar .visible {
  display: block;
}
.uv-player__sidebar__title,
.uv-player__sidebar p {
  color: #fff;
}
.uv-player__sidebar .button--grey.disabled{
  color:  #999 !important;
}

.uv-player__sidebar .saving_button{
  animation-name: saving;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
@keyframes saving {
  0%   {opacity:  1}
  100% {opacity:  0.5}
}



.video-poster {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #333;
}
/*
.video-poster:before {
  font-family: "DFI";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  content: "";
  vertical-align: middle;
  font-size: 72px;
  display: block;
}
*/
.video-poster > img,
.fc-embed-player > img {
  position: absolute;
  width: 100%;
  z-index: 1;
  height: auto;
}

.video-poster > iframe {
  position: absolute;
}

.video-poster__pending.is-busy {
  background: url("images/spinner_dark.gif") 20px 20px no-repeat;
}
.video-poster__pending.is-failed:before {
  content: 'Billede ikke tilgængeligt lige nu';
  position: absolute;
  bottom: 5px;
  left: 10px;
  color: #666;
}

.video-poster__play {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 2;
}
.video-poster__play:before {
  font-family: "filmcentralen-icon-font";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  content: "";
  position: absolute;
  font-size: 80px;
  left: 50%;
  top: 50%;
  /* the font-size is overwritten in the style.css from prototype, where it's 140px, so the margin has to be -70px to make the icon centered */
  margin: -70px 0 0 -70px;
  color: #ededed;
  color: rgba(237, 237, 237, 0.8);
}
.journey__video .video-poster__play:before {
  visibility: hidden !important;
}

.video-poster__play:hover {
  text-decoration: none;
}
.video-poster__play:hover:before {
  color: #ededed;
}


.video-poster__branding {
  font-family: "Holton Regular", Helvetica, Arial, sans-serif;
  position: absolute;
  z-index: 2;
  bottom: 7px;
  right: 10px;
  line-height: .8;
  color: #ddd;
  text-decoration: none;
  font-size: 20px;
}
.video-poster__branding > span {
  display: block;
  font-family: "Holton Bold", Helvetica, Arial, sans-serif;
}

.video-poster__player {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.video-poster__player > video,
.video-poster__player > object {
  background: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100% !important;
  width: 100% !important;
}
.video-poster__player > video::-webkit-media-controls {
  min-width: 0;
}
.video-poster__player .theoplayer {
  max-height: none !important;
}
.video-poster__player .theoplayer-container {
  height: 100%;
  width: 100%;
}

.video-poster.is-active .video-poster__player {
  z-index: 3;
}
.video-poster.is-loading:before,
.fc-embed-player.is-loading:before {
  cursor: wait;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5) url("images/spinner_dark.gif") center center no-repeat !important;
  z-index: 3;
}

.video-poster.is-unsupported:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.video-poster.is-unsupported .video-poster__player {
  display: none;
}
.video-poster.is-unsupported .video-poster__play {
  display: none;
}

.video-poster__message {
  position: absolute;
  bottom: 10%;
  text-align: center;
  z-index: 3;
  left: 20px;
  right: 20px;
}
.video-poster__message__text {
  padding: 3px 6px;
  background: #242424;
  color: #fff;
  font-size: 16px;
}

.video-popup-player {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #333;
}
.video-popup-player > video,
.video-popup-player > object {
  background: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100% !important;
  width: 100% !important;
}
.video-popup-player > video::-webkit-media-controls {
  min-width: 0;
}
.video-popup-player .theoplayer {
  max-height: none !important;
  position: absolute;
}
.video-popup-player__wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.dfi_theoplayer-container .video-container {
  width: 100%;
  /* Film edit controls */
}

#video-wrap-inner video {
  width: 100%;
  height: 100%;
  position: absolute;
}

.film__link.trailer:before{
  font-size: 28px;
  float: left;
  margin-right: 5px;
}
