:root {
	--pli_red: #d9282f;
	--transition_time: 0.3s;
	/* --main_color: #d4d4d4; */

	--main_color: #ccc;
}
.ptl_tree_node_outer {
	margin-left: 10px;
}

.ptl_tree_node_inner > input {
	height: 16px;
}

.ptl_collapsed > .ptl_tree_node_inner:nth-child(n+4) {
	display: None;
	/* background: red; */
}

.ptl_area button {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}


.ptl_filter_label {
	padding: 5px 0;
}

.ptl_filter {
	display: flex;
	flex-direction: row;
}

button.ptl_tag {
	padding: 5px 10px;
	margin: 5px;
	border: 1px solid;
	border-radius: 10px;
}

button.ptl_tag span {
	margin-right: 5px;
}

.ptl_search_results {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ptl_product {
	/* border: 1px solid black; */
	border: 2px solid var(--main_color); 
	border-radius: 8px;
	min-height: 100px;
}

.ptl_product .ptl_product_description {
	max-height: 0;
	overflow: hidden;
	transition: all var( --transition_time );
	padding: 0;
	opacity: 0;
	box-sizing: border-box;
}

.ptl_product.description_visible .ptl_product_description {
	max-height: 500px;
	overflow: scroll;
	padding: 16px;
	opacity: 1;
}


.ptl_product .ptl_product_expand {
	margin: 0 10px 0 10px;
	transition: all var( --transition_time );
}

/*
.ptl_product.ptl_no_description .ptl_product_expand {
	pointer-events: none;
	visibility: hidden;
}
*/

.ptl_product.ptl_no_description .ptl_product_page_link {
	pointer-events: none;
}

.ptl_product.ptl_no_description .ptl_product_page_link i {
	display: none;
}

.ptl_product.description_visible .ptl_product_expand {
	transform: rotate(180deg);
}

.ptl_product_row_top {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
}

.ptl_product_icons {
	display: flex;
	flex-direction: row;
	gap: 5px;
	/* flex-wrap: wrap; */
}

.ptl_resource_icon {
	/* border: 1px solid black; */
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
}

.ptl_product_text {
	/* width: 275px; */
	flex-basis: 275px;
	flex-shrink: 1;
}
.ptl_product_text h4 {
	color: var( --pli_red );
	position: relative;
	padding-bottom: 0;
	padding-right: 14px;
}

.ptl_product_text h4 .fa-arrow-right {
	position: absolute;
	line-height: 1.3em;
	bottom: 0;
}

.ptl_product_text h4 i {
	margin-left: 8px;
}

.ptl_pagination {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 20px;
}
.ptl_pagination .ptl_page_current {
	color: var( --pli_red );
	border: 5px solid var( --pli_red );
}
.ptl_pagination > button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 1px solid black;
}

button.ptl_expand {
	color: #d22630;
	border-bottom: 2px solid #d22630;
	line-height: 16px;
	margin-bottom: 5px;
}

.ptl_tree_node_inner {
	display: flex;
	flex-direction: row;
	align-items: start;
}



.ptl_area {
	display: flex;
	flex-direction: row;
	flex-wrap: none;
	gap: 20px;
}

.ptl_tree_toggle_container {
	display: none;
}

@media only screen and (max-width: 1000px) {
	.ptl_area {
		flex-direction: column;
	}

	.ptl_tree_node_outer.ptl_tree_depth_0 {
		max-height: 0;
		overflow: hidden;
	}

	.ptl_tree_toggle_container {
		display: flex;
		justify-content: center;
		margin: 10px;
		border: 1px solid var(--main_color);
		/* background: var(--main_color); */
		background: #aaa;
		color: white;
		border-radius: 3px;
	}

	.ptl_tree_toggle_container i {
		height: 100%;
		display: flex;
		align-items: center;
		padding: 0 20px;
		transform: rotate(180deg);
		transition: all var( --transition_time );
	}

	.ptl_tree_expanded .ptl_tree_toggle_container i {
		transform: rotate(0);
	}

	.ptl_tree_expanded .ptl_tree_node_outer.ptl_tree_depth_0 {
		max-height: 50vh;
		overflow: scroll;
	}

	.ptl_tree_toggle {
		display: flex;
		align-items: center;
		height: 36px;
	}

	.ptl_product_icons {
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 400px) {
	.ptl_product_row_top {
		flex-direction: column;
	}

	.ptl_product_row_top .ptl_product_text {
		width: unset;
	}
}

.ptl_area > * {
	/* border: 2px solid rgba( 217, 217, 214, 0.58 ); */

	border: 2px solid var(--main_color);
	border-radius: 8px;
	padding: 12px; /* 12px; */
}

.ptl_search {
	border: 1px solid #bfbfbf;
	border-radius: 3px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	height: 36px;
	margin: 10px;
}

.ptl_search input {
	width: 100%;
	flex-grow: 1;
}

.ptl_search_clear {
	/* font: normal 1em/1 Arial, sans-serif; */
	font-size: 20px;
	min-width: 40px;
	display: flex;
	justify-content:center;
	align-items:center;
	background-color: var( --main_color ) !important;

}
.ptl_search_clear i {
	min-width: 15px;
}

.ptl_search_clear {
	height: 100%;
	display: flex;
	align-items: center;
}

.ptl_search > span {
	display: inline-flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	font-size: 16px;
}

.ptl_search input {
	border: none;
	font-size: 16px;
}

.ptl_right {
	width: 100%;
}
