
/* ============================================================
   POLSKAELITA.PL — Green Dark / MyBB 1.8.41
   pe_bbpanel_columns.css v2.1 — PELNY ARKUSZ

   Dla MyCode [bbpanel] oraz [bbpair]
   Grafika: /images/pe_basebuilder_zombie_bg.webp
   ============================================================ */

/* 01. GLOWNY PANEL — CS 1.6 / BASEBUILDER / ZOMBIE */

.post_body .pe-bbpanel,
.pe-bbpanel {
    position: relative;
    display: block;

    box-sizing: border-box;

    width: 100%;
    min-width: 0;

    margin: 10px auto 18px;
    padding: 36px 22px 28px;

    color: #e2ece5;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.75;

    overflow: hidden;
    overflow-wrap: anywhere;

    background-color: #0d1d1b;

    background-image:
        linear-gradient(
            180deg,
            rgba(5, 15, 14, .15) 0%,
            rgba(7, 18, 17, .35) 22%,
            rgba(9, 24, 21, .78) 47%,
            #0d1d1b 78%
        ),
        url(/images/pe_basebuilder_zombie_bg.webp);

    background-position:
        center top,
        center top;

    background-repeat:
        no-repeat,
        no-repeat;

    background-size:
        100% 100%,
        100% auto;

    border: 2px solid #81b448;
    border-radius: 13px;

    box-shadow:
        inset 0 0 0 1px rgba(167, 209, 94, .08),
        0 0 24px rgba(68, 115, 54, .13);
}


/* 02. TYTUL I OPIS PANELU */

.pe-bbpanel > .mycode_align {
    position: relative;

    margin: 0 0 6px;

    color: #e6f0e9;
    line-height: 1.5;

    text-shadow:
        0 2px 13px rgba(0, 0, 0, .85);
}

.pe-bbpanel > .mycode_align:first-of-type {
    margin-top: 6px;
    margin-bottom: 5px;

    color: #f1f5f2;

    font-size: 19px;
    letter-spacing: .65px;
}

.pe-bbpanel > .mycode_align:first-of-type strong {
    color: #f1f5f2;
}

.pe-bbpanel > .mycode_align .mycode_color {
    font-weight: 700;
}


/* 03. DWIE ROWNE KOLUMNY */

.pe-bbpanel .pe-bb-pair {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: stretch;

    gap: 16px;

    box-sizing: border-box;

    width: 100%;
    max-width: 100%;

    margin: 17px 0;
    padding: 0;

    clear: both;
}


/* 04. ZAWARTOSC KARTY */

.pe-bbpanel .pe-bb-pair > .pe-bb-pair__col {
    position: relative;

    box-sizing: border-box;

    min-width: 0;
    width: 100%;

    margin: 0;
    padding: 16px 18px 18px;

    background: linear-gradient(
        145deg,
        rgba(15, 37, 32, .95),
        rgba(17, 35, 32, .96)
    );

    border: 1px solid #4a7853;
    border-radius: 8px;

    color: #dce9e0;

    font-size: 12px;
    line-height: 1.75;

    overflow: hidden;
    overflow-wrap: anywhere;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, .17);
}


/* 05. ZIELONY PASEK TYTULU KARTY */

.pe-bbpanel .pe-bb-pair__col > .mycode_color:first-child,
.pe-bbpanel .pe-bb-pair__col > span[style*="color"]:first-child {
    display: block;

    box-sizing: border-box;

    min-height: 45px;

    margin: -16px -18px 15px;
    padding: 12px 17px;

    background: linear-gradient(
        110deg,
        #274638 0%,
        #1b352d 100%
    );

    border-bottom: 1px solid #62864b;

    color: #ecf5ed !important;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;

    letter-spacing: .2px;
}

.pe-bbpanel .pe-bb-pair__col
> .mycode_color:first-child strong,

.pe-bbpanel .pe-bb-pair__col
> span[style*="color"]:first-child strong {
    color: #ecf5ed !important;
}

.pe-bbpanel .pe-bb-pair__col
> .mycode_color + br {
    display: none;
}


/* 06. LISTY KOMEND I REGULAMINOW */

.pe-bbpanel .pe-bb-pair__col ul.mycode_list,
.pe-bbpanel .pe-bb-pair__col ol.mycode_list,
.pe-bbpanel .pe-bb-pair__col ul,
.pe-bbpanel .pe-bb-pair__col ol {
    box-sizing: border-box;

    margin: 6px 0 2px;
    padding: 0 0 0 25px;

    color: #e0ebe2;

    font-size: 12px;
    line-height: 1.75;

    list-style-position: outside;
}

.pe-bbpanel .pe-bb-pair__col ul {
    list-style-type: disc;
}

.pe-bbpanel .pe-bb-pair__col ol {
    list-style-type: decimal;
}

.pe-bbpanel .pe-bb-pair__col li {
    display: list-item;

    margin: 0 0 9px;
    padding: 0 0 0 2px;

    background: none;
    border: 0;

    color: inherit;

    font-size: inherit;
    font-weight: 400;
    line-height: 1.75;
}

.pe-bbpanel .pe-bb-pair__col li:last-child {
    margin-bottom: 0;
}

.pe-bbpanel .pe-bb-pair__col li::marker {
    color: #9ccd62;
    font-weight: 700;
}


/* 07. POGRUBIONE KOMENDY, LINKI, CYTATY */

.pe-bbpanel .pe-bb-pair__col strong,
.pe-bbpanel .pe-bb-pair__col b,
.pe-bbpanel .pe-bb-pair__col .mycode_b {
    color: #edf5ed;
    font-weight: 700;
}

.pe-bbpanel .pe-bb-pair__col li strong,
.pe-bbpanel .pe-bb-pair__col li b,
.pe-bbpanel .pe-bb-pair__col li .mycode_b {
    color: #aada9f;
}

.pe-bbpanel .pe-bb-pair__col a {
    color: #a8dca7;
    text-decoration: none;
}

.pe-bbpanel .pe-bb-pair__col a:hover {
    color: #e0f5df;
    text-decoration: underline;
}


/* 08. ZABEZPIECZENIA SZEROKOSCI */

.pe-bbpanel img {
    max-width: 100%;
    height: auto;
}

.pe-bbpanel pre,
.pe-bbpanel code {
    max-width: 100%;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.pe-bbpanel table {
    max-width: 100%;
    border-collapse: collapse;
}


/* 09. ODSTEPY PO MYCODE */

.pe-bbpanel .pe-bb-pair + br {
    display: none;
}

.pe-bbpanel .pe-bb-pair + .pe-bb-pair {
    margin-top: 16px;
}


/* 10. MONITORY SREDNIE */

@media (max-width: 1050px) {

    .pe-bbpanel {
        padding: 27px 15px 22px;
    }

    .pe-bbpanel .pe-bb-pair {
        gap: 12px;
    }

    .pe-bbpanel .pe-bb-pair > .pe-bb-pair__col {
        padding: 14px 14px 16px;
    }

    .pe-bbpanel .pe-bb-pair__col
    > .mycode_color:first-child,

    .pe-bbpanel .pe-bb-pair__col
    > span[style*="color"]:first-child {
        margin: -14px -14px 12px;
        padding: 11px 14px;
    }

}


/* 11. TELEFONY: JEDNA KOLUMNA */

@media (max-width: 720px) {

    .pe-bbpanel {
        padding: 23px 10px 18px;

        border-radius: 10px;
        font-size: 12px;

        background-size:
            100% 100%,
            auto 470px;
    }

    .pe-bbpanel .pe-bb-pair {
        grid-template-columns: minmax(0, 1fr);

        gap: 12px;
        margin: 13px 0;
    }

    .pe-bbpanel .pe-bb-pair > .pe-bb-pair__col {
        padding: 14px 13px 16px;
    }

    .pe-bbpanel .pe-bb-pair__col
    > .mycode_color:first-child,

    .pe-bbpanel .pe-bb-pair__col
    > span[style*="color"]:first-child {
        margin: -14px -13px 12px;
        padding: 11px 13px;
    }

    .pe-bbpanel .pe-bb-pair__col ul,
    .pe-bbpanel .pe-bb-pair__col ol {
        padding-left: 22px;
    }

}

/* ============================================================
   KONIEC: pe_bbpanel_columns.css v2.1
   ============================================================ */
