/*Seite mittig ausrichten*/
* {
    margin:0;
    padding:0;
}

/* so verschiebt sich die Seite nicht mehr, wenn der Scrollbalken erscheint*/
html { 
    overflow-y:scroll; 
}

body {
    color:#616161;
    font: 90% arial, "lucida console", sans-serif;
    background: #fff9f1;
}

h1 {
    color:#616161;   
    font-size:1.2em;  
    font-family:arial, "lucida console", sans-serif; 
}

h2 {
    color:#616161;   
    font-size:1.0em;  
    font-family:arial, "lucida console", sans-serif; 
}

input[type=checkbox]{
    opacity:0;
    position:absolute;
    left:-9999px;  
}

input[type="checkbox"]:hover + .feedback-label {
    padding: 0.0em 1em;
    font-weight:bold;
    background:lightgrey;
    border-radius: 0.5rem;
}
 
input[type="checkbox"]:checked + .feedback-label {
    padding: 0.0em 1em;
    font-weight:bold;
    background:lightgrey;
    border-radius: 0.5rem;
}

#site {
   width: 90em;
   margin: 0 auto;
   background-color:#fff9f1;
   padding-top: 1em;
}

#head {
    background-image: url(/vegetable/pics/titel-gemuese_01.jpg);
    width: 90em;
    height: 10em;
}

#navi {
    padding:1.3em;
    background-color: #616161;
    border: 0.1em solid black;
}

#content{
    float: left;
    
    background-color: #eeebdc; 
    border-radius: 5px;
    margin:0.5em;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 1em;
}

/* Tabelle Starkzehrer */
#content1 {
    float: left;
    width: 12em;
    margin-left: 0em;
    padding-left: 1em;
    padding-top: 1em;
    
}
/* Tabelle Mittelzehrer */
#content2 {
    float: left;
    
    width: 12em;
    margin-left: 0em;
    padding-left: 1em;
    padding-top: 1em;
}
/* Tabelle Schwachzehrer */
#content3 {
    float: left;
    
    width: 12em;
    margin-left: 0em;
    padding-left: 1em;
    padding-top: 1em;
}
/* Tabelle Kräuter */
#content4 {
    float: left;
    
    width: 12em;
    margin-left: 0em;
    padding-left: 1em;
    padding-top: 1em;
}

#content5 {
    float: left;
    background-color: #eeebdc;
    /*width: 12em;*/
    margin-left: 0em;
    margin-top:1em;
    padding: 1em;
    
    border-radius: 5px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#legende {
    float: left;
    background-color: #eeebdc;
    /*width: 12em;*/
    margin-left: 0em;
    margin-top:0.5em;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#additional_info {
    float: left;
    background-color: #eeebdc;
    /*width: 12em;*/
    margin-left: 0em;
    margin-top:0.5em;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#info {
    clear: both;
    padding-left: 0em;
    padding-top: 1em;
    padding-bottom: 2em;
    background-color:#fff9f1;
}

#impressum{
    float: left;
    background-color: #fff9f1;
    width: 15em;
    margin-left: 0em;
    padding-left: 1em;
    padding-top: 1em;
}

#disclaimer{
    float: left;
    background-color: #fff9f1;
    width: 58em;
    margin-left: 0em;
    padding-left: 1em;
    padding-top: 1em;
    text-align:justify;
}



#foot {
    clear: both;
    padding-left: 0em;
    padding-top: 1em;
    padding-bottom: 2em;
    background-color:#fff9f1;
}



.companion{
    color: #218429;
    font-weight:bold;
}

.enemy{
    color: #FF0000;
}

.strong{
    font-weight: bold;
}

/* Zeitraum */




table.zeitraum, table.zeitraum td, table.zeitraum tr, table.zeitraum th {
    width: 37em;
    table-layout: fixed;
    border: 1px solid grey;
    
    border-collapse: collapse;
    
}

table.zeitraum td.anzucht{
    color:#fff;
    background-color:green;
}
table.zeitraum td.pflanzung{
    color:#fff;
    background-color:blue;
}
table.zeitraum td.direktsaat{
    color:#fff;
    background-color:red;
}


/* Legenden */

table.legende{
    width:37em;
    /*border: 1px solid grey;*/
    table-layout:fixed;
    border-spacing:0.3em;
    border-radius: 5px;
}

table.legende th{
    text-align:left;
}

table.legende th.anzucht{
    color:#fff;
    background-color:green;
}
table.legende th.pflanzung{
    color:#fff;
    background-color:blue;
}
table.legende th.direktsaat{
    color:#fff;
    background-color:red;
}

/* Navigation */
#navigation li {
    background: #616161;
    float: left;
    list-style-type: none;
}

#navigation li a {
    color: #DFE1E2;
    float: left;
    padding-left: 1em;
    padding-right: 1em;
    text-decoration: none;
}

#navigation li a:hover {
    background: #616161;
    color: #BFBFBF;
    text-decoration: underline;
}

#navigation li a.active {
    background: #616161;
    color: #BFBFBF;
    text-decoration: underline;
}

#navigation img {
    float: right;
    padding-left:0.5em;
    padding-right:0.5em;
    width:1.6em;
    height:1em; 
}

#navigation img:hover{
    opacity:40%;
}


/* Pflanzen Info */

summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-weight: bold;
}

summary::after {
    content: '';
    width: 0; 
    height: 0; 
    border-top: 10px solid #15171b;
    border-inline: 7px solid transparent;
    transition: 0.2s;
}

details article {
    opacity: 0;
}

details[open] article {
    animation: fadeIn .75s linear forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
} 

summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-weight: bold;
}

summary::after {
    content: '';
    width: 0; 
    height: 0; 
    border-top: 10px solid #15171b;
    border-inline: 7px solid transparent;
    transition: 0.2s;
}

details[open] > summary {
    border-bottom: 2px solid #fff9f1;
}

details[open] > summary::after {
    transform: rotate(-180deg);
}

summary::-webkit-details-marker {
    display: none;
}

summary {
    color: #30353b;
    border-radius: 5px;
}

details[open] summary {
    border-radius: 5px 5px 0 0;
}

details {
    background: #eeebdc;
    border-radius: 5px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}


/* extra styles */

* {
    box-sizing: border-box;
}

article > *:first-child {
    margin: 0;
}

article > * + * {
    margin: 0.75em 0 0 0;
}

#info #additional_info p {
    color: white; 
    background: #4c5568; 
    padding: 1em; 
    border-radius: 5px;
}

article {
    padding: 15px; margin: 0;
}
