corona-dropdown,
[corona-dropdown],
cng-select {
	position: relative;
}

.corona-popup-wrapper {
	position: fixed;
	display: none;
	overflow: visible;
	pointer-events: none;
}

.corona-popup-wrapper.open {
	position: absolute;
	display: flex;
}

.open > .dropdown-menu {
	display: flex;
	flex-flow: column nowrap;
}

.dropdown-menu {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	right: auto;
	z-index: 1000;
	float: left;
	min-width: 0;
	margin: 0;
	font-size: 12px;
	text-align: left;
	list-style: none;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	padding: 5px 0px;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, .15);
	border: 1px solid #e7e7e7;
	border-radius: 0;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
	pointer-events: auto;
	box-sizing: border-box;
}

/** 
 * This can be applied to put the dropdown above instead of below,
 * in cases where there is not enough room to go below
 */
.dropdown-menu.drop-up {
	bottom: 100%;
	top: auto;
}

.dropdown-menu.drop-left {
	right: 100%;
	left: auto;
}

.dropdown-menu.drop-right {
	right: auto;
	left: 100%;
}

.dropdown-menu.corona-align-right {
	right: 0;
	left: auto;
}

.dropdown-menu.corona-align-left {
	right: auto;
	left: 0;
}

.dropdown-menu.corona-align-top {
	top: 0;
	bottom: auto;
}

.dropdown-menu.corona-align-bottom {
	top: auto;
	bottom: 0;
}

/**
 * merge style makes the open menu look contiguous with the
 * dropdown-toggle button
 */
.merge-style .dropdown-menu {
	margin-top: -1px;
}

.merge-style.open .dropdown-toggle {
	position: relative;
	z-index: 10001;
}

/* .merge-style.open .dropdown-toggle:before { */
/* 	content: ''; */
/*	 position: absolute; */
/*	 left: 0px; */
/*	 right: 0px; */
/*	 height: 5px; */
/*	 bottom: -1px; */
/*	 background: #fff; */
/*	 z-index: 10001; */
/* } */

.corona-browser-ff .corona-dropdown.merge-style.open .dropdown-toggle:before {
	height: 9px;
}

/**
 * triangle style puts a triangle pointing back up at the
 * caret icon - it needs to be adjusted to match the size and style of 
 * the dropdown-toggle button you want
 */
.triangle-style > .dropdown-menu {
	margin: 2px;
}

.triangle-style > .dropdown-menu:before {
	content: '';
	position: absolute;
	right: 9px;
	top: -7px;
	width: 12px;
	height: 12px;
	background: #fff;
	transform: rotate(45deg);
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: rgba(0, 0, 0, .15);
}

.triangle-style > .dropdown-menu.drop-up:before {
	top: auto;
	bottom: -7px;
	transform: rotate(225deg);
}

.triangle-style > .dropdown-menu.corona-align-left:before {
	left: 9px;
	right: auto;
}

.corona-header-bottom-bar .dropdown-menu.corona-align-right {
	right: -4px;
}

/** Here are some specific adjustments, use in the appropriate context or as examples for your own */
.th-filter-dropdown .dropdown-menu.corona-align-right {
	right: -8px;
}

.th-filter-dropdown.sorted .dropdown-menu.corona-align-right {
	right: -10px;
}

.th-filter-dropdown .dropdown-menu.corona-align-left {
	left: -8px;
}

.th-filter-dropdown .dropdown-menu.drop-up.corona-align-left {
	left: -7px;
}

.th-filter-dropdown.sorted .dropdown-menu.corona-align-left {
	left: 1px;
}

.dropdown-menu .divider {
	height: 1px;
	margin: 9px 0;
	padding: 0 !important;
	overflow: hidden;
	background-color: #e5e5e5;
}

.dropdown-menu > li,
.dropdown-menu .dropdown-list-item {
	padding: 5px 20px;
	position: relative;
	display: list-item;
	cursor: pointer;
	font-family: "Arial";
	line-height: 1.42857143;
	font-size: 12px;
	white-space: nowrap;
	box-sizing: border-box;
	color: #008E89;
}

.dropdown-menu > li:hover,
.dropdown-menu .dropdown-list-item:hover {
	background-color: #f5f5f5;
}

.dropdown-menu > li > i,
.dropdown-menu .dropdown-list-item > i {
	margin-right: 4px;
	color: #53575C;
	margin-right: 6px;
	margin-left: -2px;
}

.dropdown-title {
	font-style: italic;
	white-space: nowrap;
	font-size: 13px;
	margin-top: 5px;
	text-align: center;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.dropdown-title.padded {
	padding: 0 6px;
}

.multi-select-dropdown {
	color: #444;
	padding: 5px 10px;
	font-size: 13px;
	overflow: visible;
	box-sizing: border-box;
}

.scrolling-menu-group {
	flex: 0 1 auto;
	overflow-y: auto;
	padding: 2px;
	margin-top: 9px;
	border: 1px solid #e5e5e5;
	border-width: 1px 0px;
}

.scrolling-menu-group + .dropdown-list-item,
.scrolling-menu-group + .dropdown-list-item-wrapper {
	margin-top: 4px;
}

.scrolling-menu-group + .dropdown-title {
	margin-top: 9px;
}

.small-grey-icon > .corona-dropdown-icon {
	color: #555;
	font-size: 0.9em;
}

* + .corona-dropdown-icon {
	margin-left: 6px;
}

.small-grey-icon * + .corona-dropdown-icon {
	margin-left: 3px;
}