/* GTA Game Next 2.4.64 - indeks forum czytelny na desktopie i telefonie. */

body.gtx-site .gtx-forum-shell .gtx-forum-index-search {
  display: flow-root;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__col-icon {
  width: 48px;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__col-replies,
body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__col-topics {
  width: 76px;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__col-last {
  width: 150px;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__section > th {
  vertical-align: middle;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__section-name {
  white-space: normal !important;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__row > td {
  padding: .8rem .7rem !important;
  vertical-align: middle !important;
  overflow-wrap: anywhere;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__icon {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  text-align: center !important;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__name {
  color: #66d6ff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__description {
  margin-top: .25rem;
  color: #b9c5d9;
  line-height: 1.45;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__subforums {
  margin-top: .35rem;
}

body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__metric,
body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__last {
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 767.98px) {
  body.gtx-site .gtx-forum-shell #forum,
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__table {
    overflow: visible !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__table,
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__table > tbody {
    display: block;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__table > colgroup {
    display: none;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__title-row,
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__section {
    display: block;
    width: 100%;
    margin: .75rem 0 .45rem;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__title-row > th,
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__section-name {
    display: block;
    width: 100% !important;
    padding: .8rem .9rem !important;
    border: 1px solid #30394d !important;
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.35;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__section-stat {
    display: none !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    margin: 0 0 .7rem;
    overflow: hidden;
    border: 1px solid #30394d;
    border-radius: 12px;
    background: #111722;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__row > td {
    display: block;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__icon {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    padding: .9rem .35rem !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__main {
    grid-column: 2 / -1;
    padding: .9rem !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__name {
    font-size: 1.05rem;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__metric,
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__last {
    position: relative;
    padding: .65rem .8rem !important;
    border-top: 1px solid #30394d !important;
    text-align: left !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__replies {
    grid-column: 2;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__topics {
    grid-column: 3;
    border-left: 1px solid #30394d !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__last {
    grid-column: 2 / -1;
  }

  body.gtx-site .gtx-forum-shell #forum [data-label]::before {
    display: block;
    margin-bottom: .2rem;
    color: #8fa0bb;
    content: attr(data-label);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__last small {
    display: block;
    font-size: .82rem;
    line-height: 1.4;
  }
}

@media (max-width: 420px) {
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__row {
    border-radius: 10px;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__main {
    padding: .8rem !important;
  }

  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__metric,
  body.gtx-site .gtx-forum-shell #forum .gtx-forum-index__last {
    padding: .6rem .7rem !important;
  }
}
