/* === Custom Block Styling === */
.overflowImage{
    padding: var(--CB-padding-top) var(--CB-padding-right) var(--CB-padding-bottom) var(--CB-padding-left);
    margin: var(--CB-margin-top) var(--CB-margin-bottom);
    background-color: var(--CB-background-color);
    background-image: var(--CB-background-image);
    background-position: var(--CB-background-position);
    background-size: cover;
}

.overflowImage__section {
	min-height: 400px;
	margin-bottom: 64px !important;
}

.overflowImage__copyWrapper {
	padding-bottom: 25px;
}

.overflowImage__heading{
    padding-bottom: 25px;
    border-bottom: solid 2px var(--FC-bfm-coal);
    margin-bottom: 25px;
}

.overflowImage__image{
    padding-bottom: 400px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 75px;
    border-bottom-left-radius: 75px;
}

.overflowImage__imageRowleft {
	flex-direction: row-reverse;
}

.overflowImage__imageRowleft .overflowImage__image {
	border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 75px;
    border-bottom-right-radius: 75px;
}

.overflowImage__imageContainer{
    position: absolute;
    top: 0;
}

	.custom_cta_button {
		width: fit-content;
	}

@media screen and (max-width: 991.98px){
	.overflowImage__section {
		min-height: 375px;
	}
    .overflowImage__image{
        padding-bottom: 375px;
    }
}

@media screen and (max-width: 767px){
    .overflowImage{
        padding-bottom: calc(var(--CB-padding-bottom)/1.5);
    }
	
	.overflowImage__imageContainer{
		opacity: 0.25;
	}
	
	.overflowImage__heading {
		margin: 0;
	}
	
	
	.overflowImage__contentContainer .col-inner {
		min-height: 375px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	
	
	.overflowImage__copyWrapper {
		padding-bottom: 0;
	}
	

}

@media screen and (max-width: 575px){
    .overflowImage__imageContainer{
        display: none;
    }
	
	.overflowImage__section {
		min-height: unset;
	}
	
	.overflowImage__copyWrapper {
		padding-bottom: 0;
	}
	
	.overflowImage__contentContainer .col-inner {
		min-height: unset;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}