/* OS-RP | MyBB 1.8.41 | uporzadkowany arkusz v1.4 */
/* OS-RP v1.0 | MyBB 1.8 | CSS overlay on the stock theme */
:root{--os-orange:#c66a35;--os-orange-dark:#a74d26;--os-ink:#182126;--os-gray:#edf0f2;--os-border:#d7dce0}
*{box-sizing:border-box}body{background:#e7ebee;color:#252e34;font:14px/1.55 Arial,Helvetica,sans-serif;text-align:left;margin:0}a:link,a:visited{color:#a8542e;text-decoration:none}a:hover{color:#db7a40;text-decoration:none}
#container{background:transparent;color:inherit;border:0;width:100%;min-width:0;margin:0 auto;text-align:left}#content{width:min(1450px,calc(100% - 40px));margin:22px auto 42px;padding:0;background:transparent;overflow:visible}
.os-wrap{max-width:1450px;margin:auto}.os-crumbs{font-size:12px;color:#626e75;margin:0 0 14px}.os-crumbs a{color:#6c7377}
.tborder{background:#fff;border:1px solid var(--os-border);border-radius:6px;overflow:hidden;box-shadow:0 2px 9px #1c27320a;margin-bottom:16px;width:100%}.thead{background:linear-gradient(#253036,#172126);color:#fff;padding:11px 15px;border:0;font-weight:bold}.thead a,.thead a:link,.thead a:visited{color:#fff!important}.tcat{background:#dfe4e7;color:#273036;padding:9px 12px;border-bottom:1px solid #cdd3d7}.trow1,.trow2{background:#f6f7f8;border-bottom:1px solid #e1e5e7;color:#263037;padding:12px}.trow2{background:#edf0f2}.trow1:hover,.trow2:hover{background:#fff}.tfoot{background:#253036;color:#fff}.tfoot a{color:#fff!important}.smalltext{font-size:12px;color:#68737a}.post .post_author,.post.classic .post_author{background:#f0f2f4;border-right:1px solid #d9dfe3}.post .post_content{background:#fff}.post{border:1px solid #d8dfe3;background:#fff;border-radius:5px;overflow:hidden;margin-bottom:14px}.post .post_head{border-bottom:1px solid #e1e4e7;color:#737c81}.post .post_controls{background:#f5f6f7;border-top:1px solid #dce0e2}.post .post_controls a,.button,.pagination a{border-radius:4px}.button,input.button,button,input[type=submit]{background:#b95f30!important;color:white!important;border:0!important;padding:8px 13px;border-radius:4px;cursor:pointer}.button:hover,input.button:hover{background:#dc7940!important}input.textbox,textarea,select{background:#fff;color:#283138;border:1px solid #cbd3d8;border-radius:4px;padding:8px}blockquote{background:#f1f3f4;border-left:3px solid var(--os-orange);padding:12px}.navigation{padding:12px 0}.navigation .active{color:#bc6234;font-weight:bold}#footer{background:transparent;border:0;margin:0;padding:0}.os-footer-image{height:210px;background:linear-gradient(0deg,#0e1519dd,transparent 75%),url(/forum/images/osrp/footer.jpg) center 53%/cover no-repeat}.os-footer-bottom{background:#111a1e;color:#c5c9cb;display:flex;justify-content:space-between;gap:20px;padding:18px max(20px,calc((100vw - 1450px)/2));font-size:12px}.os-footer-bottom em{color:#999}.os-portal{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(270px,1fr);gap:24px}.os-panel{background:#fff;border:1px solid #d6dde0;border-radius:5px;overflow:hidden;margin-bottom:16px;box-shadow:0 2px 8px #00000009}.os-panel-head{background:#1a252b;color:#fff;padding:12px 16px;font-size:17px;font-weight:bold}.os-panel-body{padding:16px}.os-news{display:flex;gap:16px;border-bottom:1px solid #e0e4e7;padding:18px 0}.os-news:last-child{border:0}.os-news-icon{width:95px;min-width:95px;height:95px;border-radius:4px;background:linear-gradient(150deg,#ad613c,#30363b);display:flex;align-items:center;justify-content:center;color:white;font-size:36px}.os-news-content{min-width:0;flex:1}.os-news h3{margin:0 0 4px;font-size:18px}.os-news p{margin:8px 0;color:#48545a}.os-news-meta{font-size:12px;color:#81898e}.os-btn{display:inline-block;background:#c66a35;color:white!important;padding:9px 15px;border-radius:4px;font-weight:bold}.os-btn:hover{background:#a8542e}.os-side-action{display:block;padding:20px;background:#202c32;color:#fff!important;font-size:19px;font-weight:bold;margin-bottom:14px;border-radius:5px}.os-side-action span{display:block;font-size:12px;font-weight:normal;color:#c5cbcf}.os-side-action:hover{background:#a8542e}.os-hot-title{font-size:17px;font-weight:bold}.os-side-muted{color:#69767d;font-size:12px}.os-pagination{padding:12px}.os-news-empty{padding:25px;color:#667}
.os-mybb-credit{background:#111a1e;color:#88939a;text-align:center;font-size:11px;padding:0 12px 12px}.os-mybb-credit a{color:#aeb7bd!important}@media(max-width:800px){.os-portal{grid-template-columns:1fr}#content{width:calc(100% - 18px)}.os-footer-bottom{display:block;text-align:center}.os-footer-bottom>div{margin:5px 0}.os-news-icon{width:65px;min-width:65px;height:65px}.os-news h3{font-size:15px}}

/* Naglowek: panorama jako tlo, oficjalne logo jako osobny PNG */
#header { margin: 0; padding: 0; background: transparent; }
#header .os-hero {
  height: 155px; min-height: 155px; max-height: 155px;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 25px; overflow: hidden; box-sizing: border-box;
  background: #171c1e url(/forum/images/osrp/header-bg.jpg) center center / cover no-repeat;
}
#header .os-hero .os-logo-link {
  display: flex; align-items: center; justify-content: flex-start;
  flex: 0 0 290px; width: 290px; height: 100%;
  margin: 0; padding: 0; background: none; text-decoration: none;
}
#header .os-hero .os-logo-img {
  display: block; width: 100%; max-width: 290px;
  height: auto; max-height: 125px; object-fit: contain;
  object-position: left center; margin: 0; padding: 0;
}

/* Jeden poziomy pasek POD naglowkiem */
#header .os-nav {
  position: relative; display: block; clear: both;
  width: 100%; min-height: 52px; margin: 0; padding: 0;
  background: linear-gradient(#1c1e20, #111315);
  border: 0; border-bottom: 2px solid #b76532;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
#header .os-nav-inner {
  width: 100%; max-width: 1450px; min-height: 52px;
  margin: 0 auto; padding: 0 18px;
  display: flex; flex-direction: row; flex-wrap: wrap;
  align-items: center; justify-content: flex-start; gap: 0;
  background: transparent; box-sizing: border-box;
}
#header .os-nav-inner > a {
  display: inline-flex; flex: 0 0 auto;
  align-items: center; justify-content: center;
  min-height: 52px; height: 52px; padding: 0 17px;
  color: #e0e2e3 !important; background: transparent;
  border: 0; border-right: 1px solid rgba(0,0,0,.35);
  text-decoration: none !important; font: 600 13px/1.2 Arial, sans-serif;
  white-space: nowrap;
}
#header .os-nav-inner > a:hover,
#header .os-nav-inner > a.os-active {
  color: #e8914f !important; background: #302016;
}
#header .os-nav-account {
  display: inline-flex; align-items: center; justify-content: flex-end;
  flex-wrap: wrap; gap: 12px; margin-left: auto;
  padding: 8px 0 8px 14px;
  color: #d0d0d0; font: 13px/1.4 Arial, sans-serif;
}
#header .os-nav-account a,
#header .os-nav-account strong { color: #e8914f !important; }
#header .os-nav-account a { text-decoration: none !important; }
#header .os-nav-account ul { list-style: none; margin: 0; padding: 0; }
#header .os-nav-account li { display: inline; margin: 0 8px 0 0; padding: 0; }

/* Kategorie: grafit i miedz */
.thead { background: #202a30 !important; background-image: none !important;
  color: #fff !important; border-bottom: 2px solid #c66a35 !important; }

@media (max-width: 850px) {
  #header .os-nav-inner { padding: 0 10px; }
  #header .os-nav-inner > a { padding: 0 10px; font-size: 12px; }
  #header .os-nav-account { margin-left: 0; padding: 10px; }
  #header .os-hero { padding: 0 15px; }
  #header .os-hero .os-logo-link { flex-basis: 240px; width: 240px; }
  #header .os-hero .os-logo-img { max-width: 240px; }
}

/* OS-RP — kategorie i działy */

.thead {
    background: #202a30 !important;
    color: #f1f1f1 !important;
    border-bottom: 2px solid #b86b3c !important;
    padding: 12px 15px !important;
}

.thead a {
    color: #f1f1f1 !important;
}

.tcat {
    background: #303235 !important;
    color: #bfc5c8 !important;
    padding: 9px 12px !important;
}

.trow1,
.trow2 {
    padding: 13px 12px !important;
    border-bottom: 1px solid #dce1e4 !important;
}

.trow1 {
    background: #f6f7f8 !important;
}

.trow2 {
    background: #edf0f2 !important;
}

.trow1:hover,
.trow2:hover {
    background: #ffffff !important;
}

.tborder {
    border: 1px solid #d5dade !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
}

.trow1 a,
.trow2 a {
    color: #a8542e !important;
}

.trow1 a:hover,
.trow2 a:hover {
    color: #d37b44 !important;
}

/* OS-RP — wyrównanie kategorii i działów dla wszystkich */

#content .thead {
    text-align: left !important;
}

#content .trow1,
#content .trow2 {
    text-align: left;
}

/* Nazwa działu i jego opis */
#content .trow1 .forumdisplay,
#content .trow2 .forumdisplay {
    text-align: left !important;
}

/* Zachowanie wyśrodkowanych statystyk */
#content .trow1[align="center"],
#content .trow2[align="center"] {
    text-align: center !important;
}


/* OS-RP - ikony dzialow z plikow PNG (FTP) */
.forum_status {
    display: inline-block !important;
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 48px 48px !important;
    vertical-align: middle;
}
.forum_status::before,
.forum_status::after {
    content: none !important;
    display: none !important;
}
.forum_status.forum_on {
    background-image: url(/forum/images/osrp/forum_on.png) !important;
}
.forum_status.forum_off {
    background-image: url(/forum/images/osrp/forum_off.png) !important;
}
.forum_status.forum_offclose {
    background-image: url(/forum/images/osrp/forum_offclose.png) !important;
}
.forum_status.forum_offlink {
    background-image: url(/forum/images/osrp/forum_offlink.png) !important;
}

/* =========================================
   OS-RP - UKLAD FORUM + SIDEBAR
   ========================================= */

.osrp-index-layout {
    display: grid;
    grid-template-columns: minmax(0, 82fr) minmax(0, 18fr);
    gap: 16px;
    align-items: start;
    width: 100%;
}

.osrp-index-forums {
    min-width: 0;
}

.osrp-index-sidebar {
    min-width: 0;
}

/* PANELE BOCZNE */

.osrp-side-panel {
    margin-bottom: 12px;
    border: 1px solid #3b3d40;
    background: #f2f2f2;
    overflow: hidden;
}

.osrp-side-title {
    padding: 10px 8px;
    background: #353535;
    border-bottom: 2px solid #bd7138;
    color: #f3f3f3;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.4;
    text-transform: uppercase;
}

.osrp-side-content {
    padding: 12px 10px;
    color: #333;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.osrp-server-name {
    font-weight: bold;
    color: #a45b29;
    margin-bottom: 5px;
}

.osrp-side-muted {
    color: #777;
    font-size: 11px;
}

.osrp-side-older {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ddd;
    color: #a45b29;
    font-size: 11px;
    font-weight: bold;
    text-align: right;
}

/* TELEFONY I WASKIE EKRANY */

@media (max-width: 900px) {
    .osrp-index-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .osrp-index-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .osrp-side-panel {
        margin-bottom: 0;
    }
}

@media (max-width: 550px) {
    .osrp-index-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================
   OS-RP - STATUSY UZYTKOWNIKOW
   ========================================= */

.osrp-status-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 0;
    border-bottom: 1px solid #dedede;
}

.osrp-status-item:first-child {
    padding-top: 0;
}

.osrp-status-avatar {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

.osrp-status-avatar img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
    background: #ddd;
}

.osrp-status-body {
    flex: 1;
    min-width: 0;
}

.osrp-status-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 5px;
    line-height: 1.35;
}

.osrp-status-username {
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.osrp-status-username:hover {
    color: #bd7138;
    text-decoration: underline;
}

.osrp-status-date {
    color: #888;
    font-size: 10px;
}

.osrp-status-message {
    color: #333;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.osrp-status-form {
    margin-top: 12px;
}

.osrp-status-form textarea {
    display: block;
    width: 100%;
    min-height: 65px;
    padding: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
}

.osrp-status-form textarea:focus {
    outline: none;
    border-color: #bd7138;
}

.osrp-status-form button {
    display: block;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 3px;
    background: #b76b35;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.osrp-status-form button:hover {
    background: #995426;
}

.osrp-status-form .osrp-side-muted {
    margin-top: 7px;
    font-size: 10px;
}

.osrp-status-limit {
    margin-top: 12px;
}

.osrp-side-older a {
    color: #a45b29;
    text-decoration: none;
}

/* =========================================
   OS-RP - STATUSY UZYTKOWNIKOW
   ========================================= */

.osrp-status-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 0;
    border-bottom: 1px solid #dedede;
}

.osrp-status-item:first-child {
    padding-top: 0;
}

.osrp-status-avatar {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

.osrp-status-avatar img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
    background: #ddd;
}

.osrp-status-body {
    flex: 1;
    min-width: 0;
}

.osrp-status-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 5px;
    line-height: 1.35;
}

.osrp-status-username {
    color: #a45b29;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.osrp-status-username:hover {
    color: #bd7138;
    text-decoration: underline;
}

.osrp-status-date {
    color: #888;
    font-size: 10px;
}

.osrp-status-message {
    color: #333;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.osrp-status-form {
    margin-top: 12px;
}

.osrp-status-form textarea {
    display: block;
    width: 100%;
    min-height: 65px;
    padding: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
}

.osrp-status-form textarea:focus {
    outline: none;
    border-color: #bd7138;
}

.osrp-status-form button {
    display: block;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 3px;
    background: #b76b35;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.osrp-status-form button:hover {
    background: #995426;
}

.osrp-status-form .osrp-side-muted {
    margin-top: 7px;
    font-size: 10px;
}

.osrp-status-limit {
    margin-top: 12px;
}

.osrp-side-older a {
    color: #a45b29;
    text-decoration: none;
}

.osrp-side-older a:hover {
    text-decoration: underline;
}

.osrp-side-older a:hover {
    text-decoration: underline;
}

/* =========================================
   OS-RP - STATUSY UZYTKOWNIKOW
   ========================================= */

.osrp-status-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 0;
    border-bottom: 1px solid #dedede;
}

.osrp-status-item:first-child {
    padding-top: 0;
}

.osrp-status-avatar {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

.osrp-status-avatar img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
    background: #ddd;
}

.osrp-status-body {
    flex: 1;
    min-width: 0;
}

.osrp-status-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 5px;
    line-height: 1.35;
}

.osrp-status-username {
    color: #a45b29;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.osrp-status-username:hover {
    color: #bd7138;
    text-decoration: underline;
}

.osrp-status-date {
    color: #888;
    font-size: 10px;
}

.osrp-status-message {
    color: #333;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.osrp-status-form {
    margin-top: 12px;
}

.osrp-status-form textarea {
    display: block;
    width: 100%;
    min-height: 65px;
    padding: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
}

.osrp-status-form textarea:focus {
    outline: none;
    border-color: #bd7138;
}

.osrp-status-form button {
    display: block;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 3px;
    background: #b76b35;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.osrp-status-form button:hover {
    background: #995426;
}

.osrp-status-form .osrp-side-muted {
    margin-top: 7px;
    font-size: 10px;
}

.osrp-status-limit {
    margin-top: 12px;
}

.osrp-side-older a {
    color: #a45b29;
    text-decoration: none;
}

.osrp-side-older a:hover {
    text-decoration: underline;
}

/* OS-RP - kolory nickow zgodne z grupami MyBB */

.osrp-status-username {
    color: inherit;
    text-decoration: none;
}

.osrp-status-username:hover {
    text-decoration: underline;
}

/* =========================================
   OS-RP - ARCHIWUM STATUSOW
   ========================================= */

.osrp-status-archive {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #f2f2f2;
    border: 1px solid #3b3d40;
    box-sizing: border-box;
}

.osrp-status-archive h2 {
    margin: -20px -20px 15px;
    padding: 12px 15px;
    background: #353535;
    border-bottom: 2px solid #bd7138;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
}

.osrp-status-archive .osrp-status-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.osrp-status-archive .osrp-status-avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.osrp-status-archive .osrp-status-avatar img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.osrp-status-archive .osrp-status-body {
    flex: 1;
    min-width: 0;
}

.osrp-status-archive .osrp-status-username {
    font-size: 13px;
    font-weight: bold;
}

.osrp-status-archive .osrp-status-date {
    color: #888;
    font-size: 11px;
}

.osrp-status-archive .osrp-status-message {
    font-size: 13px;
    line-height: 1.6;
}

.osrp-status-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 15px;
}

.osrp-status-nav a {
    color: #a45b29;
    font-weight: bold;
    text-decoration: none;
}

.osrp-status-nav a:hover {
    text-decoration: underline;
}

/* OS-RP - ACP i MCP w pasku nawigacji */

.os-nav-staff {
    display: contents;
}

.os-nav-staff a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    min-height: 58px;
    color: #f1f1f1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-left: 1px solid rgba(255,255,255,.07);
    box-sizing: border-box;
}

.os-nav-staff a:hover {
    background: #302019;
    color: #d98748;
}



/* OS-RP - wycentrowane obrazki w aktualnosciach */

.osrp-news-image {
    width: 100%;
    margin: 12px 0;
    text-align: center;
}

.osrp-news-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 4px;
}
