.content-uebersicht{
}

.content-uebersicht .wrapper{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 30px;
}

.content-uebersicht .wrapper .box{
	min-height: 260px;
	order: 1;
}

.content-uebersicht .wrapper .box .box-header{
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-weight: 700;
	line-height: 1.3;
	min-height: 64px;
	padding: 5px 5px 5px 80px;
	display: flex;
	position: relative;
}

.content-uebersicht .wrapper .box .box-header span{
	align-self: center;
}

.content-uebersicht .wrapper .box .box-header:before{
	content: attr(data-count);
	color: var(--wp--preset--color--contrast);
	font-size: 26px;
	font-family: 'Open Sans';
	text-align: center;
	line-height: 50px;
	width: 50px;
	height: 50px;
	background: url('../../images/taste01.png') center center no-repeat;
	background-size: 51px 51px;
	position: absolute;
	left: 6px;
	top: 50%;
}

.content-uebersicht .wrapper .box .box-header[data-count="1"]:before{
	-webkit-transform: translateY(-50%) rotate(-6deg);
	-moz-transform: translateY(-50%) rotate(-6deg);
	-ms-transform: translateY(-50%) rotate(-6deg);
	-o-transform: translateY(-50%) rotate(-6deg);
	transform: translateY(-50%) rotate(-6deg);
}

.content-uebersicht .wrapper .box .box-header[data-count="2"]:before{
	-webkit-transform: translateY(-50%) rotate(0deg);
	-moz-transform: translateY(-50%) rotate(0deg);
	-ms-transform: translateY(-50%) rotate(0deg);
	-o-transform: translateY(-50%) rotate(0deg);
	transform: translateY(-50%) rotate(0deg);
}

.content-uebersicht .wrapper .box .box-header[data-count="3"]:before{
	-webkit-transform: translateY(-50%) rotate(8deg);
	-moz-transform: translateY(-50%) rotate(8deg);
	-ms-transform: translateY(-50%) rotate(8deg);
	-o-transform: translateY(-50%) rotate(8deg);
	transform: translateY(-50%) rotate(8deg);
}

.content-uebersicht .wrapper .box .box-header[data-count="4"]:before{
	-webkit-transform: translateY(-50%) rotate(8deg);
	-moz-transform: translateY(-50%) rotate(8deg);
	-ms-transform: translateY(-50%) rotate(8deg);
	-o-transform: translateY(-50%) rotate(8deg);
	transform: translateY(-50%) rotate(8deg);
}

.content-uebersicht .wrapper .box .box-header[data-count="5"]:before{
	-webkit-transform: translateY(-50%) rotate(4deg);
	-moz-transform: translateY(-50%) rotate(4deg);
	-ms-transform: translateY(-50%) rotate(4deg);
	-o-transform: translateY(-50%) rotate(4deg);
	transform: translateY(-50%) rotate(4deg);
}

.content-uebersicht .wrapper .box .box-header[data-count="6"]:before{
	-webkit-transform: translateY(-50%) rotate(-8deg);
	-moz-transform: translateY(-50%) rotate(-8deg);
	-ms-transform: translateY(-50%) rotate(-8deg);
	-o-transform: translateY(-50%) rotate(-8deg);
	transform: translateY(-50%) rotate(-8deg);
}

.content-uebersicht .wrapper .box .imgwrap{
	position: relative;
}

.content-uebersicht .wrapper .box img{
	width: 100%;
	max-width: 100%;
}

.content-uebersicht .wrapper .box .videobutton{
	width: 56px;
	height: 56px;
	-webkit-border-radius: 100%;
	border-radius: 100%;
	border: 3px solid var(--wp--preset--color--secondary);
	background: #ffffff;
	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%);
}

.content-uebersicht .wrapper .box .videobutton span{
	width: 0;
	height: 0;
	border-top: 20px solid transparent;
	border-left: 30px solid var(--wp--preset--color--secondary);
	border-bottom: 20px solid transparent;
	position: absolute;
	top: 15%;
	left: 32%;
}

@media screen and (max-width: 1023px){
	
	.content-uebersicht .wrapper{
		grid-template-columns: repeat(2, 1fr);
	}
	
}

@media screen and (max-width: 639px){
	
	.content-uebersicht .wrapper{
		grid-template-columns: repeat(1, 1fr);
	}
	
}

/* admin */

#editor .acf-block-preview .content-uebersicht{
	height: 100px;
	background: #e2e2e2;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	position: relative;
	margin: 0;
	padding: 0;
}

#editor .acf-block-preview .content-uebersicht:after{
	content: "Content Übersicht";
	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 .content-uebersicht > *{
	display: none;
}