/* Repositions each tweet's timestamp so it reads as a caption after the tweet text (or below
   the media, for tweets with images), instead of the tiny absolutely-positioned corner clock
   the twt library uses by default. */
.twt-tweet .tweet-timestamp-line {
  display: block !important;
  clear: both !important;
  margin-top: 4px !important;
}

.twt-tweet .permalink.tweet-timestamp {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #8899a6 !important;
  font-size: 12px !important;
  text-decoration: none !important;
}

/* the nested dt-updated/value-title spans have their own cursor/text-decoration reset from
   twt.min.css, which otherwise wins over the outer .tweet-timestamp when hovering the text itself */
.twt-tweet .permalink.tweet-timestamp,
.twt-tweet .permalink.tweet-timestamp * {
  cursor: pointer !important;
}

.twt-tweet .permalink.tweet-timestamp:hover,
.twt-tweet .permalink.tweet-timestamp:hover * {
  text-decoration: underline !important;
}

.twt-tweet .permalink.tweet-timestamp i {
  display: none !important;
}

/* the twt library floats this span by default; that float otherwise escapes .e-content and lands beside .footer */
.twt-tweet .permalink.tweet-timestamp .dt-updated {
  display: inline !important;
  float: none !important;
}

/* hide the twt library's per-tweet footer (retweet credit, view-on-twitter link, action icons) */
.twt-tweet .footer {
  display: none !important;
}

/* separates tweets from different calendar days in the timeline; .day-boundary is added via JS */
.twt-inline .twt-tweet.day-boundary {
  border-bottom: 2px solid #a0a0a0 !important;
}

/* marks the tweet deep-linked to via ?tweet=<id>, added/removed via JS */
.twt-tweet.tweet-highlighted {
  background-color: #eaf5ff !important;
  box-shadow: inset 3px 0 0 #4a99e9;
  transition: background-color 0.4s ease;
}
