.fte-theme-porta {
  .topic {
    .posts {
      .content {
        margin-top: 0;
        overflow: visible;

        img {
          max-width: 100%;
        }
      }
    }
  }

  .user-img-container {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;

    padding: 8px;
    border-radius: 3px;
    border: 1px solid black;
    background-color: #FBFBFB;

    position: relative;

    width: 12rem;
    height: 12rem;
    max-width: 12rem;
    max-height: 12rem;

    img {
      max-width: 100%;
      max-height: 100%;
    }

    .user-icon {
      width: 100%;
      height: 100%;
      font-size: 5em;
    }

    .status {
      position: absolute;
      top: 1rem;
      right: 1rem;
    }
  }

  .subHeading {
    margin: -10px -10px 10px;

    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #CCC;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;

    text-decoration: none;
    background-color: #FBFBFB;
    padding: 8px 16px;
    font-size: 18px;
    color: black;

    div a {
      color: unset;
      font-size: 12px;
    }
  }

  .section {
    margin-bottom: 36px;
    background-color: #FAFAFA;
    padding: 8px;
    margin: 16px auto;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
  }

  .primaryContent {
    background-color: #FFF;
    padding: 8px;
  }

  .recentNews .subHeading h2 {
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 20px;
    font-size:1.5em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .recentNews .newsDate{
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.26);
    overflow: hidden;
    border-radius: 10px;
    float:left;
    margin:0px 10px 10px 0px;
    font-weight:bold;
    text-align:center;
    width: 60px;
    height: auto;
  }

  .recentNews .newsDate .newsMonth{
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #4285F4;
    color: white;
    text-transform:uppercase;
  }

  .recentNews .newsDate .newsDay{
    padding-top: 5px;
    padding-bottom: 5px;
    font-size:26px;
    background-color: white;
  }

  .recentNews .leftDate .newsDate{
    margin-left: -5px;
  }

  .recentNews .leftDate .newsText {
    margin-left: 65px;
    min-height: 50px;
  }

  @media only screen and (min-width : 992px) {

    .recentNews .leftDate .newsDate {
      margin-left: -45px;
    }

    .recentNews .leftDate .newsText {
      margin-left: 25px;
    }
  }

  .recentNews .messageContent{
    font-size:13px;
  }

  .recentNews .messageContent .postedBy{
    margin-bottom:10px;
    padding-bottom:5px;
    border-bottom:1px dashed rgb(250,250,250);
  }

  .recentNews .messageContent .username{
    font-weight:bold;
  }

  @media only screen and (max-width: 57rem) {
    .recentNews .messageContent .comments {
      display: block;
    }
  }

  @media only screen and (min-width: 57rem) {
    .recentNews .messageContent .comments {
      float:right;
    }
  }

  .recentNews .messageContent .comments {
    font-weight:bold;

    i {
      vertical-align: 2px;
    }
  }

  .recentNews .messageContent .clearFix{
    clear:right;
  }

  .recentNews .sectionFooter{
    box-shadow: 0px -2px 0px 0px #FFF, 0px 0px 3px rgba(0, 0, 0, 0.25);
      border-radius: 0px 0px 6px 6px;
      border-bottom: 0px none;
      background-color: inherit;
      margin: 10px -10px -10px;
    margin-top: 10px !important;
      text-align: right;
      position: relative;

    .btn {
      text-transform: none;
      margin: 5px;
    }
  }
}

.fte-theme-scout {
  ul {
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
  }

  .carousel {
    margin-bottom: 36px;

    .scout-container {
      margin-bottom: 0;
    }
  }

  .scout-container {
    display: block;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    border-color: #efefef;
    border-style: solid;
    border-width: 1px;
    background-color: #fefefe;
    margin-bottom: 36px;

    .scout-figure {
      aspect-ratio: 16 / 9;
      background-size: cover;
      background-position: center;
    }

    .scout-text {
      padding: 4px;
      height: 80px;
      max-height: 80px;
      overflow: hidden;
      text-align: center;

      .scout-category {
        font-size: 14px;
        display: block;
        color: #363636;
      }

      .scout-title {
        font-size: 16px;
        color: #333;
        display: block;
        max-height: 48px;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}

[data-widget="featuredTopicsExSidebar"] {
  overflow-y: hidden;
  overflow-x: hidden;

  ul {
    width: 100%;
    height: 50px;
    line-height: 16px;
    margin-left: 1px;
    padding: 5px 5px 5px 0px;
    list-style-type: none;

    li {
      clear: both;
      line-height: 17px;
      margin-bottom: 20px;

      &:last-child {
        margin-bottom: 0;
      }

      .avatar {
        display: block;
        float: left;
        margin-right:8px;
      }

      > div {
        max-height: 250px;
        overflow:hidden;
        position:relative;
      }

      p {
        display: block;

        font-size: 14px;
        word-break: break-word;
      }

      span {
        font-size: 12px;
        overflow: hidden;
        height: 16px;
      }
    }

    .avatar, .active-users .avatar, .moderators .avatar {
      margin-top: 2px;
    }
  }
}

.featured-threads {
  margin-top: 20px;

  .category-info {
    position: absolute;
    top: 0px;
    left: 25px;
    width: 80%;

    h4 {
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      height: 21px;
    }

    .description {
      margin-top: -7px;
      font-size: 11px;
    }
  }

  .fa.fa-4x {
    position: absolute;
    left: 25px;
    bottom: 20px;
    font-size: 20px;
  }

  .answered, .unanswered {
    display: none;
  }

  .post-count {
    position: absolute;
    bottom: 18px;
    right: 25px;
    font-size: 11px;
  }
}

.badge.topic-badge {
  background: #36393D;
  padding: 6px;
}

#fte-admin-page {
  .fte-ace {
    height: 350px;
  }
}

.fte-sort-featured {
  list-style: none;
  padding: 0 24px;
}

.fte-m16 { width: 16rem; max-width: 16rem; white-space:nowrap; overflow: hidden; text-overflow: ellipsis; }

.fte-w1 { width: 1rem; }

.featuredTopicsExCards {
  list-style-type: none;
  padding: 0;

  .recent-card {
    @include pointer;
    height: 110px;
    width: 100%;
    padding: 10px;
    position: relative;

    margin-bottom: 10px;

    .bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-position: 50% 50%;
      background-size: cover;

      &:hover {
        filter: brightness(115%);
        -webkit-filter: brightness(115%);
      }
    }

    .topic-info {
      position: absolute;
      top: 10px;
      left: 10px;
      pointer-events: none;
      padding-right: 15px;

      width: 100%;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;

      .description {
        width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;

        font-size: 11px;
      }
    }

    .post-count {
      position: absolute;
      bottom: 5px;
      right: 10px;
      pointer-events: none;
    }

    .icon {
      position: absolute;
      bottom: 5px;
      left: 10px;
      pointer-events: none;

      width: 80%;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;

      font-size: 20px;
    }
  }
}
