/* Nur Tablet ab 768px bis 1279px*/

@media screen and (min-width:768px) and (max-width:1279px) {

	#left {
		margin-bottom: 0;
	}

	#nach-oben-button {
		right: 1%;
		bottom: 44px;
	}

}

/* Nur Tablet ab 800px */

@media screen and (min-width:800px) and (max-width:1279px) {

	/* #diakoniesiegel {
		float: right;
	} */

	#facebook {
		margin-right: 50px;
		margin-bottom: 0;
		margin-top: 15px;
	}

	#eu-label  {
		float: right;
		margin-left: 280px;
		margin-top: -179px;
	}

	#eu-label-logos {
    	float: right;
    	margin-bottom: 40px;
	}

	#eu-label-text {
    	float: right;
    	max-width: 670px;
	}
}

/* Zitat nur Tablet ab 850px bis 1279px*/

@media screen and (min-width:850px) and (max-width:1279px) {

	#zitat {
		width: 100%;
		height: 56px;
		position: absolute;
		top: 77px;
		right: 0;
		color: #ffffff;
		background-color: transparent;
		padding: 19px;
	}

	#zitat_transpbg {
		width: 100%;
		height: 56px;
		position: absolute;
		top: 77px;
		right: 0;
		background-color: rgb(0,0,0,0.55);
		display:block;
	}

}


/* Tablet und Desktop ab 600px */

@media screen and (min-width:600px) {

	#main .bild50 figure, 
	#main .bild50 .media--left figure,
	#main .bild50 .media--right figure {
		width: 50%;
	}

	#main .bild40 figure, 
	#main .bild40 .media--left figure,
	#main .bild40 .media--right figure {
		width: 40%;
	}

	#main .bild30 figure, 
	#main .bild30 .media--left figure,
	#main .bild30 .media--right figure {
		width: 30%;
	}
	
	#main .bild50 .media--left figure, 
	#main .bild40 .media--left figure, 
	#main .bild30 .media--left figure, 
	#main .media--left figure
	{
		margin-right: 16px;
	}
	
	#main .bild50 .media--right figure, 
	#main .bild40 .media--right figure, 
	#main .bild30 .media--right figure, 
	#main .media--right figure
	{
		margin-left: 16px;
	}
	
	
	#main .bild50 .media--left figure img,
	#main .bild50 .media--right figure img, 
	#main .bild40 .media--left figure img,
	#main .bild40 .media--right figure img, 
	#main .bild30 .media--left figure img,
	#main .bild30 .media--right figure img {
		width: 100%;
		height: auto;
	}

	
}

/* Tablet und Desktop ab 768px */

@media screen and (min-width:768px) {

	#wrapper {
		margin-right: auto;
		margin-left: auto;
		width: 100%;
		max-width: 1280px;
	}

	footer {
		text-align: right;
	}

	#footernav ul {
		display: flex;
		justify-content: flex-end;
	}

	#footernav li {
		border-right: 1px solid #000000;
    	padding: 2px 10px 4px;
	}
	
	#agenturlink {
		display: inline-block;
		padding: 2px 10px 4px;
	}

	#nach-oben-button:hover {
		opacity: 0.9;
	}

	
}
