body {font-family: "Lato", sans-serif;}

/*MENU/SIDEBAR*/
.sidebar {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 3%;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
  
  .sidebar a, #beg {
    padding: 15px 10px 15px 16px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    color: #b8b8b8;
    display: block;
  }
  
  .sidebar a:hover{
    color: #1e81b0;
  }

.menu{
    background-color: #111;
    height: 69px;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
     float: right;
}

.menu a{
  padding: 20px 30px 20px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  float: right;
  color: #b8b8b8;
  display: inline;
 
}

#active{
  color: #1e81b0;
}

#logo{
    position: fixed;
    top: 0.05%;
    left: 42.65%;
    width: 14.7%;
    z-index: 3;
}


#logout:hover{
color: rgb(144, 0, 0);
background-color: unset;
}

/*Index-LOGIN*/

.logincontainer{
  height: 400px;
  width: 500px;
  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: 10%;
  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;
}

/*Grid home*/

.grid-container {
	margin-top: 2%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .grid-container h1{
	font-size: 18px;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 1px;
	color: #186386;
  }
  
  .grid-item {
	color: #186386;
	background-color: white;
	border: 0.5em solid white;
	border-radius:5px;
	padding: 20px;
	font-size: 18px;
	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;
  }

  .functionGrid,.mitteilung{
    margin-left: 20%;
    padding-right: 5%;
    padding-bottom: 5%;
    padding-top: 5%;
    background: rgb(250, 250, 250);
    color: #186386;
    max-width: 1400px;  
  }

  .functionGridBtn{
    background-color: #186386;
    padding: 12px;
    border-radius: 3px;
  }

  .functionGridBtn a{
    background-color: #186386;
    color:white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px; 
}

/*Toggle*/

#closebtn{
  display: none;
}

#openbtn{
  display: none;
}

/*Fehlermeldung*/
.fehler{
  position: relative;
  top: 2%;
  color: rgb(144, 0, 0);
  font-weight: 600;
}

/*DataContainer*/
.data{
  position: relative;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  width: 70%;
  border-radius: 3px;
  background-color: white;
}

.datatyp{
  height: 100%;
  width: 90%;
  padding: 2% 0 2% 0;
  margin-left: auto;
  margin-right: auto;

}

.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: 400px;
 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: 700px;
  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;
}

/*Table*/
table{
  overflow: auto;
  border-collapse: collapse;
   margin-left:auto;
    margin-right:auto;
}

th{
	font-weight: bold;
	background-color: rgb(230, 230, 230);
	padding: 8px;
}

td{
   
	padding: 10px;
	text-align: left;
	color: black;
}

tr:nth-child(odd) {
	background-color: rgb(250, 250, 250);
  }


  #entfernen{
    display: none;
  }

.einschreiben{
  background-color: darkgreen;
  border: none;
  border-radius: 3px;
  color: white;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin: 1px 2px;
  cursor: pointer;
}

.mitteilung{
  background-color: white;
  margin-left:5%;
  width: 640px;
  height: 300px;
  border-radius: 3px;
  border: 1px solid lightgray;
  overflow: auto;
}

#sendmsg{
  width:60%;
  height:12%;
}


/*Text wenn gesendet wird*/
.sendtext{
	position: relative;
	left: 55%;
	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: 55%;
	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: 10%;
	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);
}


.animationMSG{
  position: absolute;
  top: -15%;
  right: 1%;
}
.nachricht a{
    margin: 1rem auto;
    animation: nachricht 2s ease-in-out infinite;
    color:#1e81b0;
    font-size:20px;
}

/*animation*/
@keyframes nachricht {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.2;
	}

	100% {
		opacity: 1;
	}
}


.grid-containerj {
	margin-top: 1%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 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;
	padding: 10px;
	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: 16px;
  }

  .functionGridj{
    margin-left: 20%;
    padding-right: 2%;
    padding-bottom: 2%;
    background: rgb(250, 250, 250);
    color: #186386;
    max-width: 1400px;  
  }

  .functionGridBtn{
    background-color: #186386;
    padding: 12px;
    border-radius: 3px;
    text-align:center;
  }

  .functionGridBtn a{
    background-color: #186386;
    color:white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px; 
}


