/*
#F3F4F4 - very light gray for chart background
#3A3F45 - dark gray for text, links
*/
.dt_api {
	--dt-red: #bc320e;
	--dt-slate-dk: #002a3e;
	--dt-slate-lt2: #E6EEF5;
	--dt-slate-lt: #EDF1F2;
	--dt-primary: var(--dt-red);
	--dt-primary-dk: #40716c;
	--dt-secondary: var(--dt-slate-dk);

	--dt-cta-color: #008c82;
	--dt-black: #3A3F45;
	--dt-light-gray: #F3F4F4;

	--dt-font-weight-heading: 300;
	--dt-font-weight-normal: 400;
	--dt-font-weight-medium: 500;
	--dt-font-weight-bold: 700;
}
.dt_api {
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-style: normal;
	color: var(--dt-secondary);
}
.dt_api * {
	margin: 0;
	box-sizing: border-box;
}
.dt_api .row {
	max-width: 75rem;
	margin-left: auto;
	margin-right: auto;
}
.dt_api p {
	font-size: inherit;
	line-height: 1.2;
	margin-bottom: 1rem;
	text-rendering: optimizeLegibility;
}
.dt_api a {
	color: var(--dt-black);
	text-decoration: underline;
}
.dt_api a:hover {
	text-decoration: none;
}
.dt_api .button {
	/* text-decoration: none;
	font-weight: 600;
	display: inline-block;
	text-align: center;
	line-height: 1;
	cursor: pointer;
	vertical-align: middle;
	border: 1px solid transparent;
	border-radius: 2px;
	padding: 0.85em 1em 0.8em;
	margin: 1rem 0 0;
	font-size: 0.9rem;
	background-color: var(--dt-cta-color);
	background-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
	color: white; */

	text-decoration: none;
	font-family: var(--dt-theme-font-family);
	font-style: normal;
	font-weight: var(--dt-font-weight-bold);
	font-size: 0.875rem;
	display: inline-block;
	text-align: center;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.25s ease-out;
	vertical-align: middle;
	border: 2px solid var(--dt-secondary);
	border-radius: 999px;
	padding: 0.6em 1.2em 0.575em;
	text-transform: uppercase;
	margin: 0;
	
	background-color: var(--dt-secondary);
	color: white;

	&:hover,
	&:focus {
		background-color: white;
		outline: 0;
		color: var(--dt-secondary);
	}
}
.dt_api .button.small {
	padding: 0.5em 0.75em;
}
.dt_api .button:hover,
.dt_api .button:focus {
	outline: 0;
	background-color: white;
}
.dt_api h1, .dt_api h2, .dt_api h3, .dt_api h4, .dt_api h5, .dt_api h6 {
	font-weight: var(--dt-font-weight-medium);
	color: inherit;
	text-rendering: optimizeLegibility;
	margin-top: 0;
	margin-bottom: 0.5rem;
	line-height: 1.1;
}

.dt_api .content {
	margin: 1rem;
}
.dt_api .footer {
	margin: 1rem;
}
.dt_api .total_savings_wrap {
	background-color: var(--dt-secondary);
	border-radius: 20px 20px 0 0;
	font-size: 1.5rem;
	padding: 0.75rem 0.25rem;
}
.dt_api .total_savings {
	color: white;
	text-transform: capitalize;
	text-align: center;
	margin-bottom: 0;
}
.dt_api .chart_wrap {
	background-color: var(--dt-slate-lt2);
	border-radius: 0 0 20px 20px;
	padding-bottom: 5rem;
}
.dt_api .average_savings {
	border-radius: 9999px;
	background-color: white;
	text-align: center;
	position: relative;
	margin: 0 auto;
	width: 250px;
	height: 250px;
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05), inset 0 0 0px 5px white, inset 0 0 0px 9px var(--dt-secondary);
}
.dt_api .average_savings::before {
	content: "";
	width: 34%;
	height: 34%;
	background-image: url(../img/family.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 80%;
	position: absolute;
	top: 7%;
	transform: translateX(-50%);
	background-color: white;
}
.dt_api .average_savings h2 {
	font-size: 0.925rem;
	display: block;
	position: absolute;
	top: 47%;
	transform: translateY(-20%);
	left: 0;
	width: 100%;
	text-transform: uppercase;
}
.dt_api .per_household {
	display: block;
	font-size: 450%;
	margin-bottom: -.25rem;
	color: var(--dt-primary);
}
.dt_api .per_household .dollar_sign, .dt_api .per_household .asterisk {
	font-size: .5em;
	top: -.7em;
	position: relative;
	font-weight: 500;
}
.dt_api .cta {
	width: max-content;
	position: absolute;
	bottom: -55px;
	left: 50%;
	transform: translateX(-50%);
}
.dt_api .footer p {
	font-size: .9rem;
	line-height: 1.35;
}
@media screen and (min-width: 440px) {
	.dt_api .average_savings {
		width: 280px;
		height: 280px;
	}
	.dt_api .average_savings h2 {
		font-size: 1.0625rem;
	}
	.dt_api .per_household {
		font-size: 430%;
	}
	.dt_api .total_savings {
		font-size: 2rem;
	}
}
/* ----------- SWITCH TO SIDE BY SIDE --------- */
@media screen and (min-width: 700px) {
	.dt_api .chart_wrap {
		padding-top: 1rem;
		padding-bottom: 2rem;
	}
	.dt_api .total_savings_wrap {
		padding: 0.75rem;
	}
	.dt_api .total_savings {
		font-size: 2rem;
	}
	.dt_api .content {
		margin: 1rem 18% 0 1rem;
		position: relative;
		padding-bottom: .5rem;
	}
	.dt_api .average_savings {
		width: 220px;
		height: 220px;
		margin: 0;
		position: absolute;
		top: calc(52% - 110px);
		right: -110px;
	}
	.dt_api .average_savings h2 {
		font-size: 0.875rem;
	}
	.dt_api .per_household {
		font-size: 400%;
	}
	.dt_api .k-content {
		width: 80%;
	}
}
@media screen and (min-width: 1000px) {
	.dt_api .total_savings {
		font-size: 2.5rem;
	}
	.dt_api .content {
		margin-right: 145px;
	}
	.dt_api .average_savings {
		width: 260px;
		height: 260px;
		top: calc(52% - 140px);
		right: -130px;
	}
	.dt_api .average_savings h2 {
		font-size: 1.0625rem;
	}
	.dt_api .per_household {
		font-size: 380%;
	}
	.dt_api .footer p {
		font-size: 1.2rem;
	}
	.dt_api .footer {
		margin-right: 120px;
	}
}