@import url("default.css");

:root {
  --colorBg: #f2f0ea;
  --colorDefTxt: #25221d;
  --colorSm: #756957;
  --colorSel: #ffffff;
  --colorCel1: #fcfbf7;
  --colorCel2: #f0eee4;
  --colorWarn: #a42b22;
  --colorLnk: #4f6724;
  --colorLnkBg: #e9ecd9;
  --colorRowBrd: #d8d2c8;
  --colorPTxtBrd: #ded8ce;
  --colorGrpTtl: #3d2a18;
  --colorTCl: #c8b9a6;
  --colorBtnBrd: #4f6724;
  --colorBtnGrd1: #728a35;
  --colorBtnGrd2: #536b26;
  --colorBtnTxt: #ffffff;
  --colorBtnBrdHv: #382716;
  --colorBtnTxtHv: #ffffff;
  --tt-brown: #382716;
  --tt-brown-2: #503820;
  --tt-olive: #5b7028;
  --tt-olive-2: #728a35;
  --tt-line: #ddd8cf;
  --tt-cream: #f4f1e9;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--colorBg);
}

.gbody,
.gbody table,
.gbody input,
.gbody select,
.gbody textarea,
.gbody button {
  font-family: "Open Sans", Arial, sans-serif;
}

.gbody {
  min-height: 100vh;
  margin: 0;
  background: var(--colorBg);
  color: var(--colorDefTxt);
  font-size: 14px;
  line-height: 1.5;
}

.forum-shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 28px 0;
}

.forum-shell table.forums,
.forum-shell table.forumsmb,
.forum-shell .tbTransparent,
.forum-shell .tbTransparentmb,
.forum-shell table.capMenu {
  width: 100%;
  max-width: none;
}

.tt-forum-menu.capMenu {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-top: 1px solid #d9ddc7;
  border-bottom: 1px solid #cbd1b5;
  border-radius: 0;
  background: linear-gradient(180deg, #f4f5eb 0%, #e9ecd9 100%);
  box-shadow: 0 2px 7px rgb(56 39 22 / 8%);
}

.tt-forum-menu td.capMenu {
  height: 54px;
  padding: 8px max(28px, calc((100vw - 1424px) / 2)) !important;
  border: 0 !important;
  background: transparent;
  color: var(--tt-brown);
  font-size: 13px;
  line-height: 1.2;
}

.tt-forum-menu td + td.capMenu {
  padding-right: 8px !important;
  padding-left: 0 !important;
}

.tt-forum-menu .sepr {
  display: none;
}

.tt-forum-menu a,
.tt-forum-menu a.mnblnk:link,
.tt-forum-menu a.mnblnk:visited {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 2px 3px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--tt-brown);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tt-forum-menu a:hover,
.tt-forum-menu a:focus-visible {
  border-color: #c4cca5;
  background: #fff;
  color: var(--tt-olive);
  box-shadow: 0 2px 5px rgb(56 39 22 / 10%);
  outline: none;
}

.tt-forum-menu a:focus-visible {
  border-color: var(--tt-olive);
  box-shadow: 0 0 0 3px rgb(91 112 40 / 18%);
}

.headingTitle,
.forum-shell h1,
.forum-shell h2,
.forum-shell h3 {
  color: var(--tt-brown);
  font-family: "Barlow Condensed", Impact, sans-serif;
}

.headingTitle {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  text-shadow: none;
}

.groupTitle,
table.capMenu:not(.tt-forum-menu),
.forum-shell td.groupTitle {
  padding: 9px 12px;
  background: linear-gradient(#533b25, #372515);
  color: #fff;
  font: 800 17px "Barlow Condensed", sans-serif;
  letter-spacing: .25px;
}

.groupTitle a:link,
.groupTitle a:active,
.groupTitle a:visited,
table.capMenu:not(.tt-forum-menu) a:link,
table.capMenu:not(.tt-forum-menu) a:visited {
  color: #fff;
}

.forumCol,
.forum-shell table.forums,
.forum-shell table.forumsmb {
  border: 1px solid var(--tt-line);
  background: #f9f8f4;
  box-shadow: 0 3px 12px rgb(56 39 22 / 6%);
}

.forumCol .forumTitle,
.forum-shell td.forumTitle {
  background: #eef0e2;
  color: var(--tt-brown);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
}

.forum-shell .tcell,
.forum-shell .tcelllast,
.forum-shell .tcelllastm,
.forum-shell .fcell,
.forum-shell .caption1,
.forum-shell .caption3,
.forum-shell .caption5,
.forum-shell .pauthor,
.forum-shell .postedLeftCell {
  padding: 10px 12px;
}

.forum-shell .tcelllast,
.forum-shell .tcelllastm {
  border-color: var(--tt-line);
}

.forum-shell .postedTextCell,
.forum-shell .postedTextCellLeft,
.forum-shell .postedTextCellRight {
  border-color: var(--tt-line);
  background: #fcfbf7;
}

.forum-shell .pauthor,
.forum-shell .postedLeftCell {
  background: #f0eee4;
}

.forum-shell a.mnblnk:link,
.forum-shell a.mnblnk:active,
.forum-shell a.mnblnk:visited,
.forum-shell .postedText a:link,
.forum-shell .postedText a:visited {
  color: var(--tt-olive);
  text-decoration-color: rgb(91 112 40 / 45%);
  text-underline-offset: 2px;
}

.forum-shell a.mnblnk:hover,
.forum-shell .postedText a:hover {
  color: var(--tt-brown);
}

.textForm,
.selectTxt {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid #c8c1b7;
  border-radius: 3px;
  background: #fff;
  color: var(--colorDefTxt);
}

#searchform input[type="search"],
#searchform input[type="text"] {
  max-width: 100%;
}

#searchform .searchmb .caption5 {
  overflow-wrap: anywhere;
}

#searchform .searchmb .caption5 > .txtSm {
  white-space: normal;
  line-height: 2;
}

textarea.textForm {
  min-height: 190px;
  line-height: 1.55;
  resize: vertical;
}

.textForm:focus,
.selectTxt:focus {
  border-color: var(--tt-olive);
  outline: 3px solid rgb(114 138 53 / 18%);
}

.inputButton {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--tt-olive);
  border-radius: 3px;
  background: var(--tt-olive);
  background-image: none;
  color: #fff;
  font-weight: 700;
}

.inputButton:hover,
.inputButton:focus-visible {
  border-color: var(--tt-brown);
  background: var(--tt-brown);
}

.navCell,
.navCellSel,
.pages {
  border-color: #c8d0ab;
  background: #e9ecd9;
  color: var(--tt-brown);
}

.quote {
  border-left-color: var(--tt-olive);
  background: #eff1e5;
  color: #4c463d;
}

.btnSvg {
  width: 32px;
  height: 32px;
  padding: 4px;
  border: 1px solid #c8c1b7;
  border-radius: 3px;
  background: #fff;
}

.btnSvg:hover {
  border-color: var(--tt-olive);
  background: #e9ecd9;
}

.warning {
  margin: 12px 0;
  padding: 12px 15px;
  border-left: 4px solid var(--colorWarn);
  background: #f7e6e2;
}

.warning:empty {
  display: none;
}

.scroll-to-top,
.scroll-to-btm {
  border-color: var(--tt-olive);
  background: var(--tt-olive);
  color: #fff;
}

.scroll-to-top {
  z-index: 50;
  border-radius: 4px;
}

.tt-forum-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  border: 1px solid var(--tt-line);
  border-radius: 5px;
  background: #f9f8f4;
  box-shadow: 0 3px 12px rgb(56 39 22 / 6%);
  overflow: hidden;
}

.tt-forum-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 15px 20px;
  text-align: center;
}

.tt-forum-stat + .tt-forum-stat {
  border-left: 1px solid var(--tt-line);
}

.tt-forum-stat-value {
  color: var(--tt-brown);
  font: 800 28px/1.1 "Barlow Condensed", Impact, sans-serif;
}

.tt-forum-stat-label {
  margin-top: 5px;
  color: var(--tt-olive);
  font-size: 12px;
  font-weight: 700;
}

.tt-minibb-meta {
  margin-top: 0;
  margin-bottom: 0;
  color: #756957;
  font-size: 12px;
}

.tt-minibb-meta:not(:has(a)) {
  display: none;
}

.tt-minibb-meta img {
  margin-right: 5px;
}

@media (max-width: 900px) {
  .forum-shell > table.forumsmb > tbody > tr > td {
    display: block;
    width: 100% !important;
    padding-right: 0 !important;
  }

  .forum-shell > table.forumsmb > tbody > tr > td + td {
    margin-top: 22px;
  }
}

@media (max-width: 767px) {
  .tt-forum-menu td.capMenu {
    display: block;
    width: 100% !important;
    height: auto;
    padding: 8px 13px !important;
    text-align: left;
    white-space: normal;
  }

  .tt-forum-menu td + td.capMenu {
    padding: 0 13px 8px !important;
  }

  .tt-forum-menu a,
  .tt-forum-menu a.mnblnk:link,
  .tt-forum-menu a.mnblnk:visited {
    margin: 3px;
    padding: 8px 10px;
    border-color: #d6dbc2;
    background: rgb(255 255 255 / 58%);
  }

  .forum-shell {
    padding: 20px 16px 0;
  }

  .forum-shell .headingTitle {
    font-size: 26px;
  }

  .forum-shell .postingForm,
  .forum-shell .topicTitle,
  .forum-shell .prfFld {
    width: 100%;
  }

  #searchform table.searchmb td {
    display: block;
    width: 100% !important;
    text-align: left;
  }

  #searchform table.searchmb input[type="search"],
  #searchform table.searchmb input[type="text"],
  #searchform table.searchmb select {
    width: 100%;
    max-width: 100%;
  }

  .forum-shell table.forums,
  .forum-shell table.forumsmb,
  .forum-shell .tbTransparent,
  .forum-shell .tbTransparentmb {
    max-width: 100%;
  }

  .forum-shell .pauthor {
    width: 28% !important;
  }

  .forum-shell .postedText,
  .forum-shell .tcell,
  .forum-shell .tcelllast,
  .forum-shell .fdesc {
    overflow-wrap: anywhere;
  }


}

@media (max-width: 520px) {
  .tt-forum-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-forum-stat {
    min-height: 78px;
    padding: 12px 8px;
  }

  .tt-forum-stat:nth-child(3) {
    border-left: 0;
  }

  .tt-forum-stat:nth-child(n+3) {
    border-top: 1px solid var(--tt-line);
  }
  .forum-shell .postedLeftCell {
    display: none;
  }

  .forum-shell .pauthor {
    width: 34% !important;
    padding: 9px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
