/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

body {
	background-color: #eef2f4;
	--roi-primary-color: #0091bf;
	--roi-primary-text-color: #fff;
}

.roi-calculator {
	max-width: 600px;
	margin: 0 auto;
	background-color: #fff;
	box-shadow: 0 19px 28px 24px #0000000d;
	border-radius: 25px;
	padding: 25px;
	color: #333;
	font-family: "IBM Plex Sans", sans-serif;
}

.roi-calculator h3 {
	margin: 0 0 15px;
	font-size: 32px;
	font-weight: 500;
	font-family: "IBM Plex Sans", sans-serif;
}

.roi-form-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-left: -8px;
	margin-right: -8px;
}

.roi-form-field {
	margin-bottom: 15px;
	width: 100%;
	padding-left: 8px;
	padding-right: 8px;
}

.roi-form-field.roi-form-col-half {
	width: 50%;
}

label {
	color: #242635;
	margin-bottom: 5px !important;
	font-size: 16px !important;
	font-style: normal;
	font-weight: 500;
	line-height: 125% !important;
}

select,
input[type=text],
input[type=password],
input[type=datetime],
input[type=datetime-local],
input[type=date],
input[type=month],
input[type=time],
input[type=week],
input[type=number],
input[type=email],
input[type=url],
input[type=search],
input[type=tel],
input[type=color],
.uneditable-input {
	width: 100%;
	height: 54px !important;
	box-shadow: none !important;
	font-size: 16px !important;
	background-color: transparent !important;
}

.roi-slider {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	background: #d3d3d3;
	outline: none;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	transition: opacity .2s;
	border-radius: 30px;
	border: none;
}

/* Webkit (Safari, Chrome, Edge) */
.roi-slider::-webkit-slider-runnable-track {
	background: linear-gradient(to right, var(--roi-primary-color) 0%, var(--roi-primary-color) var(--slider-progress, 0%), #d3d3d3 var(--slider-progress, 0%), #d3d3d3 100%);
	height: 8px;
	border-radius: 4px;
	border: none;
}

.roi-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	background: var(--roi-primary-color);
	cursor: pointer;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	margin-top: -8px;
}

/* Firefox */
.roi-slider::-moz-range-track {
	background: #d3d3d3;
	height: 8px;
	border-radius: 4px;
	border: none;
}

.roi-slider::-moz-range-progress {
	background-color: var(--roi-primary-color);
	height: 8px;
	border-radius: 4px;
}

.roi-slider::-moz-range-thumb {
	width: 24px;
	height: 24px;
	background: var(--roi-primary-color);
	cursor: pointer;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Internet Explorer / Edge Legacy */
.roi-slider::-ms-track {
	background: transparent;
	border-color: transparent;
	color: transparent;
	height: 8px;
}

.roi-slider::-ms-fill-lower {
	background-color: var(--roi-primary-color);
	border-radius: 4px;
}

.roi-slider::-ms-fill-upper {
	background-color: #d3d3d3;
	border-radius: 4px;
}

.roi-slider::-ms-thumb {
	width: 24px;
	height: 24px;
	background: var(--roi-primary-color);
	cursor: pointer;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Focus states for accessibility */
.roi-slider:focus {
	outline: none;
}

.roi-slider:focus::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--roi-primary-color) 30%, transparent);
}

.roi-slider:focus::-moz-range-thumb {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--roi-primary-color) 30%, transparent);
}

.roi-slider:focus::-ms-thumb {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--roi-primary-color) 30%, transparent);
}

/* Hover effects */
.roi-slider:hover::-webkit-slider-thumb {
	transform: scale(1.1);
}

.roi-slider:hover::-moz-range-thumb {
	transform: scale(1.1);
}

.roi-slider:hover::-ms-thumb {
	transform: scale(1.1);
}

.roi-number-section {
	background-color: #151820;
	border-radius: 4px;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 18px 24px;
	display: flex;
	color: #fff;
	text-align: center;
}

.roi-number-wrap {
	border-bottom: 1px solid #eef2f440;
	justify-content: center;
	align-items: center;
	margin-bottom: 4px;
	padding-bottom: 16px;
	display: flex;
}

.roi-number-item {
	border-right: #eef2f440 1px solid;
	padding: 0 10px;
}

.roi-number-item:last-child {
	border-right: none;
}

.roi-number-item-heading {
	font-size: 12px;
	line-height: 15px;
	max-width: 100px;
	min-height: 30px;
	margin-bottom: 4px;
}

.roi-number-item-value {
	font-size: 24px;
	font-weight: 300;
}

.roi-submit-button {
	padding: 16px 40px;
	margin: 10px;
	font-family: "IBM Plex Sans", sans-serif;
	font-size: 16px;
	font-weight: 500;
	box-shadow: none !important;
	text-shadow: none !important;
	border-radius: 4px;
	background-color: var(--roi-primary-color);
	color: var(--roi-primary-text-color);
	border: none;
}

.roi-submit-button:hover {
	opacity: 0.95;
}

.roi-submit-button.roi-submit-button2 {
	width: 100%;
}

.roi-disclaimer {
	font-size: 12px;
	font-style: italic;
	text-align: center;
	margin: 15px 0 0;
}

form {
	margin: 0 !important;
}

.roi-result-section {
	margin-top: 10px;
	width: 100%;
}

.roi-result {
	font-size: 32px;
}

.roi-result-disclaimer {
	font-size: 12px;
}

.checkbox-group label {
	width: 85%;
	font-size: 14px !important;
	font-weight: normal;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 15px !important;
}

.checkbox-group input[type=checkbox] {
	width: 20px;
	height: 20px;
	border: 1px solid #333;
	vertical-align: top;
	margin: 0 10px 0 0;
	padding: 2px;
}

.roi-email-result {
	background-color: #eef2f4;
	padding: 24px;
}

.roi-email-result label {
	margin-bottom: 24px !important;
}

.email-result-item-wrap {
	border-bottom: #8f99ac 1px solid;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 16px;
	display: flex;
	font-size: 16px;
}

.roi-form-submitted {
	padding: 30px 0;
	text-align: center;
}

.check-icon {
	font-size: 50px;
	color: #4CAF50;
	margin-bottom: 15px;
}

.roi-form-submitted h2 {
	font-size: 32px;
	font-weight: 500;
	color: #4CAF50;
	margin: 0 0 15px;
}

.roi-form-submitted p {
	font-size: 16px;
}

@media only screen and (max-width:660px) {
	.roi-number-wrap {
		padding-bottom: 0;
		flex-direction: row;
		flex-wrap: wrap;
	}

	.roi-number-item {
		padding: 15px 10px;
		width: 50%;
		border-bottom: #eef2f440 1px solid;
	}

	.roi-number-item:nth-child(2) {
		border-right: none;
	}

	.roi-number-item:nth-child(3) {
		border-bottom: none;
	}

	.roi-number-item:last-child {
		border-bottom: none;
	}

	.roi-number-item-heading {
		max-width: inherit;
	}

	.roi-form-field.roi-form-col-half {
		width: 100%;
	}

	.roi-submit-button {
		width: 100%;
		padding: 16px 10px;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal;
	}

	.roi-calculator {
		padding: 25px 15px;
	}

	.roi-email-result {
		padding: 24px 15px;
	}

	.roi-result {
		font-size: 24px;
	}

	.roi-number-item-value {
		font-size: 18px;
	}
}

.roi-slider-value {
	font-weight: bold;
}

.roi-data-loading {
	position: relative;
	min-height: 200px;
}

.roi-data-loading::before {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: var(--roi-primary-color);
	mask: url("data:image/svg+xml,%3Csvg version='1.1' id='L4' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' enable-background='new 0 0 0 0' xml:space='preserve'%3E%3Ccircle fill='%23000' stroke='none' cx='6' cy='50' r='6'%3E%3Canimate attributeName='opacity' dur='1s' values='0;1;0' repeatCount='indefinite' begin='0.1'/%3E%3C/circle%3E%3Ccircle fill='%23000' stroke='none' cx='26' cy='50' r='6'%3E%3Canimate attributeName='opacity' dur='1s' values='0;1;0' repeatCount='indefinite' begin='0.2'/%3E%3C/circle%3E%3Ccircle fill='%23000' stroke='none' cx='46' cy='50' r='6'%3E%3Canimate attributeName='opacity' dur='1s' values='0;1;0' repeatCount='indefinite' begin='0.3'/%3E%3C/circle%3E%3C/svg%3E");
	z-index: 9;
	mask-repeat: no-repeat;
	mask-position: center center;
	mask-size: 100px;
}

.roi-data-loading::after {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.9;
	background-color: #fff;
	z-index: 7;
}

#roi-turnstile-container {
	margin: 18px 10px 0px 10px;
	text-align: center;
}