:where(img):not(header img), :where(figure:not(figure:has(img))) {
    border-radius: 0;
}
/*a {
  display: inline-block;
  transition: transform 0.3s ease !important;
}

a:hover, a:focus-visible {
  transform: scale(1.025) !important;
}*/
footer a:hover
{
    color:white;
    transform:scale(1.025);
}

/* New Tab Icon bei Social Media Icons ausblenden*/
ul.brxe-post-sharing i.anww-external-link-icon, footer i.anww-external-link-icon
{
 visibility: hidden;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6, div.brxe-text-basic
{
    margin-top:1.5em;
    margin-bottom: 1em;
    max-width:85ch;
}

body > main h1.wp-block-heading, body > main h2.wp-block-heading
{
    max-width:65ch;
}

h1, h2, h3 
{
   font-weight: 500;
   margin-left:0px;
   margin-right:auto;
   text-align: start;
    color:black;
    position:relative;
}


h1
{
  /*  font-weight: 600;*/
 padding-left:0;
 padding-right:0;
 /*background-color: black;*/
 color:var(--primary);
 width:max-content;
}

 h1::after, h2::after, h3::after{
  content: "";
  position: absolute;
  bottom: -3px; /* Abstand vom unteren Rand der Überschrift */
  left: 0;
  width: 100px; /* Breite des Strichs */
  max-width: 75%;
  height: 1px; /* Dicke des Strichs */
  background-color: var(--primary); /* Farbe des Strichs */
  transform: scaleY(2); /* Skalierungstrick nötig, da bei 2px Breite der Browser die Strichstärke manchmal variiert hat*/
  transform-origin: bottom;
}
/* Anpassung der Überschriften-Akzentfarben bei ausgewählten Seiten */ 

.tabheader
{
    border: 1px solid var(--primary);
}
.tabcontent-Jugendcoaching, .tabcontent-arbeitsassistenz, .tabcontent-berufsausbildungsassistenz, .tabcontent-jobcoaching, .tabcontent-betriebsservice, .tabcontent-WIBA, .tabcontent-FW, .tabcontent-TUW, .tabcontent-FF, .tabcontent-logo, .tabcontent-musik, .tabcontent-physio, .tabcontent-elem, .tabcontent-allg, .tabcontent-wibe
{
    position:relative;
    border-left: 3px solid var(--primary);
    margin-top: var(--space-s);
    margin-bottom: var(--space-s);
    /*margin-left: var(--space-s);*/
}
.tabheader-Jugendcoaching, .tabcontent-Jugendcoaching,  body.postid-1019 main, body.postid-1019 header, body.postid-1019 footer
{
    --primary: #FFAA00;
}

.tabheader-arbeitsassistenz, .tabcontent-arbeitsassistenz, body.postid-2279 main, body.postid-2279 header, body.postid-2279 footer
{
    --primary: #0099DD;
}

.tabheader-berufsausbildungsassistenz, .tabcontent-berufsausbildungsassistenz, body.postid-1021 main, body.postid-1021 header, body.postid-1021 footer 
{
    --primary: #99CC11;
}

.tabheader-jobcoaching, .tabcontent-jobcoaching, body.postid-1020 main, body.postid-1020, body.postid-1020 footer
{
    --primary: #553399;
}
.tabheader-betriebsservice, .tabcontent-betriebsservice, body.postid-1022 main, body.postid-1022, body.postid-1022 footer
{
    --primary: #006A32;
}
.tabheader-WIBA, .tabcontent-WIBA,body.page-id-591 main, body.postid-1023 main, body.postid-1023, body.postid-1023 footer
{
    --primary: #99CC11;
}

.tabheader-FW, .tabcontent-FW, body.page-id-2218 main, body.page-id-2218 header, body.page-id-2218 footer
{
    --primary: #b88eff;
}


.tabheader-TUW, .tabcontent-TUW, body.page-id-2221 main, body.page-id-2221 header, body.page-id-2221 footer
{
    --primary: #52aaa6;
}

.tabheader-FF, .tabcontent-FF, body.postid-1004 main, body.postid-1004 header, body.postid-1004 footer
{
    --primary: #d01519;
}
.tabheader-logo, .tabcontent-logo, body.postid-1005 main, body.postid-1005 header, body.postid-1005 footer
{
    --primary: #ef7b0f;
}
.tabheader-musik, .tabcontent-musik, body.postid-1006 main, body.postid-1006 header, body.postid-1006 footer
{
    --primary: #0092d0;
}
.tabheader-physio, .tabcontent-physio, body.postid-1007 main, body.postid-1007 header, body.postid-1007 footer
{
    --primary: #669e30;
}
.tabheader-elem, .tabcontent-elem, body.postid-1008 main, body.postid-1008 header, body.postid-1008 footer
{
    --primary: #733062;
}


.x-slider_slide-image
{
    width:100%;
}

.x-tabs_tab
{
    width:16.8%;
    align-items: center;
    text-align: center;
}
.x-tabs_tab span
{
align-self: center;
}

p, .x-accordion_item, .brxe-text-basic, .brxe-text,  span
{
    max-width:80ch;
}
#menu-hauptmenue-1 li
{
    padding-left:15px;
    padding-right:15px;
}

.current-menu-parent, .current-menu-item
{
    border-left: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
}

ul.sub-menu li a, header nav li a
{
    text-decoration:none;
    color: var(--body-color, var(--base-ultra-dark));
}
/*
header nav li a
{
    padding-left: 15px;
    padding-right: 15px;
}
*/

ul.sub-menu li:hover 
{
    outline: 2px solid var(--primary);
}

.brxe-text ul, ul.wp-block-list {
  list-style-position: outside;
  padding-left: 20px; 
}

.brxe-text ul li, ul.wp-block-list li {
  margin-left: 0;
  padding-left: 0;
}

.brxe-text ul li::marker, ul.wp-block-list li::marker {
  font-size: 1em;
  padding-right: 10px;
}


/* Cards */
li.fr-article-card-bravo {
    /* ... andere Stile ... */
    transition: box-shadow 0.5s ease-in-out;  /* Animiert den box-shadow über 0.5 Sekunden */
    box-shadow: 0 0 0 0px var(--shade-medium); 
}

li.fr-article-card-bravo:hover,
li.fr-article-card-bravo:focus,
li.fr-article-card-bravo:focus-within
{
    box-shadow: 0 0 0 4px var(--shade-medium);  
}

li.linkblock-startseite.fr-article-card-bravo:hover,
li.linkblock-startseite.fr-article-card-bravo:focus,
li.linkblock-startseite.fr-article-card-bravo:focus-within
{
    box-shadow: 0 0 0 4px var(--secondary);  
}
/* Ende - Cards */
.button-standort {
    background-color: #f2f2f2;
    border: 2px solid #008bcd;
}

.fr-article-card-bravo__lede
{
    z-index: 899;
}

.brxe-nav-menu .bricks-mobile-menu-wrapper li a
{
    line-height: 2rem;
}

#menu-hauptmenue-2 > li 
{
    margin-bottom: 1rem;
}
#menu-hauptmenue-2 ul.sub-menu > li
{
       margin-bottom: 1rem; 
}

.bricks-mobile-menu li.menu-item-has-children > .brx-submenu-toggle > button
{
    background-color:var(--shade-light-trans-30);
    width:100%;
}
.brx-submenu-toggle  button
{
  /*  text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 4px;*/
}

#menu-hauptmenue-1 > li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children.bricks-menu-item.open > ul
{
    box-shadow: 15px 15px 30px var(--primary-trans-20);
}

.tabheader-wibe , .tabcontent-wibe, body.postid-10662
{
        --primary:#5185b3;
}

label,  input.ff-el-form-control, input.ff-el-form-control::placeholder, .ff-el-input--content *::placeholder, select.ff-el-form-control
{
    color:var(--fluentform-secondary);
    color:black !important;
}


.mitarbeiter-card {
    border: 1px solid #ccc;
    border-radius: 0px;
    max-width: 500px;
    display: flex;
    margin-bottom: 20px;
    padding: 10px;
    flex-direction: row; /* Standardlayout für größere Bildschirme */
    background-color: var(--shade-light-trans-10);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

}

.mitarbeiter-card__image {
    border-radius: 0px;
    margin-right: 15px;
    height: 150px;
    width: auto;
}

.mitarbeiter-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mitarbeiter-card__info p {
    margin-bottom: 0;
}

.mitarbeiter-card__name {
    font-weight: 500;
    font-size: var(--text-l);
}

.mitarbeiter-card__zusatz {
    font-weight: 500;
    font-size: var(--text-m);
}

.mitarbeiter-card__info svg {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

.mitarbeiter-card__telefon,
.mitarbeiter-card__email {
    display: flex;
    align-items: center;
}

.mitarbeiter-card a:hover
{
    color:var(--link-color);
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 550px) {
    .mitarbeiter-card {
        flex-direction: column; /* Ändert das Layout auf Spaltenrichtung */
        align-items: center; /* Zentriert den Inhalt */
    }
    
    .mitarbeiter-card__image {
        margin-right: 0; /* Entfernt den rechten Rand */
        margin-bottom: 10px; /* Fügt einen unteren Rand hinzu */
    }

    .mitarbeiter-card__info {
        align-items: center; /* Zentriert den Info-Teil */
        text-align: center; /* Zentriert den Text */
    }

    .mitarbeiter-card__telefon,
    .mitarbeiter-card__email {
        align-items: flex-start; /* Linksbündig ausrichten */
        text-align: left; /* Text linksbündig ausrichten */
        width: 100%; /* Volle Breite */
      /*  justify-content: center; /* Zentriert den Inhalt horizontal */
    }
}
/******************************/
/* Ausnamhen für Anita Binder */
/******************************/
/* auf Seite https://www.rettet-das-kind-bgld.at/bi-projekte/arbeitsassistenz/  für Oberpullendorf ausblenden*/
body.postid-2279 [kuerzel="BI Oberpullendorf"] .mitarbeiter-card[ma-name="Anita-Binder"] {
	display: none;
}

/* auf Seite https://www.rettet-das-kind-bgld.at/bi-projekte/berufsausbildungsassistenz/  für Mattersburg ausblenden*/
body.postid-1021 [kuerzel="BI Mattersburg"] .mitarbeiter-card[ma-name="Anita-Binder"] {
	display: none;
}
/* auf Seite https://www.rettet-das-kind-bgld.at/berufliche-integrati/bi-oberpullendorf/  für Arbeitsassistenz Erwachsen ausblenden*/
body.postid-1011 [kuerzel="Arbeitsassistenz Erwachsene"] .mitarbeiter-card[ma-name="Anita-Binder"] {
	display: none;
}
/* auf Seite https://www.rettet-das-kind-bgld.at/berufliche-integrati/bi-mattersburg/  für Berufsausbildungsassistenz  ausblenden*/
body.postid-1010 [kuerzel="Berufsausbildungsassistenz"] .mitarbeiter-card[ma-name="Anita-Binder"] {
	display: none;
}
