
/* Use a media query to add a breakpoint at 800px: */

@media screen and (max-width: 850px) {
  h1 {
    font-size: 1.8em; /* The width is 100%, when the viewport is 800px or smaller */
  }
  h6{
    font-size: 1.6em;
  }
  table, th, td{
    /*font-size: 1.2em;*/
  }
  .DivDateTimePos{
    font-size: 2.8vw;
  }
  .CheckBoxSize{
    width: 6vw;
    height: 6vw;
  }
  .CheckBoxSizeMatEdit{
    width: 1.2em;
    height: 1.2em;
  }
  .divBox{
    font-size: 4vw;
  }

  .ButtonChooseEinsatz{
    /*width: 100%;*/
    opacity: 1;
    font-size: 0.5em;
    padding: 3px;
    margin: 3px;
  }

  .DivSideBarButton{
    font-size: 0.8em;
  }

  .SideBarButton{
    font-size: 1.0em;
    padding: 7px;
  }
  .CheckButton{
    font-size: 3vw;
    padding: 7px;
  }
  .SideBarButtonSmall{
    font-size: 1.0em;
    padding: 5px;
  }
  .ButtonSmall{
    font-size: 1.1em;
    padding:5px;
  }

  .ButtonSmall100{
    font-size: 1.0em;
    padding: 2px;
  }

  .ButtonSmall100pressed{
    font-size: 1.0em;
    padding: 2px;
  }

  .LoginButton{
    font-size: 1.6em;
    padding: 5px;
    width: 100vw;
  }
  .FahrtenbuchButton{
    font-size: 1.1em;
    padding: 7px;
  }
  .SearchButton{
    font-size: 2.5vw;
    padding: 2px;
  }
  .MaterialButton{
    font-size: 2.5vw;
    padding: 2px;
    margin: 2px;
  }

  a{
    font-size: 2.5em;
  }
  .DivScroll{
    height:45vh;
    font-size: 0.8em;
  }
  .DivScrollFahrtenbuch{
    font-size: 0.8em;
  }

  .DivScrollUebungen{
    height:60vh;
    width:100vw;
    border:1px solid;
    overflow: scroll;
    background-color: white;
    padding: 2px;
    font-size: 1.1em;
  }
  .DivPWchange{
    /*height:30vh;*/
    width:100%;
    background-color: white;
    /*font-size: 4.8vw;*/
  }
  .DivMaterialList{

  }

  .DivContentStatistik{
    width: 100vw;
    height: 75vh;
    overflow-y: scroll;
  }
  .DivScrolStatistikBlock{
    height:70vh;
    width:500px;
  }

  .DivScrolStatistik1{
    /*height:17vh;*/
    max-width:490px;
    font-size: 1.2em;
  }
  .DivScrolStatistik2{
    height:60vh;
    max-width:490px;
    font-size: 1.2em;
  }

  input {
    font-size: 1.0em;
    max-width: 490px;
  }
  select {
    font-size: 1.2em;
  }
  .DivScrolASGT{
    font-size: 1.1em;

  }
  .DivScrolASGT2{
    font-size: 1.2em;
  }
  .divBoxAdmin{
    height:55vh;
    font-size: 1.5vw;
  }



  label{
    font-size: 1.3em;
  }

  .DivFahrtenbuch{
    /*height:300px;*/
    width:100%;
    background-color: white;
    font-size: 1.2vw;
  }


  .DivMannschaft1{
    font-size: 1.1em;
  }
  .DivMannschaft2{
    font-size: 1.1em;

  }
  textarea{
    font-size: 1em;
  }
  .divBoxPSA{
    font-size: 1.0em;
  }
  .DivAkte{
    font-size: 1.1em;
  }

  .HeadNav{
    font-size: 0.7em;
  }
  .aheadnav{
    font-size: 0.7em;
  }

}

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


  .grid-box {
    grid-template-columns: 30% 70%; /*Säulen*/
    grid-template-rows: 8% auto 88%; /*Reihen*/
  }

  h1 {
    font-size: 1.6em; /* The width is 100%, when the viewport is 800px or smaller */
  }
  h2{
    font-size: 1.4em;
  }
  h4{
    font-size: 1.0em;
  }
  h6{
    font-size: 1.5em;
  }
  table, th, td{
    /*font-size: 1.4em;*/
  }
  .DivDateTimePos{
    font-size: 2.8vw;
  }
  .CheckBoxSize{
    width: 1.7em;
    height: 1.7em;
  }
  .CheckBoxSizeMatEdit{
    width: 1.5em;
    height: 1.5em;
  }
  .divBox{
    font-size: 4vw;
  }

  .ButtonChooseEinsatz{
    /*width: 100%;*/
    opacity: 1;
    font-size: 0.5em;
    padding: 3px;
    margin: 3px;
  }

  .DivSideBarButton{
    font-size: 0.8em;
  }
  .DivSideBarButton50{
    font-size: 0.8em;
  }

  .SideBarButton{
    font-size: 0.8em;
    padding: 8px;
    font-weight: normal;
  }
  .SideBarButton50{
    font-size: 0.8em;
    padding: 8px;
    font-weight: normal;
  }
  .CheckButton{
    font-size: 3vw;
    padding: 7px;
  }

  .SideBarButtonSmall{
    font-size: 0.8em;
    padding: 5px;
    font-weight: normal;
  }
  .ButtonSmall{
    font-size: 1.1em;
    padding:5px;
  }

  .ButtonSmall100{
    font-size: 1.0em;
    padding: 1px;
  }

  .ButtonSmall100pressed{
    font-size: 1.0em;
    padding: 2px;
  }

  .LoginButton{
    font-size: 1.6em;
    padding: 5px;
    width: 100vw;
  }
  .FahrtenbuchButton{
    font-size: 0.8em;
    padding: 8px;
  }
  .SearchButton{
    font-size: 2.5vw;
    padding: 2px;
  }
  .MaterialButton{
    font-size: 2.0vw;
    padding: 2px;
    margin: 2px;
  }

  a{
    font-size: 1.5em;
  }
  .DivScroll{
    height:32vh;
    font-size: 0.8em;
  }
  .DivScrollFahrtenbuch{
    font-size: 0.8em;
  }
  .DivScrollUebungen{
    height:50vh;
    width:100vw;
    border:1px solid;
    overflow: scroll;
    background-color: white;
    padding: 2px;
    font-size: 0.8em;
  }

  .DivScrolStatistikBlock{
    height:70vh;
    width:300px;
  }

  .DivScrolStatistik1{
    /*height:17vh;*/
    max-width:290px;
    font-size: 1.2em;
  }
  .DivScrolStatistik2{
    height:40vh;
    max-width:290px;
    font-size: 1.2em;
  }

  .DivPWchange{
    /*height:30vh;*/
    width:100%;
    background-color: white;
    /*font-size: 2.8em;*/
  }
  .DivMaterialList{

  }


  input {
    font-size: 1.0em;
    max-width: 290px;
  }

  select {
    font-size: 1.0em;
  }

  .DivScrolASGT{
    font-size: 1.2em;

  }
  .DivScrolASGT2{
    font-size: 1.2em;
  }

  .divBoxAdmin{
    height:55vh;
    font-size: 1.5vw;
  }

  label{
    font-size: 0.9em;
  }

  .DivFahrtenbuch{
    /*height:300px;*/
    width:100%;
    background-color: white;
    font-size: 1.2vw;
  }
  .DivScrollEinsaetze{
    height:55vh;
  }

  a{
    font-size: 1.2em;
  }

  textarea{
    font-size: 1.2em;
  }

  .DivMannschaft1{
    font-size: 1.0em;
  }
  .DivMannschaft2{
    font-size: 1.0em;
  }
  .divBoxPSA{
    font-size: 1.0em;
  }
  .DivAkte{
    font-size: 1.1em;
  }

}

@media only screen and (max-height: 500px) {
  a{
    font-size: 1.2em;
  }
}
