.el-hoverbox {
	position: relative;
}

.el-hoverbox-picture,
.el-hoverbox-picture > .bhBackgroundImage {
	height: 500px;
}

.el-hoverbox-picture > .bhBackgroundImage {
	background: no-repeat;
	background-size: cover;
}

.el-hoverbox-overlay {
	position: absolute;

	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	left: 0px;
	right: 0px;
	bottom: 0px;
	top: 0px;
	max-height: 500px;
/* 	padding: 10px; */
	overflow: hidden;

	text-align: center;
	background: rgba(0,0,0,0.5);
	
	transition: all 0.5s;
}

.el-hoverbox:hover .el-hoverbox-overlay {
/* 	pointer-events: none; */
}
.el-hoverbox.bhe-state-current-editing-element .el-hoverbox-picture{
	height: 300px;
}
.el-hoverbox.bhe-state-current-editing-element .el-hoverbox-overlay{
	position: relative;
	height: 300px;
}
.el-hoverbox.bhe-state-current-editing-element .el-hoverbox-name,
.el-hoverbox.bhe-state-current-editing-element .el-hoverbox-text{
	position: static;
	padding: 10px;
}

.el-hoverbox-name {
	position: absolute;
	box-sizing: border-box;
	left: 0%;
	top: 0%;
	width: 100%;
	min-height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.4s linear;
	
	padding: 60px 60px;
	
	font-size: 34px;
	color: #FFFFFF;
	letter-spacing: 8px;
	text-transform: uppercase;
	line-height: 34px;
}
.el-hoverbox.bhe-state-current-editing-element .el-hoverbox-name,
.el-hoverbox:focus .el-hoverbox-name,
.el-hoverbox:hover .el-hoverbox-name {
	min-height: 0%;
}

.el-hoverbox-text {
	position: absolute;
	box-sizing: border-box;
	bottom: 80px;
	left: 0px;
	width: 100%;
	
	padding: 40px;
	
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	color: #FFFFFF;
	letter-spacing: 1px;
	line-height: 26px;
	
	transition: all 0.4s;
	opacity: 0;
}
.el-hoverbox.bhe-state-current-editing-element .el-hoverbox-text,
.el-hoverbox:focus .el-hoverbox-text,
.el-hoverbox:hover .el-hoverbox-text {
	bottom: 20px;
	opacity: 1;
	transition: all 0.4s ease 0.2s;
}


@media only screen
	and (min-device-width : 768px)
	and (max-device-width : 1024px){
		.el-hoverbox-name{
			min-height: 0% !important;
		}
		.el-hoverbox-text{
			bottom: 20px;
			opacity: 1;
			transition: all 0.4s ease 0.2s;
		}
}

/* ------------------------------------------ */
/* --------         Mobilversion       ------- */
/* ------------------------------------------ */

.bh-state-mobile .el-hoverbox-name{
	min-height: 0% !important;
}
.bh-state-mobile .el-hoverbox-text{
	bottom: 20px;
	opacity: 1;
	transition: all 0.4s ease 0.2s;
}

.bh-state-mobile .el-hoverbox-picture, 
.bh-state-mobile .el-hoverbox-picture > .bhBackgroundImage{
	height: 450px;
}
