.content_aside-container:has(.forum-category) {
  gap: 40px;
  grid-template-columns: 330px 1fr;
}
.forum-title-text {
  font-size: 1.4rem;
  margin: 0 0 10px 0;
  order: 3;
  flex-basis: 100%;
  padding: 20px;
}
.forum-title-text a {
  font-weight: bold;
  text-decoration: underline;
}
.forum-post-autor, .forum-post-autor a {
  color: #777
}

.forum-module .article-header {
  padding: 15px;
}

.forum-navigation {
  display: flex;
  margin: 12px 0;
  align-items: center;
  flex-wrap: wrap;
}
.forum-navigation .btn {
  margin-left: auto;
}
.forum-breadcrumbs {
  margin: 10px 0;
  font-weight: bold;
  font-size: 1.8rem;
}
body:has(.forum-navigation) .forum-breadcrumbs {
  margin: 0;
}
.forum-breadcrumbs .glyphicon {
  font-size: 1.2rem;
}
.subforum-list .subforum-sections {
  font: normal 12px Arial, sans-serif;
  margin: 3px 0 0 25px;
}
.comments-header {
  margin: 20px 0;
}
.forums-table {
  padding: 0 0 20px 0;
}
.topic-list .content-block {
  display: flex;
  margin-bottom: 8px;
  justify-content: space-between;
  font-size: 1.3rem;
  align-items: center;
  position: relative;
  padding: 18px 20px 18px 25px;
}
.topic-list .content-block:last-child {
  margin-bottom: 0;
}
.topic-list .content-block:hover {
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
.topic-list .content-block .second {
  display: flex;
  align-items: center;
}
.topic-list .content-block .second > div {
  display: inline-flex;
  align-items: center;
  width: 80px;
}

.topic-status {
  cursor: help;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ebebeb;
  border-radius: 100%;
  padding: 2px;
  margin-left: -10px;
  top: 2px;
  position: relative;
}
.topic-status + .topic-status {
  margin-left: 0;
}

.topic-list .content-block .link {
  position: relative;
  z-index: 2
}
.topic-list .forum-node {
  font-weight: bold;
}
.topic-list .topic-last-answer {
  width: 120px;
  padding: 5px 0;
  display: inline-block;
  text-align: right;
  white-space: nowrap;
}
.topic-list.css-table {
  border-spacing: 0 8px;
}
.topic-list .css-table-row {
  box-shadow: 0 0 1px rgba(0,0,0,0.2);
  @media (max-width: 460px){
    display: block;
    box-shadow: none;
    background-color: #fff;
    margin: 10px 0;
    padding: 0 0 10px 0;
  }
}
.topic-list .css-table-row:hover {
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}
.topic-list.css-table-cell {
  table-layout: auto;
}
.topic-list .css-table-cell {
  padding: 18px 5px;
  background-color: #fff;
  vertical-align: top;
  @media (max-width: 460px){
    padding: 0 5px;
    vertical-align: middle;
    &:nth-child(2) {
      display: inline-flex;
    }
    &:nth-child(3) {
      display: inline-flex;
    }
  }
}
.topic-list .css-table-cell:first-of-type {
  padding-left: 25px;
  @media (max-width: 460px){
    display: block;
    padding: 18px 5px 0;
  }
}
.topic-list .css-table-cell:last-of-type {
  padding-right: 10px;
  padding-left: 10px;
  @media (max-width: 460px){
    display: flex;
    padding: 0 5px;
    & a {
      margin-right: 10px;
    }
  }
}
.topic-list .css-table-cell:last-of-type a {
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topic-list .css-table-cell .topic-answer-count {
  width: auto;
}
.topic-list [data-balloon]:before,
.topic-list [data-balloon]:after{
  transition-delay: 0ms;
}
.topic-list [data-balloon]:hover:before,
.topic-list [data-balloon]:hover:after{
  transition-delay: 1000ms;
}
.nav-tabs > li > a {
  margin: 0;
  border: none;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  background-color: transparent;
  color: #b31919;
  border: none;
  margin: 0;
}
.topic-answer-count {
  padding: 1px 10px 0 5px;
  display: inline-flex;
  align-items: center;
}
.topic-answer-count .svg-icon {
  margin-right: 5px;
}
.page-aside .forum-category {
  margin: 10px 0 40px;
}
.page-aside .forum-category-heading {
  margin: 13px 0;
}
.forum-category-heading {
  margin: 13px 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: rgb(102, 102, 102);
}

.forum-category .category {
  display: block;
}
.forum-category .main-category {
  font-size: 1.6rem;
  padding: 5px 20px;
  display: block;
  background-color: #d2d2d2;
  font-weight: bold;
}
.forum-category .category {
  font-size: 1.3rem;
  padding: 4px 20px;
  display: block;
  background-color: #f1f1f1;
  border-bottom: 1px solid #d9d9d9
}
.forum-category .item .category:last-child {
  border: none;
}
.forum-category .item:first-of-type {
  border-bottom: 1px solid #ddd;
}
.forums-table {
  padding: 0 0 20px 0;
}

.forums-table:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0
}

.forums-table .subforum-list {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  color: #444;
  padding-left: 20px;
}

.forums-table .subforum-list .heading {
  padding: 0 0 3px 0;
  margin: 0 0 10px 0;
  color: #888888;
}

.forums-table .subforum-list .item {
  padding: 0 0 6px 0;
  margin: 6px 10px 6px 0;
}

.forums-table .subforum-list a:hover {
  text-decoration: none;
}
.forums-table-header {
  min-height: 65px;
}

.forums-table-header .module-title {
  height: auto;
  line-height: 1;
  padding: 0 0 0 10px
}
.forums-table-header .module-title-description {
  padding: 0 10px 0 10px;
  color: #aaa;
}

.forum-module {
  margin: 0 0 10px 0;
}

.forum-subject-header .article-title {
  line-height: 1;
  font-size: 3.4rem;
  margin: 0 20px 20px 0;
  color: #444;
  border-top: 1px solid #ccc;
  padding: 15px 0 0 0;
}
.forum-module .article-title.closed:before {
  content: "\e627";
  font-family: 'icomoon';
  font-size: 1.6rem;
  vertical-align: top;
  margin-right: 5px;
}
.forums-module .module-item em {
  font: normal 1.2rem Arial, sans-serif;
  display: block;
  color: #9a9a9a;
}

.forum-subject-header .btn .glyphicon {
  top: 2px;
}

.forum-subject-header .btn {
  margin-left: 5px;
}

.forum-module .content-wrapper {
  padding: 5px 0 0 0
}

.forum-module time {
  white-space: nowrap;
}

.forums-table-header .image-thumb {
  margin: 10px 10px 5px 0;
}

.forums-table .forum-node {
  margin: 0 10px 0 0;
  color: #555;
}

.forum-node {
  color: #555;
}

.forum-module .module-footer {
  display: none;
}

.forums-popular-games {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.forums-popular-games .item {
  margin: 0 0 20px;
  text-decoration: none;
  display: block;
  text-align: center;
  line-height: 1;
  flex-basis: calc(100% / 7 - (8px * 6 / 7));
}
.forums-popular-games .item img {
  display: block;
  margin-bottom: 5px;
}

.discussion-subject {
  font: bold 1.6rem/1 "Roboto Condensed", Arial, sans-serif;
  padding: 0;
  margin: 0 5px 0 0;
}
.discussion-subject:visited {
  color: #666;
}
.discussion-subject:visited:hover {
  color: var(--main-color);
}
.forum-module .breadcrumbs {
  flex-shrink: 0;
  flex-basis: 100%;
}
.report-dropdown {
  font-size: 1.7rem;
  text-align: left;
  margin-top: 20px;
}
.pagination>li:first-child>a,
.pagination>li:first-child>span{
  border-radius: 100%;
}
.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
  background-color: transparent;
}

#pgContentRoll {
  position: relative;
}
#pgContentRoll video {
  cursor: pointer;
}
.pgContentRollSound {
  width: 50px;
  height: 50px;
  color: #fff;
  position: absolute;
  bottom: 18px;
  right: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Glyphicons Halflings";
  font-size: 2.6rem;
}
.pgContentRollClose {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.25);
  color: #fff;
  font-family: "Glyphicons Halflings";
  font-size: 1.6rem;
}
.pgContentRollSound:before {
  content: "\e036";
}
.pgContentRollClose:before {
  content: "\e014";
}
.pgContentRollSound.active:before {
  content: "\e038";
}

.forum-moderation-tools {
  position: absolute;
  right: 1px;
  top: 1px;
}
.forum-moderation-tools .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background-color: #f5f5f5;
  border: none;
}
.forum-moderation-tools .btn:hover {
  background-color: #ccc;
}
.forum-moderation-tools .svg-icon-bg.pencil {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg fill='%23444' width='100%25' height='100%25' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M21.0303301,2.96966991 C22.4277928,4.36713263 22.4277928,6.63286737 21.0303301,8.03033009 L9.06200371,19.9986565 C8.78512854,20.2755316 8.44079112,20.4753584 8.06302761,20.5783848 L2.94733805,21.9735729 C2.38746387,22.1262658 1.87373417,21.6125361 2.02642713,21.0526619 L3.4216152,15.9369724 C3.52464161,15.5592089 3.72446837,15.2148715 4.00134354,14.9379963 L15.9696699,2.96966991 C17.3671326,1.5722072 19.6328674,1.5722072 21.0303301,2.96966991 Z M15.0001717,6.06057288 L5.06200371,15.9986565 C4.96971199,16.0909482 4.90310306,16.2057273 4.86876093,16.3316485 L3.81891446,20.1810855 L7.6683515,19.1312391 C7.79427267,19.0968969 7.90905181,19.030288 8.00134354,18.9379963 L17.9391717,8.99957288 L15.0001717,6.06057288 Z M17.0303301,4.03033009 L16.0601717,4.99957288 L18.9991717,7.93957288 L19.9696699,6.96966991 C20.7813462,6.15799363 20.7813462,4.84200637 19.9696699,4.03033009 C19.1579936,3.21865381 17.8420064,3.21865381 17.0303301,4.03033009 Z'%3e%3c/path%3e%3c/svg%3e");
}
.topic-list [data-balloon]::after {
  background-color: #222;
  line-height: 1.5;
}
.post-rating-wrapper {
  right: -20px;
  top: 40px;
}
.poll-module {
  margin-top: 40px;
}
main {
  position: relative;
}
.forum-post-recommendations {
  max-width: 800px;
  border-radius: 5px;
  padding: 20px 10px 20px 20px;
  background-color: #f5f5f5;
  & .list {
    max-height: 260px;
    overflow: auto;
    overscroll-behavior: none;
    padding-right: 10px;
  }
  & .item {
    margin: 10px 0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    background-color: #fff;
    font-size: 1.4rem;
    &:hover {
      background-color: #fbfbfb;
    }
    & span {
      display: flex;
      align-items: center;
      gap: 5px;
    }
  }
  & .title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.6rem;
  }
}
@supports not selector(::-webkit-scrollbar) {
  .forum-post-recommendations .list  {
    scrollbar-width: thin;
    scrollbar-color: #858585 #FFFFFF;
  }
}
.forum-post-recommendations .list::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
.forum-post-recommendations .list::-webkit-scrollbar-track  {
  border-radius: 4px;
  background-color: transparent;
}
.forum-post-recommendations .list::-webkit-scrollbar-track:hover {
  background-color: #EFEFEF;
}
.forum-post-recommendations .list::-webkit-scrollbar-track:active {
  background-color: #D7D7D7;
}
.forum-post-recommendations .list::-webkit-scrollbar-thumb  {
  border-radius: 5px;
  background-color: #b6b6b6;
}
.forum-post-recommendations .list::-webkit-scrollbar-thumb:hover {
  background-color: #565656;
}
.forum-post-recommendations .list::-webkit-scrollbar-thumb:active {
  background-color: #5C5C5C;
}
@media (max-width: 980px) {
  .content_aside-container:has(.forum-category) {
    grid-template-columns: none;
  }
  .post-rating-wrapper {
    margin: 10px 0 20px 0;
  }
  .forums-table .subforum-list {
    padding-left: 0;
  }
  .topic-list .content-block {
    padding: 15px 15px 15px 20px;
  }
  .topic-list .content-block .second > div {
    width: auto;
    padding: 0;
    margin-right: 8px;
  }
  .topic-list .topic-last-answer {
    width: auto;
    padding: 0;
  }
  .forum-subject-header {
    text-align: center;
  }
  .forum-topic-tools {
    margin: 10px 0 0 0;
    text-align: center
  }
  .topic-list .content-block .second {
    flex-direction: column;
    text-align: right;
  }
  .post-rating-wrapper .content-manage-options {
    position: static;
    margin: 0;
  }
  .topic-list .content-block {
    display: block;
  }
  .topic-list .content-block .second {
    flex-direction: row;
    text-align: left;
    margin-top: 3px;
  }
  .topic-list .content-block {
    font-size: 1.2rem;
  }
  .forum-subject-header .article-title {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    padding: 15px 5px 0;
  }
  .forum-breadcrumbs {
    text-align: center;
    margin: 0;
    font-size: 1.2rem;
    padding: 10px;
  }
  .alert {
    padding: 10px;
  }
  .forum-navigation {
    display: block;
  }
  .forum-navigation .btn-primary {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    padding: 5px;
    font-size: 1.4rem;
    border-radius: 0;
  }
  .forum-breadcrumbs .btn {
    padding: 2px 10px;
    display: inline-flex;
    justify-content: center;
    margin: 0 0 0 -10px;
  }
  .forum-category-modal .modal-dialog {
    width: 100%;
    margin: 0;
  }
  .modal-open .modal.forum-category-modal.in {
    align-items: normal;
  }
  .forum-category-modal .modal-body {
    padding: 0;
  }
  .forum-category-modal .modal-content {
    border-radius: 0;
    border: none;
  }
  .forum-category-modal button.close {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 10px;
    width: 32px;
    height: 32px;
    opacity: 1;
  }
  .forum-category-heading {
    margin: 0;
    padding: 10px 20px;
  }
  .forum-category-modal .forum-category-heading {
    margin: 0;
    padding: 10px 20px;
  }
  .forum-category-modal  .forum-category {
    margin: 0;
  }
  .forum-category-toggle .svg-icon-bg {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg fill='%23444444' width='24px' height='24px' class='svg-icon' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='3' y='17' width='18' height='2' rx='1' ry='1'/%3e%3crect x='3' y='11' width='18' height='2' rx='1' ry='1'/%3e%3crect x='3' y='5' width='18' height='2' rx='1' ry='1'/%3e%3c/svg%3e");
  }
  .forums-popular-games {
    overflow: auto;
    flex-wrap: nowrap;
  }
  .forums-popular-games::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 0;
    height: 0;
  }
  .forums-popular-games .item {
    flex-shrink: 0;
    flex-basis: auto;
    max-width: 130px;
  }
  .tab-pane .forum-category-heading {
    display: none;
  }
  .nav-tabs {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-tabs > li > a {
    padding: 10px 0;
    margin: 0;
  }
}
