/* CS1 Background and text colours
-------------------------------------------------------------*/

/* CS1.1 */
.punbb .section .container,
.punbb .post-body,
.punbb .post-links,
.punbb td.tc2,
.punbb td.tc3,
.punbb .formal fieldset .post-box,
#viewprofile li strong,
#viewprofile li div,
#setmods dd,
.punbb .info-box,
.punbb #pun-main .info-box .legend {
  color: #333;
}

/* CS1.2 */
.punbb .main .container,
.punbb .post .container,
.punbb .post h3,
.punbb-admin #pun-admain .adcontainer {
  background-color: #d3d3d3;
  color: #151515;
  background-color: transparent;
  font-size: 11px;
}

/* CS1.3 */
#pun-stats {
  width: 986px;
  margin: 10px auto 0;
  padding: 10px;
  background: #dedfdf;
  position: relative;
}

.punbb .main h1,
.punbb .main h2,
#pun-debug h2,
.punbb-admin #pun-admain h2,
#pun-stats h2 {
  background-color: transparent;
  color: #282828;
}

#pun-main .category h2,
#pun-main.multipage h1,
#pun-stats h2 {
  text-transform: uppercase;
  font-family: Play;
  font-weight: bold;
  font-size: 11px;
  margin: auto;
  text-align: center;
  padding: 3px;
  position: relative;
  border: none;
}

#pun-main .category h2 span,
#pun-main.multipage h1 span,
#pun-stats h2 span {
  background: #ccc;
  outline: 5px #dedfdf solid;
  position: relative;
  padding: 3px 58px;
  z-index: 2;
}

#pun-main .category h2::after,
#pun-main.multipage h1::after,
#pun-stats h2::after {
  content: "";
  background: #646464;
  width: calc(100% - 10px);
  height: 2px;
  position: absolute;
  top: 8px;
  left: 5px;
}

#pun-main.multipage h1 {
  background: transparent;
  border: none;
  padding-bottom: 30px;
  margin-top: 15px;
}

#pun-stats::after {
  top: 20px;
}

.punbb .category table {
  border-collapse: separate;
  border-spacing: 40px 25px;
}

#pun-main .category tr td:first-child {
  border-left: 4px #da7335 solid;
  position: relative;
  overflow: visible;
  height: 70px;
  vertical-align: top;
}

#pun-main .category tr:not(.inew) td:first-child::before {
  content: "OLD";
  transform: rotate(-90deg);
  position: absolute;
  left: -30px;
  bottom: 8px;
  font-family: Play;
  font-size: 16px;
  font-weight: bold;
  color: #393939;
}

#pun-main .category tr.inew td:first-child::before {
  content: "NEW";
  transform: rotate(-90deg);
  position: absolute;
  left: -32px;
  bottom: 11px;
  font-family: Play;
  font-size: 16px;
  font-weight: bold;
  color: #cd6323;
}

/* CS1.4 */
#pun-title,
#pun-title .container,
.punbb .modmenu .container {
  background-color: transparent;
  color: #333;
}

/* CS1.5 */
.punbb legend span,
#viewprofile h2 span,
#profilenav h2 span,
.punbb-admin #pun-admain legend span {
  background-color: #f7f7f7;
  color: #005eab;
}

/* CS1.6 */
.punbb .post h3 span,
.punbb th,
#viewprofile li,
#setmods dl {
  background-color: #dedfdf;
  color: #333;
}

/* CS1.7 */
.punbb .quote-box,
.punbb .code-box {
  background-color: #f9f9f9;
  color: #333;
}

/* CS1.8 */
#pun-navlinks .container {
  background-color: transparent;
  color: #cdc6c3;
  text-align: center;
  text-transform: uppercase;
  font-family: Play;
  font-size: 14px;
  line-height: 1rem;
}

.offline li.pa-online strong {
  font-weight: normal;
}

/* CS2 Border colours
-------------------------------------------------------------*/

/* CS2.3 */
#pun-stats h2,
.punbb .main h1,
.punbb .main h2,
#pun-debug h2,
.punbb-admin #pun-admain h2 {
  border-color: #004f90;
}

/* CS2.4 */
.punbb td,
.punbb fieldset,
#viewprofile ul,
#profilenav ul,
.punbb .post .post-body,
.post-links ul,
.post-links {
  border-color: #c9d6e0;
}

/* CS2.5 */
.punbb th {
  border-color: #dedfdf;
}

.status-right {
  float: right;
}

/* CS2.6 */
.punbb .quote-box,
.punbb .code-box {
  border-left: 8px solid #da7335;
  background: #cfccca;
}

#pun-ulinks li,
li#onlinelist,
#pun-help .formal .info-box h3.legend span {
  border-color: #ccc;
}

li#onlinelist div,
#pun-help .formal .info-box h3.legend {
  border-top: 1px solid #646464;
  padding: 0.7em 0 0 0;
  font-weight: 400;
}

.punbb .divider {
  border-color: #ccc #fff #fff #fff;
}

.punbb .formal fieldset .post-box,
.punbb .info-box {
  border: 1px solid #dedfdf;
}

li.pa-online {
  border-left-color: #005eab;
}

/* CS3 Links
-------------------------------------------------------------*/

/* CS3.1 */
.punbb a,
.punbb a:link,
.punbb a:visited,
.punbb-admin #pun-admain a,
.punbb-admin #pun-admain a:link,
.punbb-admin #punbb-admain a:visited {
  color: #da7335;
  text-decoration: none;
  font-weight: bold;
}

.punbb li.isactive a,
.punbb li.isactive a:link,
.punbb li.isactive a:visited {
  color: #333;
}

/* CS3.2 */
.punbb a:hover,
.punbb a:focus,
.punbb a:active,
.punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover,
.punbb-admin #punbb-admain a:focus,
.punbb-admin #punbb-admain a:active {
  color: #111;
}

/* CS3.3 */
#pun-navlinks a {
  color: #eee;
  text-decoration: none;
  font-weight: 400;
}

/* CS3.4 */
#pun-navlinks a:hover,
#pun-navlinks a:focus,
#pun-navlinks a:active {
  color: #fff;
  text-decoration: underline;
}

#pun-pagelinks a:active,
#pun-pagelinks a:focus {
  background-color: #333;
  color: #fff;
}

.subforums a {
  text-transform: lowercase;
}

input.button,
input[type="submit"] {
  padding: 5px 8px;
  border-radius: 0;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  background: #cfccca;
  font-weight: 500;
  font-family: "Roboto Condensed";
  font-size: 12px;
  border: 1px solid #111;
}

input.button:hover,
input[type="submit"]:hover {
  background: transparent;
}

#pun-graffiti-rusff h1 {
  background: #dedfdf;
}

.formal.messages-container .post-author ul {
  display: flex;
  flex-direction: column;
}

.formal.messages-container .post-author .pa-author {
  order: -2;
}

.formal.messages-container .post-author .pa-avatar {
  order: -1;
}

.formal.messages-container .post-author .pa-reg {
  display: none;
}

.formal.messages-container .post-author .pa-posts {
  padding-left: 0;
}

.show_user_posts .pa-author strong {
  color: #da7335;
}

.show_user_posts .post-author .pa-replies {
  padding: 3px 8px;
}

div.checkfield .sub {
  margin-left: 0 !important;
}

#pun-adnav,
.adformal {
  background: #dedfdf;
}
/* CS4 Post status icons
 -------------------------------------------------------------*/

#pun-main div.catleft,
#pun-main div.catright {
  display: none;
}

#pun-live-rusff {
  display: none;
}

/* Объявление */

.table-container__body {
  max-width: 920px;
  margin: 0 auto !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 150px;
  padding: 12px;
  background-image: url("https://forumstatic.ru/files/001b/67/4c/65426.png");
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.table-container__left {
  width: 39%;
}

.table-container__center {
  width: 170px;
}

.table-container__right {
  width: 39.5%;
}

.table-container__navigation ul {
  text-align: right;
}

.table-container__left .table-container__navigation a,
.table-container__center {
  font-family: Play;
  color: #d9d9d9;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  font-weight: 400;
}

.table-container__left .table-container__navigation a {
  font-size: 12px;
  transition: all 0.5s ease-in-out;
  position: relative;
}

.table-container__left .table-container__navigation a::after {
  content: "";
  display: inline-block;
  border: 1px solid #ce6d47;
  height: 10px;
  width: 0;
  padding: 0;
  margin-left: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
}

.table-container__left .table-container__navigation a:hover {
  letter-spacing: 1px;
}

#tags .container {
  background: #dedfdf;
  border: 1px solid #111;
}

.table-container__title {
  font-size: 18px;
}

.table-container__subtitle {
  font-size: 28px;
}

.table-container__news-title {
  font-family: Play;
  font-size: 14px;
  color: #c6c6c6;
  text-transform: uppercase;
}

.table-container__news-title::before,
.table-container__news-title::after {
  color: #ce6d47;
}

.table-container__news-title::before {
  content: "[";
}

.table-container__news-title::after {
  content: "]";
}

.table-container__news {
  padding: 0.6rem;
  margin-top: 0.5rem;
  font-size: 11px;
  line-height: 1rem;
  color: #ebebeb;
  letter-spacing: 0.65px;
  height: 80px;
  overflow: auto;
  background-color: rgba(60, 38, 19, 0.5);
}

.table-container__news a:hover {
  color: #ebebeb;
}

#html-footer {
  width: 984px;
  margin: 10px auto;
  padding: 0.8em 1em;
  background: #dedfdf;
}

#banners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-height: 35px;
  overflow-y: auto;
}

#banners img {
  filter: grayscale(100%);
  transition: all 0.3s ease-in;
  padding-right: 5px;
}

#banners img:hover {
  filter: grayscale(0);
}
