/**
 * 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.
 */

/**
 * Created by The eXo Platform SARL
 * Modifier : Nguyen Ngoc Thuy
 * April 23, 2007
 * version: $Id$
 */

.UINavigationPortlet {
  border-bottom: 1px solid #e5e5e5;
}
	
.UINavigationPortlet .UINavigationBar {
	white-space: nowrap;
}

.UINavigationPortlet .UINavigationBar .UIHorizontalTabs {
	height: 30px;
}

.UINavigationPortlet .UINavigationBar .UIHorizontalTabs .TabsContainer {
	float: none;
	!position: relative;
	height: 30px;
}

.UINavigationPortlet .UINavigationBar .LeftNavigationBar {
}

.UINavigationPortlet .UINavigationBar .RightNavigationBar {
}

.UINavigationPortlet .UINavigationBar .MiddleNavigationBar {
	padding: 0px 24px;
	background: #f9f9f9;
}

.UINavigationPortlet .UITab a.TabLabel {
	display: block;
	padding: 0px 0px 0px 20px; /* orientation=lt */
	padding: 0px 20px 0px 0px; /* orientation=rt */
	background-position: left; /* orientation=lt */
	background-position: right; /* orientation=rt */
}

.UINavigationPortlet .UITab a.DefaultPageIcon {
	background: none;
	padding: 0px;
}

/*###########################--NavigationTabTab--############################*/

.UINavigationPortlet .UITab .NormalNavigationTab {
	line-height: 230px; 
	margin: 0px 8px 0px 0px; 
}

.UINavigationPortlet .UITab .NormalNavigationTab .LeftTab {
	line-height: 30px;
}

.UINavigationPortlet .UITab .NormalNavigationTab .RightTab {
	line-height: 30px; 
}

.UINavigationPortlet .UITab .NormalNavigationTab .MiddleTab {
	line-height: 30px;
	text-align: center;
	padding: 0px 10px;
}

.UINavigationPortlet .UITab .NormalNavigationTab .TabIcon {
	line-height: 27px;
}

.UINavigationPortlet .UITab .NormalNavigationTab a {
	color: #565656;
	font-weight: normal;
}

.UINavigationPortlet .UITab .NormalNavigationTab .DropDownArrowIcon {
	padding-right: 12px; /* orientation=lt */
	padding-left: 12px; /* orientation=rt */
	background: url('background/NavDownArrow.gif') no-repeat right; /* orientation=lt */
	background: url('background/NavDownArrow.gif') no-repeat left; /* orientation=rt */
	cursor: pointer;
}

/*###############-Hightlight Navigation Tab	-################*/

.UINavigationPortlet .UITab .HighlightNavigationTab {
	line-height: 30px;  
	margin: 0px 8px 0px 0px; 
}

.UINavigationPortlet .UITab .HighlightNavigationTab .LeftTab {
	line-height: 30px;
}

.UINavigationPortlet .UITab .HighlightNavigationTab .RightTab {
	line-height: 30px;
}

.UINavigationPortlet .UITab .HighlightNavigationTab .MiddleTab {
	height: 30px; 
	text-align: center;
	padding: 0px 10px;
}

.UINavigationPortlet .UITab .HighlightNavigationTab .TabIcon {
	color: #000;
	line-height: 27px;
	border-bottom:3px solid #E5E5E5;
}

.UINavigationPortlet .UITab .HighlightNavigationTab a {
	color: #000;
	font-weight: normal;
}

.UINavigationPortlet .UITab .HighlightNavigationTab .DropDownArrowIcon {
	padding-right: 12px; /* orientation=lt */
	padding-left: 12px; /* orientation=rt */
	background: url('background/NavDownArrow.gif') no-repeat right; /* orientation=lt */
	background: url('background/NavDownArrow.gif') no-repeat left; /* orientation=rt */
	cursor: pointer;
}

/*###############-Selected Navigation Tab-################*/

.UINavigationPortlet .UITab .SelectedNavigationTab {
	line-height: 30px; 
	margin: 0px 8px 0px 0px; 
}


.UINavigationPortlet .UITab .SelectedNavigationTab .LeftTab {
	line-height: 30px;
}

.UINavigationPortlet .UITab .SelectedNavigationTab .RightTab {
	line-height: 30px;
}

.UINavigationPortlet .UITab .SelectedNavigationTab .MiddleTab {
	line-height: 30px;
	text-align: center;
	padding: 0px 10px;
}

.UINavigationPortlet .UITab .SelectedNavigationTab .TabIcon {
	color: #000;
	line-height: 27px;
	border-bottom: 3px solid #E5E5E5;
}

.UINavigationPortlet .UITab .SelectedNavigationTab a {
	color: #000;
}

.UINavigationPortlet .UITab .SelectedNavigationTab .DropDownArrowIcon {
	padding-right: 12px; /* orientation=lt */
	padding-left: 12px; /* orientation=rt */
	background: url('background/NavDownArrow.gif') no-repeat right center;	/* orientation=lt */
	background: url('background/NavDownArrow.gif') no-repeat left center; /* orientation=rt */
	cursor: pointer;
}

.UINavigationPortlet .MenuItemContainer {
	white-space: nowrap;
	border: solid #b7b7b7 1px; /*fix for IE*/
	text-align: left; /* orientation=lt */
	text-align: right; /* orientation=rt */
}

.UINavigationPortlet .MenuItemContainer .MenuItemDecorator {
	border: 1px solid #fcfcfc;
	background: white;
	padding-bottom: 6px;
}

.UINavigationPortlet .MenuItemContainer .MenuItem {
	border-bottom: 1px solid #fff;
	cursor: pointer;
	line-height: 24px;
	height: 24px; width: auto;
	display: block;
	white-space: nowrap;
	font-weight: normal;
	padding-left: 5px; /* orientation=lt */
	padding-right: 5px; /* orientation=rt */
}

.UINavigationPortlet .MenuItemContainer .MenuItem a {
	padding: 0px 20px 0px 25px; /* orientation=lt */
	padding: 0px 25px 0px 20px; /* orientation=rt */
	display: block;
}

.UINavigationPortlet .MenuItemContainer .MenuItem a:hover {
	color: #3e8df0;
}

.UINavigationPortlet .MenuItemContainer .SelectedItem {
	line-height: 24px;
	width: auto; 
	background: #c7c7c7;
	color: #3e8df0;
}

.UINavigationPortlet .MenuItemContainer .SelectedItem a {
	color: #3e8df0;
}

.UINavigationPortlet .MenuItemContainer	.SelectedItem .NormalItem a {
	color: #000;
}

.UINavigationPortlet .MenuItemContainer	.SelectedItem .NormalItem a:hover {
	color: #3e8df0;
}

.UINavigationPortlet .MenuItemContainer	.NormalItem .SelectedItem a {
	color: #3e8df0;
}

.UINavigationPortlet .MenuItemContainer .ItemIcon {
	height: 24px; width: auto;
}

.UINavigationPortlet .MenuItemContainer .MenuItem .ArrowIcon {
	height: 24px; 
	width: auto;
	background: url('background/Button.gif') no-repeat right -48px; /* orientation=lt */ 
	background: url('background/Button-rt.gif') no-repeat left -48px; /* orientation=rt */ 
}	

/*============ Scroll Buttons =====================*/

.UINavigationPortlet .ScrollButtons {
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	padding-top: 10px;
	display: none;
}

.UINavigationPortlet .ScrollLeftButton {
	cursor: pointer;
	background: url('background/Button.gif') no-repeat left -15px; /* orientation=lt */
	background: url('background/Button-rt.gif') no-repeat right -15px; /* orientation=rt */
	width: 10px;
	height: 15px;
	padding-left: 12px; /* orientation=lt */
	padding-right: 12px; /* orientation=rt */
	margin: 0px 5px;
}

.UINavigationPortlet .ScrollRightButton {
	cursor: pointer;
	background: url('background/Button.gif') no-repeat right -15px; /* orientation=lt */
	background: url('background/Button-rt.gif') no-repeat left -15px; /* orientation=rt */
	width: 10px;
	height: 15px;
}

.UINavigationPortlet .DisableScrollLeftButton {
	cursor: pointer;
	background: url('background/Button.gif') no-repeat left -30px; /* orientation=lt */
	background: url('background/Button-rt.gif') no-repeat right -30px; /* orientation=rt */
	width: 10px;
	height: 15px;
	padding-left: 12px; /* orientation=lt */
	padding-right: 12px; /* orientation=rt */
	margin: 0px 5px;
}

.UINavigationPortlet .DisableScrollRightButton { 
	cursor: pointer;
	background: url('background/Button.gif') no-repeat right -30px; /* orientation=lt */
	background: url('background/Button-rt.gif') no-repeat left -30px; /* orientation=rt */
	width: 10px;
	height: 15px;
}

.UINavigationPortlet .HighlightScrollLeftButton {
	cursor: pointer;
	background: url('background/Button.gif') no-repeat left top; /* orientation=lt */
	background: url('background/Button-rt.gif') no-repeat right top; /* orientation=rt */
	width: 10px;
	height: 15px;
	padding-left: 12px; /* orientation=lt */
	padding-right: 12px; /* orientation=rt */
	margin: 0px 5px;
}

.UINavigationPortlet .HighlightScrollRightButton {
	cursor: pointer;
	background: url('background/Button.gif') no-repeat right top; /* orientation=lt */
	background: url('background/Button-rt.gif') no-repeat left top; /* orientation=rt */
	width: 10px;
	height: 15px;
}

/***********GroupNavigation*************/

.UINavigationPortlet .GroupNavigation {
	background: #f9f9f9;
}

