/* Specific style pertaining to this block only, to be used whenever your block is displayed both front-end and back-end */

.custom-hero {
	position: relative;
	display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox; /* TWEENER - IE 10 */
  display: -webkit-flex;
	justify-content: left;
    align-items: flex-end;
    -webkit-box-align: flex-end;
  -webkit-flex-align: flex-end;
  -ms-flex-align: flex-end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
	background-size: cover;
	background-position: center center !important;
	background: linear-gradient(15deg, #405270, #547395); /* fallback */
    padding: 4rem 1rem;
    min-height: 767px;
}
.custom-hero:before {
	content:'';
	position: absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background: linear-gradient(190deg, #00000000, #0000000a, #000000a0);
}
@media only screen and (max-width: 768px) {
    .custom-hero {
        padding: 2rem 1rem !important;
		min-height: 500px !important;
    }
}

.custom-hero .custom-hero-copy {
	width: 60%;
	color: var(--white);
	z-index: 0;
    z-index: 1;
    position: relative;
	/*background: hsl(216deg 28% 23% / 60%);
	padding: 2rem;
	text-align: center;*/
	
}
/*
@media only screen and (min-width: 64em) {
    .custom-hero .custom-hero-copy {
        padding: 4rem !important;
    }
}
*/
.custom-hero .custom-hero-copy > * {
	color: inherit;
	margin: 0 auto;
}
.custom-hero .custom-hero-copy > * + * {
	margin-top: 1rem;
}
.custom-hero .custom-hero-copy > h1 {
	font-family: "din-2014",sans-serif;
	font-size: 5rem;
    font-weight: 700;
}
@media only screen and (max-width: 767px) {
	.custom-hero .custom-hero-copy > h1 {
		font-size: 3rem;
	}
}

.custom-hero.small {
	padding: 4rem var(--padding)!important;
	min-height: 20vh !important;
}
.custom-hero.small .custom-hero-copy {
	background: none;
	padding: 0;
}

@media only screen and (max-width: 576px) {
	.custom-hero .custom-hero-copy p {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
	.custom-hero {
		padding: 2rem var(--padding);
	}

	.custom-hero .custom-hero-copy {
		padding: 1rem;
        width: 80%;
	}
	
}


@media only screen and (min-width: 768px) and (max-width: 1220px) {
    .custom-hero{
        min-height: 500px;
    }
}