
ul {
    list-style-type: none;
    margin:0;
    padding:0;
}
ul li {
     float: left;
     position: relative;
}
li a {
     display: block;
     width: 156px;
     color: black;
     text-align: center;
     background-color: lightgray;
     padding: 0.2em 0.6em;
     text-decoration: none;
     border: 1px solid lightgray;
     border-bottom: 1px solid darkgray;
     border-right: 1px solid darkgray;
}
li a:hover {
     background-color: silver;
     border: 1px solid: darkgray;
     border-bottom: 1px solid black;
     border-right: 1px solid black;
}
ul li ul {
     display: none;
     position: absolute; /* Damit der folgenden Inhalt nicht nach unten rückt */
}
ul li:hover ul {
     list-style-type: none;
     display: block;
}
ul li:hover ul a {
     display: block;
     width: 135px;
     color: black;
     text-align: center;
     background-color: lightgray;
     padding: 0.2em 0.6em;
     text-decoration: none;
     border: 1px solid lightgray;
     border-bottom: 1px solid darkgray;
     border-right: 1px solid darkgray;
}
ul li ul li a:hover {
     background-color: silver;
     border: 1px solid: darkgray;
     border-bottom: 1px solid black;
     border-right: 1px solid black;
}

ul.listing {
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1 em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
}

ul.listing li {
    text-align: left;
    display: list-item;
}

/*
// klebt Menüleiste am oberen Bildschirmrand (Sollzustand)
div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
*/
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

header {
    background-color: darkgray;
    height: /*590px*/65%;
}

footer {
    text-align: center;
}

body {
    background-color: #BFBFAA;
}

body, html {
    margin: 0;
    padding: 0;
    border: 0;
}

h1 {
    color: yellow;
    text-align: center;
}

h1#welcome {
    color: red;
}

h3#beruf {
    color:red;
}

h1.DS, h2.DS, h3.DS {
    text-align: left;
    color: black;
}

.dateTime {
    background-color: #BFBFAA;
    border: 1px solid black;
}

p#time_interval {
    background-color: #fff;
    text-align: left;
    font-weight: bold;
    border: 1px solid black;
}

p#date_interval {
    background-color: #fff;
    text-align: left;
    font-weight: bold;
    border: 1px solid black;
}

.card {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

/* Add some padding inside the card container */
.card-container {
  padding: 2px 16px;
}

p {
    font-family: verdana;
    font-size: 14px;
    text-align: justify;
}

.sidebar-p {
    margin: 0;
    padding: 5px 5px;
    border: 0;
}

.outer-link {
    text-decoration: none;
    font-weight: bold;
    color: blue;
}

.DSE-link {
    text-decoration: none;
    font-size: 10px;
    font-weight: normal;
    color: blue;
}

a.gohome {
    text-decoration: none;
    color: blue;
}

.block {
    text-align: block;
}

#impressum-rahmen {
    padding: 5px 5px;
    border: 1px solid black;
}

input { background-color: lightgray; }
input:focus { background-color: #FFFFFF; }

input[type='text']:invalid + label::after {
  color: red;
  content: " x";
}
input[type='text']:valid + label::after {
  color: green;
  content: " ";
}

input[type='email']:invalid + label::after {
  color: red;
  content: " x";
}
input[type='email']:valid + label::after {
  color: green;
  content: " ";
}

#sidebar {
    background-color: #BFBFAF;
    margin: 0;
    padding: 5px 5px;
    border: 0;
    width: 200px;
    float: left;
}

main {
    padding: 5px 5px;
    margin: 0;
    border: 0;
    width: 500px;
    float: left;
}

.clear {
    clear: both;
}

.row {
    clear: both;
}


.grid1, .grid2, .grid3, .grid4,
.grid5, .grid6, .grid7, .grid8,
.grid9, .grid10, .grid11, .grid12 {
   margin-left: 10px;
   margin-right: 10px;
   float: left;
}

.grid1_right {
   margin-left: 10px;
   margin-right: 10px;
   float: left;
}


@media screen and (max-width: 767px) {


  #wrapper {
     width: auto;
     max-width: none;
     margin: 0 auto;
  }

  .grid1, .grid2, .grid3, .grid4,
  .grid5, .grid6, .grid7, .grid8,
  .grid9, .grid10, .grid11, .grid12 {
     width: 95%;
  }

  article { clear: both;}
}



@media screen and (min-width: 768px) and (max-width: 960px) {


  #wrapper {
     width: 744px;
     max-width: none;
     margin: 0 auto;
  }

  .grid1 { width: 42px; }
  .grid2 { width: 104px; }
  .grid3 { width: 166px; }
  .grid4 { width: 228px; }
  .grid5 { width: 290px; }
  .grid6 { width: 352px; }
  .grid7 { width: 414px; }
  .grid8 { width: 476px; }
  .grid9 { width: 538px; }
  .grid10 { width: 600px; }
  .grid11 { width: 662px; }
  .grid12 { width: 724px; }
}



@media screen and  (min-width: 960px) {


  #wrapper {
     width: 960px;
     max-width: none;
     margin: 0 auto;
  }

  .grid1 { width: 60px; }
  .grid2 { width: 140px; }
  .grid3 { width: 220px; }
  .grid4 { width: 300px; }
  .grid5 { width: 380px; }
  .grid6 { width: 460px; }
  .grid7 { width: 540px; }
  .grid8 { width: 620px; }
  .grid9 { width: 700px; }
  .grid10 { width: 780px; }
  .grid11 { width: 860px; }
  .grid12 { width: 940px; }
}