/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver Special Edition
	Based on style:		prosilver (the default phpBB 3.3.x style)
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/
*, *::before, *::after {
  box-sizing: border-box;
}
/* colours.css changes */
html, body {
	background-color: #ACA8A1;
}

body.simple {
	min-height: 100%;
	padding: 0 5px;
}
#wrap{
  width:100%;
}
.wrap {
	border: 2px solid #FFF;
	border-radius: 15px;
	box-shadow: 0 0 5px 2px #9D9A93, inset 0 3px 18px rgba(100, 100, 100, .25);
	margin: 0 auto;
	max-width: 1152px;
	padding: 13px 23px;
}

.search-header {
	box-shadow: 0 0 10px #505C65;
}

.headerbar {
	background-color: #7C8891;
	background-image: -webkit-linear-gradient(top, #6E777F 0%, #505C65 1%, #56626B 20%, #737F88 75%, #7C8891 100%);
	background-image: linear-gradient(to bottom, #6E777F 0%, #505C65 1%, #56626B 20%, #737F88 75%, #7C8891 100%);
	background-repeat: repeat-x;
}

.navbar {
	background-color: #DCDEE2;
}

.forabg, .forumbg {
	background-color: #505C65;
	background-image: -moz-linear-gradient(top, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%, #505C65 100%);
	background-image: linear-gradient(to bottom, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%,#505C65 100%);
	background-repeat: repeat-x;
}

.copyright a {
	color: #000000 !important;
}


.jumpbox-cat-link {
	background-color: #505C65;
	background-image: -moz-linear-gradient(top, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%, #505C65 100%);
	background-image: linear-gradient(to bottom, #7C8891 0%, #7C8790 4%, #76828B 10%, #5B666F 29%, #505C65 38%,#505C65 100%);
	background-repeat: repeat-x;
	color: #FFFFFF;
}

.jumpbox-sub-link {
	background-color: #E8ECEE;
}



@media only screen and (max-width: 860px), only screen and (max-device-width: 860px) {
	#wrap {
		width: auto;
	}
}

:root {
  --bg-page: #E6E2D3;
  --bg-box: #F2EFE4;
  --bg-topbar: #E6E2D3; /* albo zostaw jak chcesz */
  --text-primary: #262626;
  --text-secondary: #6A6A6A;

  --ui-primary: #6F7773;
  --ui-secondary: #CFCFC9;

  --link: #4F5F58;
  --link-hover: #3E4A45;
  --link-active: #7E8A84;

  --section-bar: #396672; /*#5F6E64;*/
  --section-bar-2: #4E5B54;
  --row-background: #ccdcd0; 
}

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

.wrap { background-color: transparent; }

#page-header, .navbar {
  background-color: var(--bg-topbar);
  border-bottom: 1px solid var(--ui-secondary);
}

.panel, .forabg, .forumbg, .post, .bg1, .bg2 {
  background-color: var(--bg-box);
  border-color: var(--ui-secondary);
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:active, a:focus { color: var(--link-active); }

.postprofile, .author, .time, .pagination, .statistics {
  color: var(--text-secondary);
}

li.row:hover { background-color: #F7F7F4; }

/* belka działów: mniej "tabelkowo", bardziej nowocześnie */
.forabg .header, .forumbg .header{
  background: var(--section-bar) !important;
  border: 0 !important;
  /*border-radius: 10px 10px 0 0;*/
  padding: 6px 10px
}
.forabg .header dt,
.forumbg .header dt {
    font-weight: 500;
}

.forabg, .forumbg{
  border-radius: 10px;
  overflow: hidden; /* żeby header nie wystawał */
  border: 2px solid var(--section-bar); /*var(--ui-secondary);*/
  background-image: none;
  padding: 0;
}

/* nagłówki w belce */
.forabg .header a, .forumbg .header a,
.forabg .header dt, .forumbg .header dt,
.forabg .header dd, .forumbg .header dd{
  color:#fff !important;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: 11px;
}
.forabg{
  margin-bottom: 15px;
}

ul.topiclist li {
	color: (var(--text-primary));;
}
/* Logo większe, czytelniejsze */
#logo img,
.site_logo img {
   max-height: none !important;
    max-width: none !important;
    height: 92px !important;   /* tu ustawiasz realną wysokość */
    width: auto !important;
}

/* Ukryj tekstowy tytuł obok logo (zostaje w DOM) */
#site-description{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

/* Oddech w headerze */
.headerbar{
  background: transparent !important;
  box-shadow: none !important;
}

#page-header{
  background: transparent !important;
  border-bottom: 1px solid var(--ui-secondary);
  padding: 14px 0;
}

.headerbar .inner{
	display: flex;
	flex-direction: row;
	align-items: center;
}
.headerbar .inner>*{
	float:none;
}
.headerbar .inner #logo{
  flex: 0 0 auto;
  padding: 0;
  margin-right: 14px;
}

.headerbar .inner #search-box
{
	    flex: 1 1 100%;
    margin: 0px;
    box-shadow: none;
	display: flex;
	justify-content: end;
}

/* kontener searcha */
.headerbar .inner #search-box{
  justify-content: flex-end;
  gap: 8px;
}

/* input */
#search-box input.inputbox{
  background: rgba(242,239,228,.9); /* zbliżone do --bg-box */
  border: 1px solid var(--ui-secondary);
  border-radius: 999px;
  padding: 10px 14px;
  height: auto;
  box-shadow: none;
}

/* przyciski w searchu */
#search-box button,
#search-box a.button,
#search-box input.button1,
#search-box input.button2{
  border-radius: 999px;
  border: 1px solid var(--ui-secondary);
  background: transparent;
  box-shadow: none;
  padding: 9px 12px;
}
#search-box button:hover,
#search-box a.button:hover{
  border-color: var(--ui-primary);
}

li.row {
    background-color: var(--row-background);
}
li.row:hover {
	background-color: #EBEFF1;
}
li.row.bg3 {
	background-color: #F0F4F6;
}

li.row.bg3:hover {
	background-color: #F4F8FA;
}
ul.topiclist li:last-child{
  border-bottom: 0;
}


/* responsive.css changes */
@media only screen and (max-width: 920px), only screen and (max-device-width: 920px) {
	/* html, body {
		background-color: #FFF;
	}

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

	#wrap {
		width: 850px;
		padding: 0;
		border-width: 0;
		border-radius: 0;
		box-shadow: none;
	} */
   #wrap{
    padding: 0 15px 15px 15px;
    border: none;
    box-shadow: none;
   }

  .headerbar .inner{
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
  }
  .headerbar .inner #logo{
    display: inline-flex;
  }
  .headerbar .inner #search-box {
    align-self: stretch;
  }
    .headerbar .inner #search-box form{
      width: 100%;
    }
.headerbar .inner #search-box form fieldset{
  display: flex;
}

.headerbar .inner #search-box form fieldset input{
  flex: 1 1 auto;
  float: none;
  max-width: 100%;
}


}