
/* ============================================================
   POLSKAELITA.PL - GREEN DARK - MyBB 1.8.41
   pe_showthread.css v1.5

   Kompletny arkusz dla showthread.php

   - Naglowek watku
   - Panel autora
   - Tresc i naglowek posta
   - Przyciski posta
   - Wyszukiwanie w watku
   - Nowa odpowiedz
   - Szybka odpowiedz
   - Narzedzia i moderacja
   - Responsywnosc
   ============================================================ */


/* ============================================================
   01. ZMIENNE I KOLORY
   ============================================================ */

body .thread-table,
body #quick_reply_form {
    --pe-thread-bg: #11191b;
    --pe-thread-panel: #1b292c;
    --pe-thread-border: #345547;
    --pe-thread-text: #e4eee6;
    --pe-thread-muted: #9eb3a5;
    --pe-thread-accent: #74bc86;

    color: var(--pe-thread-text);
}


/* ============================================================
   02. GLOWNY PANEL WATKU
   ============================================================ */

body .thread-table {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 16px 0 12px;
    overflow: hidden;

    background: var(--pe-thread-bg);
    border: 1px solid var(--pe-thread-border);
    border-radius: 11px;
}

body .thread-table > .headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;

    min-height: 56px;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 20px;

    color: #edf5ee;

    background: linear-gradient(
        110deg,
        #1d2a2c 0%,
        #172528 70%,
        #193227 100%
    );

    border-bottom: 1px solid var(--pe-thread-border);
}

body .thread-table > .headline > span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 700;
}

body .thread-table .thread_mode {
    flex: 0 0 auto;
    margin-left: auto;
}

body .thread-table #posts {
    box-sizing: border-box;
    padding: 12px;
}


/* ============================================================
   03. KARTA POSTA
   ============================================================ */

body .thread-table #posts > .post.post-container {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr);

    width: 100%;
    min-width: 0;
    height: auto;
    box-sizing: border-box;

    margin: 0 0 10px;
    padding: 0;

    background: var(--pe-thread-panel);
    border: 1px solid #304a40;
    border-radius: 9px;

    overflow: hidden;
    color: var(--pe-thread-text);
}

body .thread-table #posts > .post.post-container:last-child {
    margin-bottom: 0;
}

body .thread-table #posts > .post.post-container::before,
body .thread-table #posts > .post.post-container::after {
    display: none;
    content: none;
}


/* ============================================================
   04. LEWY PANEL AUTORA
   ============================================================ */

body .thread-table #posts > .post.post-container > .author-info {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    gap: 7px;

    width: auto;
    min-width: 0;
    height: auto;

    box-sizing: border-box;
    margin: 0;
    padding: 17px 14px;

    float: none;
    text-align: center;

    background: linear-gradient(
        180deg,
        #172628 0%,
        #142022 100%
    );

    border-right: 1px solid #304a40;
}

body .thread-table #posts .author-info .username {
    max-width: 100%;
    margin: 0;

    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 700;
}

body .thread-table #posts .author-info .username a {
    text-decoration: none;
}

body .thread-table #posts .author-info .title {
    width: 100%;
    margin: 0;

    color: var(--pe-thread-muted);
    font-size: 11px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

body .thread-table #posts .author-info > .avatar {
    position: relative;
    display: inline-block;

    width: auto;
    max-width: 100%;

    margin: 5px auto;
    padding: 0;

    text-align: center;
}

body .thread-table #posts .author-info > .avatar img {
    display: block;

    max-width: 82px;
    max-height: 82px;
    width: auto;
    height: auto;

    object-fit: cover;
    border-radius: 50%;
}

body .thread-table #posts .author-info > .avatar .status {
    position: absolute;
    right: -2px;
    bottom: -2px;
    z-index: 1;
}

body .thread-table #posts .author-info > img {
    max-width: 100%;
    height: auto;
}

body .thread-table #posts .author-info .user_details {
    width: 100%;
    min-width: 0;

    font-size: 11px;
    line-height: 1.6;
    color: var(--pe-thread-muted);
}


/* ============================================================
   05. PRAWA CZESC POSTA
   ============================================================ */

body .thread-table #posts > .post.post-container > .post-info {
    position: relative;

    display: flex !important;
    flex-direction: column;

    min-width: 0;
    width: auto;
    height: auto;
    min-height: 100%;

    float: none;

    box-sizing: border-box;
    margin: 0;
    padding: 0 17px 12px !important;

    background: linear-gradient(
        135deg,
        #202d30 0%,
        #1b292b 100%
    );

    overflow: visible;
}


/* ============================================================
   06. NAGLOWEK POSTA
   ============================================================ */

body .thread-table #posts .post-info > .post_head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    min-height: 45px;
    box-sizing: border-box;

    margin: 0 0 12px;
    padding: 10px 0;

    border-bottom: 1px solid #334c40;

    color: var(--pe-thread-muted);
    font-size: 11px;
}

body .thread-table #posts .post_head > .float_right {
    order: 99;

    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;

    flex: 0 0 auto;

    margin: 0 0 0 auto !important;
    padding: 0;

    float: none !important;
    white-space: nowrap;
}

body .thread-table #posts .post_head > .float_right a {
    color: #b6d9c0;
    text-decoration: none;
}

body .thread-table #posts .post_head > .float_right a:hover {
    color: #e1f4e5;
}

body .thread-table #posts .post_head input[type="checkbox"] {
    margin: 0;
    accent-color: #70bd84;
    vertical-align: middle;
}

body .thread-table #posts .post_head .post_date {
    color: #c2d7c8;
    font-size: 11px;
    line-height: 1.5;
}

body .thread-table #posts .post_head .post_edit {
    color: var(--pe-thread-muted);
}


/* ============================================================
   07. TRESC POSTA
   ============================================================ */

body .thread-table #posts .post-info > .post_body {
    flex: 1 0 auto;

    min-width: 0;
    min-height: 130px;

    margin: 0;
    padding: 2px 0 15px;

    color: #e0eae2;
    font-size: 13px;
    line-height: 1.75;

    overflow-wrap: anywhere;
}

body .thread-table #posts .post_body img,
body .thread-table #posts .post_body video,
body .thread-table #posts .post_body iframe {
    max-width: 100%;
    height: auto;
}

body .thread-table #posts .post_body blockquote,
body .thread-table #posts .post_body .codeblock {
    max-width: 100%;
    box-sizing: border-box;
}


/* ============================================================
   08. INFORMACJE POD POSTEM
   ============================================================ */

body .thread-table #posts .post-info > .post_meta {
    position: relative;

    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 6px 12px;

    width: 100%;
    min-width: 0;
    min-height: 22px;

    box-sizing: border-box;
    clear: both;

    margin: 0 !important;
    padding: 5px 0 6px;

    color: var(--pe-thread-muted);
    font-size: 11px;
    line-height: 1.5;
}

body .thread-table #posts .post_meta > .float_right {
    float: none !important;
    margin-left: auto;
}


/* ============================================================
   09. PRZYCISKI POD POSTEM
   ============================================================ */

body .thread-table #posts .post-info > .post-controls {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: flex !important;
    flex-direction: row;
    align-items: flex-end !important;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 8px 14px;

    width: 100%;
    min-width: 0;
    min-height: 52px;

    box-sizing: border-box;
    clear: both;

    margin: auto 0 0 !important;
    padding: 12px 0 4px !important;

    border-top: 1px solid #334c40;
}

body .thread-table #posts .post-controls::before,
body .thread-table #posts .post-controls::after {
    display: none !important;
    content: none !important;
}

body .thread-table #posts .post-controls > .postbit_buttons {
    position: static !important;

    display: flex !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    width: auto !important;
    min-width: 0;

    height: auto;
    margin: 0 !important;
    padding: 0;

    float: none !important;
    vertical-align: bottom;
}

body .thread-table #posts .post-controls > .author_buttons {
    flex: 0 0 auto;
    align-self: flex-end;
    justify-content: flex-start;
}

body .thread-table #posts .post-controls > .post_management_buttons {
    flex: 0 1 auto;
    align-self: flex-end;
    justify-content: flex-end;

    margin-left: auto !important;
}

body .thread-table #posts .post-controls .postbit_buttons a {
    position: relative;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box;

    height: 32px !important;
    min-height: 32px;
    min-width: 0;

    margin: 0 !important;
    padding: 0 11px !important;

    border-radius: 5px;

    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;

    transition:
        filter .18s ease,
        background-color .18s ease;
}

body .thread-table #posts .postbit_buttons a:hover {
    filter: brightness(1.13);
}

body .thread-table #posts .postbit_buttons a span {
    line-height: 1 !important;
    vertical-align: middle;
}


/* ============================================================
   10. WYSZUKIWANIE W WATKU
   ============================================================ */

body .thread-table > .row {
    box-sizing: border-box;

    margin: 0;
    padding: 12px 17px;

    border-top: 1px solid #304a40;
}

body .thread-table > #posts + .row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 10px;
}

body .thread-table > #posts + .row form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 10px;
    width: 100%;
    min-width: 0;
}

body .thread-table > #posts + .row input.textbox,
body .thread-table > #posts + .row input[type="text"] {
    box-sizing: border-box;

    width: 220px;
    max-width: 100%;
    min-height: 38px;
    height: 38px;

    margin: 0;
    padding: 0 12px;

    background: #151f21;
    border: 1px solid #304a40;
    border-radius: 6px;

    color: #e7f1e8;
    font-size: 12px;
    line-height: normal;
}

body .thread-table > #posts + .row .button,
body .thread-table > #posts + .row input.button,
body .thread-table > #posts + .row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    height: 38px !important;
    min-height: 38px;
    margin: 0;
    padding: 0 16px !important;

    border: 1px solid #4b8761;
    border-radius: 6px;

    background: linear-gradient(
        #2b7547,
        #1f5c37
    );

    color: #f3fbf4;
    font-size: 11px;
    font-weight: 700;
    line-height: 1 !important;

    text-align: center !important;
    vertical-align: middle;

    cursor: pointer;
}


/* ============================================================
   11. NAWIGACJA STARSZY / NOWSZY WATEK
   ============================================================ */

body .thread-table > .row:last-child {
    background: #162124;
}

body .thread-table > .row:last-child .left,
body .thread-table > .row:last-child .right {
    max-width: 49%;
}

body .thread-table > .row:last-child a {
    color: #b9ddc1;
    font-size: 12px;
    text-decoration: none;
}

body .thread-table > .row:last-child a:hover {
    color: #e0f5e5;
}


/* ============================================================
   12. NOWA ODPOWIEDZ - CIEMNA ZIELEN
   ============================================================ */

body .thread-table + .tb-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 12px;

    box-sizing: border-box;

    margin: 12px 0 14px;
    padding: 8px 0;
}

body .thread-table + .tb-container::before,
body .thread-table + .tb-container::after {
    display: none;
    content: none;
}

body .thread-table + .tb-container > .left,
body .thread-table + .tb-container > .right {
    float: none;
    width: auto;
    margin: 0;
}

body .thread-table + .tb-container > .right {
    margin-left: auto;
}

body .thread-table + .tb-container > .right a.new_reply_button,
body .thread-table + .tb-container > .right a.button.new_reply_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box;

    height: 42px !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 0 19px !important;

    background: linear-gradient(
        180deg,
        #286b49 0%,
        #205239 100%
    ) !important;

    border: 1px solid #427c5a !important;
    border-radius: 6px !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .20) !important;

    color: #eaf5ed !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;

    vertical-align: middle;

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}

body .thread-table + .tb-container > .right a.new_reply_button span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1 !important;

    text-align: center !important;
    text-shadow: none !important;
    vertical-align: middle;
}

body .thread-table + .tb-container > .right a.new_reply_button:hover {
    background: linear-gradient(
        180deg,
        #347c55 0%,
        #286846 100%
    ) !important;

    border-color: #5a9b71 !important;

    box-shadow:
        0 4px 13px rgba(0, 0, 0, .25) !important;

    color: #ffffff !important;
}

body .thread-table + .tb-container > .right a.new_reply_button:focus-visible {
    outline: 2px solid #76b68b !important;
    outline-offset: 3px;
}


/* ============================================================
   13. PANEL SZYBKIEJ ODPOWIEDZI
   ============================================================ */

body #quick_reply_form > .stable {
    box-sizing: border-box;

    margin: 14px 0;
    overflow: hidden;

    border: 1px solid var(--pe-thread-border);
    border-radius: 10px;

    background: var(--pe-thread-bg);
}

body #quick_reply_form > .stable > .headline {
    display: flex;
    align-items: center;

    min-height: 50px;
    box-sizing: border-box;

    margin: 0;
    padding: 12px 18px;

    border-bottom: 1px solid var(--pe-thread-border);

    background: linear-gradient(
        110deg,
        #1d2a2c,
        #192c25
    );

    color: #eaf4ec;
    font-size: 13px;
    font-weight: 700;
}

body #quick_reply_form > .stable > .container {
    box-sizing: border-box;
    padding: 14px;

    background: #11191b;
}


/* ============================================================
   14. POLE WIADOMOSCI I OPCJE
   ============================================================ */

body #quick_reply_form #quickreply_e {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 165px;
    align-items: stretch;

    gap: 12px;

    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;
}

body #quick_reply_form #quickreply_e::before,
body #quick_reply_form #quickreply_e::after {
    display: none;
    content: none;
}

body #quick_reply_form #quickreply_e > .textarea-c {
    display: flex;
    flex-direction: column;

    grid-column: 1;
    grid-row: 1;

    box-sizing: border-box;

    min-width: 0;
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    float: none;
}

body #quick_reply_form #quickreply_e textarea#message {
    display: block;
    flex: 1 1 auto;

    box-sizing: border-box;

    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 205px;

    margin: 0;
    padding: 13px 14px;

    resize: vertical;

    background: #192629;

    border: 1px solid #365447;
    border-radius: 7px;

    color: #e6f0e8;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.65;

    outline: none;
}

body #quick_reply_form #quickreply_e textarea#message:focus {
    border-color: #6bad7d;

    box-shadow:
        0 0 0 2px rgba(107, 173, 125, .12);
}

body #quick_reply_form #quickreply_e textarea#message::placeholder {
    color: #a0b2a7;
}


/* ============================================================
   15. PRAWA KOLUMNA OPCJI
   ============================================================ */

body #quick_reply_form #quickreply_e > .options {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    grid-column: 2;
    grid-row: 1;

    box-sizing: border-box;

    width: 165px;
    min-width: 0;
    max-width: 100%;

    justify-self: end;
    align-self: stretch;

    margin: 0;
    padding: 8px;

    float: none;

    background: #1a282a;

    border: 1px solid #304a40;
    border-radius: 7px;
}

body #quick_reply_form #quickreply_e > .options label {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 7px;

    box-sizing: border-box;

    min-height: 35px;
    margin: 0 0 6px;
    padding: 7px 8px;

    color: #cfe0d3;
    background: #202d2e;

    border-radius: 5px;

    font-size: 11px;
    line-height: 1.4;

    cursor: pointer;
}

body #quick_reply_form #quickreply_e > .options label:last-child {
    margin-bottom: 0;
}

body #quick_reply_form #quickreply_e > .options label strong {
    display: block;
    flex: 1 1 auto;

    min-width: 0;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;

    text-align: center;
}

body #quick_reply_form #quickreply_e input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0;

    accent-color: #68b77c;
}


/* ============================================================
   16. PRZYCISKI ODPOWIEDZ I PODGLAD
   ============================================================ */

body #quick_reply_form > .stable > .container > .row.centered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap;

    gap: 9px;

    min-height: 57px;

    margin: 12px 0 0;
    padding: 11px 0 0;

    background: transparent;

    border: 0;
    border-top: 1px solid #304a40;

    text-align: center;
}

body #quick_reply_form .row.centered input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    min-width: 105px;
    min-height: 38px;
    height: 38px;

    margin: 0 !important;
    padding: 0 14px !important;

    border: 1px solid #4b8761;
    border-radius: 6px;

    background: linear-gradient(
        #276f42,
        #205b37
    );

    color: #f0f8f1;

    font-size: 11px;
    font-weight: 700;
    line-height: 1 !important;

    text-align: center !important;
    vertical-align: middle;

    cursor: pointer;
}

body #quick_reply_form .row.centered input.button:hover {
    filter: brightness(1.12);
}


/* ============================================================
   17. DOLNY PASEK NARZEDZI I MODERACJI
   ============================================================ */

body #quick_reply_form ~ .tb-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 16px;

    box-sizing: border-box;

    margin-top: 14px;
    padding: 10px 0;
}

body #quick_reply_form ~ .tb-container::before,
body #quick_reply_form ~ .tb-container::after {
    display: none;
    content: none;
}

body #quick_reply_form ~ .tb-container > .left,
body #quick_reply_form ~ .tb-container > .right {
    float: none;
    box-sizing: border-box;
}


/* ============================================================
   18. LEWY PANEL NARZEDZI WATKU
   ============================================================ */

body #quick_reply_form ~ .tb-container > .left {
    display: block;

    width: 245px;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 12px;

    background: rgba(18, 25, 27, .88);

    border: 1px solid #2e463b;
    border-radius: 8px;
}

body #quick_reply_form ~ .tb-container .post-icons {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

body #quick_reply_form ~ .tb-container .post-icons li {
    margin: 0;
}


/* ============================================================
   19. PRAWY PANEL MODERACJI
   ============================================================ */

body #quick_reply_form ~ .tb-container > .right {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 10px;

    box-sizing: border-box;

    width: min(100%, 535px) !important;
    min-width: 0;
    max-width: 535px;

    margin: 0 0 0 auto;
    padding: 13px;

    background: rgba(18, 25, 27, .92);

    border: 1px solid #345547;
    border-radius: 8px;
}


/* ============================================================
   20. FORMULARZE MODERACJI
   ============================================================ */

body #quick_reply_form ~ .tb-container > .right form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end;
    flex-wrap: nowrap !important;

    gap: 8px;

    box-sizing: border-box;

    width: 100%;
    min-width: 0;
    min-height: 38px;

    margin: 0;
    padding: 0;

    float: none !important;

    color: #c9d9ce;

    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}

body #quick_reply_form ~ .tb-container > .right form > .smalltext,
body #quick_reply_form ~ .tb-container > .right form > label,
body #quick_reply_form ~ .tb-container > .right form > strong {
    display: block;

    flex: 0 0 110px;

    box-sizing: border-box;

    width: 110px;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #c9d9ce;

    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;

    text-align: right;
    white-space: nowrap;
}

body #quick_reply_form ~ .tb-container > .right form > .smalltext strong {
    font-size: 11px;
    font-weight: 500;
}


/* ============================================================
   21. LISTY WYBORU MODERACJI
   ============================================================ */

body #quick_reply_form ~ .tb-container > .right form select {
    display: block;

    flex: 1 1 0%;

    box-sizing: border-box;

    width: auto !important;
    min-width: 0;
    max-width: none;

    min-height: 36px;
    height: 36px;

    margin: 0;
    padding: 7px 10px;

    background: #172527;

    border: 1px solid #385a48;
    border-radius: 6px;

    color: #e6f0e8;

    font-size: 11px;
    line-height: normal;
}


/* ============================================================
   22. PRZYCISKI MODERACJI
   ============================================================ */

body #quick_reply_form ~ .tb-container > .right form .button,
body #quick_reply_form ~ .tb-container > .right form input.button,
body #quick_reply_form ~ .tb-container > .right form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    box-sizing: border-box;

    min-width: 54px;
    min-height: 36px;
    height: 36px;

    margin: 0;
    padding: 0 11px;

    background: linear-gradient(
        #296d43,
        #205b38
    );

    border: 1px solid #4b8761;
    border-radius: 6px;

    color: #f3fbf4;

    font-size: 11px;
    font-weight: 700;
    line-height: 1 !important;

    text-align: center;
    white-space: nowrap;

    cursor: pointer;
}

body #quick_reply_form ~ .tb-container > .right form .button:hover,
body #quick_reply_form ~ .tb-container > .right form button:hover {
    filter: brightness(1.12);
}


/* ============================================================
   23. ODSTEPY W MODERACJI
   ============================================================ */

body #quick_reply_form ~ .tb-container > .right form + form {
    padding-top: 9px;

    border-top: 1px solid rgba(80, 120, 95, .22);
}

body #quick_reply_form ~ .tb-container > .right form input[type="hidden"] {
    display: none;
}


/* ============================================================
   24. RESPONSYWNOSC - MNIEJSZE MONITORY
   ============================================================ */

@media (max-width: 1000px) {

    body .thread-table #posts > .post.post-container {
        grid-template-columns: 175px minmax(0, 1fr);
    }

    body #quick_reply_form #quickreply_e {
        grid-template-columns: minmax(0, 1fr) 155px;
    }

    body #quick_reply_form #quickreply_e > .options {
        width: 155px;
    }

    body #quick_reply_form ~ .tb-container > .right {
        width: min(100%, 500px) !important;
        max-width: 500px;
    }

}


/* ============================================================
   25. RESPONSYWNOSC - TABLETY
   ============================================================ */

@media (max-width: 800px) {

    body #quick_reply_form ~ .tb-container {
        flex-direction: column;
        align-items: stretch;
    }

    body #quick_reply_form ~ .tb-container > .left,
    body #quick_reply_form ~ .tb-container > .right {
        width: 100% !important;
        max-width: none;

        margin: 0;
    }

    body .thread-table #posts .post-controls {
        gap: 10px;
    }

}


/* ============================================================
   26. RESPONSYWNOSC - TELEFONY
   ============================================================ */

@media (max-width: 650px) {

    body .thread-table #posts {
        padding: 8px;
    }

    body .thread-table #posts > .post.post-container {
        grid-template-columns: minmax(0, 1fr);
    }

    body .thread-table #posts > .post.post-container > .author-info {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);

        align-items: center;
        justify-items: start;

        gap: 2px 10px;

        padding: 10px 12px;

        text-align: left;

        border-right: 0;
        border-bottom: 1px solid #304a40;
    }

    body .thread-table #posts .author-info > .avatar {
        grid-column: 1;
        grid-row: 1 / span 3;

        margin: 0;
    }

    body .thread-table #posts .author-info > .avatar img {
        max-width: 50px;
        max-height: 50px;
    }

    body .thread-table #posts .author-info .username,
    body .thread-table #posts .author-info .title {
        grid-column: 2;
        text-align: left;
    }

    body .thread-table #posts .author-info > img,
    body .thread-table #posts .author-info .user_details {
        grid-column: 2;
    }

    body .thread-table #posts > .post.post-container > .post-info {
        padding: 0 12px 12px !important;
    }

    body .thread-table #posts .post-info > .post_body {
        min-height: 90px;
    }

    body .thread-table #posts .post-info > .post-controls {
        min-height: 0;
        align-items: flex-start !important;
    }

    body .thread-table #posts .post-controls > .post_management_buttons {
        margin-left: 0 !important;
        justify-content: flex-start;
    }

    body #quick_reply_form #quickreply_e {
        grid-template-columns: minmax(0, 1fr);
    }

    body #quick_reply_form #quickreply_e > .textarea-c {
        grid-column: 1;
        grid-row: 1;
    }

    body #quick_reply_form #quickreply_e > .options {
        grid-column: 1;
        grid-row: 2;

        justify-self: stretch;

        width: 100%;
    }

    body #quick_reply_form #quickreply_e textarea#message {
        min-height: 175px;
    }

    body .thread-table > #posts + .row form {
        justify-content: flex-start;
    }

    body .thread-table > #posts + .row input.textbox,
    body .thread-table > #posts + .row input[type="text"] {
        width: 100%;
        min-width: 0;
    }

}


/* ============================================================
   27. RESPONSYWNOSC - MALE TELEFONY
   ============================================================ */

@media (max-width: 580px) {

    body #quick_reply_form ~ .tb-container > .right form {
        justify-content: flex-start;
        flex-wrap: wrap !important;

        gap: 7px;
    }

    body #quick_reply_form ~ .tb-container > .right form > .smalltext,
    body #quick_reply_form ~ .tb-container > .right form > label,
    body #quick_reply_form ~ .tb-container > .right form > strong {
        flex: 1 0 100%;

        width: 100%;
        text-align: left;
    }

    body #quick_reply_form ~ .tb-container > .right form select {
        flex: 1 1 145px;
        min-width: 0;
    }

    body #quick_reply_form ~ .tb-container > .right form .button {
        flex: 0 0 auto;
    }

}

@media (max-width: 420px) {

    body .thread-table > .headline {
        padding: 12px;
    }

    body #quick_reply_form > .stable > .container {
        padding: 10px;
    }

    body #quick_reply_form .row.centered input.button {
        min-width: 95px;
    }

}


/* ============================================================
   KONIEC
   POLSKAELITA.PL - pe_showthread.css v1.5
   ============================================================ */
