/**
 *
 * @package phpBB Extension - home.caforum.fr 
 * @copyright (c) 2025 HSH - https://home.caforum.fr
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 * @import url("theme.css?hash=fcb2f258");
 * 
 */

.site-description h1, .site-description p {
  margin-left: 12px;
}

.badge {
  border-radius: 10px !important;
}

.site_logo {
  background-image: none;
  width: 0px;
  height: 0px;
}

#site-description #logo{
  display: block;
  padding: 5px;
  font-size: 0;
}

.headerbar {
  padding: 0;
  margin-bottom: 8px;
}

.headerbar .inner {
  position: relative;
}

.skiplink {
  left: -9999px;
  width: 9990px;
}

.search-header {
  box-shadow: none;
  position: absolute;
  right: 8px;
  bottom: -56px;
  margin: 0;
}

/*html, body {
  background: #FDFDFD url('images/cream_pixels.png') repeat top center;
}*/

#page-body {
  margin: 8px 0 0;
}

.navbar, .headerbar, .forabg, .forumbg {
  background-color: #C1D7EA;
}

.headerbar, .forabg, .forumbg, ul.forums {
  background-image: none;
}

.forumbg .header a, .forabg .header a, th a, li.header dt, li.header dd {
  color: #105289;
}

.forumbg .header a:hover, .forabg .header a:hover, th a:hover {
  color: #D31141;
}

ul.topiclist li.row dt a.subforum {
  max-width: none;
}

li.row {
  border: none;
}

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

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {

  .forabg {
    margin-bottom: 8px;
  }

}

.emoji {
  min-height: 22px;
  min-width: 22px;
  -webkit-filter: drop-shadow(0 0 .5px #555);
  filter: drop-shadow(0 0 .5px #555);
}

.copyright {
  color: #AAA;
}

.copyright a {
  color: #A6BAD9;
}

.postingbuttons {
  background-color: #FAFAFA;
}

.postingbuttons:hover {
  background-color: transparent !important;
}

.forabg {
  margin-bottom: 8px;
}

.cp-mini {
  padding: 0;
  margin: 0;
  max-height: none;
}

.block .postbody {
  width: 100%;
}

.container {
  display: flex;
}

.block {
  box-sizing: border-box;
  width: 100%;
}

.topiclist.right {
  position: absolute;
  top: 2px;
  right: 0;
  font-size: 1em;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.container .content {
  padding: 5px 20px;
}

.container .content ul {
  margin-top: 1em;
  margin-left: 10px;
}

.container .content li {
  display: list-item;
  list-style-type: square;
  padding: 1px 0 1px 5px;
  margin-bottom: 10px;
  margin-left: 25px;
}

.container .content p {
  font-size: 1em;
}

.container .content .ext-name {
  font-size: 1.2em;
  font-weight: bold;
}

.container .content .discussion {
  font-size: .85em;
}

.container .content h2:not(:first-of-type) {
  margin: 2em 0 1em;
}

/* Inline code BB-tag (for the forums), taken from phpBB.com */
code.inline {
  background: #FFF;
  border: 1px solid #C9D2D8;
  color: #2E8B57;
  display: inline;
  font-family: Monaco, "Andale Mono", "Courier New", Courier, monospace;
  font-size: 0.9em;
  font-style: normal;
  line-height: 1.3em;
  padding: 0 3px;
}

.ico:before {
  content: '';
  display: inline-block;
  vertical-align: text-top;
  padding-right: 5px;
  background-repeat: no-repeat;
}

.ico24:before {
  width: 24px;
  height: 24px;
}

.ico24-checkmark:before { background-image: url('./icons/icon_checkmark.png'); }
.ico24-timer:before   { background-image: url('./icons/icon_timer.png'); }
.ico24-tube:before    { background-image: url('./icons/icon_tube.png'); }
.ico24-custom:before  { background-image: url('./icons/icon_custom.png'); }

@media all and (max-width: 700px) {

  #site-description {
    text-align: left;
  }

}

/* File Download */

dl.extra-box {
  width: 414px;
  text-shadow: none;
  color: #FEA !important;
}

dl.extra-box dt a {
  color: #FFF !important;
  font-size: 1.1em;
  padding-bottom: 5px;
}

dl.extra-box dd a, dl.download-contrib dd {
  text-shadow: none;
}

dl.extra-box.orange, .big-tag.orange {
  background: rgba(0, 0, 0, 0) linear-gradient(45deg, #ffc561 50%, #ff8a2b 100%) repeat scroll 0 0;
}

dl.download dt {
  position: relative;
  text-transform: none;
}

/* Mobile */

@media only screen and (max-width: 1220px), only screen and (max-device-width: 1220px) {

  .container {
    flex-flow: column;
  }

  .container .block {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    order: -1;
    padding: 0;
    margin: 0;
  }

  /* Switch back to fixed height */
  .block, .block .forabg, .block .inner, #mchat-body, .block #mchat-main, .block #mchat-messages {
    display: block;
  }

  .container .content {
    padding: 5px;
  }

  .container .content ul {
    margin-left: inherit;
  }

}

/* Poll on Index */

.poll-on-index fieldset.polls dt {
  width: 50%;
}

.poll-on-index fieldset.polls dd.resultbar {
  width: 30%;
}

/* Recent topics */

#recent-topics {
  position: absolute;
}

/* Collapsible Categories */

.collapse-btn {
  display: none !important;
}

.poll-on-index .collapse-btn,
.mchat-wrapper .collapse-btn {
  display: block !important;
}

@media only screen and (min-width: 1220px), only screen and (min-device-width: 1220px) {

  .block #recenttopicstop .posts,
  .block #recenttopicstop .views {
    display: none;
  }

  .block #recenttopicstop ul.topiclist dt {
    margin-right: -200px;
  }

  .block #recenttopicstop ul.topiclist dt .list-inner {
    margin-right: 200px;
  }

  .block #recenttopicstop dd.lastpost {
    width: 200px;
  }

  #recenttopicstop .pagination {
    position: absolute;
    bottom: 3px;
    right: 205px;
  }

}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {

  .topiclist.right {
    display: block;
    position: relative;
    text-align: center;
    top: 0;
  }

}

/** Custom Board - Place your custom CCS under this line */

html, body {
  color: #536482;
  background-color: #082b51;
  background-image: url("https://rimbertweb.fr/cloud/uploads/57e4956bad457465daff7b5051b7a6b7.png");
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Responsive headerbar */
.headerbar {
    background-image: url("https://rimbertweb.fr/cloud/uploads/159fead05dde4a2325de1787dba4427b.png");
    color: #FFFFFF;
    background-size: 100% 105%;
    background-position: 50% 25%;
    height: 100px
}

.forum-image {
  float: right;
  padding-top: 5px;
  margin-right: 5px;
}

/* Submit/Reset buttons */
.panel input.button1,
.panel input.button2 {
  background: linear-gradient(#fdfdfd, #eaeaea);
  border: 1px solid #999;
  border-radius: 5px;
  font-size: 11px;
  padding: 6px 10px;
  color: #111;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.panel input.button1:hover,
.panel input.button2:hover {
  background: linear-gradient(#ffffff, #dcdcdc);
  border-color: #666;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.panel input.button1:active,
.panel input.button2:active {
  background: #d8d8d8;
  border-color: #555;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.25);
}
/* Select dropdowns */
.panel select {
  font-size: 11px;
  line-height: 0.95;
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid silver;
  background-image: linear-gradient(to bottom, #ffffff 0%, #e9e9e9 100%);
}
.panel select:hover {
  background-image: none;
  background-color: #fff;
  border-color: #6fa1d4;
}

