#pliheat_search_clear {
	background: url('/wp-content/plugins/pliheatcalc/images/x_circle_red_rc1.svg');
	background-size: cover;
	border: None;
	text-decoration: None;
	width: 20px;
	height: 20px;
	float: right;

	top: 50%;
	transform: translateY( -50% );
	right: 5px;

	position: absolute;
	cursor: pointer;

	/*
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	*/
}

.pliheat_control_button {

	border: None;
	text-decoration: None;

	background-size: cover;

	display: inline-block;

	width: 25px;
	height: 25px;

	background: url('/wp-content/plugins/pliheatcalc/images/x_circle_red_rc1.svg');
	background-size: cover;
	cursor: pointer;
}

#pliheat_profiles {
	display: None;
}

.pliheat_modal {
	position: fixed;
	width: 100vw;
	height: 100vh;
	background-color: rgba( 0, 0, 0, 0.7 );
	z-index: 502;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.pliheat_modal_content {
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	position: absolute;
	margin: auto;
	background: white;
	padding: 20px;
	border-radius: 5px;
}

.pliheat_profile {
	border: 1px solid #707070;
	border-radius: 5px;
	padding: 10px;
	position: relative;
	display: flex;
	justify-content: space-around;
}

.pliheat_profile_title {
	flex-basis: auto;
	width: 100%;
	height: 100%;
	vertical-align: middle;
	margin-top: auto;
	margin-bottom: auto;
}

.pliheat_profile_control {
	flex-basis: 40px;
	height: 25px;
}

.pliheat_profile_control_button {
	position: absolute;

	top: 50%;
	transform: translateY(-50%);
}

.pliheat_controls_container {
	height: 100%;
	margin-top: auto;
	margin-bottom: auto;
}

.pliheat_control_right {
	/*
	right: 0px;
	position: absolute;
	*/
}

.material_td_cancel, .material_td_upDown {
	position: relative;
	padding: 0;
}

.pliheat_x_button {
	background: url('/wp-content/plugins/pliheatcalc/images/x_circle_red_rc1.svg');
	background-size: cover;
}

.pliheat_download_button {
	background: url('/wp-content/plugins/pliheatcalc/images/blue_down_arrow.svg');
	background-size: cover;
}

.pliheat_up_button {
	background: url('/wp-content/plugins/pliheatcalc/images/arrow.svg');
	background-size: cover;
	transform: rotate(-90deg);
}

.pliheat_down_button {
	background: url('/wp-content/plugins/pliheatcalc/images/arrow.svg');
	background-size: cover;
	transform: rotate(90deg);
}

/*
.pliheat_up_button {
	background: url('/wp-content/plugins/pliheatcalc/images/arrow.svg');
	background-size: cover;
	border: None;
	text-decoration: None;
	float: right;
	width: 20px;
	height: 20px;
	margin: 5px;
	cursor: pointer;
	transform: rotate(-90deg);
}

.pliheat_down_button {
	background: url('/wp-content/plugins/pliheatcalc/images/arrow.svg');
	background-size: cover;
	border: None;
	text-decoration: None;
	float: right;
	width: 20px;
	height: 20px;
	margin: 5px;
	cursor: pointer;
	transform: rotate(90deg);
}
*/

div#pliheat_string_filter_container {
	border: 1px solid #707070;
	border-radius: 5px;
	padding: 5px;
	/*max-width: 400px;*/
	position: relative;
}
input.pliheat_input {
	border-style: None;
	margin-right: 10px;
	width: calc( 100% - 25px );
	/*
	margin: 5px;
	width: 350px;
	*/
}

li.search_result {
	position: relative;
	list-style-type: None;
	cursor: pointer;
	margin-left: 0px;
}
li.search_result:hover {
	background: #e0e0e0;
}

/*
li.search_result:hover > div.product_info_box {
	display: block;
}
*/
div.product_info_box {
	/* position: fixed; */
	width: 100%;
	border: 1px solid;
	right: 90px;
	top: 144px;
	z-index: 1;
	background: white;
	padding: 20px;
}

div.product_info_box_flex {
	flex: 50%;
}

div#pliheat_search_products {
	flex: 50%;
	overflow: scroll;
}

div.product_info_box > table {
	width: 100%;
	margin: 0;
}

#top div.pliheat_section_container select {
	width: 100%;
	margin: 8px 0;
	padding: 10px;
}

div#pliheat_search_results {
	max-height: 500px;
	/* overflow: scroll; */
	display: flex;
	width: 100%;
}

td.pliheat_field_name {
	width: 140px;
}

input.pliheat_form_input {
	width: 100%;
}

input.pliheat_form_input[type="checkbox"] {
	width: unset;
}

select#ddShapeFactorName {
	margin: 0;
}

#txtProjectDescription {
	margin: 0;
	margin-bottom: 0 !important;
}

.pliheat_form_input {
	margin-bottom: 0;
	margin: 0;
}

.materialControls {
	/*
	position: absolute;
	left: 50%;
	transform: translateX( -50% );
	*/
	/* padding-left: 2px; */
	padding: 2px;
}

.material_td_controls {
	/*
	padding: 0;
	position: relative;
	*/
}

.pliheat_material_controls {
	width: 5.5%;
}

.pliheat_material_cancel {
	width: 5%;
}

.pliheat_material_productName {
	width: 25%;
}

.pliheat_material_thickness {
	width: 5%;
}

td.material_td_thickness {
	padding-left: 0;
	padding-right: 0;
}

/*
.pliheat_material_kFactor {
	width: 5%;
}

.pliheat_material_porosity {
	width: 5%;
}

.pliheat_material_serviceLimit {
	width: 5%;
}

.pliheat_material_junctionTemperature {
	width: 5%;
}

.pliheat_material_meanTemperature {
	width: 5%;
}

.pliheat_material_specificHeat {
	width: 5%;
}

.pliheat_material_density {
	width: 5%;
}

.pliheat_material_heatStorage {
	width: 5%;
}
*/

button.material_add {
	width: 100%;
}

button#pliheat_search_clear {
	display: None
}

.pliheat_hot {
	background-color: #ffa0a0;
	color: #ff0000;
}

h2 {
	padding-top: 20px;
}

.pliheat_cold {
	background-color: #a0a0ff;
	color: #0000ff;
}

.pliheat_materials th {
	padding: 2px;
	text-align: center;
	text-transform: None;
	letter-spacing: normal;
}

#pliheat_materials td {
	padding: 2px;
	text-align: center;
}

table#plihat_materials {
	width: 100%;
}

#materials_table_body .pliheat_thickness {
	width: 100%;
}

div.chart_container {
	position: relative;
}

.pliheat_heatloss_chart {
	height: 500px;
	display:none;
}

input#Imperial[type="radio"]:checked ~ #pliheat_results #pliheat_heatloss_chart_imperial {
	display: block;
}

input#Metric[type="radio"]:checked ~ #pliheat_results #pliheat_heatloss_chart_metric {
	display: block;
}

input.pliheat_units_radio {
	display: None;
}

input.pliheat_units_radio + label {
	padding: 10px;
	margin: 0px 10px 0px 0px;
	border: 1px solid #707070;
	border-radius: 5px;
	color: #909090;
	background: #cccccc;
	display: inline-block;
}

input.pliheat_form_input {
	border-color: #f2f2f2;
	background-color: #ffffff;
	color: #919191;
	padding: 10px;
	border: 1px solid #f2f2f2;
	outline: none;
	border-radius: 0px;
}

button.pliheat_action_button {
	cursor: pointer;
	margin-top: 20px;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	padding: 20px;
	box-sizing: border-box;
	border: 2px solid #cccccc;
	font-weight: bold;
	font-size: 20px;
	border-radius: 5px;
}

button.pliheat_action_button_working {
	background: url('/wp-content/plugins/pliheatcalc/images/loading7_green.gif') no-repeat center/50px;
	color: #909090;
}

.pliheat_button_container {
	display: inline-block;
	box-sizing: border-box;
	padding: 20px;
	width: 100%;
}

.pliheat_table_container table {
	margin: 0px;
}

/*
table.pliheat_table {
	padding: 20px;
	border: 2px solid;
	border-color: #ccc !important;
	border-radius: 5px;
	margin: 10px 10px 35px 10px;
	box-shadow: 0px 8px 10px -7px #cccccc, 5px 5px 15px 5px rgba(96,96,96,0.1);
}
*/
table.pliheat_table th {
	width: 20%;
}

/*
table.pliheat_table tbody {
	border: 20px solid transparent;
}
*/

.pliheat_section_container {
	padding: 20px;
	border: 2px solid;
	border-color: #ccc !important;
	border-radius: 5px;
	box-shadow: 0px 8px 10px -7px #cccccc, 5px 5px 15px 5px rgba(96,96,96,0.1);
}

table.pliheat_table tr, table.pliheat_table td, table.pliheat_table th {
	background: #ffffff !important;
	border-style: None;
	padding: 8px 0px 0px 0px;
	/* padding: 10px; */
	/* border: none !important; */
	color: #000000 !important;
}

.material_td {
	color: #000000;
}

.pliheat_left_label {
	display: inline-block;
}

input.pliheat_units_radio[type="radio"]:checked + label {
	background: #ffffff;
	color: #000000;
}
/*
label#label_imperial {
	background-color: blue;
}
*/

table.defs_table td {
	text-align: right;
}

#content_div * {
	font-size: 0.9em;
}

th.pliheat_material_cancel {
	/* min-width: 55px; */
}

td.pliheat_field_value {
	width: 45%;
}

#pliheat_materials_input tr {
	background-color: #ffffff;
}

/*
#pliheat_materials_input th.pliheat_material_header {
	text-transform: none;
}
*/

div#content_div { display: flex; flex-wrap: wrap; background: #e0e0e0; }
#content_div table { width: unset; }
#content_div td { border-style: none; padding: none; }
#content_div th { border-style: none; padding: none; }
#content_div div { box-sizing: border-box; }
#content_div div#materials_div { width: 100%; }
#content_div div#materials_div table { width: 100%; }
#content_div div#detail_div1 { padding-left: 10px; width: 70% }
#content_div div#detail_div2 { padding-left: 10px; width: 20% }
#content_div div#chart_div { width: 50%; } /* TODO: this should be 50, outlines knock it out */
#content_div div { border: 1px solid; } 
#content_div div#results_div { width: 50%; padding-right: 10% }
#content_div #results_div table { width: 100%; }
#content_div #results_div th { width: 70%; }
#content_div #results_div td { text-align: right; }
#content_div h2 { font-size: 20px; text-align: center; }
/* #content_div th.pliheat_material_header { background: #c0c0c0; } */
#content_div .defs_table th { text-align: left; padding-right: 1em; }

#scroppie_container {
	margin: 10px;
	width: 350px;
}
.href_button {
	display: block;
	border: 1px solid #ff001a;
	padding: 5px;
	margin-top: 5px;
}
