/*
Theme Name:  Themedd - Child Theme
Theme URI:   https://themedd.com
Description: A child theme for Themedd
Author:      Easy Digital Downloads
Author URI:  https://easydigitaldownloads.com
Template:    themedd
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themedd-child
*/

/**
 * Add your custom CSS styling below.
*/

.page-id-27 .page-id-33 .attachment-thumbnail, .page-id-27 .page-id-33 .wp-post-image {
    height: auto;
    aspect-ratio: 150 / 212; 
}



/* Apply only to mobile screens */
@media (max-width: 890px) {
    .edd-kleinunternehmer-hinweis {
        order: 6; 
        margin-top: -25px; margin-bottom: 20px
    }

}

/* Mega Menü nur 5 spalten */
@media (min-width: 769px) {
    .mega-menu-grid .mega-menu-column {
        width: 20% !important;
    }
}

/* NUR für die Newsletter-Seite (post-2026) */
body.page-id-2026 .entry-content {
    text-align: center;
}

body.page-id-2026 .entry-content ul {
    list-style-type: disc !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}

body.page-id-2026 .entry-content ul li {
    margin-bottom: 0.5em;
    display: list-item;
}

body.page-id-2026 .entry-content p {
    margin-bottom: 1.5em;
}


.edd_purchase_receipt_product_notes {display: none;  }

.edd-blocks__row-label {margin-bottom: 15px;  }



#edd_purchase_form > div.edd-blocks__checkout-user > div.edd-blocks__checkout-forms > button.edd-button-secondary.edd-blocks__checkout-register.link {background-color: #387d26; color: white;   border-radius: 12px  }

#edd_purchase_form > div.edd-blocks__checkout-user > div.edd-blocks__checkout-forms > button.edd-button-secondary.edd-blocks__checkout-login.link {background-color: black; color: white;   border-radius: 12px  }

.page-id-10 .edd-kleinunternehmer-hinweis {display: none; }


/* ausblenden edd variable prices für sicherheit */ #edd_variable_pricing_switcher-fieldset {display: none }
  
/* kleinunternehmertext */ 
.edd-kleinunternehmer-hinweis {font-size: 11px; }


/* Anpassung Mediathekdarstellung */ span.setting:nth-child(3), span.setting:nth-child(4), span.setting:nth-child(5), span.setting:nth-child(6), .attachments-browser > div:nth-child(1)   {display: none; }

/* Anpassung FAQ */ .page-id-2022 #main { justify-content: center; display: flex; }
.page-id-2022 .wp-block-heading {  text-align: center; margin-top: -10px; margin-bottom: 45px; }
.page-id-2022 #post-2022 {  max-width: 768px; }
.page-id-2022 .wp-block-uagb-faq-child{  margin-bottom: 20px !important; padding: 10px; background-color: #F4F4F4}


/* Anpassung Material teilen seite für nicht-autoren */
.page-id-2878 .wp-block-heading { display: flex; justify-content: center }

.page-id-2878 .wp-block-list {  max-width: 768px; }

.page-id-2878 div.wp-block-uagb-container:nth-child(3) > div:nth-child(1) > p:nth-child(1) {  max-width: 768px; margin-bottom: -10px; }

.page-id-2878 .wp-block-button a:hover {
  color: black; }

#register-box { border: 2px solid #f4f4f4;
  background: #fcfcfc;
  padding: 2rem; }

.page-id-2699 .fes-fields input {
border-radius: 6px !important;
box-shadow: 0 0 4px rgba(0,0,0,.06); background-color: white !important;
}
.page-id-2699 .entry-content ul {
list-style: none;
}
.page-id-2699 #register-box > form > div > fieldset > div.fes-submit > input.edd-submit.blue.button {
width: 150px;
height: 50px;
  font-size: 18px;
}
.page-id-2699 div.fes-el:nth-child(7) {
display: none;
}


/* Bild selbst: runde Ecken + zentriert */
.page-id-2020 .entry-content figure.wp-block-image img.wp-image-2828 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px !important;
}

/* Abstand unten: drittens NUR wenn die Figure wirklich das 3. Figure ist */
.page-id-2020 .wp-image-2828 {
  margin-bottom: 25px !important;
}

/* Falls dein Theme die Figure hart als Flex o.ä. setzt, zentriere sicherheitshalber */
.page-id-2020 .entry-content figure.wp-block-image {
  justify-content: center;
}


/* Gilt nur für Seite mit ID 2020 */
.page-id-2020 #content {
    display: flex;
    justify-content: center; /* Zentriert den Inhalt */
}

.page-id-2020 .content-wrapper {
    max-width: 1100px; /* gleiche Breite wie Blogbeiträge (anpassen falls nötig) */
    width: 100%;
    margin: 0 auto;
}



.button1 {
        display: inline-block;
        margin-bottom: 1.5em;
        padding: 0.5em 1em;
        background: #387d26;
        color: #fff !important;
        text-decoration: none;
        border-radius: 12px;
        font-weight: bold;
    }
    .button1:hover {
        background: #1B771B;  }

.button2 {
        display: inline-block;
        margin-bottom: 1.5em;
        padding: 0.5em 1em;
        background: #545353;
        color: #fff !important;
        text-decoration: none;
        border-radius: 12px;
        font-weight: bold;
    }
    .button2:hover {
        background: black;  }


.button3 {
        display: inline-block;
        margin-bottom: 1.5em;
        padding: 0.5em 1em;
        background: #545353;
        color: #fff !important;
        text-decoration: none;
        border-radius: 12px;
        font-weight: bold;
    }
    .button3:hover {
        background: black;  }



.fes-delete {
        display: inline-block;
        margin-top: 1em;
        padding: 0.5em 1em;
        background: red;
        color: #fff !important;
        text-decoration: none;
        border-radius: 12px ;
        font-weight: bold;
  max-width: 800px;
    }

#edd-purchase-button {
        display: inline-block;
        margin-top: 1em;
        padding: 0.5em 1em;
        background: #387d26;
        color: #fff !important;
        text-decoration: none;
        border-radius: 12px;
        font-weight: bold;
  max-width: 800px;
    }
#edd-purchase-button-wrap {
text-align: center;
    }

/* ---- Blog ---- */
.author-info  { display: none; }
.entry-meta  { display: none; }



/* Spezifisch für Tabellen 6, 10, 13, 16: Rücksetzen + Hervorhebung */
figure.wp-block-table:nth-child(7),
figure.wp-block-table:nth-child(9),
figure.wp-block-table:nth-child(14),
figure.wp-block-table:nth-child(17), figure.wp-block-table:nth-child(11) {
    background: #fff;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15), 0 4px 12px -2px rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    overflow: hidden;
    margin: 1em 0;
}

/* Tabelleninneres: normales Collapse-Verhalten */
figure.wp-block-table:nth-child(7) > table,
figure.wp-block-table:nth-child(9) > table,
figure.wp-block-table:nth-child(14) > table,
figure.wp-block-table:nth-child(17) > table,
figure.wp-block-table:nth-child(11) > table  {
    border-collapse: collapse;
}


/* Zellen dieser Tabellen: sichtbare feine Rahmen und angepasstes Padding */
figure.wp-block-table:nth-child(7) th,
figure.wp-block-table:nth-child(7) td,
figure.wp-block-table:nth-child(9) th,
figure.wp-block-table:nth-child(9) td,
figure.wp-block-table:nth-child(14) th,
figure.wp-block-table:nth-child(14) td,
figure.wp-block-table:nth-child(17) th,
figure.wp-block-table:nth-child(17) td {
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    background: #fff;
}

body.postid-2710 .page-header { 
  align-content: center;
  text-align: center;
  display: flex !important; 
  justify-content: center !important;
}

body.postid-2710 h1.post-title {
color: #387d26; max-width: 768px; margin-bottom: -20px; }

body.postid-2710 .attachment-post-thumbnail { margin-bottom: -50px; }


body.postid-2858 .page-header { 
  align-content: center;
  text-align: center;
  display: flex !important; 
  justify-content: center !important;
}

body.postid-2858 h1.post-title {
color: #387d26; max-width: 768px; }



/* ---- Login Seite ---- */

.auth-wrap { max-width:420px; margin:0 auto; }
.auth-box { display:none; }
.auth-box.on { display:block; }

.switch { text-align:center; margin-top:1rem; font-size:0.95rem; }
.switch a { color:#2d7e2d; text-decoration:underline; }

/* kleine Verfeinerungen für Inputs & Buttons */
.auth-box input { border-radius:6px; box-shadow:0 0 4px rgba(0,0,0,.06); }
.auth-box .edd-submit { background:#2d7e2d; border-color:#2d7e2d; }


/* ---- Custom No‑Downloads Message ---- */
.ct-no-downloads-message {
  max-width: 600px;
  margin: 2em auto;
  padding: 1.5em;
  background-color: #f9f9f9;
  border: 1px solid #387d26;
  margin-left: 10px !important;
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: -50px !important;
}
@media (max-width: 768px) {
  
  .ct-no-downloads-message {
  margin-top: 10px !important;
}
}

.ct-no-downloads-message a {
  color: #0073aa;
  text-decoration: underline; font-weight: bold;
}

.ct-no-downloads-message a:hover {
  color: #005177; 
}
 
.tags-links {
display: none !important;  
}


/* anpassung button material teilen auf profilseite */ .ct-upload-button {
        display: inline-block;
        margin-bottom: 1.5em;
        padding: 0.5em 1em;
        background: #387d26;
        color: #fff !important;
        text-decoration: none;
        border-radius: 12px;
        font-weight: bold;
    }
    .ct-upload-button:hover {
        background: #1B771B;  }


/* anpassung button unsichtbar material teilen */
.page-id-34 div.wp-block-button:nth-child(1) {
min-width: 160px
  }


/* dark mode verhindern*/

@media (prefers-color-scheme: dark) {
  /* Grundfarben zurück auf Hellmodus */
  html, body {
    background-color: #ffffff !important;
    color:            #000000 !important;
  }


.page-id-2020 .page-title {
display: none;
}

.page-id-2020 div.wp-block-uagb-advanced-heading:nth-child(1) {
text-align: center; 
}


.page-id-2020 .wp-block-uagb-advanced-heading {
margin-bottom: 25px; 
}



/* rote Umrandung beim Fehler */
.steuernummer-error {
  border: 2px solid #e74c3c !important;
}
/* Fehlermeldung unter dem Feld */
.steuernummer-error-msg {
  color: #e74c3c;
  font-size: 0.9em;
  margin-top: 0.25em;
  display: block;
}

.adresse-error {
  border: 2px solid #e74c3c !important;
}
.adresse-error-msg {
  color: #e74c3c;
  font-size: 0.9em;
  margin-top: 0.25em;
  display: block;
}

.plzstadt-error {
  border: 2px solid #e74c3c !important;
}
.plzstadt-error-msg {
  color: #e74c3c;
  font-size: 0.9em;
  margin-top: 0.25em;
  display: block;
}





/* Blog-Seite */
@media (min-width: 782px) {
  /* Elterliches Columns-Element im Query-Loop ansteuern */
  .page-id-2024 .wp-block-post-template .wp-block-columns.alignwide {
    gap: clamp(1rem, 2vw, 2rem); /* Abstand beibehalten (optional) */
  }

  /* Erste Spalte (Featured Image) */
  .page-id-2024 .wp-block-post-template .wp-block-columns.alignwide
  > .wp-block-column:first-child {
    flex: 0 0 33.333% !important;
    max-width: 33.333%;
  }

  /* Zweite Spalte (Titel, Meta, Auszug …) */
 .page-id-2024 .wp-block-post-template .wp-block-columns.alignwide
  > .wp-block-column:nth-child(2) {
    flex: 0 0 66.666% !important;
    max-width: 66.666%;
  }
}

.page-id-2024 .page-title  {
margin-bottom: 25px !important; 
  } 
.page-id-2024 .page-title  {
color: #387d26 
  }
.page-id-2024 .wp-block-columns  {
margin-bottom: 80px;
  }

  .page-id-2024 .wp-block-post-template           
    .wp-block-post-title a:hover,
  .wp-block-post-template
    .wp-block-post-title a:focus-visible {  
    color: #196ebe !important;        
  }
}

/* Query-Loop: Bullets/Marker ausblenden */
.page-id-2024 ul.wp-block-post-template,
ul.wp-block-post-template li {
  list-style: none;          /* Standard-Punkt weg */
  margin: 0;                 /* Einrückung ebenfalls entfernen */
  padding: 0;
}

/* Sicherheitshalber noch das moderne ::marker killen */
.page-id-2024 ul.wp-block-post-template li::marker {
  content: none;
}


/* Für Avatar löschen im Profil */
.fes-hide {
  display: block;
}


li.wp-block-post

.page-id-34 h1.wp-block-heading {
  margin-top: 25px;
}
/* volle Fensterbreite für genau diesen Container */
.wp-block-uagb-container.uagb-block-365470e5{
    /* verhindert, dass Theme-max-width greift */
    width: 100vw;          /* so breit wie das Viewport-Fenster */
    max-width: 100vw;

    /* zentriert den Block, indem wir ihn links/rechts
       genau um die Hälfte des Überschusses verschieben */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    /* optional: verhindert horizontales Scrollen,
       falls innerer Inhalt überläuft */
    box-sizing: border-box;
}

/* falls dein Body noch Standard-Margins hat, abschalten */
body{
    overflow-x: hidden; /* verhindert Scroll-Bar bei 100vw-Trick */
}


/* Breakpoint: alles unter 800 px */
@media (max-width: 800px) {

  /* Galerie-Wrapper darf umbrechen (macht WP oft schon von allein) */
  figure.wp-block-gallery {
    flex-wrap: wrap;
  }

  /* Bild 1 → eine ganze Zeile belegen = Zeilenumbruch */
  figure.wp-block-gallery > figure.wp-block-image:nth-child(1) {
    flex: 0 0 100%;   /* Basis 100 %, kein Schrumpfen/Wachsen */
    max-width: 100%;  /* Safari-Fix */
  }
}


/* Button bei material teilen upload fix */  
/* Media Frame Toolbar nach oben verschieben */

.media-frame-toolbar  {
    bottom: 150px !important;
    background-color: #ffffff !important;
    
}
.media-frame-content {
    bottom: 100px !important;
   
}

.media-button{
height: 50px;
  margin-top: 40px !important;
  background-color: #387d26 !important; font-size: 18px !important; border-radius: 12px !important;
}


/* Material bearbeiten in den Einstellungen - richtige Darstellung */ .page-id-20 #fes-submission-form-title {
  float: none;
}
.page-id-20 div.file_upload:nth-child(2) {
display: none;
}
.page-id-20 .fes-variations-list-custom_thumbnail > tr:nth-child(2) {
display: flex; max-width:90% 
}
.page-id-20 table.custom_thumbnail {
border: none;
}
.page-id-20 .fes-variations-list-custom_thumbnail > tr:nth-child(2) > td:nth-child(2) > button:nth-child(1) {
padding: 6px;
}
.page-id-20 div.html:nth-child(5){
display: none;
}

.material-properties-wrapper {
margin-bottom: 30px;
} 

/* Order-History Grid */
.edd-blocks__orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  margin: 0;
  padding: 0;
}

  .pv-lg-4 {
    padding-top: 2.5rem;
    padding-bottom: 0.5rem;
  }

/* Jede Order-Box */
.edd-blocks__orders-grid > * {
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  background-color: #fff;
  list-style: none;
}

/* Optional: responsive Anpassung kleiner Screens */
@media (max-width: 600px) {
  .edd-blocks__orders-grid {
    grid-template-columns: 1fr;
  }
}


/* Menü Anpassung Profil*/
.fes-vendor-menu ul,
.fes-vendor-menu ul li {
  display: block !important;
  float: none !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Links innerhalb des Menüs als Blocks mit Rahmen */
.fes-vendor-menu ul li a {
  display: block;
  padding: .75rem 1rem;
  color: #696969;                 /* Standard‑Farbe */
  border-bottom: 1px solid #eaeaea;
  text-decoration: none;
}

/* Letztes Item ohne untere Linie */
.fes-vendor-menu ul li:last-child a {
  border-bottom: none;
}



/* Aktives Element (li.active) */
.fes-vendor-menu ul li.active a {
  color: #448FD5 !important;      /* blau */
  font-weight: 600;
  background: #fff;
}

/* ===== Responsives nur für kleine Bildschirme ===== */
@media (max-width: 991px) {
  .fes-vendor-menu {
    /* volle Breite, Box-Modus */
    width: 100%;
    overflow: hidden;  
  }
  .fes-vendor-menu {
  margin-bottom: 40px;;          /* Abstand unterhalb des Menüs */
  border: 1px solid #f4f4f4;      /* feine Umrandung */
  border-radius: 4px;             /* abgerundete Ecken */
  background: #fcfcfc;            /* helles Kärtchen */
}

  .page-id-20 #main .dashicons  {
vertical-align: middle; margin-right: 5px;  
}
}




#fes-vendor-store-link  {
border-radius: 12px;
  } 

.fes-comments-table-wrap {
overflow-x: auto
  } 

/* Für alle Tabellen‑Wrapper, die horizontal scrollen sollen */
#edd_commissioned_products,
#edd_user_commissions_overview,
#edd_user_commissions_unpaid, #edd_user_commissions_paid, 
#edd_user_commissions_revoked, #fes-vendor-dashboard {
  overflow-x: auto;      
}



#menu-toggle-wrap{
display: none;
  } 

@media (max-width: 768px) {
  /* Gesamter Header-Container */
  .site-header {
    display: flex;
    justify-content: center !important; 
  }
  }

@media (max-width: 768px) {
  /* Gesamter Header-Container */
  .site-header-wrap {
    display: flex;
    align-items: left ;
    justify-content: flex-start;
    margin: 0;
    overflow-x: hidden;  padding-left: 0;
 
  } 

  .navCart-quantityText {
display:none;
  }
#site-header-secondary-menu > a {
margin-left: 7px;
  } 
  /* --- Erste Zeile: Logo und Icons --- */
  .site-branding {
    order: 1;
 margin-left: -280px;
    margin-right: -15px;
    
    
  }
#masthead > div > div.site-header-wrap.between-xs > div.site-branding.center-xs.start-sm > a > img {
width: 200px !important; min-width: 200px !important;
  }
  
  
  /* Sekundärer Menücontainer (Icons ohne Suchformular) */
  #site-header-secondary-menu {
    order: 1;
  }

.menu-item-742 {
margin-right: -30px !important;
  }
  
#menu-item-2889 > a     {
margin-right: -30px !important;
  }
  

  
  /* --- Zweite Zeile: Suchformular und Menü-Toggle --- */
  /* Suchformular – links in der zweiten Zeile */
  #site-header-secondary-menu > .search-form {
    position: absolute;
    left: 20px;
    top: 100px; 
    margin: 0;
     max-width: 300px !important;
  }
  /* Mega Menu Toggle – rechts in der zweiten Zeile */
  #mega-menu-wrap-primary {
  position: absolute;
  left: 335px;
  top: 100px;
  }
  /* Innerhalb des Mega Menu Wrappers: 
     Blende die beiden überflüssigen Blöcke aus */
  #mega-menu-wrap-primary .mega-toggle-blocks-left,
  #mega-menu-wrap-primary .mega-toggle-blocks-center {
    display: none;
  }
  #mega-menu-wrap-primary .mega-toggle-blocks-right {
    display: flex-start !important;
  }
  #mega-menu-wrap-primary {
background-color: transparent !important; 
  }
  
  
  /* Den Abstand zwischen erster und zweiter Zeile vergrößern:
     Wir reservieren mehr Platz im unteren Padding des Headers */
  .site-header {
    padding-bottom: 40px;  /* Erhöht den Abstand zwischen den Zeilen */
    overflow-x: hidden;
       background: linear-gradient(
    to right,
    #fff 70%, 
    #93c586 100%
  );
  }
  .site-header::before {
    display: none;
}}






.navCart {  flex-direction: column;
  align-items: center; font-size: 12px; margin-top: 5px; margin-bottom: -5px; 
}
 .navCart :hover{  opacity: 1 !important; 
}
.navCart svg{  opacity: 0.7 !important; 
}
a.navCart:nth-child(2) > span:nth-child(2)  {  margin-top: -3px;
  margin-bottom: 2px;
}

header#masthead {
    position: relative;
    z-index: 1000; /* Muss höher sein als der z-index des Inhalts (z.B. 3) */
}

.site-header-menu .dashicons-admin-users{  display: flex; flex-direction: column;
  align-items: center !important;
}
.dashicons-heart{  display: flex; flex-direction: column;
  align-items: center !important;
}
#menu-item-2889, #menu-item-742 > a:nth-child(1) > span:nth-child(2) {  font-size: 12px;
}
#menu-item-2888, #menu-item-1389 > a:nth-child(1) > span:nth-child(2) {  font-size: 12px;
}
#menu-item-2889, #menu-item-742{ margin-top: 5px; margin-bottom: -5px;
}
#menu-item-2888, #menu-item-1389{ margin-top: 5px; margin-bottom: -5px; margin-right: -8px; margin-left: 8px;
}

.verified-badge-inline {
    color: #0073aa; 
}
.single-download .verified-badge {
font-size: 18px; margin-left: 3px;
}


.page-id-21 div.widget:nth-child(2) {
margin-bottom: 50px;}


.has-fixed-layout {
border: none;
}
div.taxonomy:nth-child(2) , div.taxonomy:nth-child(3), div.taxonomy:nth-child(4), div.taxonomy:nth-child(5)  {
margin-bottom: 60px !important;}
#fes-submit {
min-width: 90%; border-radius: 12px; }
.fes-submit { justify-content: center; display: flex;  }

#post-34 > div > form > div > fieldset > div.material-information-wrapper > div.fes-el.multiple_pricing > div.fes-fields.multiple.fes-variations-list-multiple > div  {
border: none; max-width: 10px;
}


.material-properties-wrapper {
  background-color: #dfefdb; /* Beispielhintergrund */
  border: 2px solid #000; /* Beispielrahmen */
  padding: 20px;
  border-radius: 8px;

}
.upload-section-wrapper {
  background-color: #dfefdb;  /* Beispielhintergrund */
  border: 2px solid #000;  /* Beispielrahmen */
  padding: 20px;
  border-radius: 8px;  margin-bottom: 25px; 
}
.material-information-wrapper {
  background-color: #dfefdb; /* Beispiel: hellgrün */
  border: 2px solid #000;
  padding: 20px;
  border-radius: 8px;  margin-bottom: 25px; 
}

.page-id-34 #file_1 {
background-color: #f8f8f8 !important;color: black !important;
}

div.file_upload:nth-child(2) {
max-width: 800px; 
}

.fes-variations-list-custom_thumbnail > tr:nth-child(2) > td:nth-child(2) {
max-width: 10px 
}

.fes-variations-list-custom_thumbnail > tr:nth-child(2) > td:nth-child(1) > div:nth-child(2) > button:nth-child(1) {
width: 150px
}

.fes-variations-list-file_1 > tr:nth-child(2) > td:nth-child(1) > div:nth-child(2) > button:nth-child(1) {
width: 150px
}

table.file_1 > tfoot:nth-child(3) > tr:nth-child(1) > th:nth-child(1) {
border: none; background: none; text-align: right; padding: 20px;  
}
div.file_upload:nth-child(4) {
max-width: 800px; 
}
.fes-variations-list-file_1 > tr:nth-child(2) > td:nth-child(2)  {
max-width: 10px 
}

.page-id-34 .fes-el {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Abstand zwischen den Feldern */
}
.fes-el:nth-child(14) {
  display: block; 
}
div.fes-el:nth-child(15) {
  display: block; 
}
div.fes-el:nth-child(16){
  display: block; 
}
div.fes-el:nth-child(17){
  display: block; 
}
div.fes-el:nth-child(18){
  display: block; 
}
.fes-label {
  flex: 0 0 20%; /* Label nimmt 30% der Breite ein – anpassen je nach Bedarf */
  margin-right: 10px;
}

.fes-fields {
  flex: 1; /* Eingabefeld nimmt den restlichen Platz ein */

}
.fes-fields input {
  border-radius: 12px !important; 
}

.site-info {display: none}


/* Macht das Raster der Tabelle unsichtbar und vergrößert die Felder */
footer .wp-block-table {
    border-collapse: collapse; /* Entfernt die doppelten Linien zwischen den Zellen */
}

footer .wp-block-table th,
footer .wp-block-table td {
    border: none; /* Entfernt die Rahmenlinien der Zellen */
    padding: 20px; /* Vergrößert die Felder und fügt Abstand zwischen den Inhalten hinzu */
}
#post_content {
  border-radius: 12px
}
#edd_product_notes{
  border-radius: 12px; 
}

.footer-container {
    display: flex;
  overflow-x: none;
}


div.col-xs-12:nth-child(1) {
    flex: 0 0 30%; /* Breite von Footer 1 */
    box-sizing: border-box;
  max-width: 300px;
  min-width: 100px;
  padding: 0;
  margin-top: 20px;
}

div.col-xs-12:nth-child(2) {
    flex: 0 0 65%; 
    box-sizing: border-box;
  padding: 0px;
    margin-top: 20px;
  max-width: 800px;
  min-width: 350px;
}
/* .wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
 white-space: nowrap;
}*/
.uag-image-1650 {
margin-bottom: 20px;
}

.wp-block-table {
margin-bottom: -50px;
}
.wp-block-social-links  {
margin-top: -50px !important;
}

.is-vertical {
max-width: 250px;}

@media (max-width: 767px) { .wp-block-table {
margin-bottom: 0px;
} 
div.col-xs-12:nth-child(1) {
display: flex !important; flex-direction: row !important;  flex: 0 0 100% !important; max-width: 900px;
}
  div.col-xs-12:nth-child(2) {
 flex: 0 0 100% !important; 
}
.wp-block-social-links {
margin-bottom: 0px;
  margin-top: 10px !important;
  margin-left: 15px !important;
}
} 

@media (max-width: 700px) { #block-36 {
text-align: center; font-size: 10px !important; margin-top: 10px;
} 
.wp-block-table {
width: 100% !important; 
}
.wp-block-table a {
 font-size: 13px !important;
}
} 


/* Der Link wird zum flex Container, wobei wir unten Platz für den Titel reservieren */
.edd-rvi-item a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Zentriert den Inhalt vertikal im Bereich oberhalb des reservierten Platzes */
  align-items: center;     /* Zentriert horizontal */
  height: 180px;           /* Gesamthöhe */
  width: 100px;            /* Feste Breite */
  overflow: hidden;
  padding-bottom: 50px;    /* Platz für den Titel */
}

/* Das Bild wird maximal in den verfügbaren Raum (180px - 20px) hineingepasst */
.edd-rvi-item a img {
  max-width: 100px;
  max-height: 160px;       /* 180px minus reservierte 20px */
  object-fit: contain;     /* Skaliert das Bild, ohne es zu beschneiden */
}

/* Der Titel wird unten links fixiert */
.download-title-rvi {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 16px;
  color: black;
  background: rgba(255, 255, 255, 0.8); /* optional: Hintergrund für bessere Lesbarkeit */
  padding: 0 5px;
  box-sizing: border-box;
  margin-top: 10px;
}




.download-description-box{
margin-right: 50px;
}

  .single-download .edd-reviews-average-rating-top {
margin-bottom: 20px;
  }


.single-download .edd_purchase_submit_wrapper {border-radius: 12px;
  width: 140px;
  height: 50px; font-size: 1rem; padding: 0; align-content: center;
}
/* Container für das Hauptbild */
.single-download .slide-inner {
  display: flex;
  align-items: center;    /* vertikal zentrieren */
  justify-content: center; /* horizontal zentrieren */
  height: 420px;         /* fixe oder min. Höhe angeben */
  overflow: hidden;      border: 2px solid #ddd;
  background-color: #f9f9f9;
  padding: 0;  
}

/* Optional: Bildeinschränkung */
.single-download .slide-inner img {
  max-width: 100%;
  /* sorgt dafür, dass das Bild nicht 'rauswächst' */
  height: auto;
  width: auto;
}

.single-download .pdf-preview-main-slider .slide img {
border: none !important;
}

.single-download .pdf-preview-thumbnail-slider 
.thumbnail-slide {
  /* Flexbox */
  display: flex !important;
  align-items: center;   /* vertikal zentrieren */
  justify-content: center; /* horizontal zentrieren */

  /* feste Höhe, damit Zentrierung funktioniert */
  height: 100px !important;  
  overflow: hidden; /* optional, um Überlauf zu verbergen */
}

.single-download #toggle-review-form {
border-radius: 12px !important;   background-color: #000 !important; 
}

.single-download #edd-reviews-respond {
border-radius: 12px;}


.single-download #edd-reviews-review-form-submit, #edd-reviews-reply-form-submit {
color: white !important; border-radius: 12px; max-width: 200px; }
#edd-reviews-review-form-submit, #edd-reviews-reply-form-submit {
  background-color: #387d26; 
}

.single-download .edd-wl-button {
  padding: 0px;
  margin-bottom: 10px;
}
.single-download .edd_price {
width: 100%;
}

.single-download .download-title {
margin-bottom: 15px
}

.single-download .download-taxonomies {
border-style: solid; padding: 10px;border-radius: 12px; border-width: thin; 
}

.single-download .avatar {
height: 42px;
  width: 42px;
}

.single-download .store-name-link {
font-size: 18px; font-weight: 1;
}
.single-download .edd_price {
white-space: nowrap;
}
.single-download .download-date {
margin-bottom: -15px !important;
}
.single-download .download-info-under-slideshow
{
font-size: 16px;
}




@media (max-width: 1070px) {
  /* Hauptcontainer in einspaltiges Flex-Layout umwandeln */
  .single-download .download-description-box {
margin-right: 0px !important;
  } }

@media (max-width: 890px) {
  /* Hauptcontainer in einspaltiges Flex-Layout umwandeln */
  .single-download .single-download-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -50px; !important
  }








.single-download button.edd-add-to-cart {
  width: 400px !important;
  margin-left: -130px;
}
  /* Die drei Spalten auflösen, damit ihre Kinder direkt im übergeordneten Container landen */
  .single-download .download-left,
  .single-download .download-middle,
  .single-download .download-right {
    display: contents;
  }
  
  /* Den #secondary-Wrapper auflösen, sodass dessen Kinder (Widget-Inhalte) direkt angeordnet werden */
  .single-download #secondary {
    display: contents !important;
  }
  .widget_edd_product_details{
    display: contents !important;
  }
  
  /* Reihenfolge der Elemente festlegen und volle Breite sichern */
  .edd-wl-button {
    order: 0;
    width: 100%;     display: flex;
    justify-content: flex-end;
  }
  
  .single-download .download-title {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .single-download .author-top-row {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .single-download .edd-reviews-average-rating-top {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .single-download .pdf-preview-slider-wrapper {
    order: 4;
    width: 100%;
  }
  
  .edd_price {
    order: 5;
    width: 100%;
    display: flex !important;
    justify-content: center; margin-top: 25px;
  }
  
  .edd_download_purchase_form {
    order: 6;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 35px !important;
  }
  
  .single-download .download-description-box {
    order: 7;
    width: 100%; 
    margin: 0;
  }
  
  .single-download .quellenverzeichnis-box {
    order: 8;
    width: 100%;
  }
  
  .single-download .download-info-under-slideshow {
    order: 9;
    width: 100%;
  }
}



  
  
  


#post-27 > div > div:nth-child(2) > div > div > div > div.wp-block-uagb-container.uagb-layout-flex.uagb-block-7fc43b7f > div > form  {
   max-width: 350px !important;   z-index: 1
}
#post-27 > div > div:nth-child(2) > div > div > div > div.wp-block-uagb-container.uagb-layout-flex.uagb-block-7fc43b7f > div > form > button {
  z-index: 0; align-content: center; background: none;
}
/*
Button-styling Startseite
 */.page-id-27 div.wp-block-button:nth-child(1) {
    font-size: 12px; 
}
.page-id-27 div.wp-block-button:nth-child(1) a:hover {
color: white;  font-weight: bold; 
}
.page-id-27 .has-black-background-color {
    font-size: 12px; 
} 
.page-id-27 div.wp-block-button:nth-child(2) {
    font-size: 12px; 
}
.page-id-27 div.wp-block-button:nth-child(2)  a:hover {
color: black;  font-weight: bold; 
}
.page-id-27 p.has-text-align-center {
   margin-bottom: 50px;
}
.page-id-27 div.wp-block-button:nth-child(2) > a:nth-child(1) {
    min-width: 160px
}
.page-id-27 div.wp-block-button:nth-child(1) > a:nth-child(1) {
    min-width: 160px
}
.page-id-27 .wp-block-media-text__content {
  position: relative;
  top: -50px;
}
.page-id-27 .wp-block-uagb-container.uagb-block-426c6005 {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -80px; z-index: 2

}
.page-id-27 .wp-block-media-text__media {
z-index: 3
}
.page-id-27 .wp-block-uagb-advanced-heading {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap; /* Falls mehrere Zeilen vorhanden sein sollen */
  align-items: center; /* Für einzelne Zeile */
  /* align-content: center;  Nur sinnvoll, wenn mehrere Zeilen vorhanden sind */
  margin-left: -200px;
  justify-content: right
}

@media (max-width: 1140px) { .page-id-27 .wp-block-uagb-container.uagb-block-426c6005 {
  margin-top: 10px;
} .wp-block-media-text__content {
  margin-top: 60px;
} 
}
@media (max-width: 770px) { .page-id-27 .wp-block-uagb-advanced-heading {
justify-content: center; margin-left: 0; margin-top: 20px;
} .page-id-27 h1.wp-block-heading {font-size: 26px;
} p.has-text-align-center {font-size: 18px !important;
}  .page-id-27 div.wp-block-button:nth-child(1) > a:nth-child(1) {
  min-width: 140px;
} .page-id-27 div.wp-block-button:nth-child(2) > a:nth-child(1) {
  min-width: 140px;
}}
@media (max-width: 600px) { .wp-image-1912 {
width: 80% !important; margin-bottom: 20px;
}.wp-block-media-text__media
{
justify-content: center; display: flex;
}
}



/*
Nunito als Schiftart
   */  body {
    font-family: 'Nunito', sans-serif;
}
h1, h2, h3, h4, h5, h6, button, input, textarea {
    font-family: 'Nunito', sans-serif;
}


/*
 * 1) Basis-Styles für .site-header
 */
.site-header {
  position: relative;
  width: 100%;
  /* Hintergrund-Farbe, falls der Verlauf nicht geladen wird */
  background-color: #fff;

  /* Damit die 60% Höhe des Pseudo-Elements nicht 0 wird */
  min-height: 120px;
  margin-top: -10px; /* Du hattest das erwähnt, ggf. anpassen/entfernen */
}

/*************************************************
 * 2) Farbverlauf (rechts, 60% der Breite, 60% Höhe)
 *    via Pseudo-Element ::before
 *************************************************/
.site-header::before {
  content: "";
  position: absolute;
  
  /* Oben, am rechten Rand */
  top: 0;
  right: 0;

  /* 60% so breit wie der Header, 60% so hoch */
  width: 60%;
  height: 60%;

  /* Verlauf Weiß->Grün (ab ~40% z. B. mehr Grün),
     passe es an deine Wünsche an */
  background: linear-gradient(
    to right,
    #fff 40%, 
    #93c586 100%
  );

  /* Hinter dem Header-Inhalt */
  z-index: 0;
}

/*************************************************
 * 3) Schmale grüne Linie unten (max. 1200px breit)
 *    via Pseudo-Element ::after
 *************************************************/
.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;

  /* Zentriere horizontal: 
     - left: 50% => in der Bildschirmmitte,
     - transform: translateX(-50%) => Mitte des Elements auf 50% */
  left: 50%;
  transform: translateX(-50%);

  /* 1200px max. Breite, 
     bei schmalen Viewports max. 100% */
  width: 1200px;
  max-width: 100%;

  /* Höhe der Linie + Farbe */
  height: 1px;
  background-color: #387d26;

  /* über dem Farbverlauf */
  z-index: 1;
}

/*************************************************
 * 4) Header-Inhalt klickbar
 *************************************************/
.site-header-main {
  position: relative;
  z-index: 2; /* liegt über dem Gradient (z-index:0) */
}

/*************************************************
 * 5) Beispielhafte Media Query
 *************************************************/
@media (max-width: 768px) {
  /* Evtl. den Verlauf auf ~100% Breite, 30% Höhe 
     bei schmalem Screen */
  .site-header::before {
    width: 100%;
    height: 30%;
    background: linear-gradient(
      to right,
      #fff 30%,
      #93c586 100%
    );
  }
  /* Die Linie kann so bleiben 
     oder z. B. .site-header::after { width: 90%; } */
}


/* Anpassung Größe Logo*/ #masthead > div > div.site-header-wrap.between-xs > div.site-branding.center-xs.start-sm > a > img {
  width: 230px ; min-width: 220px;
}

.site-title {
  display: none;
}
.site-description {
  display: none;
}
/* Anpassung obere Menüleiste*/
#site-header-secondary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.site-header-wrap {

   flex-wrap: nowrap; /* Verhindert den Umbruch */
}
.search-form {
  order: 2;
    width: 450px !important; 
  position: relative;
  margin-right: 160px;
  position: relative;
}

@media (max-width: 1150px){ .search-form {
  margin-right: 100px;
} }
@media (max-width: 1090px){ .search-form {
  margin-right: 60px;
} }
@media (max-width: 1050px){ .search-form {
  margin-right: 30px;
} }
@media (max-width: 980px){ .search-form {
 max-width: 400px !important;
} }
@media (max-width: 980px){ .search-form {
 max-width: 400px !important;
} }
  @media (max-width: 930px){ .search-form {
 max-width: 350px !important;
} }
    @media (max-width: 890px){ .search-form {
 max-width: 300px !important;
} }
    @media (max-width: 830px){ .search-form {
 max-width: 250px !important;
} }


.search-form input[type="search"] {
  width: 100%;
  padding: 8px 12px; /* Dezenter Innenabstand */
  border: 2px solid; /* Leichte Umrandung */ 
  border-radius: 12px; 
  font-size: 16px;
  color: black;
}

.search-form input[type="search"]::placeholder {
  color: #999; /* Dezenter Platzhaltertext */
  font-style: normal;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: #387d26;
}

.search-form button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  padding: 0;
  color: #387d26;
  font-size: 18px;
}

.site-header-menu .search-form .search-field, .site-header-menu .search-form .search-submit {
  background: #fff;}

.secondary-navigation {
  order: 3;
}

.navCart {
  order: 4;
  display: flex;
  align-items: center;
}

.navCart-icon {
  order: 1;
}

.navCart-cartQuantityAndTotal {
  order: 2;
  margin-left: 5px; white-space: nowrap;
}



@media screen and (min-width: 768px) {
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.align-right {
    margin-left: auto !important;
    float: right !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
}

.mega-sub-menu {
overflow: hidden !important;
  max-width: 100% !important;
} 


/*this keeps the search and/or cart icons inline*/

.pa-split-menu .et_pb_menu__wrap,
.pa-split-menu .et_pb_menu__wrap .et-menu.nav {
  flex-wrap: nowrap !important;
}



/* Anpassung downloads shortcode startseite */
.page-id-27 .page-header {
display: none;

}
/* Dynamische Grid-Anpassung für Seite 27 */
.page-id-27 .edd_downloads_list {
    display: flex;
 justify-content: center !important;
  padding-top: 20px;
  padding-bottom: 20px;
     border-radius: 12px; 
  flex-wrap: nowrap; 
  overflow-x: auto;
}
@media (max-width: 1050px){ .page-id-27 .edd_downloads_list {
 justify-content: left !important;
overflow-x: auto;
}
.page-id-27 .edd_download {
margin-bottom: 0px;
}
}

.page-id-27 .edd_download_inner_custom {
   display: flex; 
    flex-direction: column; /* Alles untereinander */
  min-width: 200px;
    max-width: 250px;
  width: 100%;
    height: auto; /* Keine feste Höhe */
 border: 1.5px solid #387d26 ;
  border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    gap: 20px;
    overflow: visible !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
}

.page-id-27 .wishlist-top {
    text-align: right;
    margin-bottom: -20px; 
  margin-right: -15px;
  margin-top: -10px;
}

/* Thumbnail-Bereich */
.page-id-27 .thumbnail-section {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  margin-bottom: -10px ;
}
.page-id-27 .thumbnail-box {
    width: 160px; 
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ddd;
    background-color: #f9f9f9;
    box-sizing: border-box;
    overflow: hidden;
}
.page-id-27 .thumbnail-box img {
    width: auto;
    max-width: 100%;
    object-fit: cover;
    margin-bottom: -20px;
}

/* Content-Bereich (Titel, Rating, Autor, Beschreibung) */
.page-id-27 .content-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 150px; 
  margin-bottom: -10px;
}

.page-id-27 .eddDownloadMeta {
justify-content: center;

}

.page-id-27 .content-section .description {
    display: none;

}
.page-id-27 .edd_download_title a {
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden; 
    text-overflow: ellipsis; 
  height: 60px;
  align-content: center !important;
}

.page-id-27 .edd-reviews-average-rating-label {
    display: none;
}
.page-id-27 .edd-reviews-rating {
    margin-bottom: 15px; 
    margin-top: -5px;
  text-align: center; 
}
.page-id-27 .eddDownloadMeta-authorAvatar {
display: none;
}
.page-id-27 .eddDownloadMeta-authorName {
text-decoration: grey underline;
}



/* Kauf-Bereich (Preis, Merkliste, Button) */
.page-id-27 .purchase-button-section {
    display: flex;
    flex-direction: column;
  
}
.page-id-27 .edd_download .edd_price {
    font-size: 24px;
    text-align: center;
    width: 100%;
    font-weight: 500;
    color: #000;
  margin-bottom: -10px;
  margin-top: 10px;
}
.page-id-27 .edd-submit {
display: none;
}





/* Anpassung author page */

.page-id-21 .page-header {
    display: none;
    }

.page-id-21 .vendor-contact-form {
text-align: right; 
  margin-bottom: -30px;
    }

.page-id-21 .fes-ajax-form {
margin-top: -60px;
  margin-bottom: 40px;
    }

.vendor-profile {
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    max-width: 1000px;
}

.vendor-avatar img {
    border-radius: 50%;
    border: 5px solid #ddd;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.vendor-store-name {
    font-size: 2rem;
    margin-top: 15px;
}

.vendor-description {
    font-size: 1.2rem;
    margin-top: 10px;
  margin-bottom: 50px;
}

.page-id-21 .wp-block-heading
{
  margin-bottom: -50px;
}


.page-id-33 .page-header {
    display: none;
    }
    
/* Anpassung pagination*/
.edd_pagination .page-numbers {
   border-radius: 10px; 
border: 1px solid #696969 !important;
    }

    /* Anpassung search bar und sorting widget*/ .page-id-33 .wpc-search-field-wrapper{
        margin-top: -95px;
        margin-bottom: 50px;
        width: calc(100% + 400px); 
    }
    .select2-selection__arrow{
        height: 95% !important;  }
.wpc-sorting-form .select2-container--default .select2-selection--single { border-radius: 12px; width: 210px; align-items: right !important; 
    } 
.select2{ width: 200px !important; 
    } 
.select2-selection { 
    } 
    .select2-dropdown { 
        width: auto !important; /* Passt die Breite an den Inhalt an */
        width: 210px !important; 
        white-space: nowrap; 
      margin-top: 30px;
      
    }

/* 1️⃣ Widget-Container als Flex-Container */
.widget.widget_wpc_sorting_widget {
    display: flex;
    align-items: center; /* Vertikale Zentrierung */
    gap: 10px; /* Abstand zwischen Titel und Dropdown */
    justify-content: flex-end; /* Verschiebt den Inhalt nach rechts */
    text-align: right; /* Stellt sicher, dass der Text nicht linksbündig ist */

}
.widget.widget_wpc_sorting_widget .widgettitle {  font-size: 17px; margin-bottom: 0px; font-weight: normal;
}

.select2-container--default .select2-results > .select2-results__options{ margin-left: 0px; margin-bottom: 0px}
    

        
    /* Ausblenden der Term counts materialsuche */
    .wpc-term-count {display:none;}
    
.page-id-21 div.wpc-filters-section:nth-child(8) {
display: none;
    }
    
    /* Anpassungen in der downloads sidebar */
    .store-name-link {
        color: #000;
        text-decoration: none;
    }
    
    .store-name-link:hover {
        text-decoration: underline;
    }
    .downloadAuthor-authorSignupDate {
        display: block !important;
    }
    .downloadAuthor-name {
        margin-bottom: 5px;
    }
    .downloadAuthor-description > p:nth-child(1) {
        margin-bottom: 5px;
    }
    /* Anpassungen der download description*/
    .download-pages {
        margin-bottom: -15px ;
    }
    .download-categories {
        margin-bottom: -15px ;
    }
    .download-stoerungen {
        margin-bottom: -15px ;
    }
    .download-sprachen {
        margin-bottom: -15px ;
    }
    .download-zielgruppe {
        margin-bottom: -15px ;
    }
.download-file-extensions {
        margin-bottom: -15px ;
    }
.download-file-count {
        margin-bottom: -15px ;
    }
.download-verfahren {
        margin-bottom: -15px ;
    }

    /* Anpassungen für den review button*/ #edd-reviews-respond {
        display: none; margin-bottom: 10px;
    }
    
    
 /* =============== Page id 16 hinzufügen =============== */
.page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
    display: flex;
    align-items: flex-start;
    width: 890px;
    max-width: 100%;
    height: 300px; /* Einheitliche Höhe */
    border: 1.5px solid #387d26 ;
  border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    gap: 20px;

    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3); 
}

  .edd_downloads_list .edd_download {
    overflow: visible;    
  }


.page-id-16 .edd_downloads_list {
    display: flex;
    justify-content: center !important; margin-top: 10px; 
}
.page-id-16 .edd_download_inner_custom {
    width: 1000px;
}

/* Thumbnail-Bereich links */
.page-id-21 .thumbnail-section,
.page-id-33 .thumbnail-section,
.page-id-16 .thumbnail-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}
.page-id-21 .thumbnail-box,
.page-id-33 .thumbnail-box,
.page-id-16 .thumbnail-box {
    width: 180px;
    height: 254px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
}
.page-id-21 .thumbnail-box img,
.page-id-33 .thumbnail-box img,
.page-id-16 .thumbnail-box img {
    width: auto;
    max-width: 100%;
    object-fit: cover;
    margin-bottom: -20px;
}

/* Inhalt-Bereich (Titel, Rating, Autor, Beschreibung) */
.page-id-21 .content-section,
.page-id-33 .content-section,
.page-id-16 .content-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 11px;
    height: 100%;
}
.page-id-21 .content-section .description,
.page-id-33 .content-section .description,
.page-id-16 .content-section .description {
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    max-height: 6.5em;
    white-space: normal; /* Damit mehrere Absätze inline funktionieren */
}

.page-id-21 .edd_download_title a,
.page-id-33 .edd_download_title a,
.page-id-16 .edd_download_title a {
    font-size: 24px;
    margin-bottom: 5px;
  color: #000; 
    word-break: break-word;   
}
.page-id-21 .edd-reviews-average-rating-label,
.page-id-33 .edd-reviews-average-rating-label,
.page-id-16 .edd-reviews-average-rating-label {
    display: none;
}
.page-id-21 .edd-reviews-rating,
.page-id-33 .edd-reviews-rating,
.page-id-16 .edd-reviews-rating {
    margin-bottom: 15px; 
    margin-top: -5px;
}


.page-id-21 .eddDownloadMeta, .page-id-33 .eddDownloadMeta , .page-id-16 .eddDownloadMeta  {
justify-content: flex-start
}
.eddDownloadMeta-authorName  {
margin-right: 6px;
}













/* Kauf-Bereich rechts (Preis, Merkliste, Button) */
.page-id-21 .purchase-button-section,
.page-id-33 .purchase-button-section,
.page-id-16 .purchase-button-section {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 11px;

}
.page-id-21 .edd_download .edd_price,
.page-id-33 .edd_download .edd_price,
.page-id-16 .edd_download .edd_price {
    font-size: 24px;
    text-align: left;
    width: 100%;
    font-weight: 500;
    color: #000;
  margin-bottom: 15px;
}
.edd-wl-action.edd-wl-button
 {
   border: none; font-size: 17px;  
}
.page-id-33 .edd-wl-action.edd-wl-button, .page-id-16 .edd-wl-action.edd-wl-button  { padding: 0px; }

.edd-submit  {
border-radius: 12px;
  width: 120px;
  height: 45px; font-size: 1rem; padding: 0; align-content: center;

}

.page-id-21 a.edd-wl-action.edd-wl-button,
.page-id-33 a.edd-wl-action.edd-wl-button,
.page-id-16 a.edd-wl-action.edd-wl-button {
    margin-bottom: 40px;
}

/* Größe der Elemente bei der Materialsuche (wenn du das brauchst) */
.page-id-21 .edd_downloads_list,
.page-id-33 .edd_downloads_list,
.page-id-16 .edd_downloads_list {
    flex: 1 1 75%;
    margin-left: 0px;
    position: sticky;
    top: 0;
    align-self: center;
  justify-content: flex-end;
}
.page-id-21 .widget_wpc_filters_widget,
.page-id-33 .widget_wpc_filters_widget,
.page-id-16 .widget_wpc_filters_widget {
    flex: 20% 1 1;
    max-width: 300px;
  min-width: 290px;
    top: 0;
    align-self: flex-start;
    padding: 20px;
    background-color: #fafafa ;
  border-radius: 12px;
}

.wpc-filters-main-wrap li.wpc-term-item a {
color: #000000
}
.wpc-wrap-icons  {
color: #387d26; font-weight: bold;
}
/* chip-widget */
.wpc-custom-selected-terms {
     display: flex;  align-content: center !important; flex-wrap: nowrap !important; 
}

.wpc-filter-chip-name {
    white-space: normal;       
    max-width: 110px;       
    word-break: break-word;   
  min-width: 55px; 
      text-align: center;
    display: -webkit-box !important;
  overflow: hidden !important;
    -webkit-line-clamp: 2;
  line-clamp: 2 !important;  
    -webkit-box-orient: vertical;
  height: 49px;
align-content: center !important;
  flex-shrink: 0; 
  font-size: 90%;
  font-weight: normal; color: #000000; 
}

body .wpc-filter-chips-list li.wpc-filter-chip:not(.wpc-chip-reset-all) a {border-color: #387d26
}
body .wpc-filter-chips-list li.wpc-filter-chip:is(.wpc-chip-reset-all) a {border-color: #000000
}
.wpc-filter-chip {flex-shrink: 0; 
}
.wpc-filter-chips-92-1 {
margin: 0; max-width: 880px; 
}
.wpc-filter-selected-values {
display: none;
}
.entry-content ul, .entry-content ol {
margin: 0;
}
#content {
overflow-x: hidden;
}

@media (max-width: 1260px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 860px 

}   .page-id-21 .widget_wpc_filters_widget,
.page-id-33 .widget_wpc_filters_widget,
.page-id-16 .widget_wpc_filters_widget {
  min-width: 250px !important;

} }
@media (max-width: 1170px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 820px 

}}
@media (max-width: 1130px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 790px 

}    }
@media (max-width: 1100px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 750px 

}    }
@media (max-width: 1065px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 720px 

}    }
@media (max-width: 1030px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 690px 

}    }
@media (max-width: 1000px) { .page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom, .page-id-16 .edd_download_inner_custom {
   
    max-width: 650px 

}    }
@media (max-width: 960px) {
    .page-id-21 .edd_download_inner_custom,
    .page-id-33 .edd_download_inner_custom,
    .page-id-16 .edd_download_inner_custom {
        flex-direction: column;
        height: auto;
        display: flex;
        min-width: 200px;
        max-width: 350px;
      align-items: center;
      justify-content: center;
      
    }
  /* Den übergeordneten Wrapper in ein einspaltiges Flex-Layout verwandeln */
.page-id-21 .edd_download_inner_custom,
.page-id-33 .edd_download_inner_custom,
.page-id-16 .edd_download_inner_custom {
  display: flex;
  flex-direction: column;        
}

.page-id-21 .edd_download_inner_custom .purchase-button-section,
.page-id-33 .edd_download_inner_custom .purchase-button-section,
.page-id-16 .edd_download_inner_custom .purchase-button-section {
  display: contents;
}

.page-id-21 .edd-wl-button,
.page-id-33 .edd-wl-button,
.page-id-16 .edd-wl-button {
  order: 0;
  width: 100%; margin-top: 5px; margin-right: 10px; margin-bottom: -5px !important; justify-content: flex-end; display: flex;
}

.page-id-21 .thumbnail-section,
.page-id-33 .thumbnail-section,
.page-id-16 .thumbnail-section {
  order: 1;
  width: 100%;
}

.page-id-21 .content-section,
.page-id-33 .content-section,
.page-id-16 .content-section {
  order: 2;
  width: 100%;
}

.page-id-21 .edd_price,
.page-id-33 .edd_price,
.page-id-16 .edd_price {
  order: 3;
  width: 100%; margin-top: 0; margin-bottom: 0 !important; display: flex; justify-content: center; 
}

.page-id-21 .edd_download_purchase_form,
.page-id-33 .edd_download_purchase_form,
.page-id-16 .edd_download_purchase_form {
  order: 4;
  width: 100%; margin-top: 0; display: flex; justify-content: center;  margin-bottom: 20px;
}

    .page-id-21 .content-section .description,
    .page-id-33 .content-section .description,
    .page-id-16 .content-section .description {
        -webkit-line-clamp: 3;
    }
    .page-id-21 a.edd-wl-action.edd-wl-button,
    .page-id-33 a.edd-wl-action.edd-wl-button,
    .page-id-16 a.edd-wl-action.edd-wl-button {
        margin-bottom: 10px;
    }
    .page-id-21 .content-section,
    .page-id-33 .content-section,
    .page-id-16 .content-section {
        width: 100%;
        padding: 10px;
      text-align: center;
    }
.eddDownloadMeta{
 justify-content: center !important; 
    }
    .page-id-21 .widget_wpc_filters_widget,
.page-id-33 .widget_wpc_filters_widget,
.page-id-16 .widget_wpc_filters_widget {
  min-width: 300px !important;
} 
  .page-id-21 .edd_downloads_list,
.page-id-33 .edd_downloads_list,
.page-id-16 .edd_downloads_list {
justify-content: center;
}

}
/* Responsive-Anpassungen */
@media (max-width: 768px) {
    .page-id-21 .edd_download_inner_custom,
    .page-id-33 .edd_download_inner_custom,
    .page-id-16 .edd_download_inner_custom {
        flex-direction: column;
        height: auto;
        display: flex;
        min-width: 200px;
        max-width: 350px;
margin-bottom: -40px
    }

  
  
    .page-id-21 .content-section .description,
    .page-id-33 .content-section .description,
    .page-id-16 .content-section .description {
        -webkit-line-clamp: 3;
    }
    .page-id-21 a.edd-wl-action.edd-wl-button,
    .page-id-33 a.edd-wl-action.edd-wl-button,
    .page-id-16 a.edd-wl-action.edd-wl-button {
        margin-bottom: 10px;
    }

    .page-id-21 .wp-block-group,
    .page-id-33 .wp-block-group,
    .page-id-16 .wp-block-group {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }   .page-id-21 .widget_wpc_filters_widget,
.page-id-33 .widget_wpc_filters_widget,
.page-id-16 .widget_wpc_filters_widget {
align-self: center;
} 
}

@media (max-width: 768px) { .page-id-21 div.widget:nth-child(2){
  margin-top: 70px;
  justify-content: center;
  margin-bottom: 20px;
} 
.page-id-21 .wp-block-heading {
text-align: center;
} 
}

    
    /*Anpassung Avatargröße */
    #secondary-menu .dashicons {
        font-size: 30px !important; /* Passe die Größe an */
        line-height: 30px !important; /* Sorgt dafür, dass die Höhe übereinstimmt */
    }
    
    
    /*Ausblenden des Formualartitels auf der Material-teilen Seite*/
    
    .page-id-34 #fes-submission-form-title {
        display: none;
    }
    
    /*Ausblenden des Headers mit Titel auf der Material-teilen Seite*/
    .page-id-34 .page-header {
        display: none;
    }
    
    /* Anordnung der ersten beiden Checkbox-Listen in 2 Spalten */
    div.fes-el:nth-child(2) > div:nth-child(2) > ul:nth-child(1),
    div.fes-el:nth-child(3) > div:nth-child(2) > ul:nth-child(1) {
        column-count: 2;               /* Zwei Spalten */
        column-gap: 20px;              /* Abstand zwischen den Spalten */
        -webkit-column-count: 2;       /* Unterstützung für ältere Webkit-Browser */
        -moz-column-count: 2;          /* Unterstützung für ältere Mozilla-Browser */
    
        /* Entfernen der Punktmarker (Bullets) */
        list-style: none;              /* Entfernt die Bulletpoints */
        padding-left: 0;               /* Entfernt die linke Einrückung */
        margin: 0;                      /* Entfernt zusätzliche Abstände */
    
        /* Einheitliche Breite und Box-Sizing */
        width: 66%;                    /* Stellt sicher, dass alle Listen die gleiche Breite haben */
        box-sizing: border-box;         /* Einschließlich Padding und Border */
    }
    
    /* Anordnung der letzten beiden Checkbox-Listen in 3 Spalten */
    div.fes-el:nth-child(4) > div:nth-child(2) > ul:nth-child(1),
    div.fes-el:nth-child(5) > div:nth-child(2) > ul:nth-child(1) {
        column-count: 3;               /* Drei Spalten */
        column-gap: 20px;              /* Abstand zwischen den Spalten */
        -webkit-column-count: 3;       /* Unterstützung für ältere Webkit-Browser */
        -moz-column-count: 3;          /* Unterstützung für ältere Mozilla-Browser */
    
        /* Entfernen der Punktmarker (Bullets) */
        list-style: none;              /* Entfernt die Bulletpoints */
        padding-left: 0;               /* Entfernt die linke Einrückung */
        margin: 0;                      /* Entfernt zusätzliche Abstände */
    
        /* Einheitliche Breite und Box-Sizing */
        width: 100%;                    /* Stellt sicher, dass alle Listen die gleiche Breite haben */
        box-sizing: border-box;         /* Einschließlich Padding und Border */
    }

    /* Stil für die Listenelemente */
    div.fes-el:nth-child(2) > div:nth-child(2) > ul:nth-child(1) > li,
    div.fes-el:nth-child(3) > div:nth-child(2) > ul:nth-child(1) > li,
    div.fes-el:nth-child(4) > div:nth-child(2) > ul:nth-child(1) > li,
    div.fes-el:nth-child(5) > div:nth-child(2) > ul:nth-child(1) > li {
        font-size: 16px;               /* Schriftgröße */
        line-height: 1.5;              /* Zeilenhöhe */
        margin-bottom: 10px;           /* Abstand nach unten */
    }
    
    /* Anpassungen für kleinere Bildschirme */
    @media (max-width: 600px) {
        /* Erste beiden Listen auf eine Spalte */
        div.fes-el:nth-child(2) > div:nth-child(2) > ul:nth-child(1),
        div.fes-el:nth-child(3) > div:nth-child(2) > ul:nth-child(1)
    {
            column-count: 1;           /* Eine Spalte */
            column-width: auto;        /* Automatische Spaltenbreite */
        } }
         @media (max-width: 800px) {
        /* Letzte beiden Listen auf zwei Spalten */
        div.fes-el:nth-child(4) > div:nth-child(2) > ul:nth-child(1),
        div.fes-el:nth-child(5) > div:nth-child(2) > ul:nth-child(1) , 
           div.fes-el:nth-child(6) > div:nth-child(2) > span:nth-child(1) > ul:nth-child(1)
           
{
            column-count: 2 !important;           /* Zwei Spalten */
            column-width: auto;        /* Automatische Spaltenbreite */
        }
    } 
     @media (max-width: 700px){  .post_title, .multiple_pricing , .post_content, .download_notes, div.file_upload:nth-child(2), div.file_upload:nth-child(4),.fes-el.taxonomy.sprache, .fes-el.taxonomy.target_group  , .fes-el.taxonomy.disorder  , .fes-el.taxonomy.treatment_method,.fes-el.download_tag           {
        display: block;
    }  }
 @media (max-width: 600px) {
         div.fes-el:nth-child(4) > div:nth-child(2) > ul:nth-child(1), div.taxonomy:nth-child(5) > div:nth-child(2) > ul:nth-child(1), div.fes-el:nth-child(6) > div:nth-child(2) > span:nth-child(1) > ul:nth-child(1)
    {
            column-count: 1 !important;           /* Eine Spalte */
            column-width: auto;        /* Automatische Spaltenbreite */
        } }
   
    .page-id-34 .fes-price-column  {
        display: none;
    }
    
    /* Fette Checkbox Überschriften */
    .page-id-34 div.fes-el:nth-child(2) > div:nth-child(1) > label:nth-child(1) {
        font-weight: bold; 
    }
    .page-id-34 div.fes-el:nth-child(3) > div:nth-child(1) > label:nth-child(1) {
        font-weight: bold; 
    }
    .page-id-34 div.fes-el:nth-child(4) > div:nth-child(1) > label:nth-child(1) {
        font-weight: bold; 
    }
    .page-id-34 div.fes-el:nth-child(5) > div:nth-child(1) > label:nth-child(1) {
        font-weight: bold; 
    }
    .page-id-34 div.fes-el:nth-child(6) > div:nth-child(1) > label:nth-child(1) {
        font-weight: bold; 
    }
    
    /* Checkbox-Liste in drei Spalten anordnen */
    div.fes-el:nth-child(6) > div:nth-child(2) > span:nth-child(1) > ul:nth-child(1) {
        column-count: 3; /* Drei Spalten */
        column-gap: 20px; /* Abstand zwischen den Spalten */
        -webkit-column-count: 3;
        -moz-column-count: 3;
        list-style: none; /* Marker entfernen */
        padding: 0; /* Innenabstand entfernen */
        margin: 0; /* Außenabstand entfernen */
    }
    
    /* Stil der Listenelemente */
    div.fes-el:nth-child(6) > div:nth-child(2) > span:nth-child(1) > ul:nth-child(1) > li {
        margin-bottom: 10px; /* Abstand zwischen den Checkboxen */
        font-size: 16px; /* Schriftgröße anpassen */
        line-height: 1.5; /* Lesbarkeit verbessern */
        font-family: inherit; /* Gleiche Schriftart wie die Taxonomien */
        color: inherit; /* Gleiche Textfarbe wie die Taxonomien */
    }
    
    /* Checkboxen und Label anpassen */
    div.fes-el:nth-child(6) > div:nth-child(2) > span:nth-child(1) > ul:nth-child(1) > li > input[type="checkbox"] {
        margin-right: 8px; /* Abstand zwischen Checkbox und Text */
    }
    
    /* Zusätzliche Anpassungen für Konsistenz */
    
    
    /* Sorgt dafür, dass .slick-track im Flex-Layout läuft */
    .pdf-preview-thumbnail-slider.slick-initialized .slick-track {
        display: flex !important;
        justify-content: center; /* oder flex-start / space-between, je nach Geschmack */
    }
    
    /* Jede Slide nimmt maximal 25 % der gesamten Breite ein */
    .pdf-preview-thumbnail-slider.slick-initialized .slick-slide {
        max-width: 25% !important;
        box-sizing: border-box;
    }
    div.fes-el:nth-child(18) > div:nth-child(2) > span:nth-child(1) > ul:nth-child(1) > li > label {
        font-size: inherit; /* Schriftgröße wie die umgebenden Elemente */
        font-family: inherit; /* Gleiche Schriftart wie die Taxonomien */
        color: inherit; /* Gleiche Textfarbe wie die Taxonomien */
        line-height: inherit; /* Gleiche Zeilenhöhe */
          }

    
    /* Verstecke die versteckten URL-Felder */
    #file_url_1 {
        display: none;
    }
    #file_1\[1\] {
        display: none;
    }
    #file_1\[2\] {
        display: none;
    }
    #file_1\[3\] {
        display: none;
    }
    #file_1\[4\] {
        display: none;
    }
    #custom_thumbnail {
        display: none;
    }
    
    /*File URL Überschirft bei den Uplaods verstecken */
    .fes-variations-list-file_1 > tr:nth-child(2) > td:nth-child(1) > div:nth-child(1) > input:nth-child(1) {
        display: none;
    }
    
    table.file_1 > thead:nth-child(1) > tr:nth-child(1) > th:nth-child(1) {
        display: none;
    }
    table.file_1 > thead:nth-child(1) > tr:nth-child(1) > th:nth-child(2) {
        display: none;
    }
    
    
    
    /*File URL Überschrift und restliche Tabelle verstecken*/ 
    table.custom_thumbnail > thead:nth-child(1) > tr:nth-child(1) > th:nth-child(1) {
        display: none;
    }
    table.custom_thumbnail > thead:nth-child(1) > tr:nth-child(1) > th:nth-child(2)  {
        display: none;
    }
    .fes-variations-list-custom_thumbnail > tr:nth-child(2) > td:nth-child(1) > div:nth-child(1) > input:nth-child(1)
    {
        display: none;
    }
    
    /* 1) Alle Felder grundsätzlich unsichtbar */
    .display-file-name-field {
        display: none !important; /* !important erzwingt "unsichtbar" */
        border: 1px solid #ccc;
        padding: 5px;
        margin-top: 10px;
        width: 100%;
        box-sizing: border-box;
        background-color: #f9f9f9;
    }
    
    /* 2) Sobald .has-content vorhanden ist, wird angezeigt */
    .display-file-name-field.has-content {
        display: block !important; /* Felder mit .has-content werden erzwungen sichtbar */
    }
    
    /* 1. Feld (Material) immer anzeigen 
    #display-file-name-1 {
      display: block !important;
    }
    
    /* 6. Feld (Thumbnail) immer anzeigen 
    #display-file-name-6 {
      display: block !important;
    }
    
    /* Sicherstellen, dass die Namensfelder sichtbar sind */
    .file-name-field {
        display: block !important; /* Stelle sicher, dass dieses Feld sichtbar ist */
        width: 100%;
        padding: 5px;
        box-sizing: border-box;
    }
    
    
    /* Erste Spalte auf 1px begrenzen */
    .fes-url-group {
        width: 350px;             /* Fixiere die Breite */
        overflow: hidden;       /* Verhindert Überlauf */
        white-space: nowrap;    /* Kein Zeilenumbruch */
        padding: 0;             /* Kein Innenabstand */
        border: none;           /* Kein Rahmen */
    }
    
    /* Zweite Spalte nimmt restlichen Platz */
    .fes-delete-row {
        width: auto;            /* Automatisch anpassen */
        flex-grow: 1;           /* Füllt restlichen Platz */
        display: flex;          /* Flexbox für Inhalt */
        justify-content: flex-start; /* Inhalt nach links ausrichten */
        align-items: center;    /* Vertikal zentrieren */
        gap: 10px;              /* Abstand zwischen Button und Feld */
    }
    
    /* Buttons und Namensfelder im Flex-Layout */
    .fes-url-choose-row {
        display: flex;
        gap: 10px;              /* Abstand zwischen Button und Feld */
        align-items: center;    /* Zentrierung */
    }
    
    /* Namensfeld-Style */
    .display-file-name-field {
        flex: 1;                /* Maximale Breite für das Namensfeld */
        padding: 5px;           /* Innenabstand */
        border: 1px solid #ccc; /* Rahmen */
        background-color: #f9f9f9; /* Hintergrundfarbe */
        width: 100%;            /* Füllt die gesamte mögliche Breite */
        max-width: 100%;        /* Breite auf maximalen Wert begrenzen */
        box-sizing: border-box; /* Berücksichtigt Padding/Borders */
    }
    
    /* Button-Style */
    .upload_file_button {
        flex: 0 0 auto;         /* Button behält seine Breite */
        padding: 5px 10px;      /* Innenabstand */
        background-color: #0073aa; /* Hintergrundfarbe */
        color: white;           /* Textfarbe */
        border: none;           /* Kein Rahmen */
        cursor: pointer;        /* Zeigerhand */
        text-align: center;     /* Text zentrieren */
    }


/*Upload Fenster Upload sektion immer aktiv und schwarze schrfit*/
#menu-item-upload {
    color: #000000; /* Schwarz */
}


/* Flex Container Breite für die Namensfelder */
.fes-variations-list-file_1 > tr:nth-child(2) > td:nth-child(1),
.fes-variations-list-custom_thumbnail > tr:nth-child(2) > td:nth-child(1),
tr.fes-single-variation:nth-child(3) > td:nth-child(1),
tr.fes-single-variation:nth-child(4) > td:nth-child(1),
tr.fes-single-variation:nth-child(5) > td:nth-child(1),
tr.fes-single-variation:nth-child(6) > td:nth-child(1) {
    display: flex; /* Falls es kein Flex-Container ist, wird es so einer */
    flex-basis: 100%; /* Setzt die Basisbreite */
    width: 100%; /* Alternativ: Definiert eine Breite */
    max-width: 100%; /* Begrenzung der maximalen Breite */
}

/* Zusätzliche Regel für die Input-Felder */
tr.fes-single-variation:nth-child(3) > td:nth-child(1) > div:nth-child(1),
tr.fes-single-variation:nth-child(4) > td:nth-child(1) > div:nth-child(1),
tr.fes-single-variation:nth-child(5) > td:nth-child(1) > div:nth-child(1),
tr.fes-single-variation:nth-child(6) > td:nth-child(1) > div:nth-child(1) {
    display: flex; /* Stellt sicher, dass auch divs innerhalb der td flex sind */
    flex-grow: 1; /* Verteilung des verfügbaren Platzes */
    align-items: center; /* Zentriert den Inhalt vertikal */
}

div.checkbox:nth-child(6)
{
display: block; list-style: none !important;
}
div.checkbox:nth-child(6) > div:nth-child(2) > ul:nth-child(2) {
list-style: none;
} 
div.fes-el:nth-child(7){
display: block;
}
div.fes-el:nth-child(7) > div:nth-child(2) > ul:nth-child(2) {
list-style: none;
} 
div.checkbox:nth-child(6) > div:nth-child(1) > span:nth-child(2), div.fes-el:nth-child(7) > div:nth-child(1) > span:nth-child(2) {
font-size: 14px;
} 



/* Kategorieseiten (Help & News) - Theme Layout */

/* Artikel-Layout anpassen */
.category-help .site-main,
.category-news .site-main {
  max-width: 1200px;
  margin: 0 auto;
}

/* Artikel-Abstand */
.category-help article.post,
.category-news article.post {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

/* Thumbnail links (33%) */
.category-help article.post .post-thumbnail,
.category-news article.post .post-thumbnail {
  grid-column: 1;
  grid-row: 1 / span 3;
}

/* Inhalt rechts (66%) */
.category-help article.post .entry-header,
.category-news article.post .entry-header {
  grid-column: 2;
  margin-bottom: 0;
}

.category-help article.post .entry-summary,
.category-news article.post .entry-summary {
  grid-column: 2;
}

/* Titel-Styling */
.category-help .entry-title a,
.category-news .entry-title a {
  color: inherit;
  text-decoration: none;
}

.category-help .entry-title a:hover,
.category-news .entry-title a:hover {
  color: #196ebe !important;
}

/* Seiten-Titel */
.category-help .page-header .page-title,
.category-news .page-header .page-title {
  margin-bottom: 25px !important;
  color: #387d26;
}

/* Mobile Ansicht */
@media (max-width: 781px) {
  .category-help article.post,
  .category-news article.post {
    grid-template-columns: 1fr;
  }
  
  .category-help article.post .post-thumbnail,
  .category-news article.post .post-thumbnail {
    grid-column: 1;
    grid-row: auto;
  }
  
  .category-help article.post .entry-header,
  .category-help article.post .entry-summary,
  .category-news article.post .entry-header,
  .category-news article.post .entry-summary {
    grid-column: 1;
  }
}
