/**
 * Copyright (C) 2009 eXo Platform SAS.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

.UIPopupMenu {
	display: none;
	background: #e4e4fc;
	text-align: left; /* orientation=lt */
	text-align: right; /* orientation=rt */
	border: 1px solid #232e8d;
	cursor: default;
}

.UIPopupMenu a:hover {
	color: #1a03fa;
}

.UIPopupMenu .MiddleBar {
	margin: 1px;
	border: solid 1px #fcfcfd;
	border-top: 0px;
}

.UIPopupMenu .MenuItem {
	border-top: 1px solid #fcfcfd;
	border-bottom: 1px solid #232e8d;
	height: 26px;
	line-height: 26px;
}

.UIPopupMenu .MenuItem .MenuItemLeftIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 16px;	height: 16px;
	padding: 5px;
}

.UIPopupMenu .MenuItem .MenuItemText {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
}

.UIPopupMenu .MenuItem .MenuItemRightIcon {
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	width: 16px;	height: 16px;
	padding: 5px 0px;
}

.UIPopupMenu .MenuItem .MenuItemExpand {
	overflow: visible;
}

/*Use	float: left to align the popup block with this block*/

.UIPopupMenu .MenuItem .MenuItemEntry {
	overflow: hidden;	width: 100%;
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	cursor: pointer;	
}

/*###################-ITEM SELECTED STYLE-#################*/

.UIPopupMenu .MenuItemSelected {
	border-top: 1px solid white;
	border-bottom: 1px solid #232e8d;
	height: 26px;
	line-height: 26px;
	background: #6daad9;
}

.UIPopupMenu .MenuItemSelected .MenuItemLeftIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 16px;	height: 16px;
	padding: 5px;
}

.UIPopupMenu .MenuItemSelected .MenuItemText {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	color: white;
}

.UIPopupMenu .MenuItemSelected .MenuItemRightIcon {
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	width: 16px;	height: 16px;
	padding: 5px 0px;
}

.UIPopupMenu .MenuItemSelected .MenuItemExpand {
	overflow: visible;
}

/*Use	float: left to align the popup block with this block*/

.UIPopupMenu .MenuItemSelected .MenuItemEntry {
	overflow: hidden;	width: 100%;
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	cursor: pointer;	
}

/*###################-END ITEM SELECTED STYLE-#################*/
