/***
    The new CSS reset - version 1.6.1 (last updated 25.5.2022)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/

/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
*:where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
    cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu {
    list-style: none;
}

/* For images to not be able to exceed their container */
img {
    max-width: 100%;
}

/* removes spacing between cells in tables */
table {
    border-collapse: collapse;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
    white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
    -webkit-appearance: revert;
    appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
    color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
    display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly. */
:where([contenteditable]:not([contenteditable="false"])) {
    -moz-user-modify: read-write;
    -webkit-user-modify: read-write;
    overflow-wrap: break-word;
    -webkit-line-break: after-white-space;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable="true"]) {
    -webkit-user-drag: element;
}

.vs {
  position: absolute;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

:root {
  --basis-color: #FCFFE7;
  --text-color: #134151;
  --akzent-color: #356700;         
}


html, body {
    background:var(--basis-color);
    color: var(--text-color);
}

body {

 text-rendering: geometricPrecision;
font-kerning: normal;
    
font-family: -apple-system,
                system-ui,
                BlinkMacSystemFont, 
                "Segoe UI", 
                Roboto, 
                Oxygen-Sans, 
                Ubuntu, 
                Cantarell, 
                "Helvetica Neue", 
                sans-serif;    
    font-size:10px;
}

#page {
    margin:1em auto;
    width:100%;
    max-width:70em;
    padding:1.3em;
    
}

#header {
    margin-bottom: 2em;
}

#header_a {
    aspect-ratio: 500 / 115;
display: block;
    max-width: 400px;
}

#header_img {
    width: 100%;
    height:auto;
}

#nav1 {
  margin: 1em 0 2.7em;
  background: var(--akzent-color);
  --schraeg: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%); 
    
}

#nav1 ul {
  padding: 0 3em;
}

#nav1 ul{
  display: flex;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
  padding: 0 2em;
  max-width: 610.8px;
  width: 100%;
  line-height: 2;
  justify-content: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

#n11 li:first-child, #nav2-1 li:first-child {
  XXtext-align: left;
}

#nav1  li{
  font-weight: 500;
  font-size: .9rem;
  flex-basis: auto;
  flex-basis: 30%;
    text-align: center;
     
}

#nav1  a:link, #nav1  a:visited {
  color: var(--basis-color) !important;
    background: var(--akzent-color);  
  text-decoration: none;
    width:inherit;
    display: block;
}


#nav1 a.aktiv, #nav1 span {
  color: var(--akzent-color) !important;
    background: var(--basis-color) !important;
  text-decoration: none;
   width:inherit;
    display: block;
    XXborder:1px solid var(--akzent-color);
    box-sizing: border-box;
   

-webkit-clip-path: var(--schraeg);
    clip-path: var(--schraeg);

}


#nav1  a:focus, #nav1  a:hover {
  color: var(--akzent-color) !important;
    background: var(--basis-color) !important;
  text-decoration: none;
    -webkit-clip-path: var(--schraeg); 
    clip-path: var(--schraeg);
}

#nav2 {
    float: left;
width: 100%;
    margin-top:2em;
}

#nav2 ul {
    display:flex;
    justify-content: center;
}

#nav2 li {
    padding:0 1em;
}

#nav2  a:link, #nav2  a:visited {
  color: var(--text-color) !important;
  text-decoration: none;
}

#nav2  a:focus, #nav2  a:hover, #nav2 a.aktiv, #nav2 span  {
    text-decoration: underline;
}


.page p, .page li {
    
    font-size: 1.5em;
}


h2 {
    font-size:1.3rem;
    width:100%;
    float: left;
    
}

h2 span {
    display: inline-block;
  
    font-style: italic;
}


#pflheader {
    margin: 0 0 1em 0;}

#pflheader h2 {
    margin-bottom: .3em;
}

.main h3 {
font-size: 1.8em;
font-weight: 400;
margin:10px 0 5px 0;
    background:var(--akzent-color);
    color:var(--basis-color);
    
}

.main p, .main ul {
    XXwidth: min(70ch,100%);
    XXXmargin: auto auto;
    line-height: 1.5;
    margin-bottom: .5em;
}


h2 + p {
    padding-top:2em;
}

.main .pubdate {
    Xfont-size: 1.36em;
}

.pflanzenliste {
    margin-top:.7em;
    list-style:none;
    margin-left: 0;
    padding-left: 0;
}




.main a:link, .main a:visited {
    color:var(--akzent-color);
    font-weight:700;
}

.main a:hover, .main a:focus {
    color:var(--basis-color);
    background:var(--akzent-color);
    font-weight:700;
}


.main h3, .main h3 a:link {
    color:var(--text-color);
    text-decoration: none;
    background: var(--basis-color);
    font-weight:400;
}

article {
    float:left;
}



#pfldaten {
    margin-top: 2em;
border-top: 1px solid var(--akzent-color);
padding-top: 1em;
float: left;
width: 100%;
}

.vorschau {
    float: left;
    position: relative;
    width:120px;
    margin: 6px 16px 6px 0;
    
}

#zoomBtn {
    border:2px solid var(--akzent-color);
    float: right;
    display: block;
    
    width:120px;
    height:120px;
    
}

#zoomBtn:before {
    content: " ";
    display: block;
    width:2em;
    height:2em;
    background: rgba(255,255,255,.5) url(/client/grafik/lupe-farbe.svg) no-repeat;
    position: absolute;
    top: 87px;
    right: 3px;
    margin:5px;
}

#overlay {
      position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: var(--basis-color);
  
  overscroll-behavior: contain;
}
#bigImg {
    object-fit: contain;
   max-width: 100%;
   max-height: 100%;
   width: auto;
   height: auto;
    display: block;
   margin:auto;
}





form {
    display:flex;
    width:100%;
    padding-top: 1.4em;
}


 select, .pflanzBtn  {
	 appearance: none;
	 background-color: transparent;
	 border: none;
	 padding: 0 0em 0 0;
	 margin: 0;
	 width: 100%;
	 font-family: inherit;
	 XXfont-size: .7em;
	 cursor: inherit;
	 line-height: inherit;
	 z-index: 1;
	 outline: none;
}



 select::-ms-expand {
	 display: none;
}
 .select, .pflanzBtn {
	 display: grid;
	 grid-template-areas: "select";
	 align-items: center;
	 position: relative;
	 width:30ch;
	 border: 1px solid var(--akzent-color);
	 border-radius: 0.25em;
	 padding: 0.25em 0.5em;
	 font-size: 1.3em;
	 cursor: pointer;
	 line-height: 1.1;
	 background-color: #fff;
	 
}
 .select select, .select::after {
	 grid-area: select;
}
 .select::after {
	 content: "";
	 justify-self: end;
	 width: .6em;
	 height: .5em;
	 background: var(--akzent-color);
	 clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}
 select:focus + .focus {
	 position: absolute;
	 top: -1px;
	 left: -1px;
	 right: -1px;
	 bottom: -1px;
	 border: 2px solid var(--akzent-color);
	 border-radius: inherit;
}

.pflanzBtn {
    margin-left:1em !important;
    padding-left:0em;
    width:12ch;
    text-align: center;
}

.pflanzBtn:hover {
    background: var(--akzent-color);
    color:var(--basis-color);
}



 label {
	 font-size: 1.125rem;
	 font-weight: 500;
}
 .select + label {
	 margin-top: 2rem;
}

.hingucker img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
}
 
#map {

  width: 100%;
  height: 100vw;
  position: relative;
  max-height: 500px;
}

.hingucker figcaption {
    font-size: 1.4em;
font-style: italic;
border-bottom: 1px solid var(--akzent-color);
padding-bottom: .3em;
margin-bottom: 0.9em;
line-height: 1.4;
}


#sgStart {
   position: relative;
    top: 3em;
    left: 2em;
    display: inherit;
    background: #fff;
    color: var(--akzent-color);
    border: solid 1px var(--akzent-color);
    border-color: var(--akzent-color);
    padding: 0.3em;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 4px;
}


/* ab hier CSS2*/

.galerie:hover,
.galerie:focus {
    background: var(--akzent-color) !important;
    color: #fff !important;
}

#sgWall {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    /*xxdisplay: flex;*/
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

#sgWall::-webkit-scrollbar {
  display: none;
}

#sgGallery {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: var(--basis-color);
    overscroll-behavior: contain;
}

#albisNext:before,
.sgFig {
    display: inline-block;
}

.sgFig {
    position: relative;
    left: 0;
    z-index: 1001;
    width: 100vw;
    height: 100%;
    text-align: center;
    line-height: 1px;
    scroll-snap-align: start;
    /*für GRID 
    display: grid;
            grid-row-gap: 20px;
            justify-items: center;
    für GRID */
}

.sgImg {
    z-index: 1003;
    display: inline-block;
    max-width: 90%;
    max-height: 90%;
    vertical-align: top;
    /* für GRID
    max-width: 100%;
            max-height: 100%;
            height: auto;
            width: auto;
    align-self: center;
     für GRID*/
}


/*
.XXsgFig:before {
    margin-right: -1px;
    width: 1px;
    height: 50%;
    content: "";
}*/

.sgCap {
    position: absolute;
    right: 3%;
    bottom: 2%;
    left: 3%;
    z-index: 1004!important;
    white-space: normal;
    letter-spacing: normal;
    font-size: .9rem;
    line-height: 1.2;
    text-align: left;
    max-height: 10%;
    color: var(--text);
}


/*
.albisCap_p {
    XXXpadding: .1em 1em;
    
}*/

#sgButtons {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1005;
}

#sgButtons button {
    width: 40vw;
    background: transparent;
    display: block;
    float: left;
    height: 100vh;
    border: 0;
    outline: 0;
    font-size: 1rem;
    color: var(--text);
    padding: 2em;
    box-sizing: border-box;
}

.weg {
    display: none !important;
}

#sgNext {
    float: right !important;
    text-align: right;
}

#sgPrev {
    text-align: left;
}

#sgExit, #closeBtn {
position: absolute;
    top: 0.5em;
    right: 1.5em;
    z-index: 1010;
    float: right;
    outline: 0;
    background: #fff;
    color: var(--akzent-color);
    border: solid 1px var(--akzent-color);
    padding: 0.2em .5em 0.4em .5em;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 4px;
}


 


