/*
===============================================
 POLSKAELITA.PL - PANEL BOCZNY
 Green Dark | MyBB 1.8.41
 TopStats 2.0.0

 Plik: pe_sidebar.css

 Aktualizacja:
 - mniejsze kafelki Najnowszych tematow
 - mniej pustej przestrzeni
 - zachowane avatary, tytuly, nicki i daty
 - Top 5 piszacych bez zmian
 - Top 5 reputacji bez zmian
===============================================
*/

/* ============================================
   GLOWNY UKLAD
============================================ */

.pe-index-layout .pe-sidebar {
    min-width: 0;
    box-sizing: border-box;
}

.pe-sidebar .pe-sidebar-block {
    min-width: 0;
    max-width: 100%;
    margin: 0 0 18px;
    box-sizing: border-box;
}

.pe-sidebar .pe-sidebar-block > br {
    display: none;
}

/* ============================================
   KONTENERY BLOKOW
============================================ */

.pe-sidebar .pe-sidebar-latest > table.tborder,
.pe-sidebar .pe-sidebar-posters > table.tborder,
.pe-sidebar .pe-sidebar-reputation > table.tborder {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    border: 1px solid #283238;
    border-radius: 10px;
    border-spacing: 0;

    background: #151b20;
    box-shadow: 0 4px 14px rgba(0,0,0,.20);
    overflow: hidden;
}

/* WIERSZE TABEL */

.pe-sidebar .pe-sidebar-latest > table.tborder > tbody,
.pe-sidebar .pe-sidebar-posters > table.tborder > tbody,
.pe-sidebar .pe-sidebar-reputation > table.tborder > tbody,
.pe-sidebar .pe-sidebar-latest > table.tborder > tbody > tr,
.pe-sidebar .pe-sidebar-posters > table.tborder > tbody > tr,
.pe-sidebar .pe-sidebar-reputation > table.tborder > tbody > tr {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   NAGLOWKI
============================================ */

.pe-sidebar .pe-sidebar-latest .thead,
.pe-sidebar .pe-sidebar-posters .thead,
.pe-sidebar .pe-sidebar-reputation .thead {
    display: block;
    width: 100%;
    box-sizing: border-box;

    padding: 13px 14px;
    padding-left: 26px !important;
    margin: 0;

    background: #1b2328;
    color: #edf4f0;

    border: 0;
    border-bottom: 1px solid #2d3935;

    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    font-weight: 700;
}

/* IKONY NAGLOWKOW */

.pe-sidebar .pe-sidebar-latest .thead::before {
    content: "★";
    display: inline-block;
    margin-right: 8px;
    color: #6bdc95;
}

.pe-sidebar .pe-sidebar-posters .thead::before {
    content: "✎";
    display: inline-block;
    margin-right: 8px;
    color: #6bdc95;
}

.pe-sidebar .pe-sidebar-reputation .thead::before {
    content: "✦";
    display: inline-block;
    margin-right: 8px;
    color: #6bdc95;
}

/* ============================================
   PODSTAWOWY WYGLAD KAFELKOW
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1,
.pe-sidebar .pe-sidebar-posters .trow1,
.pe-sidebar .pe-sidebar-reputation .trow1 {
    display: block;
    width: auto;
    margin: 10px;
    padding: 12px;
    box-sizing: border-box;

    border: 1px solid #2b3940;
    border-radius: 9px;

    background: #20292f;
    color: #c8d4cf;

    line-height: 1.45;
    font-size: 12px;

    overflow: hidden;

    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

/* ============================================
   NAJNOWSZE TEMATY - MNIEJSZE KAFELKI
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 {
    margin: 8px 10px;

    padding-top: 8px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;

    min-height: 0;
    line-height: 1.3;
}

/* ============================================
   TOP 5 - ZACHOWANIE OSTATNICH USTAWIEN
============================================ */

.pe-sidebar .pe-sidebar-posters .trow1,
.pe-sidebar .pe-sidebar-reputation .trow1 {
    padding-top: 12px;
    padding-right: 12px;
    padding-bottom: 0;
    padding-left: 12px;
}

/* ============================================
   HOVER
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1:hover,
.pe-sidebar .pe-sidebar-posters .trow1:hover,
.pe-sidebar .pe-sidebar-reputation .trow1:hover {
    border-color: #436552;
    background: #243038;
    box-shadow: 0 0 0 1px rgba(94,177,125,.05);
}

/* ============================================
   AVATARY - OGOLNE
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 img,
.pe-sidebar .pe-sidebar-posters .trow1 img,
.pe-sidebar .pe-sidebar-reputation .trow1 img {
    float: left;
    display: block;

    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    margin: 0 12px 8px 0 !important;
    padding: 0 !important;

    border: 1px solid #41554a;
    border-radius: 50%;

    background: #182025;
    object-fit: cover;
    box-sizing: border-box;
}

/* ============================================
   NAJNOWSZE TEMATY - AVATARY
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 img {
    position: relative;
    top: 4px;

    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;

    margin-right: 10px !important;
    margin-bottom: 0 !important;
}

/* ============================================
   TOP 5 - AVATARY BEZ ZMIAN
============================================ */

.pe-sidebar .pe-sidebar-posters .trow1 img,
.pe-sidebar .pe-sidebar-reputation .trow1 img {
    position: static;
    margin-bottom: 4px !important;
}

/* ============================================
   CZYSZCZENIE FLOAT
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1::after,
.pe-sidebar .pe-sidebar-posters .trow1::after,
.pe-sidebar .pe-sidebar-reputation .trow1::after {
    content: "";
    display: block;
    clear: both;
}

/* ============================================
   LINKI I TEKSTY
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 a,
.pe-sidebar .pe-sidebar-posters .trow1 a,
.pe-sidebar .pe-sidebar-reputation .trow1 a {
    color: #eef5f1;
    text-decoration: none;
}

.pe-sidebar .pe-sidebar-latest .trow1 a:hover,
.pe-sidebar .pe-sidebar-posters .trow1 a:hover,
.pe-sidebar .pe-sidebar-reputation .trow1 a:hover {
    color: #84e6a6;
    text-decoration: none;
}

/* ============================================
   NAJNOWSZE TEMATY - TYTUL
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 > a:first-of-type {
    display: block;
    position: relative;
    top: 2px;

    margin: 0 0 2px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ============================================
   NAJNOWSZE TEMATY - ODSTEPY
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 br {
    display: block;
    content: "";
    margin: 0;
}

/* ============================================
   NAJNOWSZE TEMATY - TEKSTY POMOCNICZE
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 span,
.pe-sidebar .pe-sidebar-latest .trow1 .smalltext {
    color: #9db0a8;
    font-size: 11px;
    line-height: 1.3;
}

/* ============================================
   NAJNOWSZE TEMATY - LOGIN AUTORA
============================================ */

.pe-sidebar .pe-sidebar-latest .trow1 .pe-login {
    display: inline-flex;
    position: relative;
    top: -5px;

    vertical-align: middle;
    margin: 0;
}

/* ============================================
   TOP 5 PISZACYCH I REPUTACJI
============================================ */

/* LICZNIKI */

.pe-sidebar .pe-sidebar-posters .trow1 > span:last-of-type,
.pe-sidebar .pe-sidebar-reputation .trow1 > span:last-of-type {
    position: static;
    float: right !important;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 30px;
    min-height: 28px;

    margin: 2px 14px 0 10px !important;
    padding: 2px 8px;

    box-sizing: border-box;

    border: 1px solid #2d7044;
    border-radius: 7px;

    background: #1f6c38;
    color: #ecfff3;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

/* ============================================
   TOP 5 - KONTENER LOGINU
============================================ */

.pe-sidebar .pe-sidebar-posters .trow1 > span:first-of-type,
.pe-sidebar .pe-sidebar-reputation .trow1 > span:first-of-type {
    display: block;
    overflow: hidden;
    margin: 6px 0 0 !important;
}

/* ============================================
   TOP 5 - FORMATY LOGINOW
============================================ */

.pe-sidebar .pe-sidebar-posters .trow1 .pe-login,
.pe-sidebar .pe-sidebar-reputation .trow1 .pe-login {
    display: inline-flex;
    position: static;
    vertical-align: middle;
    max-width: 100%;
}

/* ============================================
   EKIPA FORUM ONLINE
============================================ */

.pe-sidebar .pe-sidebar-team table.tborder,
.pe-sidebar .pe-sidebar-team .tborder {
    border-radius: 10px;
    overflow: hidden;
}

/* ============================================
   RESPONSYWNOSC
============================================ */

@media (max-width: 800px) {
    .pe-sidebar .pe-sidebar-latest .trow1 {
        padding: 7px 8px 4px;
    }

    .pe-sidebar .pe-sidebar-posters .trow1,
    .pe-sidebar .pe-sidebar-reputation .trow1 {
        padding: 10px 10px 0;
    }

    .pe-sidebar .pe-sidebar-latest .trow1 img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        margin-right: 9px !important;
    }

    .pe-sidebar .pe-sidebar-posters .trow1 img,
    .pe-sidebar .pe-sidebar-reputation .trow1 img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        margin-right: 10px !important;
    }
}

/* ============================================
   DOSTEPNOSC
============================================ */

@media (prefers-reduced-motion: reduce) {
    .pe-sidebar .pe-sidebar-latest .trow1,
    .pe-sidebar .pe-sidebar-posters .trow1,
    .pe-sidebar .pe-sidebar-reputation .trow1 {
        transition: none;
    }
}