/* Il widget mmfg */
.mmfg-widget {
	font-size: 12px;
	font-family: Lucida Grande, sans-serif;
	-moz-box-shadow: 0 0 20px #111; -webkit-box-shadow: 0 0 20px #111;
	-moz-border-radius:5px; -webkit-border-radius:5px;
	border-color:#888888;
	border-style:solid;
	border-width:0 1px 1px;
	background: #FFF linear-gradient(rgba(191, 191, 190, 0.0000), rgba(191, 191, 191, 0.4980) 120px) repeat-x scroll 0 bottom;
	/* gradiente nativo, ignorato da FF < 3.6 */
	background: -moz-linear-gradient(top, #FFF 50%, #DDD);
	margin:0;padding:0;
}

div.mmfg-widget > .yui3-widget-hd, 
div.mmfg-widget-header {
	-moz-border-radius-topleft:4px;
	-moz-border-radius-topright:4px;
	background:#FFFFFF linear-gradient(rgba(255, 255, 255, 0.0627), rgba(0, 0, 0, 0.5020) 35px) repeat-x scroll left;
	background:-moz-linear-gradient(center top , #FFF 0pt, #DDD 10%, #BBB 90%) repeat scroll 0 0 transparent;
	border-color:#777777 #888888 #666666;
	border-style:solid;
	border-width:0 0 1px;
	color:#000000;
	font-family:sans-serif;
	font-size:14px;
	font-weight:lighter;
	overflow:hidden;
	padding:6px 6px 3px;
	text-align:center;
	text-shadow:0 1px 2px #FFFFFF;
	white-space:pre;
}

.yui3-dd-draggable .yui3-widget-hd { cursor: move; }
.yui3-dd-draggable.yui3-dd-dragging .yui3-widget-hd { cursor: -moz-grabbing; } /* NON FUNZIONA!? */

div.mmfg-widget .yui3-widget-hd > .mmfg-widget-close,  
div.mmfg-widget .yui3-widget-hd > .mmfg-widget-mini
{ 
	color: transparent;
	background: transparent url("/js/mmfg/assets/aqua-dot.png") no-repeat scroll 0 0;
	position: absolute;
	top: 2px;
	width: 18px;
	height: 18px;
	cursor: pointer;
}
div.mmfg-widget .yui3-widget-hd > .mmfg-widget-close { left: 6px; }
div.mmfg-widget .yui3-widget-hd > .mmfg-widget-mini  { left: 24px; }

div.mmfg-widget .yui3-widget-hd > .mmfg-widget-close:hover { background-image: url("/js/mmfg/assets/aqua-dot-red.png"); }
div.mmfg-widget .yui3-widget-hd > .mmfg-widget-mini:hover  { background-image: url("/js/mmfg/assets/aqua-dot-yellow.png"); }

div.mmfg-widget .yui3-widget-bd { 
	position:relative;
}

div.mmfg-widget .mmfg-popup-iframe { 
	border: 0;
	margin: 0;
	width: 100%;
}

div.mmfg-widget-hidden { display: none; }

div.mmfg-widget > .yui3-widget-hd:empty, 
div.mmfg-widget-header:empty {
	padding: 0px;
	border: none;
}
