
/*
 *	FILTERS
 */


#ljdp_map_filters,
#ljdp_map_filters * {
	display: flex;
	flex-direction: row;
	position: relative;
	margin: auto;
}

#ljdp_map_filters {
	position: relative;
	width: 100%;
	z-index: 1;
}

/*
	overwrite display:none to avoid html flash at begining
	<div class="filter_menu" style="display:none;">
*/
#ljdp_map_filters .filter_menu {
	display: flex !important;
	flex-direction: column;
	width: 100%;
	overflow: visible;
	cursor: pointer;
}

#ljdp_map_filters .filter_menu_title {
	border: 1px solid #ba197a;
}

#ljdp_map_filters .filter_menu_title p {
	padding: 5px;
}


/* **************************************
	DROP DOWN MENU
*/

/*
*/
#ljdp_map_filters .filter_menu_drop_title {
	width: 100%;
	pointer-events: none;
}

#ljdp_map_filters .filter_menu_drop_items {
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0px;
	max-height: 400px;
	width: 100%;
	cursor: pointer;
	overflow: scroll;
	background-color: #ffffff;

	/* opacity is toogled instantanously, for visual confort, but element is still present and clickable */
	/* then, visibility is toogle, after x seconds, letting plainty of times for the browser to catch the 'onclick' event */
	/*
	display: none;
	*/
	opacity: 0;
	visibility: hidden;
	transition: visibility 0.5s;

	border: 1px solid #ba197a;
}

#ljdp_map_filters .filter_menu_drop:focus .filter_menu_drop_title {
	pointer-events: auto;
}

#ljdp_map_filters .filter_menu_drop:focus .filter_menu_drop_items {
	/*
	display: flex;
	*/
	opacity: 1;
	visibility: visible;
}

#ljdp_map_filters .filter_menu_drop_items p {
	padding: 0px 10px;
	margin: 0px;
	width: 100%;
}

#ljdp_map_filters .filter_menu_drop_items p:hover {
	background-color: #dddddd;
}




/* **************************************
	MENU BUTTONS
*/

/*
*/

#ljdp_map_filters .filter_menu_buttons {
	flex-direction: row;
}




/* **************************************
	MENU RESET
*/

/*
*/




