/* talm-refresh-20261003b
   Ajustement de Simplicity Gray, dans sa palette d’origine.
   Page #e0e0e0 + pattern.png, blocs #f4f4f4, acier #636363, rouge #d03c3c.
   Remplace le fond bleuté et les cartes blanches du passage précédent.
*/

html,
body {
  background-color: #e0e0e0;
  background-image: url("./images/pattern.png");
  color: #141414;
}

body {
  font-size: 12px;
  line-height: 1.5;
}

/* En-tête : le logo reste sur le lin, sans filet. */
#page-header .headerbar {
  background-color: transparent;
  background-image: none;
  border-bottom: 0;
  box-shadow: none;
  margin-bottom: 12px;
}

#page-header .headerbar .logo {
  padding-top: 14px;
  padding-bottom: 12px;
}

.navbar .nav-tabs {
  background-color: #636363;
  box-shadow: none;
}

.navbar .nav-tabs .nav-link {
  height: 34px;
  line-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.navbar .nav-tabs .dropdown {
  top: 34px;
}

.dropdown-up .navbar .nav-tabs .dropdown {
  top: auto;
  bottom: 34px;
}

.navbar .nav-tabs .tab {
  color: #fff;
}

.navbar .nav-tabs .tab.selected {
  color: #636363;
  background-color: #f4f4f4;
  box-shadow: inset 0 -2px 0 #d03c3c;
}

.navbar .nav-tabs .tab:hover,
.navbar .nav-tabs .tab.dropdown-visible {
  color: #d03c3c;
  background-color: #f4f4f4;
}

.navbar.secondary > ul > li > a {
  font-size: 13px;
  line-height: 28px;
}

#page-body > .navbar,
#wrap > .navbar {
  background-color: #f4f4f4;
  border: 1px solid #d0d0d0;
  box-shadow: none;
}

/* Listes de forums et de sujets */
.forabg {
  margin-top: 14px;
  margin-bottom: 14px;
}

.forabg ul.topiclist li.header,
.forumbg ul.topiclist li.header {
  padding: 8px 12px 8px 14px;
  background-color: #636363;
  color: #fff;
  font-weight: 600;
  box-shadow: inset 4px 0 0 #d03c3c;
}

.forabg li.header dt {
  font-size: 15px;
  font-weight: 600;
}

.forabg ul.topiclist li.row,
.forumbg ul.topiclist li.row {
  background-color: #f4f4f4;
  border: 1px solid #d0d0d0;
  margin-top: 6px;
  margin-bottom: 6px;
  box-shadow: none;
}

.forumbg ul.topiclist li.row.bg1 {
  background-color: #f4f4f4;
}

.forumbg ul.topiclist li.row.bg2 {
  background-color: #f8f8f8;
}

.forabg ul.topiclist li.row:hover,
.forumbg ul.topiclist li.row:hover {
  background-color: #eeeeee;
  border-color: #c6c6c6;
  box-shadow: inset 3px 0 0 #d03c3c;
}

.forabg ul.topiclist li.row.reported,
.forumbg ul.topiclist li.row.reported {
  background-color: #f5e9e9;
  border-color: #e4d0d0;
}

.forabg ul.topiclist li.row.reported:hover,
.forumbg ul.topiclist li.row.reported:hover {
  background-color: #f3e4e4;
  box-shadow: inset 3px 0 0 #d03c3c;
}

dl.row-item dt .list-inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

li.header dl.row-item dt .list-inner {
  padding-top: 0;
  padding-bottom: 0;
}

a.forumtitle {
  font-size: 17px;
  font-weight: 600;
}

a.topictitle {
  font-size: 16px;
  font-weight: 600;
}

.forum-description {
  font-size: 13px;
  line-height: 1.45;
  color: #3f3f3f;
}

.forum-statistics,
dd.lastpost,
dd.redirect,
dd.moderation,
dd.time,
dd.info {
  font-size: 12px;
  line-height: 1.4;
}

/* Messages */
.post {
  border: 1px solid #d0d0d0;
  border-left: 3px solid #636363;
  margin-bottom: 12px;
  box-shadow: none;
}

.post.bg1 {
  background-color: #f4f4f4;
}

.post.bg2 {
  background-color: #f6f6f6;
}

.post.unreadpost {
  border-left-color: #d03c3c;
}

.post.reported {
  background-color: #f5e9e9;
  border-color: #e4d0d0;
  border-left-color: #d03c3c;
}

.post > .inner {
  padding: 8px 12px;
}

.postbody {
  font-size: 12px;
  line-height: 1.5;
}

.postbody h3 {
  font-size: 17px;
}

.postbody .content,
.content {
  color: #141414;
  font-size: 14px;
  line-height: 1.55;
}

p.author {
  font-size: 12px;
  color: #636363;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0.7em;
  padding-bottom: 6px;
}

.postprofile {
  font-size: 12px;
  border-right-color: #d0d0d0;
}

.postprofile dt,
.postprofile dt a {
  font-size: 14px;
}

.signature {
  border-top-color: #d0d0d0;
  line-height: 1.45;
}

/* Blocs, formulaires, boutons */
.panel {
  background-color: #f4f4f4;
  border: 1px solid #d0d0d0;
  box-shadow: none;
}

form.headerspace,
.stat-block {
  background-color: #f4f4f4;
  border: 1px solid #d0d0d0;
  border-left: 3px solid #636363;
  border-radius: 3px;
  padding: 8px 12px 12px;
  margin-top: 12px;
  margin-bottom: 12px;
}

form.headerspace > h3,
.stat-block h3 {
  margin-top: 4px;
}

fieldset {
  font-size: 12px;
}

fieldset.quick-login input.inputbox {
  height: 28px;
  padding: 3px 6px;
}

fieldset.quick-login input.button2 {
  background-color: #636363;
  border-color: #636363;
  color: #fff;
  padding: 4px 14px;
  border-radius: 3px;
}

textarea {
  font-size: 14px;
  line-height: 1.5;
}

.button,
.buttons > .button,
a.button1,
a.button2,
input.button1,
input.button2 {
  border-radius: 3px;
}

.button,
.buttons > .button {
  padding: 4px 12px;
}

a.button1,
input.button1,
a.button2,
input.button2 {
  padding: 3px 10px;
}

.pagination,
.pagination > ul > li {
  font-size: 12px;
}

.action-bar {
  margin-top: 8px;
  margin-bottom: 8px;
}

a:focus-visible,
.button:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #d03c3c;
  outline-offset: 2px;
}

.rtl .forabg ul.topiclist li.header,
.rtl .forumbg ul.topiclist li.header {
  box-shadow: inset -4px 0 0 #d03c3c;
}

.rtl .forabg ul.topiclist li.row:hover,
.rtl .forumbg ul.topiclist li.row:hover,
.rtl .forabg ul.topiclist li.row.reported:hover,
.rtl .forumbg ul.topiclist li.row.reported:hover {
  box-shadow: inset -3px 0 0 #d03c3c;
}

.rtl .post,
.rtl form.headerspace,
.rtl .stat-block {
  border-left: 1px solid #d0d0d0;
  border-right: 3px solid #636363;
}

.rtl .post.unreadpost,
.rtl .post.reported {
  border-right-color: #d03c3c;
}

.rtl .postprofile {
  border-right-color: transparent;
  border-left-color: #d0d0d0;
}
