.spezialbild .img-wrapper{
	position: relative;
}

.spezialbild .img-wrapper .overlay{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(140, 46, 105, 0.7);
	opacity: 0;
	-moz-transition: opacity 300ms ease-out 0s;
	-webkit-transition: opacity 300ms ease-out 0s;
	-o-transition: opacity 300ms ease-out 0s;
	transition: opacity 300ms ease-out 0s;
}

.spezialbild .img-wrapper:hover .overlay{
	opacity: 1;
}

.spezialbild .img-wrapper .wp-block-buttons{
	position: absolute;
	bottom: 25px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	-moz-transition: opacity 300ms ease-out 0s;
	-webkit-transition: opacity 300ms ease-out 0s;
	-o-transition: opacity 300ms ease-out 0s;
	transition: opacity 300ms ease-out 0s;
	opacity: 0;
}

.spezialbild .img-wrapper:hover .wp-block-buttons{
	opacity: 1;
}

.spezialbild .img-wrapper .wp-block-buttons .wp-block-button__link{
	color: #fff;
	border-color: #fff;
}

.spezialbild .img-wrapper .wp-block-buttons .wp-block-button__link:hover{
	border-color: var(--koze-lightred);
	background-color: var(--koze-lightred);
}

@media screen and (max-width: 1023px){
	
	.spezialbild .img-wrapper .wp-block-buttons{
		opacity: 1;
	}
	
}


/* admin */

#editor .acf-block-preview .spezialbild{
	height: 100px;
	background: url('../../images/acf-block-pattern.png') center center #f4f4f4;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	position: relative;
}

#editor .acf-block-preview .spezialbild:after{
	content: "Spezialbild";
	background: #fff;
	padding: 6px 10px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#editor .acf-block-preview .spezialbild > *{
	display: none;
}