/*
====================================================
 POLSKAELITA.PL - STOPKA
 Green Dark | MyBB 1.8.41
 pe_footer.css | v2.0

 - Usuniety pusty pas nad stopka
 - Usuniete boczne odstepy
 - Stopka na cala szerokosc
 - Odstep 25px pod stopka
 - Zachowany jezyk Polski
 - Zachowany branding PolskaElita.pl
====================================================
*/

/* GLOWNA STOPKA */

footer.pe-footer {
    display: block;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding: 0 0 25px !important;

    box-sizing: border-box;

    background: transparent !important;

    border: 0 !important;
    border-top: 0 !important;

    color: #c7d8ce;
}

/* GLOWNY PANEL */

footer.pe-footer .pe-footer-inner {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 24px;

    /* USUWAMY PUSTE BOKI */

    width: 100% !important;
    max-width: none !important;

    min-height: 125px;

    margin: 0 !important;

    padding: 18px 25px !important;

    box-sizing: border-box;

    background: linear-gradient(
        110deg,
        #1c292b 0%,
        #152327 65%,
        #183025 100%
    ) !important;

    border: 1px solid #355448;

    border-radius: 9px;

    box-shadow:
        0 5px 18px rgba(0,0,0,.17);
}

/* LEWA STRONA */

footer.pe-footer .pe-footer-left {
    float: none !important;

    min-width: 0;

    text-align: left;
}

/* WYBOR JEZYKA */

footer.pe-footer .pe-footer-language {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0 0 10px !important;
}

footer.pe-footer .pe-footer-language select {
    width: 145px;

    max-width: 100%;

    min-height: 38px;

    padding: 8px 12px;

    background: #142226 !important;

    border: 1px solid #42624e !important;

    border-radius: 7px !important;

    color: #eef8f0 !important;

    font-size: 12px;

    cursor: pointer;
}

/* INFORMACJE MYBB */

footer.pe-footer .pe-footer-engine {
    color: #a7bdb0;

    font-size: 11px;

    line-height: 1.8;
}

footer.pe-footer .pe-footer-engine a {
    color: #9adaad;

    font-weight: 700;

    text-decoration: none;
}

footer.pe-footer .pe-footer-engine a:hover {
    color: #d2f7da;
}

/* SRODEK - LOGO */

footer.pe-footer .pe-footer-logo {
    position: static !important;

    float: none !important;

    width: auto !important;

    height: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    justify-self: center;
}

footer.pe-footer .pe-footer-logo a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: #f5fff7 !important;

    text-decoration: none !important;
}

/* ZNAK PE */

footer.pe-footer .pe-footer-logo-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 47px;

    height: 47px;

    background: linear-gradient(
        145deg,
        #244b34,
        #102b22
    );

    border: 1px solid #60bd79;

    border-radius: 10px;

    color: #92eb9d;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: -1px;

    box-shadow:
        inset 0 1px rgba(255,255,255,.06),
        0 3px 10px rgba(0,0,0,.18);
}

/* NAPIS POLSKAELITA.PL */

footer.pe-footer .pe-footer-brand {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 4px;
}

footer.pe-footer .pe-footer-brand-name {
    color: #f4fff6;

    font-size: 22px;

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -.6px;

    white-space: nowrap;
}

footer.pe-footer .pe-footer-brand-name span {
    color: #7bdc91;
}

footer.pe-footer .pe-footer-brand small {
    color: #91b49d;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.7px;
}

/* PRAWA STRONA */

footer.pe-footer .pe-footer-right {
    float: none !important;

    min-width: 0;

    justify-self: end;

    text-align: right;
}

footer.pe-footer .pe-footer-copyright {
    color: #dcece0;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 7px;
}

footer.pe-footer .pe-footer-credit {
    color: #8fa79a;

    font-size: 11px;

    line-height: 1.5;
}

footer.pe-footer .pe-footer-credit a {
    color: #a9c9b0;

    text-decoration: none;
}

footer.pe-footer .pe-footer-credit a:hover {
    color: #8fe0a5;
}

/* TABLETY */

@media (max-width: 850px) {

    footer.pe-footer .pe-footer-inner {
        grid-template-columns: 1fr 1fr;

        gap: 20px;

        padding: 20px !important;
    }

    footer.pe-footer .pe-footer-logo {
        grid-column: 1 / -1;

        grid-row: 1;

        justify-self: center;
    }

    footer.pe-footer .pe-footer-left {
        grid-column: 1;
    }

    footer.pe-footer .pe-footer-right {
        grid-column: 2;
    }
}

/* TELEFONY */

@media (max-width: 550px) {

    footer.pe-footer {
        margin: 0 !important;

        padding: 0 0 25px !important;
    }

    footer.pe-footer .pe-footer-inner {
        display: flex !important;

        flex-direction: column;

        align-items: center;

        gap: 20px;

        padding: 20px 14px !important;

        text-align: center;
    }

    footer.pe-footer .pe-footer-left,
    footer.pe-footer .pe-footer-right {
        width: 100%;

        text-align: center;
    }

    footer.pe-footer .pe-footer-logo {
        order: -1;
    }

    footer.pe-footer .pe-footer-language {
        justify-content: center;
    }

    footer.pe-footer .pe-footer-brand-name {
        font-size: 20px;
    }

    footer.pe-footer .pe-footer-brand small {
        letter-spacing: 1px;
    }
}