
@media(max-width: 1400px){

  body {font-family: "Lato", sans-serif;}

/*MENU/SIDEBAR*/
.sidebar {
  height: 100%;
  width: 0%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 3.6%;
  }
  
  .sidebar a {
    padding: 20px 10px 20px 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 5vw;
    color: #b8b8b8;
    display: block;
  }


.menu{
    background-color: #111;
    height: 69px;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
}

.menu a{
  padding: 20px 30px 20px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  float: right;
  color: #b8b8b8;
  display: inline;
 
}
  .menu img{
    display: none;
  }

#active{
  background: white;
  color: #1e81b0;
}

#logo{
    position: absolute;
    top: 0.05%;
    left: 25%;
    width: 14.7%;
    z-index: 3;
    height: 7%;
    width: 50%;
}

#logout{
  color: #f1f1f1;
  position: absolute;
  bottom: 0;
  padding-bottom: 30px;
  padding-top: 20px;
  padding-left:25%;
  padding-right: 8%;
}

#logout:hover{
  color: rgb(144, 0, 0);
  background-color: unset;
}

/*grid*/
.functionGrid{
  margin-left: auto;
  margin-right: auto;
  padding-right: 5%;
  padding-bottom: 5%;
  padding-top: 5%;
  background: rgb(250, 250, 250);
  color: #186386;
  max-width: 1400px;  
}

.grid-item {
	color: #186386;
	background-color: white;
	border: 0.5em solid white;
	border-radius:5px;
	padding: 20px;
	font-size: 18px;
	text-align: center;
	margin-top: 5%;
	box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 10px, rgba(0, 0, 0, 0.09) 0px 4px 10px, rgba(0, 0, 0, 0.09) 0px 8px 10px, rgba(0, 0, 0, 0.09) 0px 16px 10px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  }

/*GridHome*/
.grid-container {
	margin-top: 10%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

/*Toggle*/
#closebtn{
  display: block;
  position: relative; 
  padding: 20px 10px 20px 16px;
}

#openbtn{
  position: fixed;
  top: 3%;
  padding: 0px 10px 20px 16px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 5vw;
  color: #f1f1f1;
  display: block;
  z-index: 1;
}

  
.logincontainer{
  height: 400px;
  width: 85%;
  background-color:rgb(245, 245, 245);
  border: 0px;
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 10px, rgba(0, 0, 0, 0.09) 0px 4px 10px, rgba(0, 0, 0, 0.09) 0px 8px 10px, rgba(0, 0, 0, 0.09) 0px 16px 10px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15%;
  padding: 20px;
}

.loginform h2{
  text-align: center;
  text-transform: uppercase;
  border-bottom:1px solid #b8b8b8;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

input[type=text], input[type=password] {
  width: 100%;
  padding: 10px 10px;
  margin: 10px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #1e81b0;
  color: white;
  padding: 14px 20px 10px;
  margin: 60px 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 20px;
  text-transform: uppercase;
}

input[type=submit]:hover {
  background-color: #186386;
}

/*Fehlermeldung*/
.fehler{
  position: absolute;
  top: 55%;
  color: rgb(144, 0, 0);
  font-weight: 600;
}

/*DataContainer*/
.data{
  position: relative;
  left: 0;
  margin-left: 0;
  margin-top: 20%;
  height: 100%;
  width: 100%;
  border-radius: 0px;
  background-color: white;
}

.datatyp{
  height: 100%;
  width: 100%;
  padding: 2% 0 2% 0;
}

.datatyp input[type=text], .datatyp input[type=password], .datatyp input[type=submit],.datatyp input[type=date],.datatyp input[type=file], .datatyp input[type=number],.datatyp input[type=email], .datatyp select {
 width: 500px;
 padding: 10px 10px;
 margin: 10px 0;
 display: inline-block;
 border: 1px solid #ccc;
 border-radius: 3px;
 box-sizing: border-box;
}

.datatyp input[type=submit]{
  height: 70px;
 }

 .inputdata input[type=time]{
 width: 100px;
 padding: 10px 10px;
 margin: 10px 0;
 display: inline-block;
 border: 1px solid #ccc;
 border-radius: 3px;
 box-sizing: border-box;
 }

 textarea {
  resize: none;
  border-radius: 3px;
  width: 100%;
  padding: 10px 10px;
  margin: 10px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

.inputdata{
  display:flexbox;
  float: left;
  width: 35%;
}

.inputdata2{
  float: right;
}


  #entfernen{
    display: none;
  }

  .eingabeFenster{
    vertical-align: middle;
  }

  #eingabeBtn{
    width:30%;
    height:10vw;
    font-size: 3vw;
  }


  .mitteilung{
    margin-left: 5%;
    margin-right: auto;
    padding-right: 5%;
    padding-bottom: 5%;
    padding-top: 5%;
    background: rgb(250, 250, 250);
    color: #186386;
    width: auto;
  
  }

  #textinput{
      margin-left:5%;
  }

  #textarea {
    resize: none;
    border-radius: 3px;    
    margin-left: 15%;
    margin-right: auto;
    width: 340px;
    padding: 10px 10px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
  
  }

/*Text wenn gesendet wird*/
.sendtext{
	position: relative;
	left: 43%;
	display:inline-block;
	text-align: left;	
	width: 35%;
	padding: 1%;
	margin-top: unset;
	background-color: #186386;
	font-size: 14px;
	font-weight: 500;
	color: white;
}

.sendtextUhr{
	position: relative;
	left: 40%;
	display:inline;
	text-align: left;	
	width: 5%;
	margin-top: 0.2%;
	font-size: 12px;
	font-weight: 500;
	color: #186386;
}

/*Text wenn empfangen wird*/
.empfangtext{
	position: relative;
	right: 23%;
	display:inline-block;
	text-align: left;	
	width: 35%;
	padding: 1%;
	margin-top: 0.15%;
	background-color: rgba(100, 100, 100, 0.9);
  border-radius: 3px;
	font-size: 14px;
	font-weight: 500;
	color: white;
}

.empfangtextUhr{
	position: relative;
	left: 40%;
	display:inline;
	text-align: left;	
	width: 5%;
	margin-top: 0.2%;
	font-size: 12px;
	font-weight: 500;
	color: rgb(95,95,99,0.9);
}

#sendmsg{
  width:340px;
  height:60px;
  margin-left:15%;
  margin-top:unset;
}


.grid-containerj {
	margin-top: 12%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .grid-containerj h1{
	font-size: 16px;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1px;
	color: #186386;
  }
  
  .grid-itemj {
	color: #186386;
	background-color: white;
	border: 0.5em solid white;
	border-radius:5px;
	font-size: 16px;
	text-align: center;
	margin: 2%;
	box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 10px, rgba(0, 0, 0, 0.09) 0px 4px 10px, rgba(0, 0, 0, 0.09) 0px 8px 10px, rgba(0, 0, 0, 0.09) 0px 16px 10px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
  }

  .grid-itemj a{
    text-decoration: none;
    color: #186386;
    font-size: 12px;
  }

 .grid-itemj th td{
     margin-left:0;
     width:90%;
 }

  .functionGridj{
    margin-left: 2%;
    padding-right: 5%;
    padding-bottom: 5%;
    padding-top: 5%;
    background: rgb(250, 250, 250);
    color: #186386;
    max-width: 1400px;  
  }

  .functionGridBtn{
    background-color: #186386;
    padding: 10px;
    border-radius: 3px;
    text-align:center;
  }

  .functionGridBtn a{
    background-color: #186386;
    color:white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px; 
}

table{
  overflow: auto;
  border-collapse: collapse;
}

th{
	font-weight: bold;
	background-color: rgb(230, 230, 230);
	padding: 6px;
}

td{
	padding: 1px;
	text-align: left;
	color: black;
}

tr:nth-child(odd) {
	background-color: rgb(240, 240, 240);
  }





}