#motive {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
}

#motive .motiv_slider { width: 100%; }
#motive .motiv_slider img { width: 100%;height: auto; }
#motive .motiv_bg {
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

#motive.is-highlighted {
	background: #fff7a8; 
}	

#motiv_wrapper {
	width: 65%;
	background-color: #aaa;
}

#motiv_wrapper .button-edit {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    opacity: 0;
    transition: opacity .2s ease;

    background: rgba(255,255,255,.9);
    border-radius: 4px;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

#motiv_wrapper:hover .button-edit {
    opacity: 1;
}

#motiv2 {
	width: 35%;
	background-color: #ddd;
}

#motive .h1_styling {
	position: absolute;
	bottom: 30px;
	left: 60px;
	max-width: 800px;
	font-size: 45px;
	line-height: 1.1;
	font-weight: 900;
	color: #FFF;
	text-shadow: 3px 3px 14px rgba(0, 0, 0, 0.7);
	display: inline-block;
}

#motive div.h1_styling {bottom: 70px;}

#motive .button-edit-wrapper-headline {
    position: absolute;
    bottom: 70px;
    left: 60px;
    max-width: 800px;
}

#motive .button-edit-wrapper-headline .h1_styling {
	 position: static;
}

#motive .button-edit-wrapper-headline.is-highlighted {
	background: #fff7a8; 
}	

#motive .button-edit-wrapper-headline .button-edit {
    position: absolute;
    top: -25px;
    right: 20px;
    opacity: 0;
     background: rgba(255,255,255,0.95);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;

    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    z-index: 100;
}

#motive:hover .button-edit {
    opacity: 1;
}

#motive .button-edit {
    position: absolute;
    
    right: 35%;

    opacity: 0;
    transition: opacity .2s ease;

    background: rgba(255,255,255,0.95);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;

    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    z-index: 100;
}

#motive .mask {

	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0);
	background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100% );
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(50%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.2)));
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100% );
	background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100% );
	background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100% );
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100% );
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );

}


#motive .slick-arrow { z-index: 3; }
#motive .slick-prev { left: 20px; }
#motive .slick-next { right: 20px; }@media all and (min-width: 1251px) and (max-width: 1399px) {
	#motive {
		height: 450px;
	}
	#motive .motiv_bg { height: 450px; }
}

@media all and (min-width: 1000px) and (max-width: 1250px) {
	#motive {
		height: 400px;
	}
	#motive .motiv_bg { height: 400px; }
}

@media all and (min-width: 768px) and (max-width: 999px) {

	#motive {
		padding: 0px;
	}

	#motive .h1_styling {
		font-size: 30px;
	}

}

@media all and (max-width: 767px) {
	/*#motive {
		padding: 0px;
		height: auto;
		order: 1;
	}

	#motive .motiv_bg { height: auto; }

	#motiv_wrapper img { display: block; }


	#body.tourenpage #motive {
		z-index: 1;
	}
*/
	#motiv_wrapper { width: 100%; }
	#motiv2 { display: none; }

	#motive .motiv .text {
		bottom: 10px;
		left: 20px;
	}

	#motive .motiv .text h1 {
		font-size: 23px;
	}

	#motive .h1_styling {
		margin: 0px;
		padding:0px;
		top: 10px;
		right: 10px;
		font-size: 23px;
	}
}