header {
	background: #ffebe6;
	display: grid;
}
nav {
	background: #fdfcf3;
}
main {
	background: #ebf5d7;
	display: block;
}
footer {
	background: #e6f2f7;
}
body { 
    font-family: Arial, Helvetica, sans-serif;font-size: 1em;
	display: grid;
    background: url(Background.svg);
    background-size: 50px 50px;
} 
/* ==================================================== ONOFF ==================================================== */
input[type="checkbox"]{
  display: none;/*Das unterdrückt das Häkchen!*/
}
input[type="checkbox"] + label {
  display: block;
  cursor: pointer;
  border: none;
}
input[type="checkbox"] + label:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(./aus.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
input[type="checkbox"]:checked + label:before {
  background-image: url(./an.svg);
  background-size: contain;
}
/* ==================================================== SG ==================================================== */
h1{
    font-size:2em;
    color: cornflowerblue;
}
a{
    display:inline-block;
}
button {
    font-family: Arial, Helvetica, sans-serif;font-size: 1em;
    /*style="width: 100px; height: 20px;"*/
    /*width: 15em;*/
    height: 1.5em;
    display:inline-block; 
    /*display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
    gap: 4em;*/
    /*float: left;*/
    border:1px;
    background-color: grey; 
    color: white; 
    text-align: left; 
    text-decoration: none; 
    cursor: pointer;
}
.SVGINTEXT{
    background-repeat: no-repeat;
    background-size: contain; 
    vertical-align: bottom;
    cursor: pointer; 
    display: inline-block; 
    height: 1.5em; 
    width: 1.5em;
    border:0px;
}
.TABTITEL{
    background-repeat: no-repeat;
    background-size: contain; 
    vertical-align: bottom;
    cursor: pointer; 
    display: inline-block; 
    height: 2.5em; 
    width: 2.5em;
    border:0px;
}
.TABTITELEYES{
    background-repeat: no-repeat;
    background-size: contain; 
    vertical-align: bottom;
    cursor: pointer; 
    display: inline-block; 
    height: 1.5em; 
    width: 2.5em;
    border:0px;
}
.TABTITELVIEW{
    background-repeat: no-repeat;
    background-size: contain; 
    vertical-align: bottom;
    cursor: pointer; 
    display: inline-block; 
    height: 1.5em; 
    width: 1.5em;
    border:0px;
}
.DetailEbene0{
    font-size:1.3em;
    color: royalblue;
}
.DetailEbene1{
    font-size:1.0em;
    color: darkblue;
}
.SELECTINHEADER{
    font-family: Arial, Helvetica, sans-serif;
    background-color:  #e5e8e8;
    border: 0px solid black;
    font-size: 1em;
    font-weight: bold;
    /*color: royalblue;*/
}
.SELECTINTEXT{
    /*float: right;*/
    font-family: Arial, Helvetica, sans-serif;
    background-color:  #e5e8e8;
    border: 0px solid black;
    font-size: 1em;
    font-weight: bold;
    text-align: right;
    width: 4em;
}
.INPUTSTICHWORT{
    font-family: Arial, Helvetica, sans-serif;
    background-color:  #e5e8e8;
    border: 0px solid black;
    font-size: 1em;
    font-weight: bold;
    text-align: right;
    width: 4em;
    /*color: royalblue;*/
}
.INPUTINTEXT{
    font-family: Arial, Helvetica, sans-serif;
    background-color:  #e5e8e8;
    border: 0px solid black;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    width: 4em;
    /*color: royalblue;*/
}
.flexContainer {
    display: flex;
}

.inputField {
    flex: 1;
}
summary{
    font-size:large
    font-weight: bold;
}
table{
    table-layout: auto;
    background-color:  #e5e8e8;
    border: 1px solid black;
    border-collapse: collapse;
    border-spacing: 10px 5px;
    /*width: 400px;*/
}
caption{
    caption-side: left;
}
.Wertetabelle {
  background-color:  #e5e8e8;
  border-collapse: separate;
}
td{
    font-size: 0.8em;
    background-color:  #e5e8e8;
    /*width: 4em;*/
}
input{
    border: 1px solid black;
    border-collapse: collapse;
    width: 8em;
}
input[type='color']{
    height: 1.5em;
    width: 4em;
    border: 1px; 
    opacity: 1;
    background: #e5e8e8;
    cursor: pointer;
    background-image:linear-gradient (90deg, purple, blue, green, yellow, red, purple);
}
input[type='button']{
    height: 1.5em; 
    width: 7.5em;
    border: 1px; 
    opacity: 1;
    background: #e5e8e8;
    cursor: pointer;
    background-image:linear-gradient (90deg, purple, blue, green, yellow, red, purple);
}
input[type='text']{/*für Stichwort*/
    height: 1.5em; 
    width: 10em;
    border: 1px; 
    opacity: 1;
    background: #e5e8e8;
    cursor: pointer;
    background-image:linear-gradient (90deg, purple, blue, green, yellow, red, purple);
}

details{
    padding: 0px 5px 0px 20px;
}
span{
   /* color: royalblue;*/
    vertical-align: middle
}
/*
tr{padding: 10px 10px 10px 10px;}
tr:nth-child(even){background-color:  #e5e8e8;}
tr:nth-child(odd) {background-color:  #f2f4f4; }
*/
#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: 4em;
}

#gallery > figcaption {
  grid-column: 1 / -1;
}
