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

.UIAction {
	padding: 8px 0px;
}

.UIAction .ActionContainer {
	width: auto;
	margin: auto;
}	

.UIAction .ActionButton {
	display: block;
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	margin: 0px 3px;
	cursor: pointer;
}

.UIAction a {
}

.UIAction a:hover {
	color: #058ee6;
}


.UIAction .ActionButton .Icon {
	padding-left: 20px; /* orientation=lt */
	padding-right: 20px; /* orientation=rt */
	width: auto;
	height: auto;
	background-position: left center; /* orientation=lt */
	background-position: right center; /* orientation=rt */
	background-repeat: no-repeat;
}

/*##############################-Normal ActionButton-################################*/

.UIAction .NormalStyle {
}

.UIAction .NormalStyle .ButtonLeft {
	background: url('background/NormalStyle.gif') no-repeat left top;
	padding: 0px 0px 0px 3px;
}

.UIAction .NormalStyle .ButtonRight {
	background: url('background/NormalStyle.gif') no-repeat right top;
	padding: 0px 3px 0px 0px ;
}

.UIAction .NormalStyle .ButtonMiddle {
	line-height: 22px;
	background: url('background/NormalStyle.gif') repeat-x bottom;
	padding: 0px 12px;	
	display: table-cell;
	white-space: nowrap;
}

/*##############################-Disabled ActionButton-################################*/

.UIAction .DisabledStyle {
}

.UIAction .DisabledStyle .ButtonLeft {
	background: url('background/DisabledStyle.gif') no-repeat left top;
	padding: 0px 0px 0px 3px;
}

.UIAction .DisabledStyle .ButtonRight {
	background: url('background/DisabledStyle.gif') no-repeat right top;
	padding: 0px 3px 0px 0px ;
}

.UIAction .DisabledStyle .ButtonMiddle {
	height: 22px; text-align: center; 
	background: url('background/DisabledStyle.gif') repeat-x bottom;
	padding: 0px 12px;
	display: table-cell;
}


/*##############################-LightBlueStyle ActionButton-################################*/

.UIAction .LightBlueStyle .ButtonLeft {
	background: url('background/LightBlueStyle.gif') no-repeat left top;
	padding: 0px 0px 0px 3px;
}

.UIAction .LightBlueStyle .ButtonRight {
	background: url('background/LightBlueStyle.gif') no-repeat right top;
	padding: 0px 3px 0px 0px ;
}

.UIAction .LightBlueStyle .ButtonMiddle {
 	line-height: 22px; text-align: center; 
	background: url('background/LightBlueStyle.gif') repeat-x bottom;
	white-space: nowrap;
	display: table-cell;
	padding: 0px 12px;
}

/*##############################-SimpleStyle ActionButton-################################*/

.UIAction .SimpleStyle {
}

.UIAction .SimpleStyle .ButtonLeft {
	background: url('background/SimpleStyle.gif') no-repeat left top;
	padding: 0px 0px 0px 10px;
}

.UIAction .SimpleStyle .ButtonRight {
	background: url('background/SimpleStyle.gif') no-repeat right top;
	padding: 0px 10px 0px 0px ;
}

.UIAction .SimpleStyle .ButtonMiddle {
	line-height: 21px;
	background: url('background/SimpleStyle.gif') repeat-x bottom;
	text-align: center;	
	padding: 0px 12px;
	display: table-cell;	
	white-space: nowrap;
}

.UIAction a.SimpleStyle {
	color: #313131;
	margin: 0px 6px; 
	white-space: nowrap;
}

.UIAction a:hover.SimpleStyle {
	color: #1273df;
}

/*************************SimpleStyle1********************/

.UIAction .SimpleStyle1 .ButtonLeft	{
	background: transparent url(background/SimpleStyle1.gif) no-repeat left top;
	padding-left: 3px;
}

.UIAction .SimpleStyle1 .ButtonRight {
	background: transparent url(background/SimpleStyle1.gif) no-repeat right top;
	padding-right: 3px;
}

.UIAction .SimpleStyle1 .ButtonMiddle	{
	background: transparent url(background/SimpleStyle1.gif) repeat-x left -20px;
	line-height: 20px;
	padding: 0px 4px;
}

.UIAction .SimpleStyle1 .ButtonMiddle .PageProfileIcon {
	background: transparent url(background/PageProfileIcon.gif) no-repeat left; /* orientation=lt */
	background: transparent url(background/PageProfileIcon.gif) no-repeat right; /* orientation=rt */
	line-height: 20px;
	padding-left: 22px; /* orientation=lt */
	padding-right: 22px; /* orientation=rt */
}

.UIAction .SimpleStyle1 .ButtonMiddle .ViewAsBlockIcon {
	background: transparent url(background/ViewAsBlockIcon.gif) no-repeat left; /* orientation=lt */
	background: transparent url(background/ViewAsBlockIcon.gif) no-repeat right; /* orientation=rt */
	line-height: 20px;
	padding-left: 22px; /* orientation=lt */
	padding-right: 22px; /* orientation=rt */
}

/***************************** BlueButton ***************************/

.UIAction .BlueButton .ButtonLeft {
	background: url('background/BtnBg.gif') no-repeat left top;
	padding-left: 8px;
}

.UIAction .BlueButton .ButtonRight {
	background: url('background/BtnBg.gif') no-repeat right top;
	padding-right: 9px;
}

.UIAction .BlueButton .ButtonMiddle {
	background: url('background/BtnBg.gif') repeat-x left -32px;
	line-height: 32px;
	font-size: 12px;
	display: block;
	padding: 0px 15px 0px 15px;
}

.UIAction .BlueButton .ButtonMiddle a {
	font-weight: bold;
	color: #1d1d1d;
}

.UIAction .BlueButton .ButtonMiddle a:hover {
	color: white;
}

/**********************DarkGrayButton***********************/

.UIAction .DarkGrayButton .ButtonLeft {
	background: url('background/BtnBg.gif') no-repeat left -64px;
	padding-left: 7px;
}

.UIAction .DarkGrayButton .ButtonRight{
	background: url('background/BtnBg.gif') no-repeat right -64px;
	padding-right: 6px;
}

.UIAction .DarkGrayButton .ButtonMiddle {
	background: url('background/BtnBg.gif') repeat-x left -96px;
	line-height: 32px;
	padding: 0px 15px 0px 15px;
	font-size: 12px;
	display: block;
}

.UIAction .DarkGrayButton .ButtonMiddle a {
	font-weight: bold;
	color: #1d1d1d;
}

.UIAction .DarkGrayButton .ButtonMiddle a:hover {
	color: white;
}