/*
 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
*/
.kundenstimmen .splide__pagination {
  width: 100%;
}

.gform_required_legend {
  display: none !important
}

.brxe-wpml-language-switcher .wpml-ls-native:hover {
  border-bottom: 1px solid #fff;
  line-height: 1.7 !important;
}

.brxe-wpml-language-switcher .wpml-ls-native {
  line-height: 1.7 !important;
  padding-bottom: 6px;
  height: 20px;
}

#brx-header nav > ul > li > a {
  border-bottom: 1px solid #4597d3;  
}

#brx-header nav > ul > li.current-menu-item > a, #brx-header nav > ul > li.current-menu-item > .brx-submenu-toggle > a {
  border-bottom: 1px solid #fff !important;
}

#brx-header nav .sub-menu > li.current-menu-item > a {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 0.5px !important;
}

#brx-header nav > ul > li > a:hover {
  border-bottom: 1px solid #fff;
}

footer nav .current-menu-item a, footer nav a:hover {
  border-bottom: 1px solid #fff;
}

footer nav a {
  border-bottom: 1px solid #4597d3;
}

.gfield_label, .gfield_required, .gform-field-label {
    font-size: 18px !important;
    font-family: 'Aptos' !important;
}

.gfield_required {
    color: #4697d3 !important;
}

.gform_button {
    border-radius: 0 !important;
    background-color: #4697d3 !important;
    padding: 7px 28px !important;
    font-size: 18px !important;
    font-family: 'Aptos' !important;
}

.gform_fields input, .gform_fields textarea {
    border-radius: 0 !important;
}

.hero-slider .slider-content {
    border-left: 1px solid #fff;
    padding: 0 40px
  }
  
.hero-slider .slider-content .title {
max-width: 700px;
}

@media only screen and (max-width:990px) { 
    .hero-slider {
        padding-left: 0 !important;
    }
  
  h2 {
    font-size: 24px !important;
  }
  
  h3 {
    font-size: 20px !important;
  }
  
  h1 {
    font-size: 30px !important;
  }
}

@media only screen and (max-width:630px) { 
    .hero-slider h5 {
        font-size: 24px !important;
    }
}

#brx-header ul.sub-menu {
    padding-top: 20px;
    width: 250px;
}

#brx-header .brx-submenu-toggle button {
    margin-top: 10px;
}

/* Basis-Tabelle */
.tax-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e5e5;
  background: #ffffff;
}

/* Zellen */
.tax-table th,
.tax-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e9e9e9;
  vertical-align: middle;
}

/* Header */
.tax-table thead th {
  background: #f2f2f2;
  font-weight: 600;
  text-align: left;
}

/* Rechte Spalten (Zahlen) */
.tax-table td.text-right,
.tax-table th.text-right {
  text-align: right;
}

/* Zebra-Streifen für bessere Lesbarkeit */
.tax-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* Hover-Effekt */
.tax-table tbody tr:hover {
  background: #f5f7f9;
}

/* Letzte Zeile ohne extra Linie */
.tax-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {

  /* Tabelle selbst neutralisieren */
  .tax-table {
    border: none;
    background: transparent;
  }

  .tax-table thead {
    display: none;
  }

  .tax-table,
  .tax-table tbody,
  .tax-table tr,
  .tax-table td {
    display: block;
    width: 100%;
  }

  /* Karten-Optik pro Zeile */
  .tax-table tr {
    margin-bottom: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 10px 12px;
    background: #ffffff;
  }

  .tax-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border: none;
    text-align: right;
  }

  /* Erste Spalte = Titel */
  .tax-table td:first-child {
    font-weight: 600;
    text-align: left;
    padding-bottom: 8px;
  }
}

 /* Macht den Link zu einem Flex-Container, damit Pfeil und Text perfekt auf einer Linie sind */
.sub-menu.brx-submenu-positioned .bricks-menu-item a {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen dem Pfeil und dem Text */
}

.sub-menu.brx-submenu-positioned {
  padding-bottom: 30px;
}

/* Fügt die SVG-Grafik vor dem Link-Text ein */
#brx-content .brxe-block ul#menu-services a::before, #brx-content .brxe-block ul#menu-services-englisch a::before, #brx-content .brxe-block ul#menu-services-franzoesisch a::before {  
  
  content: '';
    display: inline-block;
    vertical-align: middle; /* Setzt das Icon mittig zur Textzeile */
    margin-top: 8px;
    margin-right: 10px;
    flex-shrink: 0; 
    width: 14px; 
    height: 14px; 
    background-image: url('/wp-content/uploads/2024/03/arrow-right-light.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  
  
}

#menu-services-englisch, #menu-services, #menu-services-franzoesisch{
  white-space: nowrap !important;
}

#brx-content .brxe-block ul#menu-services .current-menu-item, #brx-content .brxe-block ul#menu-services-englisch .current-menu-item, #brx-content .brxe-block ul#menu-services-franzoesisch .current-menu-item {
  display: none;
}

.brxe-text a::before {  
  
  content: '';
    display: inline-block;
    vertical-align: middle; /* Setzt das Icon mittig zur Textzeile */
    /* padding-top: 14px; <-- Unbedingt entfernen! */
    margin-right: 6px;
    margin-left: 6px;
    flex-shrink: 0; 
    width: 16px; 
    height: 16px; 
    background-image: url("data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23363636' d='M443.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l377.4 0L244.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z'%3e%3c/path%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0 -2px; 
}

.white-arrow .brxe-text a::before {
  background-image: url("data:image/svg+xml,%3c%3fxml version='1.0' encoding='UTF-8'%3f%3e %3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23fff' d='M443.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l377.4 0L244.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z'%3e%3c/path%3e%3c/svg%3e");
}

.offcanvas li, .offcanvas span {
  border:none !important
}

.off-menu a {
  padding: 0 !important;
  margin-left: 10px !important;
  display: inline-block !important;
  width: auto !important;
}

.off-menu .sub-menu li {
  height: 38px;
  margin-left: 10px;
}

.menu-item-has-children .brx-submenu-toggle button {
    margin-top: 5px !important;
}

#BorlabsCookieBox,
#BorlabsCookieBox *,
.brlbs-cmpnt-dialog,
.brlbs-cmpnt-dialog * {
  font-weight: 400 !important;
}

#BorlabsCookieBox,
#BorlabsCookieBox * {
  font-weight: 400 !important;
}