/* =========================================
   NextGEN Gallery Pagination
   ========================================= */

body .ngg-navigation {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 13px !important;
    column-gap: 13px !important;

    margin: 35px 0 20px !important;
}


/* Zahlen + aktuelle Seite */
body .ngg-navigation a.page-numbers,
body .ngg-navigation span.current {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid #d6bd9d !important;
    border-radius: 50% !important;

    background: transparent !important;
    color: #333333 !important;

    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 46px !important;

    text-decoration: none !important;
    transition: all 0.25s ease;
}


/* Hover Zahlen */
body .ngg-navigation a.page-numbers:hover,
body .ngg-navigation a.page-numbers:focus,
body .ngg-navigation a.page-numbers:active,
body .ngg-navigation a.page-numbers:visited:hover {
    background: #d6bd9d!important;
    border-color: #d6bd9d!important;
    color: #ffffff !important;
    text-decoration: none !important;
}


/* Aktuelle Seite */
body .ngg-navigation span.current {
    background: #d6bd9d !important;
    border-color: #d6bd9d !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* =========================================
   Pfeile ohne Box
   ========================================= */

body .ngg-navigation a.next,
body .ngg-navigation a.prev {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 32px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #333333 !important;

    font-size: 0 !important;
    line-height: 1 !important;

    text-decoration: none !important;
}


/* Eigene Pfeile */
body .ngg-navigation a.next::before,
body .ngg-navigation a.prev::before {
    display: block;
    font-size: 31px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: inherit !important;

    transform: translateY(-1px);
}


/* NextGEN hat die Klassen umgekehrt */
body .ngg-navigation a.next::before {
    content: "‹";
}

body .ngg-navigation a.prev::before {
    content: "›";
}


/* Pfeil Hover */
body .ngg-navigation a.next:hover,
body .ngg-navigation a.prev:hover {
    color: #d6bd9d !important;
    background: transparent !important;
}


/* =========================================
   Drei Punkte
   ========================================= */

body .ngg-navigation .ellipsis {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    height: 46px !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    color: #777777 !important;
    font-size: 18px !important;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 600px) {

    body .ngg-navigation {
        gap: 9px !important;
        column-gap: 9px !important;
        flex-wrap: wrap !important;
    }

    body .ngg-navigation a.page-numbers,
    body .ngg-navigation span.current {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        line-height: 40px !important;
    }

    body .ngg-navigation a.next,
    body .ngg-navigation a.prev {
        width: 28px !important;
        height: 40px !important;
    }

    body .ngg-navigation a.next::before,
    body .ngg-navigation a.prev::before {
        font-size: 28px !important;
    }

    body .ngg-navigation .ellipsis {
        height: 40px !important;
    }
}