
.max-roi-calculator {
	padding: 15px;
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.max-roi-calculator label {
	display: block;
	margin-top: 10px;
	font-weight: bold;
}

.max-roi-calculator input {
	width: 100%;
	padding: 6px;
	margin-top: 5px;
	box-sizing: border-box;
}

.roi_main_wraper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 10px 30px;
}

.field_wraper input {
	width: 100%;
	border-radius: 6px !important;
	border: solid 1px #ccc !important;
}

.max_roi_printers {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px 30px;
}

.roi_p_wrpr {
	text-align: center;
	transition: transform .5s;
}

.roi_p_wrpr.active {
	background-color: #d8d8d8;
	/* active background */
	border-radius: 5px;
}

.roi_p_wrpr:hover {
	background-color: #d8d8d8;
	/* active background */
	border-radius: 5px;
	/* optional, just for nicer look */
	transform: scale(.9);
}

.read_wraper {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 16px;
}

.read_title {
	font-weight: bold;
}

h3.roi_title {
	display: flex;
	justify-content: space-between;
	border-bottom: dashed 1px #d3d0d0;
	padding-bottom: 10px;
	color: #c42526 !important;
	text-transform: capitalize;
	font-size: 28px;
	font-weight: 600;
	align-items: center;
}

h3.roi_title a {
	background-color: #25d366;
	color: white;
	font-size: 18px;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 6px;
	display: flex;
	gap: 10px;
}

h3.roi_title a:hover {
	background-color: #11aa4a;
}

h3.roi_title a img {
	width: 24px;
}

.read_price {
	font-weight: bold;
	color: #c42526;
}

#maxcalculateBtn {
	margin-top: 10px;
	border-radius: 6px;
	font-weight: 600;
	background: #c42526;
}

#maxcalculateBtn:hover {
	border-color: #000;
}

#maxclearBtn {
	margin-top: 10px;
	border-radius: 6px;
	font-weight: 600;
	background: transparent;
	color: black;
	border: solid 1px #ccc;
}

#maxclearBtn:hover {
	background-color: #000;
	color: white;
	border-color: #000;
}

.total_wraper_r {
	width: auto;
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

.total_wraper_r .read_title {
	margin-right: 30px;
	font-size: 42px;
}

.total_wraper_r .read_price {
	font-size: 42px;
}

input[readonly] {
	background-color: #dedede !important;
	font-weight: 600;
	color: #333;
}

.field_wraper_select {
	position: relative;
	width: 100%;
}

.field_wraper_select select {
	width: 100%;
	width: 100%;
	padding: 6px;
	margin-top: 5px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

/* Arrow container (black background) */
.field_wraper_select::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	/* arrow area width */
	height: 100%;
	background-color: #000;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
	pointer-events: none;
}

/* Arrow icon */
.field_wraper_select::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	/* distance from right edge */
	width: 10px;
	height: 7px;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width=\'10\' height=\'7\' viewBox=\'0 0 10 7\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M0 0l5 7 5-7H0z\' fill=\'%23fff\'/%3E%3C/svg%3E");
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 3;
}

.error_message {
	color: red;
}

.dark {
	width: 100%;
	color: #c32627;
	font-weight: 400;
}

.light {
	width: 100%;
	color: #c32627;
	font-weight: 400;
}

span.max_roi_price {
	display: flex;
	flex-direction: column;
	font-weight: 600;
}

.dtg_sub_head {
	font-size: 30px;
	text-align: center;
	border-bottom: dashed 1px #ccc;
	padding-bottom: 10px;
	color: #c42526;
}

@media (max-width: 600px) {
	.roi_main_wraper {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.max_roi_printers {
		grid-template-columns: repeat(2, 1fr);
	}
	
	h3.roi_title {
		flex-direction: column;
		gap: 20px;
		font-size: 20px;
		text-align: center;
	}
}
