

  body {

     font: normal 1em Arial;
     color:#515151;
     margin: 0;                     c
     display:block;

   }

   h1, h2, b {
     color:#515151;
   }

   b {
     color:#707070;
   }

   h3 {
     color:#515151;
   }

  .mburger {

     width: 80px;
     height: 80px;
     --mb-bar-height: 2px;
   }

  .mburger {
     display: none !important;
   }

  .mm-panel {
     --mm-color-background:#EFEFEF;
     --mm-color-text: #222;
     --mm-color-button: #4bb5ef;
   }



  #my-page  {
     display: grid;
     grid-template-columns: 1fr 3fr 1fr;
     grid-template-rows: auto auto auto auto;
     grid-template-areas:
     ". header ."
     "nav nav nav"
     ". article ."
     "footer footer footer";
  }

  #my-header  {
     grid-area: header;

  }



 /***** Navigation **********************************************/




  nav {
     grid-area:nav;
      background-color:#FFFFFF;
  }

  nav ul {
     display: flex;
     flex-direction: row;
     justify-content: center;
     margin: 0;
  }

  nav a {
     display: inline-block;
     text-decoration: none;
     color:#8080C0;
     font-size: 1em;
  }

  nav a[color-red="seite"]{
     color:#FF0000;
     font-weight: bold;
  }

  nav ul li {
     list-style: none;
  }


  nav li a {
     display: inline-block;
     color:#707070;
     text-align: center;
     padding: 20px 20px;
     text-decoration: none;
  }

  nav li a:hover{
     background-color:#EEEEEE;
  }

  li.dropdown {
     display: inline-block;
  }

  .dropdown-content {
     display: none;
     position: absolute;
     background-color: #f9f9f9;
     min-width: 160px;
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
     z-index: 1;
  }

 .dropdown-content a {
     color: black;
     padding: 12px 16px;
     text-decoration: none;
     display: block;
     text-align: left;
  }

 .dropdown-content a:hover {
    background-color:#EEEEEE;
  }

 .dropdown:hover .dropdown-content {
    display: block;
  }




  /***** Formular **********************************************/



  form {
    font: 1em/120% Arial;
  }

  form div {
    padding: 0.2em;
  }

 .baufinanzierungsrechner label {
    min-width: 12em;
    display:inline-block;
    text-align:left;
  }

 .baufinanzierungsrechner input {
    width: 12em;
    padding: 0.7em;
    font-family: Arial;
    color:#040404;
    border: 1px solid #959595;
  }

  input:hover,textarea:hover {
    background: #fffff0;
    border: 2px solid #efe816;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  label{
    min-width:8em;
    display:inline-block;
    text-align:left;
  }

  input {
    width: 20em;
    padding: 0.7em;
    font-family: Arial;
    color:#040404;
    border: 1px solid #959595;
  }


  textarea {
    width: 24em;
    padding: 0.1em;
    font-family: Arial;
    color:#040404;
  }

  button,input[type="checkbox"] {
    width: auto;
  }

  label:first-child {
    vertical-align: top;
  }


  input[type="checkbox"], input[type="submit"] {
    margin-left: 10em;
  }

  button,input[type="submit"],input[type="reset"] {
    width: 10em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background: #dcdcdc;
    border: 2px solid #6c6c6c;
    color: black;
  }

  input:hover,textarea:hover {
    background: #fffff0;
    border: 2px solid #efe816;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  input[type="submit"]:hover,input[type="reset"]:hover {
    background: #c9c9c9;
    border: 2px solid #6c6c6c;
  }

  input[type="submit"]:active,input[type="reset"]:active {
    background: #8f8f8f;
  }

  input:required+label::after {
    color: red;
    content: " ⨉";
  }

  textarea:required+label::after {
    color: red;
    content: " ⨉";
  }

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

  textarea:valid+label::after {
    color: green;
    content: " ✓";
  }

  input[type='checkbox']:valid+label::after {
    color: green;
    content: " ✓";
  }





   /******* Table ***********************************************/




 table {
  width: 600px;
  border: 1px solid black;
  color:#212121;
 }

 tr,td,th { padding: 0.2em;
     border: 1px solid black;
 }





 /***** Content **********************************************/



   p a {
     color:2EBDFF;
     box-shadow: inset 0 -3px 0 -1px 2EBDFF;
     padding: .25em 0;

     transition: all .5s;
   }

   p  a:hover,
   p  a:focus {
     box-shadow: inset 0 -30px 0 #91DBFF;
   }


  article {
     grid-area: article;
     padding: 1em;

  }


 /***** Footer **********************************************/




 footer {

     grid-area: footer;
     background-color:#EFEFEF;
   }

 footer a {

     display:block;
     color:#444444;
     text-decoration: none;
     padding:0.5em;
     margin: 0.5em;
  }

 footer a[color-red="footer"]{
     color: red;
     font-weight: bold;
  }

 footer ul {
     display: flex;
     flex-direction: row;
     justify-content: center;
     margin: 0;
     padding: 0;
  }

 footer li a:hover {
     background-color:#FFFFFF;
  }

 footer ul li {
     list-style: none;
  }

 footer ul li a:hover {
     color:red;
  }

 #footer-container {
     display:flex;
     flex-direction: row;
     justify-content: center;
     padding:0 0 0 0;
  }




  /************************************************ Mburger  **********************************************/






 @media (max-width: 600px) {

   #my-menu {
      display: none !important;
    }

   .mburger {
        display:block !important;
    }

 }

  @media (min-width: 601px) {
        #mm-my-menu{
            display: none !important;
        }

   }





  /************************************************ Media  **********************************************/




  /*  Smartphones in portrait mode  */



 @media (max-width: 420px) {


 #my-page  {
     display: grid;
     grid-template-columns: 100%;
     grid-template-rows: auto auto auto auto;
     grid-template-areas:
     "header"
     "nav"
     "article "
     "footer "
    ;
  }


  #my-header  {
     display:flex;
     flex-direction: column;
  }

 .table-scrollable {
      width: 100%;
      overflow-y: auto;
      margin: 0 0 1em;
  }

 .table-scrollable::-webkit-scrollbar {
      -webkit-appearance: none;
      width: 14px;
      height: 14px;
  }

 .table-scrollable::-webkit-scrollbar-thumb {
      border-radius: 8px;
      border: 3px solid #fff;
      background-color: rgba(0, 0, 0, .3);
  }

  tr,td,th {border: 1px solid black;
  }


 footer {
     grid-area: footer;
     display:flex;
     flex-direction:column;
   }

 #footer-liste {
     display:flex;
     flex-direction: column;
  }

 #footer-liste ul {
     display:flex;
     flex-direction: column;
     justify-content: center;
     padding:0.5em;
     margin: 0.5em;
   }

 #footer-liste li a {
     display:flex;
     justify-content: center;
   }

 #footer-container {
     margin:0;
     padding:0;

  }

 svg {
     max-width: 100%;
     height: auto;
  }

 }



  /* Einspaltiger Umbruch bei 640 Pixel */



@media screen and (max-width: 40em) {

    label:not(.nobreak) {
        display: block;
    }
    label {
        padding-bottom: 0.4em;
    }
    input:not(.nobreak) {
        display: block;
    }
    input[type="checkbox"],
    input[type="submit"],
    input[type="radio"] {
        margin-left: 0;
        ;
    }
}




 /*  Smartphones in landscape mode */



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

  #my-page {
     display: grid;
     grid-template-columns: 100%;
     grid-template-rows: auto auto auto auto;
     grid-template-areas:
     "header"
     "nav"
     "article "
     "footer "
    ;
  }


  main  {
      padding: 1em 0;
      margin: 1em 0;
  }

 table {
     max-width: 300px;
     border: 1px solid black;
     overflow: auto;
 }

 footer {
     grid-area: footer;
     display:flex;
     flex-direction:column;
     padding:0 0 0 0;

}

 #footer-container {
     display:flex;
     flex-direction: column;
     padding:0 0 0 0;
  }

  svg {
     max-width: 100%;
     height: auto;
  }

 }




  /*  Tablets in portrait mode, large display smartphones landscape mode */


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


  #my-page {
     display: grid;
     grid-template-columns: 100%;
     grid-template-rows: auto auto auto auto;
     grid-template-areas:
     "header"
     "nav"
     "article "
     "footer"
    ;
  }

   footer {
     grid-area: footer;
     display:flex;
     flex-direction:column;
     margin: 0 0 0 0;
     padding:0 0 0 0;

  }

  #flex-container {
     padding:0 0 0 0;
  }

   svg {
     max-width: 100%;
     height: auto;
  }


 }