﻿/* ====================================================  GLOBAL DEFINITION  ==================================================== */

/* alternatives Boxmodell */

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

body {
  max-width: 65em;
  margin: 0 auto;
  padding: 0 1em;
  font: normal 1em Arial, sans-serif;
  color: darkblue; /* wird als currentColor fÃ¼r die Akzentfarbe verwendet. */
  background-color: #ffffff;
}

p, ol, ul, dl {color: #333;}

/* ====================================================  HEADER  ==================================================== */

header {
    margin: 0;
    padding: .5em;
    background: url('../image/DPP_0037.JPG');
}

header a {
  padding: .5em .5em .5em 3em;
  height: 3em;
    text-decoration: none;
  border: 1px solid transparent;
}

header p {
  font-variant: small-caps;
  font-size: 2em;
}

header span {
  font-weight: bold;
}

.akzentfarbe1 {
  color:orange;
}

.akzentfarbe2 {
  color: darkred;
}

/* ====================================================  CONTENT  ==================================================== */

h1, h2 {
  color: currentColor;
  text-align:center
}
h3 {
    color: currentColor;
    text-align: left
}
article img {
    width:100%;
    position:center
}

p img {
    width: 33%;
    }
img.sichtbar {
    width: 1.5em;
}

button img {
    width: 1.5em;
}

img.unsichtbar {
        display:none;
}
    
input.unsichtbar {
    display:none;
}
/*Rahmen fÃ¼r intern*/
#ausgabe li {
    margin: 0.2em 0.1em 0.1em 0em;
    padding: 0.0em 0.1em 0.1em 0em;
    border: 1px solid black
}
#ausgabe ul {
    margin: 0.1em 0.1em 0.1em 0.1em;
    padding: 0em 0.0em 0.0em 0em;
    border: 1px solid black
}
form {
    display:inline-block;
}
a {
  color: currentColor;
  font-weight: bold;
}
a:hover, a:focus {
  color: #888;
}

a:focus,
a:hover {
  background-color:gold;
}

a.more {
  float: right;
}
a.more::before {
    margin-right: .5em;
}
a.more:hover, a.more:focus {
  color: black;
}
a.more:hover::before, a.more:focus::before {
  color: white;
}

h2.img {
  padding-left: 2.5em;
}


img, a img {
  border: 0 none;
}

article > h2 {
  clear: both;
}
article > h2 + p > img {
	width: 33%;
  float: left;
  margin: .15em 1.5em 1.5em 0;
}
article > h2:nth-of-type(odd) + p > img {
  float: right;
  margin: .15em 0 1.5em 1.5em;
}

.buttonclass:hover {
    background-color: gold;
    color: currentColor;
}

dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 1em 2em;
  margin-bottom: 3em;
}
dl > * {
  margin: 0;
  padding: 0;
}
dt {
  font-weight: bold;
}
dt::after {
  content: ":";
}

.news {
  background: no-repeat top .5em right .5em #eee;
  padding: 0 1em 1em;
}

.news h3 {
  color: #666;
}



aside ul,
.news ul {
  margin: 2em 0;
  padding: 0;
  color: orange;
  list-style-position: inside;
}
aside li,
.news li {
  font-weight: bold;
  padding: .5em 0;
}
.news li span {
  color: #474747;
}
aside ul {
  color: #333;
}

.keinfehler {
    background: yellowgreen;
}

.pruefen {
    background: #FF6600;
}

.gpsubmitsuch {
    background: yellow;
}

.gpsubmiton {
    background: yellowgreen;
}

.Fehler {
    background: yellow;
}

.gpsubmitoff {
    background: red;
}

.buchung {
    background: yellowgreen;
}

.inputfehler {
    border-color: red;
}

/* ====================================================  NAV  ==================================================== */

nav ul {
  box-shadow: 0 .3em .3em 0 rgba(0, 0, 0, .75);
  text-align: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav a {
  background-color: darkred;
  color: white;
  text-decoration: none;
  display: inline-block;
  width: 95%;
  margin: .5em 0;
  padding: .5em 1em;
  border-radius: .5em;
}

nav a[aria-current="page"]{
 color: orange;
 font-weight: bold;
}

nav a:hover,
nav a:focus {
  background-color: gold;
  color: currentColor;
}

nav a:hover::after ,
nav a:focus::after{
  color: transparent;
}

nav details {
    color:black
}
    nav details:hover {
        background-color: gold;
        color: currentColor;
    }



/* ====================================================  FOOTER  ==================================================== */

footer {
  margin: 2em 0;
  display: flex;
  color: #989898;
}

footer ul,
footer p {
  flex: 1 1 100%;
}

footer ul {
  padding-left: 0;
  margin-left: 0;
}

footer li  {
  list-style-type: none;
  display: inline-block;
  border-left: .2em solid #989898;
}
footer li:first-child  {
  border-left-color: transparent;
}
footer a {
  color: #999;
}
footer a:hover, footer a:focus {
  color: #333;
}
footer li a {
  padding: 0 .5em 0 .7em;
}
footer p {
  margin-top: 0;
  padding-top: 0;
  text-align: right;
}


/* ====================================================  LAYOUT  ==================================================== */

/* Mobile first ! alle BlÃ¶cke haben 100%, Navigation unten*/
main  {
  padding: 1em 0;
  margin: 2em 0;
}

/* Navigationselemente werden untereinander angezeigt */
nav ul {
  display: flex;
  flex-direction: column;
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 20em) {
  header {
    height: 5em;
  }
    iframe {
        width: 100%;
        height: 15em
    }
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 45em) {
    header {
        background: url('../image/DPP_0037.JPG');
        background-size: contain;
    }

  /* Navigation wird nebeneinander ausgerichtet. */
  nav ul {
    flex-direction: row;
    background-color: darkred;
  }

  nav li {
    margin: 0;
    flex: 1 1 0%;
  }

  /* Main wird zum Flex-Container */
  main {
    display: flex;
    flex-flow: row wrap;
  }

  main > * {
    flex: 1 100%;  /* Alle Kindelemente werden Ã¼ber die volle Breite dargestellt */
  }

  section {
    flex: 1 48%;  /* Diese Elemente erhalten eine halbe Breite */
    margin: 1%;
  }

    iframe {
        width: 100%;
        height: 35em
    }
  
    #galerie {
        width: 100%;
        margin: 100px auto;
    }
}

/* 2-Spaltenlayout mit breiterem aside */
@media screen and (min-width: 58em) {
  section, aside {
    flex: 1 31%;  /* Diese Elemente erhalten eine Breite von 1/3.  */
    margin: 1%;
  }

  article {
    flex: 0 0 100%;
    margin: 1%;
  }


/*   article p, */
  article li,
  article blockquote {
    max-width: 40em;
  }

    iframe {
        width:100%;
        height: 35em
    }
    #about {
    flex: 1 30%;
    margin: 1%;	  
    background-color: #eee;
    border: 1px solid darkred;
    padding: 1em;
    height: 22em;
  }
  
  #impressum {
    flex: 1 60%;
    margin: 1%;
}

    aside p {
    margin-bottom: 3em;
  }
  aside p:last-child {
    margin-bottom: 1.2em;
  }
    #galerie {
        width: 100%;
        margin: 100px auto;
    }
}

/*MKTREE*/
ul.mktree li {
    list-style: none;
}
/* Control how "spaced out" the tree is */
ul.mktree, ul.mktree ul, ul.mktree li {
    margin-left: 10px;
    padding: 0px;
    background-color: #FFFFFF;
}
    /* Provide space for our own "bullet" inside the LI */
    ul.mktree li .bullet {
        padding-left: 15px;
    }
    /* Show "bullets" in the links, depending on the class of the LI that the link's in */
    ul.mktree li.liOpen .bullet {
        cursor: pointer;
        background: url(../css/minus.gif) center left no-repeat;
    }

    ul.mktree li.liClosed .bullet {
        cursor: pointer;
        background: url(../css/plus.gif) center left no-repeat;
    }

    ul.mktree li.liBullet .bullet {
        cursor: default;
        background: url(../css/bullet.gif) center left no-repeat;
    }
    /* Sublists are visible or not based on class of parent LI */
    ul.mktree li.liOpen ul {
        display: block;
    }

    ul.mktree li.liClosed ul {
        display: none;
    }
    /* Format menu items differently depending on what level of the tree they are in */
    ul.mktree li {
        font-size: 16pt;
        text-align: left;
    }

        ul.mktree li ul li {
            font-size: 14pt;
            text-align: left;
        }

            ul.mktree li ul li ul li {
                font-size: 12pt;
            }

                ul.mktree li ul li ul li img {
                    height: auto;
                    width: 16em;
                }

                    ul.mktree li ul li ul li img.icon {
                        height: 1em;
                        width: auto;
                    }

                ul.mktree li ul li ul li ul li {
                    font-size: 10pt;
                }

#menu {
    display: block;
    visibility: collapse;
}
/*galerie*/

#galerie {
    box-sizing: border-box;
       
}
    
    #galerie figure {
        background: #FFF;
                display: inline-block;
        height: 15em;
        margin: 0 0 0 2.5em;
        overflow: hidden;
        padding: 0;
        width: 15em;
        transition: all 0.25s ease-in;
    }

        #galerie figure img {
            width: 15em;
            height: 15em;
        }

        #galerie figure:hover,
        #galerie figure:focus {
                        margin: 0 0 0 2.5em;
            padding: 0 0 0 2.5em;
            width: 15em;
            height:15em;
            z-index: -2;
            transform: scale(2);
        }

    #galerie figcaption {
                
        font-size:0.5em;
        color:black;
        width: 15em;
    }
    #galerie img:hover,
    #galerie img:focus {
        height: 14em;
           }

    #galerie figure:nth-child(3n-2):hover,
    #galerie figure:nth-child(3n-2):focus {
        transform: scale(2) rotate(-2.5deg);
    }

    #galerie figure:nth-child(5n):hover,
    #galerie figure:nth-child(5n):focus {
        transform: scale(2) rotate(2.5deg);
    }

    #galerie:after {
        clear: both;
        content: " ";
        display: block;
    }