.mt-timeline {
  position: relative;
}

body:not(.portal-index) .mt-footer,
body:not(.portal-index) .mt-header{
  display: none;
}

body .portal-index .mt-footer ul li a{
  background-position: center;
}

.mt-header{
  position: relative;
}

/* Header */
.mt-title{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 3.5rem;
}

.mt-icon{
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  background-image: url('https://www.datenschutz.sachsen.de/img/Icons/logo.svg');
}

/* Body */
.mt-body {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-y: hidden;
  position: relative;
}

.mt-list {
  position: absolute;
  height: 100%;
  left: 1rem;
  top: 0;
  overflow-x: hidden;
  padding: 1rem;
}

.mt-list li {
  border-bottom: 1px solid #d1e2f3;
}

.mt-list li:last-child{
  border-bottom: none;
}

/* Listeneintrag */
.mt-post {
  margin: 1rem 0rem;
}

.mt-post p:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

/* Header eines Listeneintrags */
.post-header{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.post-header a:link{
  text-decoration: none;
}

.mt-user {
  display: inline-flex;
  align-items: center;
}

.mt-name{
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
}

.mt-avatar {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
}

.username {
  display: flex;
  margin-left: 0;
}

.account-name{
  display: inline-flex;
  font-weight: inherit;
}

.display-name {
  display: inline-flex;
  font-weight: 600;
}

.reblog-name {
  display: inline-flex;
  font-weight: 600;
}

.post-text {
  display: grid;
  grid-column: 1/4;
  grid-row: 2;
  padding: 2rem 0;
}

.hashtag{
  padding-left: 0 !important;
  background-image: none !important;
}

.post-media {
  margin-bottom: 0.25rem;
}

.post-mediaItem {
  padding: 1rem;
}

.post-date{
  font-style: italic;
  display: flex;
  justify-content: end;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.invisible{
  display: none;
}

