.custom-cta-widget {
	position: relative;
	margin: 1rem 0;
	padding: 2rem 0.75rem;
	display: block;
}

.custom-cta-widget::before,
.custom-cta-widget::after {
	content: "";
	display: table-cell;
	clear: both;
}

.custom-cta-widget .slide-content h3,
.custom-cta-widget .inner-section p.desc,
.custom-cta-widget a.btn {
	color: white;
}

.custom-cta-widget .slide-content h3 {
	text-transform: uppercase;
}

.custom-cta-widget .inner-section {
	position: relative;
	display: flex;
	flex-direction: row-reverse;
}

.custom-cta-widget .img-cont,
.custom-cta-widget .slide-content {
	position: relative;
	flex: 1 1 auto;
}

.custom-cta-widget .img-cont {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	min-width: 30%;
	padding: 0.25rem 0;
	max-height: 350px;
	overflow: hidden;
}

.custom-cta-widget .img-cont img {
	flex: 0;
	-webkit-filter: drop-shadow(2px 0 0 white)
					drop-shadow(0 2px 0 white)
                    drop-shadow(-2px 0 0 white)
					drop-shadow(0 -2px 0 white);
    filter: drop-shadow(2px 0 0 white)
			drop-shadow(0 2px 0 white)
			drop-shadow(-2px 0 0 white)
			drop-shadow(0 -2px 0 white);
}


.custom-cta-widget a.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.custom-cta-widget.image-top {
		padding-top: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.custom-cta-widget.image-top .inner-section {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.custom-cta-widget.image-top .img-cont {
		min-width: 100%;
		width: 100%;
		padding: 0;
		margin: 0;
		margin-bottom: 1rem;
		border-bottom: 4px solid white;
	}

	.custom-cta-widget.image-top .img-cont img {
		-webkit-filter: none;
		filter: none;
		width: 100%;
	}

	.custom-cta-widget.image-top .img-cont picture {
		width: 100%;
	}

	.custom-cta-widget.image-top .slide-content {
		padding: 0 0.75rem;
	}
}

@media (min-width: 769px) {
	.custom-cta-widget,
	.custom-cta-widget.image-top .slide-content {
		padding-left: 3rem;
		padding-right: 3rem;
	}

	.custom-cta-widget.image-top {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (min-width: 1025px) {
	.custom-cta-widget {
		padding: 0;
		margin-bottom: 4rem;
		margin-top: 2rem;
	}

	.custom-cta-widget .inner-section {
		position: relative;
		flex-flow: row wrap;
		justify-content: flex-end;
		align-items: space-between;
		padding: 2rem;
		margin: 0 auto;
		max-width: 75%;
	}

	.custom-cta-widget .img-cont {
		align-items: center;
		overflow: auto;
		position: absolute;
		left: 0;
	}

	.custom-cta-widget.image-top .img-cont {
		padding: 0;
	}

	.custom-cta-widget.image-top .img-cont img {
		-webkit-filter: none;
		filter: none;
		margin: 0;
		max-width: 300px !important;
		box-sizing: border-box;
		border: 2px solid white;
	}

	.custom-cta-widget.image-top .slide-content,
	.custom-cta-widget .slide-content {
		display: flex;
		flex-flow: row wrap;
		padding: 0;
		flex: 1 1 80%;
		max-width: 80%;
		justify-content: flex-end;
		padding-left: 125px;
	}

	.custom-cta-widget .slide-content h3 {
		width: 100%;
		flex: 1 0 100%;
	}

	.custom-cta-widget .slide-content p {
		flex: 1 1 65%;
	}

	.custom-cta-widget .slide-content .btn-wrapper {
		flex: 1 0 auto;
		align-self: center;
		margin-left: 10%;
	}
}


@media (min-width: 1025px) and (max-width: 1660px) {
	.custom-cta-widget .inner-section {
		max-width: 95%;
	}

	.custom-cta-widget .slide-content {
		max-width: 85%;
	}
	.custom-cta-widget .slide-content p,
	.custom-cta-widget .slide-content .btn-wrapper {
		margin-left: 2rem;
	}

	.custom-cta-widget .slide-content h3.title {
		padding-left: 2rem;
	}
}
