*{
	/*default Einstellungen verändern*/
	margin: 0px;
	padding: 0px;
	box-sizing: border-box; /*padding and border are included in the width and height*/
}
body {
  background-color: #f1f1f1;
	/*padding-bottom: 18px; /*--Höhe vom Footer--*/
}
a {
  text-decoration: none; /*Links ohne Unterstrich*/
  font-weight: 800; /*-Links fett gedruckt-*/
}
/*-----------------------------------------------------------------*/
/*------------------------KALENDER------------------------------*/
.test {
     visibility: hidden;
    
}

/*-----------------------------------------------------------------*/
/*------------------------LOGO HEADER------------------------------*/
.logo {
  width: 100%;
  min-height: 20vh;
	background-color: #0371ea;
  background-image: url(img/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: table; /*-für vertikale Zentrierung-*/
}
.vertical-center { /*--bessere Variante als padding--*/
  display: table-cell;
  vertical-align: middle;
}
.logo h4 {
  color: #f9f9f9;
  text-align: center;
  font-size: 25px;
  text-shadow: 2px 2px 0px #111;

  text-transform: uppercase;
  letter-spacing: 6px;
  font-family: 'Poppins', sans-serif;
}

/*-----------------------------------------------------------------*/
/*-------------------------PAGE NOT FOUND--------------------------*/

.article-404 {
  text-align: center;
}
.article-404 h2 {
  font-size: 30px;
}
.article-404 h3 {
  font-size: 25px;
}
.article-404 p {
  font-size: 25px;
  line-height: 40px;
}

/*-------------------------------------------------------------------*/
/*------------------------------Menuband-----------------------------*/

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 6vh;
  background-color: #0371ea;
  font-family: 'Poppins', sans-serif;
  position: -webkit-sticky; /*-webkit sodass auch andere browser sticky unterstutzen-*/
  position: sticky;
  top: 0.0px;
}
.nav-links { /*--unordered list--*/
    display: flex;
    justify-content: space-around;
    width: 95%;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  color: #f9f9f9;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 10.8px;
}

/*---------------------------------------------------------------------*/
/*-----------------Eigentliches Dropdwon Menu--------------------------*/

.nav-links li ul {
  display: none;
  position: absolute;
  background-color: #fff;
  /*background-color: #FFFFF0;*/
  margin:1px;
  padding: 10px;
  border-radius: 0px 0px 5px 5px;
}
.nav-links li:hover ul {
  display: block;
}
.nav-links li ul li  {
    border-radius: 4px;
}
.nav-links li ul li a {
    color: #000000;
    padding: 2px 6px;
    width: 260px;
    font-size:26px;
}
.nav-links li ul li a:hover {
    background-color: #f3f3f3;
	  border-radius: 5px;
}
/*-----------------------------------------------------------------------------------*/
/*-----------------------------Fußleiste---------------------------------------------*/
footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 6vh;
  background-color: #0371ea;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  z-index: 1; /*--footer is on top of other elements because of the higher z-index--*/
  position: fixed; /*--for fixed footer--*/
  bottom: 0px;
}
/*--------------------------------------------------------------------------------*/
/*--------------------------Style der Seite mit Inhalt----------------------------*/
main {
	margin:0px auto; /*Bereich ist mittig*/
	padding:20px 20px 20px 20px; /*-top right bottom left-*/
	width: 99%;
	background: #f1f1f1; /*light gray*/
	background-attachment:fixed;
	font-family: 'Baloo Paaji 2', cursive;
  display: block; /*-für Internetexplorer-*/
}

/*--------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/
article {
	background-color: #fff;
	padding: 20px;
	margin-bottom: 20px; /*Zwischenabstand von article zu article*/
	border-radius: 5px;
}
article:last-child {
  margin-bottom: 6vh; /*Abstand vom Bottom = Höhe vom footer*/
}
article h1 {
  font-size: 1.6em;
}
article h2 {
  font-size: 1.3em;
}
article h3 {
  font-size: 0.8em;
}
article p {
  margin-top: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 24px;
  font-size: 1.0em;
}
.u1  {font-size:2.2em; color:#000000;} /*Uberschriften mit Unteruberschriften*/

.u2  {font-size:1.6em; color:#000000;}

.u3  {font-size:1.4em; color:#000000; font-weight: 1000;}

.index-main {
 width: 100%;
 display: flex;
 flex-flow: row wrap;
 justify-content: center;
 padding: 0.5%; /*-top right bottom left-*/
 }
 .index-article {
 background-color: #fff;
 padding: 20px;
 border-radius: 5px;
 flex-basis: 90%;
 margin: 1% 1% 2% 1%;
 /*last-child: 6vh;-*/
 }
 /*.index-article:nth-child(5,6) {
	 margin-bottom: 6vh;
 }*/
 .index-article h1 {
	 font-size: 2.0em;
	 flex-basis: 90%;
 }
 .index-article h2 {
	 font-size: 1.3em;
	 flex-basis: 90%;
 }
 .index-article h3 {
	 font-size: 0.8em;
	 flex-basis: 90%;
 }
 .index-article p{
	 margin-top: 0px;
	 padding-top: 5px;
	 padding-bottom: 5px;
	 line-height: 24px;
	 font-size: 1.0em;
	 flex-basis: 90%;
 }
 .index-article img{
		width: 100%;
 }
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*--------------Ab jetzt wird Tablet gestylt----------------*/

@media only screen and (min-width:650px){  /*---Grenze anpassen ????---*/

  .logo {
    min-height: 20vh;
  }

  .logo h4 {
    font-size: 40px;
    letter-spacing: 7px;
  }

  /*-----------------------------------------*/

  .nav-links a{
    font-size: 19px;
  }
  .nav-links li ul li a {
      font-size:18px;
  }
  main {
	width: 95%;
  }
  article h1 {
    font-size: 2.0em;
  }
  article h2 {
    font-size: 1.3em;
  }
  article h3 {
    font-size: 1.0em;
  }
  article p {
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 24px;
    font-size: 1.2em;
  }
 .index-main {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	padding: 0.5%; /*-top right bottom left-*/
  }
  .index-article {
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;
	flex-basis: 48%;
	margin: 1% 1% 2% 1%;
	/*last-child: 6vh;-*/
	}
	/*.index-article:nth-child(5,6) {
  	margin-bottom: 6vh;
	}*/
  .index-article h1 {
    font-size: 2.0em;
		flex-basis: 90%;
  }
  .index-article h2 {
    font-size: 1.3em;

	flex-basis: 90%;
  }
  .index-article h3 {
    font-size: 0.8em;
		flex-basis: 90%;
  }
  .index-article p{
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 24px;
    font-size: 1.0em;
		flex-basis: 90%;
  }
    .index-article img{
     width: 100%;
    }

  /*-----------------------------------------------------------------*/
  /*-------------------------PAGE NOT FOUND--------------------------*/

  .article-404 h2 {
    font-size: 25px;
  }

  .article-404 h3 {
    font-size: 20px;
  }

  .article-404 p {
    font-size: 20px;
    line-height: 20px;
  }



/*----------------------------------------------------------*/
}
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*--------Tablet horizontal für Article Index---------------*/

@media only screen and (min-width:800px){  /*---Grenze anpassen ????---*/

.index-main {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;

	padding: 0.5%; /*-top right bottom left-*/
  }

  .index-article {
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;

	/*--width: 20%;--*/

	flex-basis: 31%;
	margin: 0.5% 1% 6vh 1%;
  }

  .index-article h1 {
    font-size: 2.0em;

	flex-basis: 90%;
  }

  .index-article h2 {
    font-size: 1.3em;

	flex-basis: 90%;
  }
  .index-article h3 {
    font-size: 0.8em;

	flex-basis: 90%;
  }
  .index-article p{
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 24px;
    font-size: 1.0em;

	flex-basis: 90%;
  }

    .index-article img{
     width: 100%;
    }





/*----------------------------------------------------------*/
}
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
/*--------------Ab jetzt wird Computer gestylt--------------*/

@media only screen and (min-width:1100px){  /*---Grenze anpassen ????---*/

  .logo {
    min-height: 25vh;
	background-image: url(img/bg_desktop.jpg);
	background-position: center;
  }

  .logo h4 {
    font-size: 60px;
    letter-spacing: 10px;
  }

  /*---------------------------------------------------------*/

  .nav-links{ /*--unordered list--*/
    width: 90%;
  }

  .nav-links a{
    font-size: 24px;
  }

  .nav-links li ul li a {
      font-size:22px;
  }

   main {
	width: 90%;
  }

   article h1 {
    font-size: 2.0em;
  }
  article h2 {
    font-size: 1.3em;
  }
  article h3 {
    font-size: 0.8em;
  }
  article p {
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 24px;
    font-size: 1.0em;
  }

  .index-main {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;

	padding: 1%; /*-top right bottom left-*/
  }

  .index-article {
	background-color: #fff;
	padding: 20px;
	border-radius: 5px;

	flex-basis: 31%;
	margin: 1vh 1vh 6vh 1vh;
  }

  .index-article h1 {
    font-size: 2.0em;

	flex-basis: 90%;
  }
  .index-article h2 {
    font-size: 1.3em;

	flex-basis: 90%;
  }
  .index-article h3 {
    font-size: 0.8em;

	flex-basis: 90%;
  }
  .index-article p{
    margin-top: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 24px;
    font-size: 1.0em;

	flex-basis: 90%;
  }

  .index-article img{
     width: 100%; /*Dieser Befehl bringt nichts*/
  }

  /*-----------------------------------------------------------------*/
  /*-------------------------PAGE NOT FOUND--------------------------*/



/*--------------------------------------------------------*/
/*--------------------------------------------------------*/
}
