@media (min-width: 980px) {
.page header.page-head div.rd-navbar-panel-logo a.rd-navbar-brand.brand img {max-width: 190px}
}

@media (max-width: 480px) {

/* LOGO */
    header.page-head > .rd-navbar-panel-logo .brand {
        margin-left: unset !important;
}
/* LOGO ENDE */


 /* BILDER*/ 
.ce-textpic:not(#datenschutz *, #barrierefreiheit *), .ce-image:not(#startseite *), .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div {
    overflow: hidden;
    width: fit-content;
}


.ce-intext.ce-left .ce-gallery {
    margin-right: 10px;
    margin-top: 8px;
    display: contents;
}

  section .frame-layout-3 .ce-gallery figure.image,
  section .frame-layout-3 .ce-gallery figure.image a,
  section .frame-layout-3 .ce-gallery figure.image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
  }


/* BILDER ENDE*/ 


/* TEXT */
.ce-bodytext:not(footer *, #datenschutz *, #barrierefreiheit *) {float: inline-start;}
/* TEXT ENDE */


/* nach links ruecken z.b https://elbe-roeder.de/natur-und-landschaft */
.text-left .frame-layout-3 {
    margin-left: 0px ;
}




}







@media (max-width: 769px) {

/* TEXT */  

body section  p:not(footer *, #kontakt *, .contenttable *)
{hyphens: auto;text-align: justify}

h1, h2, h3 {    hyphens: auto;}

/* TEXT ENDE */


/* BILDER */

body .ce-right .ce-gallery {
    display: flex;
    justify-content: center;
    float: none;
}

.ce-gallery img {    width: 100%;}



/* bildunterschrift  > https://elbe-roeder.de/natur-und-landschaft/aktuelles/insekten-entdecken/rueckblick-insekten-entdecken-2025 */
.ce-gallery figcaption:not(#startseite *)  {width: 80vw;}


/* speziell für https://elbe-roeder.de/natur-und-landschaft/aktuelles/insekten-entdecken/rueckblick-insekten-entdecken-2025 */    
.ce-gallery {
  display: flex;
  flex-direction: column;
}



/* BILDER ENDE*/

/* TABELLEN*/
.contenttable {
    width: 100%;
    word-break: break-word;
 table-layout: fixed;
 hyphens: auto;
}

.contenttable td, .contenttable th, .contenttable td span {
    vertical-align: top;
    font-size: 15px !important;
}

body td, body th {    padding: 0}
body td:first-child {  padding-right: 20px;}

/* TABELLEN ENDE*/

  section .frame-layout-3 .ce-gallery .ce-column,
  .page .ce-column  {
    margin-right: 0px !important;
}

.frame-layout-3.frame-ruler-after::after {
    margin: 25px 0 15px;
}

.page .ce-row {
    display: inline;
}


/* STARTSEITE */
sections .cell-sm-9.cell-md-4 figure img.image-embed-item {
    width: 100vw;
    height: auto;
    display: block;
}

#startseite [class*="cell-"] {
    padding-left: 15px;
    padding-right: 15px;
}

body#startseite figcaption.image-caption {
    text-align: center;
}

body#startseite .shell, body#startseite .shell-wide, body#startseite .shell-fluid {
    padding-right: 0;
    padding-left: 0;
}

body#startseite .ce-image.ce-left.ce-above {
    justify-content: center;
    display: flex;
}

body#startseite .cell-sm-9.cell-md-4 > div:first-of-type {
  padding-bottom: 30px;
}

section .ce-image, .ce-gallery {
    overflow: unset!important;
}

/* STARTSEITE ENDE */










/* Footer */

body footer {padding-left: 0px;}

  footer .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .row > [class^="cell-"] {
    width: auto;
    max-width: 100% !important;
    float: none !important;
    text-align: center;
    padding: 0 15px;
  }


body footer.page-foot.bg-cloud-burst div.wrapper div.container section div.row div.cell-sm-9.cell-md-4 .frame.frame-default.frame-layout-0 {
    padding-right: 0px !important;
}


body footer .ce-column {
    margin: 0 !important;
    display: inline-flex;
}

body footer .wrapper {    margin: 15px 0;}


body footer figure img {    width: 100%;}

body footer .row {    margin-left: unset;}



/* Footer ENDE */
















/* HEADER */

  /* OBERES LOGO zentriert über dem Menübutton */
  header.page-head > .rd-navbar-panel-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding-top: 2rem !important;
    padding-bottom: 0;
    background: white !important;
     position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important; /* über dem restlichen Content */
    background: white !important;
    padding-left: 60px
  }


    header.page-head > .rd-navbar-panel-logo .brand {
    margin-left: -360px;
}

  header.page-head > .rd-navbar-panel-logo img {
    max-width: 80% !important;
    height: auto !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* MENÜ-PANEL direkt darunter */
  .rd-navbar-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* UNTERES LOGO im Panel AUSBLENDEN */
  .rd-navbar-panel .rd-navbar-brand {
    display: none !important;
  }


.rd-navbar-panel-logo a.rd-navbar-brand.brand img {
    width: 250px;
  
}



.rd-navbar-nav-wrap.active::before {
    content: "← Zurück";
    display: block;
    background-color: #0d4e96;
    color: #fff;
    padding: 0.5rem 1rem;
    margin: 0 3.5rem;
    border-radius: 6px;
    font-size: 20px;
    text-align: center;
}




a.rd-navbar-brand.brand img {

    display: none;
}




  header.page-head:has(.rd-navbar-nav-wrap.active) .rd-navbar-panel-logo {
    opacity: 0;
    pointer-events: none;
  }

  .rd-navbar-panel-logo {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    transition: opacity 0.3s ease;
  }



/* BANNER IMAGE */
body .banner {    margin-top: 170px;}

body .banner img {
    width: 100vw;
    height: auto;
    display: block;
}


/* BANNER IMAGE ENDE*/

}

body footer div.ce-bodytext a {
     color: #fff;
     margin-bottom: 6px;
}


/* NEUUGKEITEN */
body .post-minimal {    max-width: fit-content;}
#neuigkeiten [class*="cell-"],
#veranstaltungen [class*="cell-"],
#wunderbar [class*="cell-"],
#region  [class*="cell-"]
{    padding-left: 15px;   padding-right: 15px;}

.post-minimal .post-body {
    display: block;
}


/* NEUUGKEITEN ENDE*/


/* NEWSLETTER */
.newsletter-anmeldung {
	margin-top: 40px;
}


.newsletter-anmeldung input {
	margin-bottom: 10px;
	padding-left: 10px;
}

#newsletter-response {
	font-weight: bold;
}

/* NEWSLETTER ENDE*/


/* BEWERBUNGSFORMULAR 100 BÄUME */
/* Text unter dem Submit-Button */
#region .tx-powermail .powermail_fieldwrap_type_submit::after {
	content: "Mit Absenden des Formulars bestätige ich die Teilnahmebedingungen. Die Erklärung zum Datenschutz habe ich zur Kenntnis genommen.";
	display: inline-block;
	font-size: 0.9em;
	line-height: 1.35;
	background: #fff;
	padding: 20px;
	margin-top: 19px;
	text-align: center;
}

/* BEWERBUNGSFORMULAR 100 BÄUME ENDE */

