/************* CASE STUDIES ******************/
.extra-column {
	margin-left: 5%;
}
.case-meta > div {
	margin-right: 2rem;
}
.header-row {
	text-align: center;
	text-transform: uppercase;
	margin-bottom:1rem; 
}
.before-after{
    margin-top: 20px;
}
.before-after h3 {
	margin:0;
}
.compare-row:last-child {
	border-bottom:0;
}
.compare-row {
	margin-bottom:7px; 
	align-items: center;
}
.compare-row .before-box::before {
	content: "";
	border-left: 30px solid var(--light-gray);
	border-right: 0;
	border-bottom: 30px solid transparent;
	border-top: 30px solid transparent;
	width: 0;
	height: 0;
	position: absolute;
	left: calc(100% - 1px);
	top: 50%;
	transform: translatey(-50%);
	z-index:2;
}
.compare-row .after-box::before {
	content: "";
	border-left: 35px solid #fff;
	border-right: 0;
	border-bottom: 35px solid transparent;
	border-top: 35px solid transparent;
	width: 0;
	height: 0;
	position: absolute;
	right: calc(100% + -30px);
	top: 50%;
	transform: translatey(-50%);
}
.compare-row .before-box {
	position: relative;
}
.before-box, .after-box {
	padding: 2.5rem 5rem; 
	position:relative;
}
.before-box {
	background: var(--light-gray);
	height: 100%;
	display: flex;
	align-items: center;
}
.after-box {
	border: 1px solid var(--light-gray);
	height: 100%;
	background: var(--lightest-gray);
	margin-left: 6px;
}
.quote-box {
	font-style: italic;
	border: 3px solid var(--primary-color);
	border-radius: 2px;
	margin: 2rem 0;
	background: var(--light-gray);
}
.quote-inner {
	position: relative;
	padding: 1.66rem 2.5rem;
	display: flex;
	flex-flow: column;
}
.quote-inner p {
	margin: 0;
	padding: 0;
}
.quote-inner i {
	font-size: var(--large-font);
	opacity: 0.5;
	margin: auto;
	position: relative;
	width: 100%;
	text-align: center;
}
.quote-inner i::before {
	background: var(--light-gray);
	z-index: 4;
	position: relative;
	padding: 0 1.5rem;
}
.quote-inner i::after {
	content: "";
	height: 4px;
	width: 100%;
	background-color: var(--secondary-color);
	position: absolute;
	left: 0;
	right: 0;
	top: 50%; 
	transform: translatey(-50%);
}
.case-study-fimg{
	max-width: 327px;
}
@media only screen and (max-width: 640px) {
	.before-box, .after-box {
		padding: 0.5em;
	}
	.header-row .after-box {
		padding: 0.5em;
	}
	.after-box {
		padding-left: 35px;
	}
	.extra-column {
	    margin-left: 0;
	}
	.before-after{
	    margin-top: 15px;
	}
}