/* Greatly modified version of the jquery-ui.css */

.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ui-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	outline: none;
}

.ui-menu .ui-menu {
	position: absolute;
}

.ui-menu .ui-menu-item {
	position: relative;
	margin: 0;
	padding: 3px 1em 3px .4em;
	cursor: pointer;
	min-height: 0; /* support: IE7 */
	/* support: IE10, see #8844 */
	list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}

.rtl .ui-menu .ui-menu-item {
	text-align: right;
}


/* icon support */
.ui-menu-icons {
	position: relative;
}

.ui-menu-icons .ui-menu-item {
	padding-left: 2em;
}
.rtl .ui-menu-icons .ui-menu-item {
	padding-left: 1em;
	padding-right: 2em;
}

/* left-aligned */
.ui-selectmenu-text .ui-icon,
.ui-menu .ui-icon {
	position: absolute;
	top: 0;
	bottom: 0;
	left: .3em;
	margin: auto 0;
}

.rtl .ui-selectmenu-text .ui-icon,
.rtl .ui-menu .ui-icon {
	right: .3em;
	left: auto;
}

/* right-aligned */
.ui-menu .ui-menu-icon {
	left: auto;
	right: 0;
}

.ui-selectmenu-menu {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.ui-selectmenu-menu .ui-menu {
	overflow: auto;
	/* Support: IE7 */
	overflow-x: hidden;
	padding-bottom: 1px;
}

.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
	font-size: 1em;
	font-weight: bold;
	line-height: 23px;
	padding: 2px 0.4em;
	margin: 0.5em 0 0 0;
	height: auto;
	border: 0;
}

.ui-selectmenu-open {
	display: block;
}

.ui-selectmenu-button {
	display: inline-block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.ui-selectmenu-button span.ui-icon {
	right: 0.5em;
	left: auto;
	margin-top: -10px;
	position: absolute;
	top: 50%;
	text-indent: 0; /* due to text-indent for jquery ui-dialog in wizard */
}

.rtl .ui-selectmenu-button span.ui-icon {
	left: 0.5em;
	right: auto;
}


.ui-selectmenu-button span.ui-selectmenu-text {
	text-align: left;
	padding: 0.2em 2.1em 0.2em 2em;
	display: block;
	line-height: 23px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rtl .ui-selectmenu-button span.ui-selectmenu-text {
	text-align: right;
	padding: 0.2em 2em 0.2em 2.1em;
}

.ui-widget-content,
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
	color: #32373c;
}

.ui-widget-content .ui-state-hover,
.ui-widget-content .ui-state-focus {
	background: #f5f5f5;
}

.ui-selectmenu-button.ui-state-focus {
	border: 1px solid #5b9dd9;
	box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
}

.ui-icon-triangle-1-s:before {
	content: "\f140";
	font: 20px/1 'dashicons';
}

.ui-widget-content {
	max-height: 231px;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
