/*!
 * jQuery UI Selectmenu @VERSION
 * http://jqueryui.com
 *
 * Copyright 2013 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Selectmenu#theming
 */


select.corto { width: 60px !important; } /* Nel nuovo jQuery UI la larghezza si mette nel CSS, non nella funzione di implementazione */
select.lungo { width: 90% !important; }


.overflow { /* Nel nuovo jQuery UI bisogna aggiungere una classe per dare l'altezza fissa al selectmenu */
	height: 200px;
}

.ui-selectmenu-menu .ui-widget-content { /* Stile menu a discesa del selectmenu */
	background: #fff;
}

.ui-state-default {
	border:1px solid #ccc;
	padding: 0.2em 0;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;

	behavior: url(css/PIE.htc);
}

.ui-selectmenu-menu {
	min-width: 240px !important;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	display: none;
	font-size: 0.8em;
	z-index: 20 !important;
	font-weight: normal;
	font-family: inherit;
}
.ui-selectmenu-menu  ul.ui-menu {
	overflow: auto;
	overflow-y: auto ;
	overflow-x: hidden;
	max-height: 360px !important;
}
.ui-selectmenu-menu .ui-menu .ui-menu-item a {
	padding: 0px 5px;
}
.ui-selectmenu-menu .ui-menu li.ui-selectmenu-optgroup {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.4;
	padding: 2px 5px;
	margin: 0.5em 0 0 0;
	height: auto;
	border: 0;
}
.ui-selectmenu-open {
	display: block;
}
.ui-selectmenu-button {
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	cursor: pointer;
}
.ui-selectmenu-button span.ui-icon {
	right: 0.5em;
	left: auto;
	margin-top: -8px;
	position: absolute;
	top: 50%;
}
.ui-selectmenu-button span.ui-selectmenu-text {
	text-align: left;
	padding: 2px 5px;
	display: block;
	line-height: 1.4;
}