/**
Theme Name: Mea IT Services Astra
Author: mea IT Services e.U.
Author URI: https://mea-it.services
Description: Child Theme of Astra WP developed by mea IT Services e.U.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mea-it-services-astra
Template: astra
*/

/* ---------------------- General Default ---------------------- */

body, html {
    overflow-x: hidden !important;
}

.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hidden {
    display: none;
}

.site-primary-header-wrap {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    max-width: var(--ast-normal-container-width);
}

.site-primary-header-wrap {
    margin: auto;
}

.ast-primary-header-bar {
    margin: auto;
    width: 100%;
    padding-left: 2em !important;
    padding-right: 2em !important;
}

#ast-fixed-header .ast-primary-header-bar {
    max-width: none;
}

footer .ast-builder-grid-row-container-inner {
    max-width: var(--wp--custom--ast-content-width-size);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#content .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 1201px) {
    .site-header .ast-container,
    #content .ast-container {
        max-width: var(--wp--custom--ast-content-width-size);
    }
}
@media (min-width: 993px) {
    .site-header .ast-container,
    #content .ast-container {
        max-width: var(--wp--custom--ast-content-width-size);
    }
}
@media (min-width: 922px) {
    .site-header .ast-container,
    #content .ast-container {
        max-width: var(--wp--custom--ast-content-width-size);
    }
}

.ast-button-wrap .menu-toggle:focus,
a:focus,
a.uagb-buttons-repeater.wp-block-button__link:focus
{
	outline: none !important;
}

/* --------------------- Barrierefreiheit -------------------------------- */

a:focus-visible,
.efbl_feeds_carousel .efbl-grid-wrapper .efbl-post-footer .efbl-view-on-fb:focus-visible,
span[role="button"]:focus-visible,
.n2-ss-slider .n2-ss-button-container a.n2-ow:focus-visible,
#ast-scroll-top:focus-visible,
.nextend-arrow-next:focus-visible,
.nextend-arrow-previous:focus-visible,
.spectra-container-link-overlay:focus-visible,
.btn.ninja-forms-field.nf-fu-fileinput-button:focus-visible,
input[type="submit"]:focus-visible,
.checkbox-wrap:focus-within,
button:focus-visible,
.menu-toggle:focus-visible,
.ast-button-wrap:has(.menu-toggle):focus-within,
.nextend-bullet-bar .n2-bullet:focus-visible,
.wp-block-button__link:focus-visible,
a.uagb-buttons-repeater.wp-block-button__link:focus-visible {
    outline: -webkit-focus-ring-color auto 1px !important;
    outline-offset: 2px;
}

video a:focus-visible {
    outline-offset: 0;
}

a.page-numbers:focus-visible {
    outline-offset: -2px;
}

a:focus,
span[role="button"]:focus {
    outline: none;
}

/*body:not(.block-editor-page) .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}*/

.skip-link-in-position {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    color: var(--ast-global-color-0) !important;
}

.skip-link-in-position:focus,
.skip-link-in-position:focus-visible {
    z-index: 999999 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
}

/* ------------------------ Project Specifics ------------------- */

/* Benutzerdefinierte Markierung entfernen */
::selection {
    background: Highlight;
    color: HighlightText;
}

/* Links */

a:hover {
    font-weight: bold;
}

p a,
li a {
    text-decoration: underline;
}

p a:hover,
li a:hover {
    text-decoration: underline;
}

/* WP One Tap Barrierefreiheit Icon */

.astra-onetap-column-link {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;    
    justify-content: center !important;
    text-decoration: none !important;
    gap: 5px !important;
    padding-top: 1em;
    padding-bottom: 1em;
}

.astra-onetap-column-link .onetap-header-icon {
    transition: background-color 0.2s ease, transform 0.2s ease !important;

    font-size: 40px !important;
    color: #ffffff !important;
    background-color: var(--ast-global-color-3);

    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 1 !important;
}

.onetap-header-text {
    color: var(--ast-global-color-3) !important;
    transition: all .2s ease;
}

.astra-onetap-column-link:hover .onetap-header-icon {
    background-color: var(--ast-global-color-0);
}

.astra-onetap-column-link:hover .onetap-header-text {
    font-weight: bold;
    color: var(--ast-global-color-0) !important;
}

/* Menü */

.menu-item:hover > .menu-link,
.site-header .menu-item.current-menu-item > .menu-link,
.site-header .menu-item.current-menu-parent > .menu-link {
    font-weight: bold;
}

#ast-desktop-toggle-menu {
    padding-left: 1em;
    padding-right: 1em;
}

.menu-item {
    line-height: initial;
}

.menu-text,
.dropdown-menu-toggle {
    line-height: 2.8em;
}

.sub-menu .menu-text {
    line-height: 1.5em;
}

.sub-menu {
    padding-top: 0;
    padding-bottom: 0;
}

.menu-item .menu-link {
	border-radius: 8px;
}

/* Header */

.site-header {
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.3);
}

.ast-sticky-main-shrink .ast-sticky-shrunk .main-header-bar {
    line-height: normal;
}

/* Toggle Menu Buttons */

.menu-toggle .ast-mobile-svg,
.menu-toggle-close .ast-mobile-svg {
    transition: all .2s ease;
}

.menu-toggle:hover .ast-mobile-svg,
.menu-toggle-close:hover .ast-mobile-svg {
    fill: var(--ast-global-color-0) !important;
    color: var(--ast-global-color-0) !important;
}

.menu-toggle-close {
    margin-right: 1em;
    margin-top: 1em;
}

.menu-toggle-close .ast-close-svg {
    width: 35px;
    height: 35px;
}

/* Footer */

.lhm-footer-menu ul a {
    color: white;
    line-height: 1.8;
}

footer .wp-block-social-link-label {
    font-size: 1rem !important;
}

.lhm-footer-contact-info a {
    text-decoration: underline;
}

footer ul a {
    text-decoration: none;
}

.lhm-footer-contact-info a:hover {
    font-weight: bold;
}

#lhm-footer-menu-legal ul {
    display: flex;
    flex-direction: row;
    justify-content: end;
	margin-right: 2em;
}

#lhm-footer-menu-legal a {
    color: white;
}

#lhm-footer-menu-legal .menu-item:not(:last-child) {
    margin-right: 40px;
}

.site-below-footer-wrap .ast-builder-grid-row-container-inner {
    padding-left: 3em;
    padding-right: 3em;
}

.site-primary-footer-wrap .ast-builder-grid-row-container-inner,
.site-below-footer-wrap .ast-builder-grid-row-container-inner {
    max-width: var(--ast-normal-container-width);
}

.ast-footer-copyright a:hover {
    font-weight: bold;
}

footer {
    position: relative;
}

#lhm-footer-menu-legal .menu-item a,
.ast-footer-copyright,
.ast-footer-copyright a {
    font-size: 0.9rem;
}

/* Kreis Grafiken */

.lhm-kreise-rechts {
    position: absolute !important;
    width: auto !important;
    right: -115px;
}

.lhm-kreise-rechts img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.lhm-kreise-links {
    position: absolute !important;
    width: auto !important;
    left: -115px;
}

.lhm-mittelpunkt-kreise {
    bottom: 0;
    margin-top: -7em !important;
}

/* Sticky Menü */

#lhm-sticky-container {
    /*position: absolute;*/
    z-index: 20;
    top: 20vh;
}

#lhm-sticky-content {
    position: fixed;
}

#lhm-sticky-content a,
#lhm-sticky-content a svg {
    transition: all .2s ease;
}

#lhm-sticky-content a:has(img):hover {
    scale: 1.1;
}

#lhm-sticky-content a:has(svg):hover svg {
    scale: 1.1;
}

/* Sticky Menü Hover Label */

#lhm-sticky-content a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lhm-sticky-content a:has(svg)::after {
    margin-right: 18px;
}

#lhm-sticky-content a::after {
    content: attr(aria-label);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 5px;

    background: var(--ast-global-color-0);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    line-height: 1.2;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#lhm-sticky-content a:hover::after,
#lhm-sticky-content a:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

/* Header mit Seitentitel */

header.entry-header,
header.entry-header h1 {
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    color: transparent !important;
}

/* Header Slider */

.lhm-slider .n2-ss-slider-controls {
    flex-direction: row !important;
    justify-content: center;
    padding-top: 1em;
    padding-bottom: 1em;
    gap: 10px;
}

.lhm-slider .n2-bullet {
    width: 5px;
    height: 5px;
}

.lhm-slider .nextend-bullet-bar {
    gap: 5px;
}

.lhm-slider-text-box > .n2-ss-layer-with-background > .n2-ss-layer-row-inner {
	max-width: 100%;
}

.lhm-slider-text-box > .n2-ss-layer-with-background > .n2-ss-layer-row-inner > .n2-ss-layer {
	max-width: inherit;
}

/* Angebote Cards */

.lhm-angebote-cards .lhm-card {
    transition: all .2s ease;
}

.lhm-angebote-cards .lhm-card:has(a.spectra-container-link-overlay):hover {
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.12);
    translate: 0 -10px;
}

.lhm-card:hover .lhm-card-read-more p,
.lhm-card:focus-visible .lhm-card-read-more p,
.efbl-view-on-fb:focus-visible,
.efbl-view-on-fb:hover {
    font-weight: 900 !important;
}

.lhm-card-read-more p {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    transition: all .2s ease;
}

.lhm-card-read-more::after,
.lhm-card-read-more::before,
.efbl-view-share::after,
.efbl-view-share::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 90px;
    height: 11px;
    margin: 0 auto;
    transition: all .2s ease;
    pointer-events: none;
}

.lhm-card-read-more .uagb-icon-wrapper {
    height: 26px;
}

.lhm-card-read-more::before,
.efbl-view-share::before {
    background: url(/wp-content/uploads/2026/06/Pinselstrich2D5A3D.png);
}

.lhm-card-read-more::after,
.efbl-view-share::after {
    background: url(/wp-content/uploads/2026/06/PinselstrichF07D00.png);
    opacity: 0;
}

.lhm-card:hover .lhm-card-read-more::after,
.lhm-card:focus-visible .lhm-card-read-more::after,
.efbl-view-share:focus-within::after,
.efbl-view-share:hover::after {
    opacity: 1;
}

.lhm-card:hover .lhm-card-read-more::before,
.lhm-card:focus-visible .lhm-card-read-more::before,
.efbl-view-share:hover::before,
.efbl-view-share:focus-within::before {
    opacity: 0;
}

/* Scroll to top */

#ast-scroll-top {
    border-radius: 5px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
    padding: 10px;
    width: auto;
    height: auto;
}

#ast-scroll-top .ast-arrow-svg,
#ast-scroll-top .ast-icon {
    height: 25px !important;
    width: 25px !important;
}

#ast-scroll-top .ast-icon {
    display: block;
}

/* Datei Download */

.lhm-file-download {
    margin-bottom: 0;
}

.lhm-file-download a {
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1rem !important;
}

.lhm-file-download a:hover {
    text-decoration: underline !important;
}

/* Social Feed */

html body .efbl_feed_wraper .efbl_feeds_carousel {
    padding: 0 !important;
}

.efbl_feeds_carousel .owl-nav .owl-prev,
.efbl_feeds_carousel .owl-nav .owl-next {
    background-color: transparent !important;
    color: var(--ast-global-color-3) !important;
}

.efbl_feeds_carousel .owl-nav .owl-prev:hover,
.efbl_feeds_carousel .owl-nav .owl-next:hover {
    background-color: transparent !important;
    color: var(--ast-global-color-0) !important;
}

.efbl_feeds_carousel .owl-nav .owl-prev {
    left: -60px !important;
}

.efbl_feeds_carousel .owl-nav .owl-next {
    right: -60px !important;
}

.efbl-grid-wrapper {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 2em !important;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.efbl-post-footer {
    margin-top: auto !important;
    padding-top: 0 !important;
}

.efbl-feed-header,
.efbl-see-more-btn {
    display: none;
}

.efbl_feeds_carousel .owl-nav button i {
    font-size: 50px !important;
}

.efbl_feed_fancy_popup img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.efbl_feed_fancy_popup {
    margin-bottom: 2em !important;
    pointer-events: none;
}

.efbl-description-wrap,
.efbl_title_link {
    font-size: 1rem !important;
}

.owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-item {
    display: flex;
}

.owl-item > .item,
.efbl-grid-wrapper {
    height: calc(100% - 20px);
}

.efbl-feed-content,
.efbl-view-share {
    padding-left: 2em;
    padding-right: 2em;
}

.efbl-feed-content {
    margin-bottom: 0 !important;
}

.efbl-view-share {
    justify-content: center !important;
}

.efbl-view-on-fb {
    font-size: 1rem !important;
    font-weight: bold !important;
    text-align: center;
    padding: 0 !important;
}

.efbl-view-share {
    position: relative;
}

.efbl-view-share::after,
.efbl-view-share::before {
    bottom: -10px;
    z-index: 1;
}

.efbl-view-on-fb {
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    width: fit-content;
}

.efbl-view-on-fb::after {
    content: "";
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.efbl-overlay {
    display: none;
}

/* um zu lange Wörter zu verhindern, der ein Item zu breit darstellt */

.efbl-grid-wrapper,
.efbl-feed-content,
.efbl-feed-content .description,
.efbl-description-wrap {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.efbl-feed-content .description,
.efbl-description-wrap {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.efbl-shared-content-holder {
    max-height: 400px;
    overflow: hidden;
}

/* Jobs Übersicht */

.job-listing .job-preview {
    background-color: white !important;
    border: 2px solid var(--ast-global-color-0) !important;
    border-radius: 5px !important;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
}

.job-listing .job-content h5 a {
    text-decoration: none;
    color: var(--ast-global-color-3) !important;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.job-listing .job-content h5 a span {
    color: inherit;
}

.job-listing .job-content h5 a:hover {
    text-decoration: underline;
    font-weight: 900;
}

.job-listing .job-content {
    padding: 2em 0 2em 2em !important;
}

.job-listing .job-additional-information {
    color: var(--ast-global-color-3);
}

.job-listing .job-cta a,
.jp-apply-button,
.job-submit,
.jobs-modal-form .choose_file, 
.jobs-modal-form .choose_file_multi, 
.jobs-modal-form .choose_file_multi_add {
    background-color: var(--ast-global-color-0) !important;
    border: 0 !important;
    box-shadow: inset 0 0 0 2px var(--ast-global-color-0) !important;
    background: white;
    border-bottom: 2px !important;
    border-radius: 8px !important;
    font-size: 0.9em !important;
    transition: all .2s ease !important;
    overflow: hidden;
}

.job-listing .job-cta a:hover,
.jp-apply-button:hover,
.job-submit:hover,
.jobs-modal-form .choose_file:hover, 
.jobs-modal-form .choose_file_multi:hover, 
.jobs-modal-form .choose_file_multi_add:hover {
    background-color: white !important;
    color: var(--ast-global-color-0) !important;
}

.job-listing .job-cta {
    padding: 2em 2em 2em 1em !important;
}

.job-listing .job-preview {
    margin-bottom: 1em !important;
}

/* Inserat */

.job-side .job-content-wrap {
    background-color: white !important;
    border-radius: 5px !important;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
    border-color: transparent !important;
}

.jobs-row-label {
    font-size: 1.1rem !important;
}

.jobs-row-label span {
    border-bottom: none !important;
}

.position_title .jobs-row-input {
    color: var(--ast-global-color-0);
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: bold;
}

.jobs-row-input p {
    font-family: Roboto, sans-serif !important;
    font-style: normal !important;
    font-synthesis: none;
    -webkit-font-smoothing: auto !important;
}

.job-post {
    padding-left: 2em;
    padding-right: 2em;
    max-width: unset !important;
}

/* Bewerbungsformular */

.jobs-modal-form .jobs-modal-input .input-label {
    font-size: 1rem !important;
    line-height: normal !important;
}

.jobs-modal .jobs-modal-content .modal-close {
    padding: 4px !important;
}

.jobs-modal-form .modal-input-text,
.jobs-modal-form .modal-input-fileinput {
    background-color: white !important;
    border-radius: 5px !important;
    border: 2px solid var(--ast-global-color-0) !important;
}

.jobs-modal-form .modal-input-text:focus,
.jobs-modal-form .modal-input-text {
    color: var(--ast-global-color-3);
}

.jobs-modal-form .modal-input-text::placeholder {
    color: var(--ast-global-color-0) !important;
}

.jobs-modal-form .choose_file .add, 
.jobs-modal-form .choose_file_multi .add, 
.jobs-modal-form .choose_file_multi_add .add {
    display: none;
}

/* Newsletter */

.page:has(.tnp-subscription) {
    padding-top: 3em;
    padding-left: 4em;
    padding-right: 4em;
}

/* Bild mit Maske */

.lhm-masked-image > div:not(.lhm-mittelpunkt-kreise) img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 8 / 9;
}

.lhm-masked-image > div {
    margin-left: 0 !important;
}

/* Download Buttons (von Block) */

.wp-block-file.aligncenter {
    justify-content: center;
}

.wp-block-file__button.wp-element-button {
    font-size: 0.9rem !important;
}

/* Mobiles Menü */

#lhm-mobile-menu .mea-nav-menu-wrapper .menu-link {
    font-size: 1rem;
}

#lhm-mobile-menu .mea-nav-menu {
    list-style: none;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0;
}

#lhm-mobile-menu .menu-link {
    padding: 0 20px;
}

#lhm-mobile-menu .menu-link {
    display: inline-block;
    line-height: 2.8em;
    text-decoration: none;
    color: var(--ast-global-color-3);
    width: 100%;
}

#lhm-mobile-menu .menu-item:hover .menu-link {
    font-weight: bold;
    color: white;
	background-color: var(--ast-global-color-0);
}

.ast-header-html:has(#lhm-mobile-menu) {
    width: 100%;
}

/*#ast-hf-mobile-menu .menu-item:hover .menu-link {
    background-color: transparent;
}*/

.ast-builder-menu-mobile .main-navigation .menu-link:hover {
	color: white !important;
}

#ast-hf-mobile-menu .ast-submenu-expanded > .menu-link {
    font-weight: bold;
}

#ast-hf-mobile-menu .ast-menu-toggle {
    box-shadow: none;
}

/* Suche */

.lhm-search .wp-block-search__button:hover {
    color: var(--ast-global-color-0) !important;
    background-color: white !important;
}

.lhm-search .wp-block-search__button {
    transition: all .2s ease;
}

.lhm-search .wp-block-search__input::placeholder {
    color: var(--ast-global-color-3);
}

.lhm-search .wp-block-search__input:focus {
    border-color: var(--ast-global-color-0);
}

.lhm-search .wp-block-search__input {
    border-radius: 8px;
    font-size: 1rem;
}

#main:has(>.ast-row) {
    padding-left: 4em;
    padding-right: 4em;
}

.ast-archive-post.ast-article-post.ast-separate-posts {
    background-color: white;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.ast-row .hentry .post-content .ast-blog-meta-container {
    display: none;
}

.ast-row .hentry .post-content .entry-title:hover {
    text-decoration: underline;
}

.page-numbers {
    font-size: 1rem;
}

.page-numbers:not(.next, .prev) {
    border: 2px solid var(--ast-global-color-0);
    border-radius: 8px !important;
}

.page-numbers:not(.current, .next, .prev):hover {
    background-color: var(--ast-global-color-0) !important;
    color: white !important;
}

.page-numbers:not(.current, .next, .prev) {
    color: var(--ast-global-color-0) !important;
    background-color: white;
}

.page-numbers.next,
.page-numbers.prev {
    color: var(--ast-global-color-0);
}

.page-numbers.next:hover,
.page-numbers.prev:hover {
    font-weight: 900;
}

.ast-pagination {
    padding-left: 4em;
    padding-right: 4em;
}

/* ---------------------------- Responsive Settings ---------------------------- */

@media only screen and (max-height: 750px) and (min-width: 767px) {
    #lhm-sticky-container {
        top: 40vh;
    }
}

@media only screen and (max-width: 1055px) {
    /* Footer */

    #lhm-footer-menu-legal ul {
        display: flex;
        flex-direction: column;
        justify-content: start;
        margin-right: 2em;
        padding-top: 1em;
        padding-bottom: 1.5em;
    }

    #lhm-footer-menu-legal ul li {
        text-align: right;
        margin: 0 !important;
		padding-top: 5px;
    }	
}

/* WP OneTap Container */

@media only screen and (min-width: 767px) {
	.onetap-container-toggle {
		display: none !important;
	}
}

@media (max-width: 921px) {
    .ast-builder-menu-mobile .main-navigation .menu-link:hover, .ast-builder-menu-mobile .main-navigation .main-header-menu > .menu-item:hover > .menu-link, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .ast-menu-toggle:hover, .ast-builder-menu-mobile .main-navigation .inline-on-mobile .main-header-menu > .menu-item:hover > .ast-menu-toggle {
        background: var(--ast-global-color-1) !important;
    }
}

/* Responsive Tablet */

@media only screen and (max-width: 976px) {

    /* Slider */

    .lhm-slider .n2-ss-slider-1,
    .lhm-slider .n2-ss-section-main-content {
        height: 600px;
    }

    .lhm-slider-kreise img {
        width: auto !important;
        height: 250px !important;
        padding-bottom: 4em !important;
    }

    /* Kreise */
    
    .lhm-kreise-rechts {
        right: -75px;
    }

    .lhm-kreise-links {
        left: -75px;
    } 
    
    /* LHM Kreise */

    .lhm-mittelpunkt-kreise {
        margin-top: -2em !important;
    }
}

/* Responsive Mobile Portrait */

@media only screen and (max-width: 767px) {
    #lhm-sticky-container {
        top: 50vh;
    }

    /* Slider */

    .lhm-slider .n2-ss-slider-1,
    .lhm-slider .n2-ss-section-main-content {
        height: 500px;
    }

    .lhm-slider-heading h1,
    .lhm-slider-heading div {
        font-size: 26px;
    }

    .lhm-slider-kreise img {
        padding-bottom: 2em !important;
		scale: 0.6;
    }
	
	.lhm-slider-text-box {
		max-width: 250px !important;
	}
	
	.lhm-slider div {
		hyphens: auto;
	}
	
	.lhm-slider-text-box p {
		visibility: hidden;
		height: 0 !important;
	}
	
	.lhm-slider-text-box div.n2-ss-text {
		font-size: 1.6rem !important;
		line-height: 1.2 !important;
	}

    /* Footer */

    .ast-footer-copyright p,
    #lhm-footer-menu-legal ul li {
        text-align: left;
    }

    .site-below-footer-wrap .ast-builder-grid-row-container-inner {
        padding-left: 1em;
        padding-right: 3em;
    }

    /* Scroll to top button */

    #ast-scroll-top {
        right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    /* WP One Tap */

    .ast-header-html-1 {
        display: none !important;
    }

    .custom-logo {
        width: 180px !important;
    }

    .ast-primary-header-bar .ast-builder-grid-row {
        display: flex;
        gap: 5px;
    }

    .page:has(.tnp-subscription) {
        padding-top: 2em;
        padding-left: 1em;
        padding-right: 1em;
    }

    /* LHM Kreise */

    .lhm-kreise-rechts {
        right: -47px;
    }
	
	/* Button Menu */
	
	.menu-toggle-close {
		margin-right: 2.5em;
		margin-top: 0.5em;
	}
	
    /* Easy Social Feed */
	
	.efbl-shared-content-holder {
		max-height: 200px;
	}
}

/* Responsive Mobile Landscape */

@media screen and (max-width: 767px) and (max-height: 400px) {
    
    /* Slider */

    .lhm-slider .n2-ss-slider-1,
    .lhm-slider .n2-ss-section-main-content {
        height: 350px;
    }
	
	.lhm-slider-text-box > .n2-ss-layer-with-background > .n2-ss-layer-row-inner {
		width: 100%;
	}
	
	.lhm-slider-text-box {
		max-width: 80% !important;
	}

    /* Angebote Cards */

    .lhm-angebote-cards > div {
        width: 40% !important;
    }

    /* Bilder */

    .lhm-masked-image {
        width: 50% !important;
        padding-right: 1em !important;
    }

    .lhm-mittelpunkt-container {
        flex-wrap: wrap;
    }

    .lhm-mittelpunkt-text {
        width: 50% !important;
    }

    /* WP One Tap */

    .ast-header-html-1 {
        display: flex !important;
    }

    .ast-primary-header-bar .ast-builder-grid-row {
        display: flex;
        justify-content: space-between;
    }

    /* Sticky Menu */

    #lhm-sticky-container {
        top: 22vh;
    }

    #ast-scroll-top {
        right: 70px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}