/*
===============================================
 POLSKAELITA.PL - KLODKI REKRUTACJI
 Green Dark | MyBB 1.8.41
 Plik: pe_rekrutacja.css

 [ON]  - zielona otwarta klodka
 [OFF] - czerwona zamknieta klodka

 Wersja: wyrazniejsze symbole klodek
===============================================
*/

/* WSPOLNY WYGLAD LINKOW */

.pe-index-layout .categories a.pe-rekrutacja-on,
.pe-index-layout .categories a.pe-rekrutacja-off {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #edf5ef !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
    vertical-align: middle;
}

/* ============================================
   IKONY - WIEKSZA CZYTELNOSC
============================================ */

.pe-index-layout .categories a.pe-rekrutacja-on::before,
.pe-index-layout .categories a.pe-rekrutacja-off::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    margin: 0 2px 0 0;
    padding: 0;

    border-radius: 4px;
    box-sizing: border-box;

    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;

    color: #ffffff;

    /* Delikatne wzmocnienie krawedzi symbolu */
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke: 0.2px #ffffff;

    text-shadow:
        0 1px 0 rgba(0, 0, 0, .65);

    position: relative;
    top: -1px;
}

/* ============================================
   ON - ZIELONA OTWARTA KLODKA
============================================ */

.pe-index-layout .categories a.pe-rekrutacja-on::before {
    content: "\f09c";

    background: #28b344;
    border: 1px solid #6ef08d;
}

/* ============================================
   OFF - CZERWONA ZAMKNIETA KLODKA
============================================ */

.pe-index-layout .categories a.pe-rekrutacja-off::before {
    content: "\f023";

    background: #d94848;
    border: 1px solid #ff8b8b;
}

/* ============================================
   HOVER
============================================ */

.pe-index-layout .categories a.pe-rekrutacja-on:hover {
    color: #88efac !important;
}

.pe-index-layout .categories a.pe-rekrutacja-off:hover {
    color: #ff9d9d !important;
}

/* ============================================
   FOCUS
============================================ */

.pe-index-layout .categories a.pe-rekrutacja-on:focus-visible {
    outline: 2px solid #6ef08d;
    outline-offset: 2px;
}

.pe-index-layout .categories a.pe-rekrutacja-off:focus-visible {
    outline: 2px solid #ff8b8b;
    outline-offset: 2px;
}

/* ============================================
   MOBILE
============================================ */

@media screen and (max-width: 600px) {

    .pe-index-layout .categories a.pe-rekrutacja-on,
    .pe-index-layout .categories a.pe-rekrutacja-off {
        gap: 6px;
    }

    .pe-index-layout .categories a.pe-rekrutacja-on::before,
    .pe-index-layout .categories a.pe-rekrutacja-off::before {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
        font-size: 12px;
    }
}

/* ============================================
   DOSTEPNOSC
============================================ */

@media (prefers-reduced-motion: reduce) {

    .pe-index-layout .categories a.pe-rekrutacja-on,
    .pe-index-layout .categories a.pe-rekrutacja-off {
        transition: none;
    }
}