.fp-trailer-buttons {
  position: absolute;
  left: 0;
  top: 50%;
  right: 0;
  bottom: 0;
  height: 0;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1em;
}
/* Show in splash state or if playing trailer */
.freedomplayer.has-trailer.is-splash .fp-trailer-buttons,
.freedomplayer.has-trailer.is-trailer .fp-trailer-buttons {
  display: flex;
}
.freedomplayer.has-trailer.is-loading .fp-trailer-buttons {
  display: none;
}
.freedomplayer.has-trailer.is-splash .fp-ui > .fp-play {
  display: none;
}

.fp-trailer-button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: .4em 1em;
  border-radius: 1em;
  cursor: pointer;
  font-size: 1.5em;
}
.fp-trailer-button .fp-icon {
  top: 4px;
  position: relative;
  margin-left: -10px;
}
.freedomplayer.is-playing .fp-trailer-button .fp-icon:before {
  content: "\e007";
}
.is-small .fp-trailer-button {
  font-size: 1.2em;
}
.is-tiny .fp-trailer-button {
  font-size: 1em;
}
.fp-trailer-button:hover {
  background: rgba(0, 0, 0, 0.8);
}
.fp-trailer-button:active {
  background: rgba(0, 0, 0, 1);
}
.fp-trailer-button.fp-trailer-play-video {
  background: rgba(255, 255, 255, 0.5);
  color: black;
}
.fp-trailer-button.fp-trailer-play-video:hover {
  background: rgba(255, 255, 255, 0.8);
}
.fp-trailer-button.fp-trailer-play-video:active {
  background: rgba(255, 255, 255, 1);
}

/* When playing the trailer, move the buttons to the bottom right and hide trailer button */
.freedomplayer.is-trailer .fp-trailer-buttons {
  top: auto;
  left: auto;
  bottom: 6em;
  right: 2em;
}
.freedomplayer.is-trailer .fp-trailer-watch-trailer {
  display: none;
}