/*Bildwechsel Ein/Aus*/
.image_full{
   display:block;
  }

 .image_mobile{
  display:none;
 }

@media (max-width: 640px) and (min-width: 320px){
  .image_full{
   display:none;
  }

  .image_mobile{
   display:block;
  }
}

/*div An/Aus*/
.mobile_divoff{
   display:relative;
  }
@media (max-width: 940px) and (min-width: 200px){
  .mobile_divoff {
   display:none;
  }
}

/*Strip the ul of padding and list styling*/
ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
	z-index: 99;
}

/*Create a horizontal list with spacing*/
li {
	display:inline-block;
	float: left;
}

/*Style for menu links (!) border-color:#A00; (alt)*/
li a {
	display:block;
	min-width:98px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-family: Arial, sans-serif;
	font-size: 8.5pt;
	color: #FFF;
	background: #C00;
	text-decoration: none;
	border-style:solid;border-width:1px;border-color:#FFF;
}

/*Hover state for top level links (!) border-color:#A00; (alt) */
li:hover a {
	background: #A00;
	color: #FFF;
	text-decoration: none;
	border-style:solid;border-width:1px;border-color:#FFF;
}

/*Style for dropdown links*/
li:hover ul a {
	background: #888;
	color: #FFF;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	border-style:solid;border-width:0;
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
	background: #999;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
li ul {
	display: none;
}

/*Make dropdown links vertical*/
li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
li ul li a {
	width: auto;
	min-width: 160px;
	padding: 0 20px;
	text-align: left;
	z-index: 99;
}

/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: Arial, sans-serif;
	font-size: 16px;
	text-decoration: none;
	color: #fff;
	background: #C00;
	text-align: center;
	padding: 4px 0;
	display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*Responsive Styles*/

@media screen and (max-width : 940px){
	/*Make dropdown links appear inline*/
	ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	ul li, li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		background: #A00;
		display:block;
	}
}

/*Slider*/

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -300%; }
}

@-webkit-keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -300%; }
}

div#slider { overflow: hidden; }
div#slider figure img { width: 25%; float: left; }
div#slider figure { 
  position: relative;
  width: 400%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite; 
  -webkit-animation: 30s slidy infinite; /* Safari 4+ */
  -moz-animation: 30s slidy infinite; /* Fx 5+ */
  -o-animation: 30s slidy infinite; /* Opera 12+ */
  animation: 30s slidy infinite; /* IE 10+, Fx 29+ */
}