/*  phpBB3 Style Sheet
----------------------------------------------------------------------
Style name:			Prosilver New Edition 
Based on style:		prosilver (the default phpBB 3.3.x style)
Original author:	Tom Beddard ( http://www.subblue.com/ )
Modified by:		Fred Rimbert ( https://forums.caforum.fr/ )
----------------------------------------------------------------------
*/

:root {
  /* Light Mode (Default) Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-tertiary: #e8e8e8;
  --bg-gradient-start: #69c;
  --bg-gradient-end: #87bdd8;
  --bg-header: #ffffff;
  --bg-footer: #dfdfdf;
  --bg-post: #ffffff;
  --bg-post-border: rgba(112, 112, 112, 0.2);
  --bg-profile: linear-gradient(to bottom, #deeaee 3%, #f0f0f0 100%);
  --bg-hover: #f5f5f5;
  --bg-navbar: #ffffff;
  
  /* Text Colors */
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --text-light: #eeeeee;
  --text-white: #ffffff;
  
  /* Border Colors */
  --border-primary: #cccccc;
  --border-secondary: #4692bf;
  --border-light: rgba(112, 112, 112, 0.2);
  
  /* Accent Colors */
  --accent-primary: #69c;
  --accent-secondary: #87bdd8;
  --accent-success: #85de39;
  --accent-info: #0077b3;
  
  /* Shadows */
  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-profile: 1px 1px 3px #333;
  
  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  
  /* Border Radius */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 15px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Mode Variables */
.dark-mode:root {
  /* Dark Mode Colors */
  --bg-primary: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --bg-tertiary: #333333;
  --bg-gradient-start: #2c5f7d;
  --bg-gradient-end: #1e4158;
  --bg-header: #1f1f1f;
  --bg-footer: #252525;
  --bg-post: #2a2a2a;
  --bg-post-border: rgba(200, 200, 200, 0.2);
  --bg-profile: linear-gradient(to bottom, #2c3e50 3%, #34495e 100%);
  --bg-hover: #333333;
  --bg-navbar: #1f1f1f;
  
  /* Text Colors */
  --text-primary: #e0e0e0;
  --text-secondary: #c0c0c0;
  --text-muted: #888888;
  --text-light: #f0f0f0;
  --text-white: #ffffff;
  
  /* Border Colors */
  --border-primary: #444444;
  --border-secondary: #3a7ca5;
  --border-light: rgba(200, 200, 200, 0.2);
  
  /* Accent Colors */
  --accent-primary: #4a9eca;
  --accent-secondary: #6bb4d8;
  --accent-success: #6bc92b;
  --accent-info: #0099dd;
  
  /* Shadows */
  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-profile: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------
----------------------  General CSS  ----------------------
--------------------------------------------------------- */

html,
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  padding: 0;
}

body.simple {
  min-height: 100%;
  padding: 0 5px;
}

#darkToggle, .darktoggle-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* --------------------------------------------------------
----------------------  Side Images  ----------------------
--------------------------------------------------------- */
.side-image-left,
.side-image-right {
  position: fixed;
  top: 5vh;
  width: 176px;
  height: 90vh;
  background-image: url("./images/LogoTous.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}

.side-image-left {
  left: 20px;
}

.side-image-right {
  right: 20px;
  background-image: url("./images/mopar-all-time.png");
}

/* Hide side images on smaller screens */
@media (max-width: 1580px) {
  .side-image-left,
  .side-image-right {
    display: none;
  }
}

.wrap {
  border: none;
  border-radius: 8px;
  padding: 13px 23px;
}
@media (max-width: 1220px) {
  .wrap {
    margin: 0;
  }
}

#wrap {
  background: transparent;
  margin-top: 10px;
  margin-bottom: 10px;
}

.search-header {
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-primary);
}

.search-header input {
  background-color: var(--bg-secondary);
}

.headerbar {
  background: transparent;
  border-radius: 0;

  color: var(--text-primary);
}

.headerbar-container .inner {
  display: flex;
  flex-direction: column;
}

.headerbar-container .search-box form input {
  height: 40px;
  width: calc(100% - 40px - 40px);
  padding-left: 16px;
  box-sizing: border-box;
}
.headerbar-container .search-box form button,
.headerbar-container .search-box form a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  box-sizing: border-box;
}

.site_logo {
  background-image: url("./images/site_logo.svg");
  background-repeat: no-repeat;
  display: inline-block;
  width: 149px;
  height: 52px;
}

.site-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto !important;
}
.site-description h1 {
  color: var(--text-primary);
  font-size: 3em;
  text-align: center;
}
.site-description p {
  font-size: 1.4em;
  text-align: center;
}

.navbar {
  border-radius: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-primary);
}

.nav-wrap {
  border-radius: 8px;
  background-color: transparent;
}

/* Navbar Top & Navbar Bottom */
.navbar-container,
.headerbar-container,
.footerbar-container {
  max-width: 1152px;
  margin: 0 auto;
}

.forabg {
  background: linear-gradient(to right, var(--accent-primary) 3%, var(--accent-secondary) 100%);
}

.forumbg {
  background: linear-gradient(to left, var(--accent-primary) 3%, var(--accent-secondary) 100%);
}

#page-footer {
  background-color: var(--bg-footer);
  margin-bottom: -20px;
}

.footerbar {
  margin: 0 auto;
  padding: 0;
}

.page-footer .navbar {
  background-color: transparent;
}

.copyright a {
  color: var(--text-primary) !important;
}

.online {
  background-image: none !important;
}

.icon.online {
  color: var(--text-online);
}

.online:before,
.offline:before {
  left: 5px;
}

.postprofile dt,
.postprofile dd.profile-rank {
  text-align: center;
}

.postprofile .avatar {
  float: none;
  display: initial;
}

.postprofile .avatar img {
  display: initial;
}

.avatar-container {
  padding: 10px;
}

.jumpbox-cat-link {
  background: linear-gradient(to bottom, var(--accent-primary) 3%, var(--accent-secondary) 100%);
  border-top-color: var(--accent-info);
  color: var(--text-white);
}

.jumpbox-cat-link:hover {
  background: linear-gradient(to top, var(--accent-primary) 3%, var(--accent-secondary) 100%);
  border-top-color: var(--accent-info);
  box-shadow: var(--shadow-medium);
  color: var(--text-white);
}

ul.navlinks {
  border-top-color: transparent;
}

ul.forums {
  background-color: var(--bg-primary);
  background-image: var(--bg-primary);
}

li.row {
  border-top-color: rgba(255, 255, 255, 0);
  border-bottom-color: var(--border-primary);
}

li.row:hover {
  background-color: var(--bg-hover);
}

li.row.bg3 {
  background-color: var(--bg-primary);
}

li.row.bg3:hover {
  background-color: var(--bg-hover);
}

blockquote {
  background-color: var(--bg-primary);
  border-color: var(--border-primary);
  border-radius: 0px 10px 10px 10px;
  box-shadow: var(--shadow-small);
}

/* --------------------------------------------------------
-----------------------  Profil Box  ----------------------
--------------------------------------------------------- */
@media (min-width: 700px) {
  .postbody {
    width: 76%;
  }
  .post {
    background-color: transparent;
    border: 3px solid rgba(112, 112, 112, 0.2);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
  }
  .panel {
    background-color: transparent;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
  }
  .avatar-container {
    max-width: 200px;
    padding: 10px;
  }
  .profile-custom-field,
  .profile-posts,
  .profile-joined,
  .profile-warnings,
  .profile-contact,
  .profile-status {
    background-color: transparent;
    border: 1px solid rgba(64, 64, 64, 0.2);
    padding: 3px;
    margin-top: 2px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 5px;
  }
  .postprofile {
    background: linear-gradient(to bottom, #deeaee 3%, #f0f0f0 100%);
    border: 1px solid rgba(112, 112, 112, 0.2);
    padding-bottom: 10px;
    margin-top: 5px;
    margin-left: 5px;
    border-radius: 10px;
    width: 20%;
    box-shadow: 1px 1px 3px #333;
  }
}

/* --------------------------------------------------------
--------------------- Fixed navbar Top  -------------------
--------------------------------------------------------- */
#page-header .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 99%;
  z-index: 99;
}

#page-header .navbar .navbar-container {
  padding-right: 3px;
}

@media (max-width: 1182px) {
  #page-header .navbar .navbar-container {
    padding-right: 10px;
  }
}

@media (max-width: 700px) {
  #page-header .navbar .navbar-container {
    padding-right: 5px;
  }
}

.headerbar {
  margin-top: 36px;
}

/* --------------------------------------------------------
-------------------  Background New Post  -----------------
--------------------------------------------------------- */
.global_unread {
  background-color: var(--bg-secondary);
}

.global_unread_mine {
  background-color: var(--bg-secondary);
}

.global_unread_locked {
  background-color: var(--bg-secondary);
}

.global_unread_locked_mine {
  background-color: var(--bg-secondary);
}

.announce_unread {
  background-color: var(--bg-secondary);
}

.announce_unread_mine {
  background-color: var(--bg-secondary);
}

.announce_unread_locked {
  background-color: var(--bg-secondary);
}

.announce_unread_locked_mine {
  background-color: var(--bg-secondary);
}

.forum_unread {
  background-color: var(--bg-secondary);
}

.forum_unread_locked {
  background-color: var(--bg-secondary);
}

.forum_unread_subforum {
  background-color: var(--bg-secondary);
}

.sticky_unread {
  background-color: var(--bg-secondary);
}

.sticky_unread_mine {
  background-color: var(--bg-secondary);
}

.sticky_unread_locked {
  background-color: var(--bg-secondary);
}

.sticky_unread_locked_mine {
  background-color: var(--bg-secondary);
}

.topic_unread {
  background-color: var(--bg-secondary);
}

.topic_unread_mine {
  background-color: var(--bg-secondary);
}

.topic_unread_hot {
  background-color: var(--bg-secondary);
}

.topic_unread_hot_mine {
  background-color: var(--bg-secondary);
}

.topic_unread_locked {
  background-color: var(--bg-secondary) ;
}

.topic_unread_locked_mine {
  background-color: var(--bg-secondary) ;
}

.pm_unread {
  background-color: var(--bg-secondary) ;
}

.post.unreadpost {
  background-color: var(--bg-secondary) ;
}

/* --------------------------------------------------------
--------------------------  Ranks  ------------------------
--------------------------------------------------------- */
.banner-rank {
  font-weight: 700;
  position: relative;
  margin-top: 5px;
  margin-right: 8px;
  padding: 5px;
  border-radius: 5px;
  color: var(--text-secondary);
  text-align: center;
  border-radius: 5px;
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
  box-shadow: 0 0 2px 1px #9d9a93, inset 0 3px 10px rgba(100, 100, 100, 0.25);
  text-shadow: 0 1px 1px #000;
}

.banner-rank:before,
.banner-rank:after {
  position: absolute;
  top: -3px;
  width: 4px;
  height: 3px;
  opacity: 0.8;
}

.banner-rank:before {
  left: 0;
  border-top-left-radius: 3px;
}

.banner-rank:after {
  right: 0;
  border-top-right-radius: 3px;
}

/* --------------------------------------------------------
-------------------  Font Awesome icons  ------------------
--------------------------------------------------------- */

/* --------------------------------------------------------
---------------------  Responsive CSS  --------------------
--------------------------------------------------------- */
@media only screen and (max-width: 700px),
  only screen and (max-device-width: 700px) {
  html,
  body {
    background-color: var(--bg-primary);
  }

  body {
    padding-left: 5px;
    padding-right: 5px;
  }

  #wrap {
    width: auto;
    padding: 0;
    border-width: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media only screen and (max-width: 700px),
  only screen and (max-device-width: 700px) {
  .online:before,
  .offline:before {
    right: 5px;
    left: auto;
  }
}

@media (max-width: 700px) {
  .banner-rank {
    display: none;
  }
}

@media (max-width: 700px) {
  .postprofile dt,
  .postprofile dd.profile-rank {
    text-align: left;
  }
}

/* --------------------------------------------------------
----------------------  Icon images  ----------------------
--------------------------------------------------------- */
.contact-icon {
  background-image: url("./images/icons_contact.png");
}

/* Profile & navigation icons */
.pm-icon {
  background-position: 0 0;
}
.email-icon {
  background-position: -21px 0;
}
.jabber-icon {
  background-position: -80px 0;
}
.phpbb_icq-icon {
  background-position: -61px 0;
}
.phpbb_wlm-icon {
  background-position: -182px 0;
}
.phpbb_aol-icon {
  background-position: -244px 0;
}
.phpbb_website-icon {
  background-position: -40px 0;
}
.phpbb_youtube-icon {
  background-position: -98px 0;
}
.phpbb_facebook-icon {
  background-position: -119px 0;
}
.phpbb_googleplus-icon {
  background-position: -140px 0;
}
.phpbb_skype-icon {
  background-position: -161px 0;
}
.phpbb_twitter-icon {
  background-position: -203px 0;
}
.phpbb_yahoo-icon {
  background-position: -224px 0;
}

/* Forum icons & Topic icons */
.global_read {
  background-image: url("./images/announce_read.svg");
}
.global_read_mine {
  background-image: url("./images/announce_read_mine.svg");
}
.global_read_locked {
  background-image: url("./images/announce_read_locked.svg");
}
.global_read_locked_mine {
  background-image: url("./images/announce_read_locked_mine.svg");
}
.global_unread {
  background-image: url("./images/announce_unread.svg");
}
.global_unread_mine {
  background-image: url("./images/announce_unread_mine.svg");
}
.global_unread_locked {
  background-image: url("./images/announce_unread_locked.svg");
}
.global_unread_locked_mine {
  background-image: url("./images/announce_unread_locked_mine.svg");
}

.announce_read {
  background-image: url("./images/announce_read.svg");
}
.announce_read_mine {
  background-image: url("./images/announce_read_mine.svg");
}
.announce_read_locked {
  background-image: url("./images/announce_read_locked.svg");
}
.announce_read_locked_mine {
  background-image: url("./images/announce_read_locked_mine.svg");
}
.announce_unread {
  background-image: url("./images/announce_unread.svg");
}
.announce_unread_mine {
  background-image: url("./images/announce_unread_mine.svg");
}
.announce_unread_locked {
  background-image: url("./images/announce_unread_locked.svg");
}
.announce_unread_locked_mine {
  background-image: url("./images/announce_unread_locked_mine.svg");
}

.forum_link {
  background-image: url("./images/forum_link.svg");
}
.forum_read {
  background-image: url("./images/forum_read.svg");
}
.forum_read_locked {
  background-image: url("./images/forum_read_locked.svg");
}
.forum_read_subforum {
  background-image: url("./images/forum_read_subforum.svg");
}
.forum_unread {
  background-image: url("./images/forum_unread.svg");
}
.forum_unread_locked {
  background-image: url("./images/forum_unread_locked.svg");
}
.forum_unread_subforum {
  background-image: url("./images/forum_unread_subforum.svg");
}

.sticky_read {
  background-image: url("./images/sticky_read.svg");
}
.sticky_read_mine {
  background-image: url("./images/sticky_read_mine.svg");
}
.sticky_read_locked {
  background-image: url("./images/sticky_read_locked.svg");
}
.sticky_read_locked_mine {
  background-image: url("./images/sticky_read_locked_mine.svg");
}
.sticky_unread {
  background-image: url("./images/sticky_unread.svg");
}
.sticky_unread_mine {
  background-image: url("./images/sticky_unread_mine.svg");
}
.sticky_unread_locked {
  background-image: url("./images/sticky_unread_locked.svg");
}
.sticky_unread_locked_mine {
  background-image: url("./images/sticky_unread_locked_mine.svg");
}

.topic_moved {
  background-image: url("./images/topic_moved.svg");
}
.pm_read,
.topic_read {
  background-image: url("./images/topic_read.svg");
}
.topic_read_mine {
  background-image: url("./images/topic_read_mine.svg");
}
.topic_read_hot {
  background-image: url("./images/topic_read_hot.svg");
}
.topic_read_hot_mine {
  background-image: url("./images/topic_read_hot_mine.svg");
}
.topic_read_locked {
  background-image: url("./images/topic_read_locked.svg");
}
.topic_read_locked_mine {
  background-image: url("./images/topic_read_locked_mine.svg");
}
.pm_unread,
.topic_unread {
  background-image: url("./images/topic_unread.svg");
}
.topic_unread_mine {
  background-image: url("./images/topic_unread_mine.svg");
}
.topic_unread_hot {
  background-image: url("./images/topic_unread_hot.svg");
}
.topic_unread_hot_mine {
  background-image: url("./images/topic_unread_hot_mine.svg");
}
.topic_unread_locked {
  background-image: url("./images/topic_unread_locked.svg");
}
.topic_unread_locked_mine {
  background-image: url("./images/topic_unread_locked_mine.svg");
}
