/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    hyphens: auto;
}

body {
    min-height: 100vh;
}
/*
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

.brxe-text-basic,
.brxe-text {
    line-height: 1.4;
}
*/
.nowrap {
    white-space: nowrap;
}

.ge-header__externe-nav{
    display: none;
}

h1, h2, h3, h4, h5, h6, .ge-akutelle-veranstaltungen__post-title, p,
.ge-subheading {
    word-break: normal;    /* Standardverhalten, bricht nicht mitten im Wort */
    overflow-wrap: break-word; /* Nur bei Bedarf, bricht bei Leerzeichen */
    hyphens: manual;       /* Keine automatische Silbentrennung */
}

.download-file {
    position: relative;
    padding-left: 34px; /* Platz für das Icon */
    color: black; /* Standard-Textfarbe */
    text-decoration: underline;
}

/* Schwarzes Icon vor dem Link */
.download-file::before {
    content: "";
    position: absolute;
    left: 0;
    top: 41%;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background: url("/app/uploads/icon-pdf-download_2b2b2b.svg") no-repeat center center;
    background-size: contain;
  }

/* Beim Hover: Blaues Icon */
.download-file:hover::before {
    background-image: url("/app/uploads/icon-pdf-download_2c4875.svg");
}

/*-------------------------------------- ANFANG  Bild-Text ------------------------------------*/
.ge-bild-text__section.image-text .ge-bild-text__texte      /* ACHTUNG KLASSENNAME!!!!!!!!*/
{
    order: 1; /* dreht die Reihenfolge um, da Standard-Order 0 ist*/
}
/*--------------------------------------- ENDE Bild-Text --------------------------------------*/

li.external-url a::after, li.external-nav a::after {
    content: url('/app/uploads/external-link.svg'); /* Pfad zum Icon */
    display: inline-block;
    width: 16px; /* Größe des Icons anpassen */
    height: 16px;
    margin-left: 10px; /* Abstand zwischen Text und Icon */
    margin-top: -5px;
}
li.external-url a, li.external-nav a {
    align-items: center;
}
.ge-aktuelle-veranstaltungen__veranstaltungsblock-new.splide__slide{
  margin: 9px 9px 9px 9px;
}

/*--------------------------------------- ANFANG  User-Formulare, Suchformular --------------------------------------*/

.acf-success-message {
    padding: 1rem;
    margin-bottom: 2rem;
    background-color: #e6f9eb;
    border: 1px solid #a3d9a5;
    color: #006c05;
    font-weight: 500;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 800px;
}

/* Basis */
.userform {
    color: #2b2b2b;
}

/* Erfolgsmeldung */
.acf-success-message,
.userform .ge-shortcode .acf-success-message {
    padding: 1rem;
    margin: 0 15px 2rem 16px;
    background-color: #e6f9eb;
    border: 1px solid #a3d9a5;
    color: #006c05;
    font-weight: 500;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.4;
    max-width: 800px;
}

/* Fehlermeldungen */
.userform .acf-notice.-error,
.userform .ge-shortcode .acf-notice.-error {
    margin: 0 15px 2rem 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
}

.userform .acf-notice.-error.acf-error-message {
    background: #ffffff;
    color: #bd0000;
    border: 1px solid #bd0000;
    margin: 30px 0 35px 0;
    font-size: 16px;
}
.userform .acf-notice.-error.acf-error-message.-dismiss {

    margin-left: 15px;

}

.userform .acf-notice p {
    font-size: 16px;
}

/* Labels */
.userform .acf-field .acf-label label,
#searchform label{
    margin-bottom: -5px;
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
#searchform label{
    margin-bottom: 1px;
}

/* Eingabefelder */
.userform .acf-field input[type="text"],
.userform .acf-field input[type="url"],
.userform .acf-field textarea,
#searchform input[type="text"]{
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 16px;
    background-color: #FFFBE1;
    border: 1px solid #2b2b2b;
}


#searchform input[type="text"]{
    padding: 0 12px;
}


input::placeholder {
    color: #2b2b2b !important;
}

.userform .acf-field input[type="url"] {
    margin-bottom: 10px;
}

/* Feldanordnung */
.userform .acf-fields > .acf-field,
.userform .acf-field[data-width] + .acf-field[data-width] {
    border-width: 0;
}


#acf-field_65ba1a45fb6f9,
#searchform input[type="submit"]{
    margin-left: 15px;
    padding: 0.6em 1em 0.5em 1em;
    background-color: #2b2b2b;
    color: #ffffff;
    border-radius: 20px;
    border-width: 0;
    text-align: center;
    letter-spacing: 0.5px;
}
.userform input[type="submit"],
.userform .acf-button.button{
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 20px;
    border-color: #3c5083;
    background-color: #3c5083;
    color: #FFFBE1;
    margin-left: 16px;
}

#searchform input[type="submit"]{
    margin: 20px 0 0 0;
}

/* File-Uploader Label */
.userform label.acf-basic-uploader input {
    border-width: 0;
    padding: 0;
}
.userform .acf-required {
    font-size: 20px;
}
/*--------------------------------------- ENDE User-Formulare --------------------------------------*/
ul.bricks-mobile-menu .brx-submenu-toggle:hover,
ul.bricks-mobile-menu .external-url:hover,
ul.bricks-mobile-menu > .current-menu-item > .aria-current,
ul.bricks-mobile-menu .current_page_item,
ul.bricks-mobile-menu .sub-menu > .menu-item > a:hover {background-color: #fffad4;}

ul.bricks-mobile-menu .brx-submenu-toggle button {margin-right: 20px !important;margin-left: auto !important;}
ul.bricks-mobile-menu {width: 90%; background-color: #fffced;}
ul.bricks-mobile-menu > li.menu-item {border-bottom: 1px solid black;}
ul.bricks-mobile-menu > li.menu-item > div.brx-submenu-toggle > button {padding: 0;}
ul.bricks-mobile-menu > li.menu-item > ul.sub-menu > li.menu-item > a {padding-left: 48px; !important;}
ul.bricks-mobile-menu > li.menu-item > ul.sub-menu > li.menu-item > div.brx-submenu-toggle > button {padding: 0;}
ul.bricks-mobile-menu > li.menu-item > ul.sub-menu > li.menu-item > ul.sub-menu > li.menu-item > a {padding-left: 72px; !important;}

/* Smartphones Querformat & kleine Tablets (ab 478px) */
@media (min-width: 478px) {
    /* Alles ab 478px */
}

/* Tablets & kleine Laptops (ab 768px) */
@media (min-width: 768px) {
    .external-url {
        display: none;
    }
    .ge-header__externe-nav{
        display: block;
    }
}

/* Alles ab 992px (Desktops & größere Bildschirme) */
@media (min-width: 992px) {
    /* Regeln für große Bildschirme */
}

/*----------------------------------------- ANFANG  Standardabstände für alle Blöcke -----------------------------------------*/
@media screen and (max-width: 478px) {
    .normal-distance {
        margin-bottom: 40px;
    }
    .small-distance {
        margin-bottom: 20px;
    }
    .no-distance {
        margin-bottom: 0;
    }
}

/* Kleiner gleich 767px */
@media screen and (max-width: 767px) {
    .normal-distance {
        margin-bottom: 60px;
    }
    .small-distance {
        margin-bottom: 30px;
    }
    .no-distance {
        margin-bottom: 0;
    }
}

/* Kleiner gleich 991px */
@media screen and (max-width: 991px) {
    .normal-distance {
        margin-bottom: 80px;
    }
    .small-distance {
        margin-bottom: 40px;
    }
    .no-distance {
        margin-bottom: 0;
    }
}

/* Der Rest (größer als 991px) */
@media screen and (min-width: 992px) {
    .normal-distance {
        margin-bottom: 100px;
    }
    .small-distance {
        margin-bottom: 50px;
    }
    .no-distance {
        margin-bottom: 0;
    }
}
/*------------------------------------------ Ende  Standardabstände für alle Blöcke -----------------------------------------*/