/*!
(C)2022-2023 by Don Stamey, MacWisdom Systems, http://www.macwisdom.com. All rights reserved.
This module may not be copied, modified, or used without written permission of the above owner.
*/

.gg_popupSelect {
	display: inline-block;
	position: relative;
	line-height: 100%;
	color: #000;
	background-color: #fff;
}
.gg_popupSelect * {
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}
.gg_popupSelect label {
	display: inline-block;
	padding: .25em;
	padding-right: .1em;
}
.gg_popupSelect > div:nth-of-type(1) {
	display: inline-block;
	box-sizing: border-box;
	border: 1px solid #888;
	border-radius: 2px;
	padding: .25em .5em;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
}
.gg_popupSelect > div:nth-of-type(1)::after {
	margin-left: .5em;
	font-size: 75%;
	content: "\25BC";
}
.gg_popupSelect > div:nth-of-type(2) {
	display: none;
	box-sizing: border-box;
	z-index: 500;
	position: absolute;
	top: 1.5em;
	left: 0;
	padding: 2px 1px;
	border: 1px solid #888;
	box-shadow: 3px 3px #888;
	text-align: left;
	background-color: inherit;
	
	max-height: 40vh;
	overflow-y: auto;
	overflow-x: hidden;
}
.gg_popupSelect option {
	border: 1px dotted transparent;
	border-radius: .4em;
	padding: .25em 1em;
	line-height: 140%;
	letter-spacing: inherit;
	white-space: nowrap;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	background-color: inherit;
	cursor: pointer;
}
.gg_popupSelect option:hover {
	border-color: #888;
}
.gg_popupSelect option._selected {
	background-color: #e8e8e8;
}
