/*
===============================================================
 POLSKAELITA.PL | GREEN DARK / MYBB 1.8.41
 Plik: pe_forum_cards.css
 Wersja 3.0

 Wyrownanie ikon, krotsze separatory,
 szersze tytuly ostatnich postow.

 Tylko strona glowna.
===============================================================
*/

/* KATEGORIE */

.pe-index-layout .categories .category {
    margin-top: 26px;
    background: transparent;
    min-width: 0;
}

.pe-index-layout .categories .category:first-child {
    margin-top: 0;
}

/* NAGLOWKI KATEGORII */

.pe-index-layout .categories .category > .headline {
    position: relative;
    width: 100%;
    min-height: 62px;
    height: auto;
    margin: 0;
    padding: 17px 22px;
    box-sizing: border-box;
    line-height: 26px;
    color: #f2f8f3;
    background: linear-gradient(
        115deg,
        #1c292a 0%,
        #172327 75%,
        #162b22 100%
    );
    border: 1px solid #365748;
    border-radius: 10px;
    box-shadow:
        inset 0 1px rgba(255,255,255,.04),
        0 4px 14px rgba(0,0,0,.16);
}

.pe-index-layout .categories .category > .headline .left {
    float: left;
    max-width: calc(100% - 45px);
    line-height: 26px;
}

.pe-index-layout .categories .category > .headline .title a {
    font-size: 15px;
    font-weight: 750;
    line-height: 25px;
    color: #f2f8f3;
    text-decoration: none;
}

.pe-index-layout .categories .category > .headline .title a:hover {
    color: #95e5aa;
}

.pe-index-layout .categories .category > .headline .title a::before {
    margin-right: 12px;
    filter: drop-shadow(
        0 0 3px rgba(74,199,112,.18)
    );
}

.pe-index-layout .categories .category > .headline .expcolimage.close {
    margin-top: -6px;
}

.pe-index-layout .categories .category > .headline .expcolimage img {
    max-width: 40px;
    max-height: 40px;
}

/* KONTENER DZIALOW */

.pe-index-layout .categories .category > .forums {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0;
    background: rgba(12,20,22,.45);
    border: 1px solid #25372f;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

/* KAFELKI DZIALOW */

.pe-index-layout .categories .category .forums > .forum {
    position: relative;
    display: table;
    table-layout: fixed;
    width: calc(100% - 18px);
    margin: 9px;
    padding: 14px;
    box-sizing: border-box;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(
        135deg,
        #202c30 0%,
        #192528 100%
    );
    border: 1px solid #31453e;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0,0,0,.11);
    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.pe-index-layout .categories .category .forums > .forum:hover {
    border-color: #518264;
    background: linear-gradient(
        135deg,
        #25343a 0%,
        #1b2b2b 100%
    );
    box-shadow: 0 3px 13px rgba(0,0,0,.19);
}

.pe-index-layout .categories .category .forums > .forum:not(:last-child)::before {
    display: none;
    content: none;
}

/* KOLUMNY */

.pe-index-layout .categories .category .forums > .forum > div {
    display: table-cell;
    vertical-align: middle;
}

/* IKONA DZIALU - WYROWNANIE Z NAZWA */

.pe-index-layout .categories .category .forums > .forum > .status {
    width: 6%;
    min-width: 54px;
    padding: 2px 8px 0 0;
    text-align: left;
    vertical-align: top;
}

.pe-index-layout .categories .category .forums > .forum > .status .forum_status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    line-height: 1;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #41634e;
    background: linear-gradient(
        150deg,
        #20402c 0%,
        #10231e 100%
    );
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    text-align: center;
}

.pe-index-layout .categories .category .forums > .forum > .status .forum_status::before {
    vertical-align: middle;
}

/* NAZWA I OPIS DZIALU */

.pe-index-layout .categories .category .forums > .forum > .forum-info {
    width: 48%;
    min-width: 0;
    padding: 3px 10px 0 0;
    vertical-align: top;
    line-height: 1.5;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .forum-name {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .forum-name a {
    font-size: 14px;
    color: #f3f8f6;
    font-weight: 750;
    text-decoration: none;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .forum-name a:hover {
    color: #85dc9b;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .forum-description {
    margin: 5px 0 0;
    color: #afc0b9;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 400;
    overflow-wrap: anywhere;
}

/* BANNERY */

.pe-index-layout .categories .category .forums > .forum > .forum-info .forum-description img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* PODDZIALY */

.pe-index-layout .categories .category .forums > .forum > .forum-info .sub-forums {
    margin-top: 9px;
    font-size: 12px;
    color: #c3d0cb;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .sub-forums ul li {
    padding: 2px 4px 2px 0;
    box-sizing: border-box;
    line-height: 1.65;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .sub-forums a:not(.pe-rekrutacja-on):not(.pe-rekrutacja-off) {
    color: #c5d5cd;
    text-decoration: none;
}

.pe-index-layout .categories .category .forums > .forum > .forum-info .sub-forums a:not(.pe-rekrutacja-on):not(.pe-rekrutacja-off):hover {
    color: #87e1a3;
}

/* LICZNIKI TEMATOW I POSTOW */

.pe-index-layout .categories .category .forums > .forum > .forum-stats {
    width: 17%;
    padding: 0 5px;
    text-align: center;
    box-sizing: border-box;
}

.pe-index-layout .categories .category .forums > .forum > .forum-stats .posts-container {
    display: block;
    width: 100%;
}

.pe-index-layout .categories .category .forums > .forum > .forum-stats .posts-container .item {
    color: #a7b7b1;
    padding: 1px 3px;
}

.pe-index-layout .categories .category .forums > .forum > .forum-stats .posts-container .item.topics {
    border-right: 1px solid #3a4d44;
}

.pe-index-layout .categories .category .forums > .forum > .forum-stats .posts-container .number {
    display: block;
    color: #ecfff0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.pe-index-layout .categories .category .forums > .forum > .forum-stats .posts-container .title {
    display: block;
    color: #a6b8ae;
    font-size: 11px;
    line-height: 1.4;
}

/* OSTATNI POST */

.pe-index-layout .categories .category .forums > .forum > .lthr {
    width: 29%;
    position: relative;
    padding: 9px 5px 9px 10px;
    box-sizing: border-box;
    border-left: 0;
}

/* KROTSZY SEPARATOR */

.pe-index-layout .categories .category .forums > .forum > .lthr::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 46px;
    background: #33453d;
    transform: translateY(-50%);
    pointer-events: none;
}

/* INFORMACJE O POSCIE */

.pe-index-layout .categories .category .forums > .forum > .lthr .info {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 46px;
    color: #b8c5be;
    font-size: 11px;
    line-height: 1.45;
}

.pe-index-layout .categories .category .forums > .forum > .lthr .info .title,
.pe-index-layout .categories .category .forums > .forum > .lthr .info .additional {
    max-width: 100% !important;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* TYTUL - MAKSYMALNIE DWIE LINIE */

.pe-index-layout .categories .category .forums > .forum > .lthr .info .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100% !important;
}

.pe-index-layout .categories .category .forums > .forum > .lthr .info .title a {
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

/* AUTOR */

.pe-index-layout .categories .category .forums > .forum > .lthr .info .additional {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* LINK OSTATNIEGO POSTA */

.pe-index-layout .categories .category .forums > .forum > .lthr .info .title a {
    color: #8ddd9f;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pe-index-layout .categories .category .forums > .forum > .lthr .info .title a:hover {
    color: #c5ffd5;
}

/* DATA */

.pe-index-layout .categories .category .forums > .forum > .lthr .info .date {
    color: #a1b3aa;
    font-size: 11px;
}

/* AVATAR OSTATNIEGO POSTA */

.pe-index-layout .categories .category .forums > .forum > .lthr .avatar {
    top: 50%;
    transform: translateY(-50%);
}

/* BRAK POSTOW - NIGDY */

.pe-index-layout .categories .category .forums > .forum > .lthr.center {
    color: #b1c1ba;
    border-left: 0;
    padding: 9px 5px;
    font-size: 12px;
}

/* IKONY DZIALOW */

.pe-index-layout .categories .category .forums > .forum > .status .forum_status::before {
    font-family:
        "Font Awesome 5 Free",
        "FontAwesome",
        fontawesome;
    font-style: normal;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 1px 2px rgba(0,0,0,.24);
}

/* REGULAMINY - KSIAZKA */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=2"]) > .status .forum_status::before {
    content: "\f518";
}

/* OGLOSZENIA - MEGAFON */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=3"]) > .status .forum_status::before {
    content: "\f0a1";
}

/* ORGANIZACJA - UZYTKOWNICY */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=4"]) > .status .forum_status::before {
    content: "\f0c0";
}

/* REKRUTACJA - DODAJ UZYTKOWNIKA */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=5"]) > .status .forum_status::before {
    content: "\f234";
}

/* DOLACZ DO NAS - SERWER */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=22"]) > .status .forum_status::before {
    content: "\f233";
}

/* STREFA BANOW - MLOTEK */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=10"]) > .status .forum_status::before {
    content: "\f0e3";
}

/* BASEBUILDER - NARZEDZIE */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=15"]) > .status .forum_status::before {
    content: "\f6e3";
}

/* REDAKCJA - PIORO */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=26"]) > .status .forum_status::before {
    content: "\f303";
}

/* GRAFIKA - PALETA */

.pe-index-layout .categories .forums > .forum:has(> .forum-info > .forum-name > a[href$="fid=27"]) > .status .forum_status::before {
    content: "\f53f";
}

/* EFEKT NAJECHANIA */

.pe-index-layout .categories .category .forums > .forum::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #70cc88;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.pe-index-layout .categories .category .forums > .forum:hover::after,
.pe-index-layout .categories .category .forums > .forum:focus-within::after {
    opacity: .65;
}

.pe-index-layout .categories .category .forums > .forum:focus-within {
    border-color: #518264;
}

.pe-index-layout .categories .category .forums > .forum a:focus-visible {
    outline: 2px solid #8cdda2;
    outline-offset: 3px;
    border-radius: 2px;
}

/* MNIEJSZE EKRANY */

@media screen and (max-width: 1250px) {
    .pe-index-layout .categories .category .forums > .forum {
        padding: 12px 11px;
    }

    .pe-index-layout .categories .category .forums > .forum > .status {
        width: 7%;
    }

    .pe-index-layout .categories .category .forums > .forum > .forum-info {
        width: 45%;
    }

    .pe-index-layout .categories .category .forums > .forum > .forum-stats {
        width: 17%;
        padding: 0 5px;
    }

    .pe-index-layout .categories .category .forums > .forum > .lthr {
        width: 31%;
    }
}

/* TELEFONY */

@media screen and (max-width: 800px) {
    .pe-index-layout .categories .category > .headline {
        min-height: 55px;
        padding: 14px 13px;
    }

    .pe-index-layout .categories .category > .headline .title a {
        font-size: 14px;
    }

    .pe-index-layout .categories .category .forums > .forum {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 9px 5px;
        padding: 12px;
        table-layout: auto;
    }

    .pe-index-layout .categories .category .forums > .forum > div {
        display: block;
    }

    .pe-index-layout .categories .category .forums > .forum > .status {
        width: 48px;
        min-width: 48px;
        flex: 0 0 48px;
        padding: 0;
        align-self: flex-start;
    }

    .pe-index-layout .categories .category .forums > .forum > .forum-info {
        width: calc(100% - 53px);
        flex: 1 1 calc(100% - 53px);
        padding: 0;
        vertical-align: top;
    }

    .pe-index-layout .categories .category .forums > .forum > .forum-stats {
        width: 44%;
        flex: 0 0 44%;
        padding: 8px 5px 0;
    }

    .pe-index-layout .categories .category .forums > .forum > .lthr {
        width: 55%;
        flex: 1 1 50%;
        padding: 8px 0 4px 8px;
    }

    .pe-index-layout .categories .category .forums > .forum > .lthr::before {
        display: none;
    }

    .pe-index-layout .categories .category .forums > .forum > .lthr.center {
        text-align: left;
        padding-left: 15px;
    }

    .pe-index-layout .categories .category .forums > .forum > .lthr .avatar {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .pe-index-layout .categories .category .forums > .forum > .lthr .info {
        padding-left: 45px;
    }
}

/* OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {
    .pe-index-layout .categories .category .forums > .forum,
    .pe-index-layout .categories .category .forums > .forum::after {
        transition: none;
    }
}