/* ST3_F_3GHApp_091 (card P01 of ST3_F_G_016), Ginga-HTML5 Broadcaster Application reached by a deep
   link from the EPG or the ECG. The on-demand content fills the screen in
   the video area, under the identity overlay. The AudioVideoPlayer and the
   NotificationBar are styled by their own stylesheets; this file places the
   video area and styles the identity overlay, a one-line bar in the top
   band of the screen. */

body {
  margin: 0;
  background-color: transparent;
}

#app-area {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}

/* The player of the on-demand content, in full screen under the overlay. */
.video-area {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* Identity overlay: technology marker, specification label, role and
   playback state on the left; the entry time and the time on screen on
   the right. It sits in the top band (0% to 5%) of the screen. */
.identity-overlay {
  position: absolute;
  left: 5%;
  top: 0.5%;
  width: 90%;
  height: 4%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  background-color: rgba(14, 21, 32, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #eef2f6;
  font-family: Tiresias, Verdana, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
}

/* A long state is cut with an ellipsis, so the entry time and the time on
   screen always stay in the bar; the full text is in the NotificationBar. */
.identity-overlay-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.identity-overlay-continuity {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin-left: 12px;
}

.identity-overlay-technology {
  flex-shrink: 0;
  margin-right: 12px;
  padding: 0 8px;
  border-radius: 6px;
  background-color: #8cc8ff;
  color: #0e1520;
}

/* Color code of P01, so it is told apart at a glance from the other
   applications. The label is always written too, never the color alone. */
.identity-overlay-label {
  flex-shrink: 0;
  margin-right: 12px;
  padding: 0 8px;
  border-radius: 6px;
  background-color: #3cb371;
  color: #0e1520;
}

.identity-overlay-text {
  flex-shrink: 0;
  margin-right: 12px;
  color: #a9b8c8;
}

.identity-overlay-state {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #eef2f6;
}

.identity-overlay-elapsed {
  color: #8cc8ff;
}
