/*
   LN @ INAF-OAS, May 2018.  Last change: 13/07/2022
*/
.custom-dropdown--large {
	font-size: 1.2em;
}

.custom-dropdown--small {
	font-size: .7em;
}

.custom-dropdown__select{
	font-size: inherit; /* inherit size from .custom-dropdown */
	padding: 0.2em; /* add some space*/
	margin: 0; /* remove default margins */
	height: 28px;
}

.custom-dropdown__select--white {
	background-color: #fff;
	color: #444;
	border: 1px solid #444;
}


@supports (pointer-events: none) and
	  ((-webkit-appearance: none) or
	  (-moz-appearance: none) or
	  (appearance: none)) {

	.custom-dropdown {
		position: relative;
		display: inline-block;
	}

	.custom-dropdown__select {
/*width: 7rem;*/
		padding-right: 1em; /* accommodate with the pseudo elements for the dropdown arrow */
		border: 0;
		border-radius: 3px;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		font-size: 1rem;
	}

	.custom-dropdown_selsym {
		position: absolute;
		width: 1rem;
	       	height: 1rem;
		border: 1px solid #ccc;
		border-radius: 50%;
		left: 5px;
		top: 5px;
	}

	.marker_selsym {
		display: inline-block;
		width: 0.7rem;
	       	height: 0.7rem;
		border-radius: 50%;
	}



.custom-dropdown__select--white {
	background-color: #fff;
	color: #444;
	border: 1px solid #444;
}

.custom-dropdown_select--white {
	background-color: #fff;
	color: #444;
	border: 1px solid #444;
	padding-left: 24px;
  width: 15rem;  /* TODO */
}

	.custom-dropdown::before,
	.custom-dropdown::after {
		/* content: ""; */
		position: absolute;
		pointer-events: none;
	}

	.custom-dropdown::after { /*  Custom dropdown arrow */
		content: "\25BC";
		height: 1rem;
		font-size: .625em;
		line-height: 1;
		right: 1.2em;
		top: 50%;
		margin-top: -.5em;
	}

	.custom-dropdown::before { /*  Custom dropdown arrow cover */
		width: 2em;
		right: 0; top: 0; bottom: 0;
		border-radius: 0 3px 3px 0;
	}

/*
.custom-dropdown :hover {
	background-color: #ddd;
	color: highlight;
}
*/

	.custom-dropdown__select[disabled] {
		color: rgba(0,0,0,.3);
	}

	.custom-dropdown.custom-dropdown--disabled::after {
		color: rgba(0,0,0,.1);
	}

	/* White dropdown style */
	.custom-dropdown--white::before {
		border-left: 1px solid rgba(0,0,0,.1);
	}

	.custom-dropdown--white::after {
		color: rgba(0,0,0,.9);
	}

/* FF only temp fix */
/*
@-moz-document url-prefix() {
	.custom-dropdown__select 			 { padding-right: .9em }
	.custom-dropdown--large .custom-dropdown__select { padding-right: 1.3em }
	.custom-dropdown--small .custom-dropdown__select { padding-right: .5em }
}
*/
}
