@import '../../scss/mixins';

$grey1: #252525;
$grey2: #161616;

.forum-header {
  position: relative;
  height: 137px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.forum-menu-search-bg {
  background-image: url('../../assets/forum-menu-search-bg.gif');
  
  input {
    margin-top: 11px;
  }
}

.forumliner-bg {
  background-image: url('../../assets/forumliner-bg.gif');
  background-repeat: repeat-x;
  width: 100%;
}

.forumliner-bot-bg {
  background-image: url('../../assets/forumliner-bot-bg.gif');
  background-repeat: repeat-x;
  width: 100%;
  height: 15px;
}

.forum-table {
  width: 100%;
  border-spacing: 0;
  border: 1px solid;
  border-color: #575757;
  color: #E2D9B0;
  font-size: 9pt;

  b {
    color: #E2D9B0;
  }

  @include breakpoint(mediumOrLess) {
    font-size: 10px;

    a {
      font-size: 10px;
    }
  }
}

.forum-table__header {
  background-image: url('../../assets/thread-topic-bg2.gif') !important;
  background-repeat: repeat-x !important;
}

.forum-row {
  background: $grey1;

  &__body {
    height: 24px;
  }

  &:nth-child(even) {
    background: $grey2;
  }
}

.forum-cell {
  padding: 2px;

  &--header {
    border: 1px solid;
    border-color: #8F8F8F #8F8F8F #171511 #171511;
    white-space: nowrap;
    padding-right: 5px;
    padding-left: 5px;
  }

  &--body {
    border: 1px solid;
    border-color: #000000 #000000 #161616 #161616;
    position: relative;
    word-break: break-word;
  }

  &--center {
    text-align: center;
  }

  &--header-footer {
    justify-content: space-between;
    padding-right: 10px;
  }

  &__mod-controls {
    display: none;
    position: absolute;
    top: -20px;
    right: -100px;
    background: #161616;
    padding: 5px;
    border: 1px solid $grey1;
    z-index: 1;

    a + a {
      padding-left: 10px;
    }
  }

  &:hover {

    .forum-cell__mod-controls {
      display: block;
    }
  }
}

.thread__title {

  &:visited {
    color: #B1B1B1;
  }
}

.no-threads-message {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 30px;
}
