.calc_head {
	border-top: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	width: 100%;
	box-sizing: border-box;
}

.pg_custom_calculator_container {
	width: 100%;
}

.custom_out_main_row {
	width: 100%;
	display: flex;
	flex-direction: row;
}

.calc_head h4 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
	color: black;
}

.bg_light_blu_left {
	background-color: #9A1B32 !important;
	width: 100% !important;
	height: 80px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

.bg_light_blu_left p {
	margin: 0;
	padding: 0;
}

.pt_main_title_left {
	font-size: 16px;
	color: white !important;
	font-weight: bold;
	margin: 5px 0 0;
	padding: 0;
}

.pt_main_title_left p {
	margin: 0;
	padding: 0;
	display: none;
}

select.pg_main_select {
	visibility: hidden;
}

.select2-container--mytheme .select2-selection--single {
	background-color: #9A1B32 !important;
	color: white !important;
	border: 0 !important;
	font-weight: bold !important;
	font-size: 18px !important;
	width: 170px !important;
	height: 35px !important; /* Fixed height */
	padding: 0 12px !important; /* Padding to prevent content from sticking to the edges */
	border-radius: 4px !important; /* Rounded corners */
	display: flex !important;
	align-items: center !important; /* Vertically center the content */
	justify-content: space-between !important; /* Align text and arrow at the ends */
	text-align: center !important;
}

.select2-container--mytheme .select2-selection--single .select2-selection__arrow {
	background-color: transparent !important; /* Make the arrow background transparent */
	height: 100% !important; /* Match the arrow area height with the selection box */
	display: flex !important;
	align-items: center !important; /* Vertically center the arrow */
	justify-content: center !important; /* Horizontally center the arrow */
	padding: 0 5px !important; /* Padding for the arrow area */
}

.select2-container--mytheme .selection .select2-selection--single .select2-selection__rendered  {
	padding: 0 12px 0 0 !important;
	margin: 0 !important;
	text-align: left !important;
}

.select2-container--open .select2-dropdown {
	left: 10px !important;
}

.select2-container--mytheme .select2-selection--single .select2-selection__arrow b {
	border-color: white transparent transparent transparent; /* Set the arrow color to white */
	border-width: 5px 5px 0 5px; /* Adjust the size of the arrow */
	border-style: solid; /* Use solid lines for the arrow */
	width: 0; /* Ensure arrow width is correct */
	height: 0; /* Ensure arrow height is correct */
	display: inline-block; /* Ensure the arrow is displayed correctly */
	margin: 0 auto; /* Center the arrow horizontally */
}

.bg_light_blu_right {
	background-color: #9A1B32; /*#b3d7ff;*/
	width: 100%;
	height: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.pt_main_title_right {
	font-size: 16px;
	font-weight: bold;
	color: white !important;
	margin: 0;
	padding: 0;
}

.bg_light_blu_right_title {
	font-size: 18px;
	font-weight: bold;
	color: white !important;
	margin: 10px 0 0;
	padding: 0;
}

.calc_outer {
	width: 50%;
	background-color: #f1f1f1;
	border: 1px solid #dee2e6;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calc_form {
	padding-right: 20px !important;
	padding-left: 20px !important;
}

.calc_form label {
	font-weight: bold;
	margin-bottom: 10px;
	display: block;
}

.calc_form input[type="number"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #28a745;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 14px;
}

.calc_but {
	display: flex;
	flex-direction: row;
	text-align: center;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 10px;
}

.pg-btn {
	padding: 10px 20px;
	margin: 5px;
	border: none;
	border-radius: 4px;
	background-color: #28a745;
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.pg-btn.pg-calculate {
	margin-right: 20px;
}

.pg-btn.pg-reset {
	margin-left: 20px;
}

.pg-btn:hover {
	background-color: #218838;
}

.calc_result {
	margin-top: 20px;
	font-size: 28px;
	background-color: #f1f1f1;
	color: #003888;
	padding: 20px;
	border-radius: 4px;
}

.calc_result p {
	font-size: 16px;
	color: #333;
	margin-bottom: 5px;
	text-align: center;
}

.calc_result b {
	display: block;
	margin-top: 10px;
	font-size: 22px;
	color: #003366;
	text-align: center;
}

.calc_result.error {
	font-size: 18px;
	width: 100%;
	height: 45px;
	color: #721c24;
	display: none;
	align-items: center;
	justify-content: center;
}

.calc_result span {
	color: #003366;
	font-weight: bold;
}

.calc_final_values {
	width: 100%;
	height: auto;
	background-color: #ffdddd;
	border: 1px solid #f5c6cb;
	padding: 5px 0;
	margin: 0 10px;
	border-radius: 4px;
	display: flex;
	color: red;
	text-align: center;
	align-items: center;
	justify-content: center;
}

.pm_main_outside {
	width: 100%;
	display: flex;
	flex-direction: row;
	text-align: center;
	align-items: center;
	justify-content: space-between;
}

.pm_inside_percentage {
	text-align: left;
}

.vu_inside_volume {
	text-align: left;
	margin-left: 30px;
}

.pm_inside_percentage {
	margin-left: 10px;
}

.pm_inside_material, .vu_inside_units {
	text-align: right;
}

.vu_inside_units {
	margin-right: 30px;
}

.vu_main_outside {
	width: 100%;
	display: flex;
	flex-direction: row;
	text-align: center;
	align-items: center;
	justify-content: space-between;
}

.vu_inside_volume p,
.vu_inside_units p {
	font-weight: bold;
	color: black;
}

.pm_inside_percentage p,
.pm_inside_material p {
	font-weight: bold;
	color: black;
}

.total_outside_main p {
	font-weight: bold;
	color: black;
}

p:empty {
	display: none;
}

.bg_light_blu_left br {
	display: none;
}

@media (max-width: 768px) {
	p:empty {
		display: none;
	}

	.calc_head h4 {
		font-size: 18px;
		font-weight: bold;
		margin-bottom: 20px;
		text-align: center;
		color: black;
	}

	.vu_main_outside {
		width: 100%;
		display: flex;
		flex-direction: column;
		text-align: center;
		align-items: center;
		justify-content: center;
	}

	.pm_main_outside {
		width: 100%;
		display: flex;
		flex-direction: column;
		text-align: center;
		align-items: center;
		justify-content: center;
	}

	.pm_inside_percentage {
		margin-left: 0;
	}

	.vu_inside_units {
		margin-right: 0;
	}

	.calc_but {
		display: flex;
		flex-direction: column;
		text-align: center;
		justify-content: center;
		margin-top: 20px;
		margin-bottom: 10px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.btn.calculate {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.btn.reset {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.calc_outer {
		width: 100%;
		background-color: #f1f1f1;
		border: 1px solid #dee2e6;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}

	.custom_out_main_row {
		width: 100%;
		display: flex;
		flex-direction: column;
	}

	.calc_form label,
	.calc_form input {
		font-size: 12px;
	}
}
