.afk-advert img{
	max-height: 200px;
}

.afk-advert .logo img{
	max-width: 180px;
}

.afk-advert {
	background-image: linear-gradient(33deg, #006ab3 0%, white 30%);
	padding: 10px;
}

.haftpflicht {
	background-image: url('../img/haftpflicht/Berufshaftpflicht.png');
	background-position: bottom left;
	background-repeat: no-repeat;
	height: 330px;
	background-size: auto;
	border: 4px solid #337ab7;
}

.haftpflicht .logo-n-text{
	text-align:right;
}

.haftpflicht .logo-n-text .logo{
	margin-right: 20px; 
	margin-top: 20px;
}

.haftpflicht .logo-n-text .text{
	margin-top: 40px; 
	margin-right: 20px;
	font-size: 20px;
}

.haftpflicht .logo-n-text .text .text2{
	font-weight: bold;
}

.haftpflicht .logo-n-text a.btn{
	color: white; 
	background-color: #337ab7; 
	margin-top: 30px; 
	font-size: 20px; 
	border-radius: 10px; 
	font-weight: bold;
}

table td .afk-advert .poster img {
	width: inherit;
}

table td .afk-advert .text span {
	font-size: 16px;
}

table td .afk-advert .text a.btn {
	font-size: 14px;
}

.afk-advert .logo {
	text-align: right;
}

.afk-advert .text {
	margin-top: 30px;
	background-color: none;
}

.afk-advert .text span {
	font-size: 20px;
	color: #006ab3;
	font-weight: bold;
}

.afk-advert .text a.btn {
	padding: 10px 20px;
	background-color: #006ab3;
	font-weight: bold;
	border-radius: 20px;
	color: white;
	font-size: 20px;
	margin-top: 20px;
}

.afk-advert .text a.btn:hover {
	background-color: white;
	border: 1px solid #006ab3;
	color: #006ab3;
}

@media (max-width: 1199px) {
	.afk-advert .logo {
		margin-top: 20px;
		text-align: center;
	}

	.advertisement{
		margin-top: 0px;
		margin-bottom: 0px;
	}

	.afk-advert .text {
		margin-top: 20px;
	}

	.afk-advert .text span {
		font-size: 20px;
		color: #006ab3;
		font-weight: bold;
	}
	.afk-advert .text a.btn {
		padding: 8px 20px;
		background-color: #006ab3;
		font-weight: bold;
		border-radius: 20px;
		color: white;
		font-size: 18px;
		margin-top: 20px;
	}
	.afk-advert {
		background-image: linear-gradient(33deg, #006ab3 0%, white 20%);
	}

	.afk-advert .logo img {
		max-width: 160px;
	}
	.afk-advert img {
		max-height: 160px;
	}

	.afk-advert .text span {
		font-size: 18px;
	}

	.afk-advert .text a.btn {
		font-size: 18px;
	}
}

@media (max-width: 971px){
	.afk-advert .logo img {
		max-width: 140px;
	}

	.afk-advert .text span {
		font-size: 16px;
	}

	.afk-advert .text a.btn {
		font-size: 16px;
	}
}

@media (max-width: 780px){

	.haftpflicht {
		background-image: url('../img/haftpflicht/Berufshaftpflicht.png');
		background-position: bottom left;
		background-repeat: no-repeat;
		height: 310px;
		background-size: 630px;
		border: 4px solid #337ab7;
	}

	.haftpflicht .logo-n-text .text{
		font-size: 18px;
	}


	.haftpflicht .logo-n-text a.btn{
		font-size: 18px; 
	}

}


@media (max-width: 620px){

	.haftpflicht {
		height: 260px;
		background-size: 550px;
	}


	.haftpflicht .logo-n-text .text{
		margin-top: 25px;
		font-size: 16px;
	}


	.haftpflicht .logo-n-text a.btn{
		margin-top: 15px;
		font-size: 16px; 
	}

	.haftpflicht .logo img {
		height: 60px;
	}

}

@media (max-width: 560px){

	.haftpflicht {
		height: 240px;
		background-size: 500px;
	}


	.haftpflicht .logo-n-text .text{
		margin-top: 25px;
		font-size: 14px;
		margin-right: 0px;
	}


	.haftpflicht .logo-n-text a.btn{
		margin-top: 15px;
		font-size: 14px; 
	}

	.haftpflicht .logo-n-text .logo {
		margin-right: 0px;
		margin-top: 20px;
	}

	.haftpflicht .logo img {
		height: 60px;
	}

}



@media (max-width: 480px) {

	.haftpflicht {
		height: 260px;
		background-size: 480px;
	}

	.haftpflicht .logo-n-text .text{
		margin-top: 25px;
		font-size: 14px;
		margin-right: 0px;
	}

	.haftpflicht .logo-n-text a.btn{
		margin-top: 15px;
		font-size: 14px; 
	}


	.afk-advert .poster img {
		max-width: 100%;
		height: auto;
		max-height: 140px;
	}
	.afk-advert .text span {
		font-size: 14px;
	}
	.afk-advert .text a.btn {
		font-size: 14px;
		margin-top: 10px;
	}

	.afk-advert .logo img {
		width: 80%;
		max-width: 120px;
	}
}

