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

.UIPortlet .LAYOUT-BLOCK {	
	padding: 5px;
}

.UIPortlet .CONTROL-PORTLET {
	left: 0; /* orientation=lt */
	right: 0; /* orientation=rt */
}

.UIPortlet .CONTROL-PORTLET .Login {
	background: url('/eXoResources/skin/DefaultSkin/skinIcons/16x16/icons/ToolIcons/Key.gif') no-repeat center;
}

.UIPortlet .CONTROL-PORTLET .DragControlArea {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 7px; height: 13px;
	margin: 5px 0px 0px 3px; /* orientation=lt */
	margin: 5px 3px 0px 0px; /* orientation=rt */
	background: url('background/DragBg2x2.gif');
	cursor: move;
}

.UIPortlet .ViewPortletIcon {
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	width: 16px; height: 16px; 
	margin: 4px 5px 0px 0px; /* orientation=lt */
	margin: 4px 0px 0px 5px; /* orientation=rt */
	background: url('background/BlueBoxLight.gif') no-repeat;
	cursor: pointer;
}

.UIPortlet .EditPortletPropertiesIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 20px; height: 20px;
	background: url('background/Pen.gif') no-repeat top;
	margin: 4px 0px 0px 5px; /* orientation=lt */
	margin: 4px 5px 0px 0px; /* orientation=rt */
}

.UIPortlet .DeletePortletIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 20px; height:20px; 
	background: url('background/Close.gif') no-repeat bottom;
	margin: 0px 0px 0px 2px; /* orientation=lt */
	margin: 0px 2px 0px 0px; /* orientation=rt */
}

.UIPortlet .SelectedContainerBlock {
	background: white;
	border-top: 1px solid #91bcdd;
}

.UIPortlet .SelectedContainerBlock .LeftContainerBlock {
	background: url('background/BgContainerBlock.gif') no-repeat left top;
	padding-left: 1px;
}

.UIPortlet .SelectedContainerBlock .RightContainerBlock {
	background: url('background/BgContainerBlock.gif') no-repeat right top;
	padding: 4px;
}

.UIPortlet .NewLayer {
	background: #d1dce5; 
	filter: alpha(opacity=80);
	opacity: 0.8;
	width: 100%; height: 100%;
}

/*##############################- PortletLayoutDecorator	-################################*/

.PortletLayoutDecorator {
}

.PortletLayoutDecorator .LPortletLayoutDecorator {
	background: url('background/PortletLayoutDecorator.gif') no-repeat left top;
	padding: 0px 0px 0px 12px;
}

.PortletLayoutDecorator .RPortletLayoutDecorator {
	background: url('background/PortletLayoutDecorator.gif') no-repeat right top;
	padding-right: 12px;
}

.PortletLayoutDecorator .CPortletLayoutDecorator {
	background: url('background/PortletLayoutDecorator.gif') repeat-x center -89px;
	word-wrap: break-word;
	overflow-y: hidden;
}

.PortletLayoutDecorator .FixHeight {
	height: 69px;
	padding: 10px 0;
}
.ProtectedPortlet .PortletLayoutDecorator {
	background: white;
}
.ProtectedPortlet .PortletLayoutDecorator .LPortletLayoutDecorator {
	opacity: 0.3;
	filter: alpha(opacity=30);
}
/*############### End Decorator ###################################################*/

.LAYOUT-CONTAINER .UIContainer {
	height: 100%;
	/*
	 fix bug dragdrop in IE6
	*/
}

.LAYOUT-CONTAINER .TDContainer {
	padding: 0px 2px;
}

.UIContainer .LAYOUT-BLOCK .UIRowContainer {
	min-height: 86px;
	_height: 86px;
}

.UIContainer .VIEW-BLOCK .EmptyContainer {
	height: 82px;
}

.UIContainer .NewLayer {
	background: #93c0e2; 
	filter: alpha(opacity=40);
	opacity: 0.4;
	width: 100%; height: 100%;
}

/*
.UIContainer .LAYOUT-CONTAINER {
	background: #f5f5f5;
 	border: solid 1px #38acf3;
	padding: 5px;
	margin: 0px 1px;
	min-height: 60px;
}

* html .UIContainer .LAYOUT-CONTAINER {
	height: 60px;
}

.UIContainer .UIInfoBar .BlueRoundedStyle {
	padding: 0px; margin: 0px;
	height: 22px;
}
*/

.UIContainer .CONTROL-CONTAINER .DragControlArea {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 7px; height: 13px;
	background: url('background/DragBg2x2.gif');
	cursor: move;
	margin: 5px 0px 0px 2px; /* orientation=lt */
	margin: 5px 2px 0px 0px; /* orientation=rt */
}

.UIContainer .LAYOUT-CONTAINER	.UITableColumnContainer {
	background: none;
	border: none;
	margin: auto;
}

.UIContainer .EditContainerIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 22px; height: 16px;
	background: url('background/Pen.gif') no-repeat top;
	margin: 4px 2px 0px 0px; /* orientation=lt */
	margin: 4px 0px 0px 2px; /* orientation=rt */
}

.UIContainer .DeleteContainerIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 22px; height: 16px; 
	background: url('background/Close.gif') no-repeat bottom;
	margin: 4px 0px 0px 0px; /* orientation=lt */
	margin: 4px 0px 0px 0px; /* orientation=rt */
}

.UIContainer .ContainerIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	height: 16px; line-height: 16px;
	padding-left: 24px; /* orientation=lt */
	padding-right: 24px; /* orientation=rt */
	margin: 3px 0px 0px 5px; /* orientation=lt */
	margin: 3px 5px 0px 0px; /* orientation=rt */
	background: url('background/DefaultContainerIcon.png') no-repeat;
}

.UIPortal .LAYOUT-PORTAL {
	/* background: url('background/PortalBackground4x4.gif');*/
	background: white;
	padding: 8px;
	_padding: 8px 0px; /* orientation=rt */
	margin: auto;
	_margin: 0px; /* orientation=rt */
	_width: 99%; /* orientation=rt */
}

.DragAndDropPreview {
	width: auto; height: 80px;
	background: url('background/DragAndDropPreview4x4.gif');
	border: 1px solid #c4c4c4;
	margin: 0px 12px 10px 12px;
}

.PortletBlockDecorator {

}

.EdittingContainer {
	padding: 3px;
}

.EdittingContainer .NormalContainerBlock {
	background: white;
	border: 1px dashed #a2a2a2;
	height: 100%;
}

.EdittingContainer .NormalContainerBlock .LeftContainerBlock, 
.EdittingContainer .OverContainerBlock .NormalContainerBlock .LeftContainerBlock {
	background: none;
}

.EdittingContainer .NormalContainerBlock .RightContainerBlock, 
.EdittingContainer .OverContainerBlock .NormalContainerBlock .RightContainerBlock {
	padding: 2px;
	background: none;
}

.UIContainer .UIPortlet {
	padding: 0px;
}

.UIPortletMask {
	opacity: 0;
	filter: alpha(opacity=0);
	background: #ffffff;
}

.EdittingContainer .OverContainerBlock {
	border: 1px solid #b8babf;
	background: none;
	height: 100%;
}

.EdittingContainer .OverContainerBlock .LeftContainerBlock {
	background: white;
}

.EdittingContainer .OverContainerBlock .RightContainerBlock {
	background: none;
	padding: 2px;
}

.ProtectedContainer .ProtectedContent {
	opacity: 0.3;
	filter: alpha(opacity=80);
	height: 70px;
	padding: 6px 10px;
}

.UIPageBodyMask {
	opacity: 0;
	filter: alpha(opacity=0);
	background: #ffffff;
	cursor:move;
}
