
.block-video-hero{
	position: relative;
	background-size: cover;
	background-position: 50%;
	background-color:#247; /* Video background - works with opacity */
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	padding:2.1rem 1rem 2rem 1rem !important;
	flex-wrap:wrap;
	z-index:0;
	margin:-1px 0 -1px 0 !important;
	
	-webkit-box-orient: vertical;
	-moz-flex-direction: vertical;
	-ms-flex-direction: column;
	-webkit-flex-direction: column;
	flex-direction: column;
}

.block-video-hero *{
	margin:0;
}

.block-video-hero video, .block-video-hero .hero-image{
	position: absolute;
	width:102%;
	height:auto;
     min-height: 100%;
	object-fit:cover;
	z-index:0;
	opacity: 1; /* Adjust video opacity */
     background-position: center;
     background-size: cover;
}

.block-video-hero .hero-image{
     top:0;
}

.block-video-hero p{
	z-index:1;
	text-align:center;
}




/* Button and link styling */

.block-video-hero .button{
	position:relative;
	display:flex;
	
}

.block-video-hero .button a{
	width:auto;
	border:4px solid #fff !important;
	background-color: #4f9297;
	border-radius:6px;
	font-size:1.5rem !important;
	font-weight:600 !important;
	padding:1rem 1.5rem 1.3rem;
	margin:.5rem .5rem .25rem;
	line-height:1.5rem;
}

.block-video-hero .button a:hover{
	background-color: #a62986;
}

.block-video-hero a{
	text-decoration:none;
	color:#FFF;
}







/* Bullet block styling */

.bulletBlock{
     z-index:1;
}

.bulletBlock{
     background-color:rgba(255,255,255,.85);
     padding:1rem;
     margin:.25rem;
     width:auto;
     border-radius: 5px;
}

body.page-id-2 .bulletBlock{
     background:none !important;
     padding:0;
     margin:0;
}

.block-video-key_text{
     color:#a62986 !important;
}

.block-video-key_bullet{
     color:#007477 !important;
}

body.page-id-2 .block-video-key_text{
     color:#FFF !important;
}
