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

.UIPortal .LAYOUT-PORTAL {
	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;
}

/************** style for EDITION-BLOCK *****************/

.EDITION-BLOCK .CONTROL-BLOCK {
	position: absolute; 
	top: -5px; 
	left: 4px; /* orientation=lt */
	right: 4px; /* orientation=rt */
	white-space: nowrap;
}

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

.EDITION-BLOCK .DragControlArea {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 7px; height: 13px;
	background: url('background/DragBg2x2.gif');
	cursor: move;
	margin: 3px 0px 0px 2px; /* orientation=lt */
	margin: 3px 2px 0px 0px; /* orientation=rt */
	display: block;
}

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

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

.EDITION-BLOCK .ContainerIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	padding-left: 24px; /* orientation=lt */
	padding-right: 24px; /* orientation=rt */
	margin: 0px 0px 0px 5px; /* orientation=lt */
	margin: 0px 5px 0px 0px; /* orientation=rt */
	background: url('background/DefaultContainerIcon.gif') no-repeat left 3px; /* orientation=lt */
	background: url('background/DefaultContainerIcon.gif') no-repeat right 1px; /* orientation=rt */
	width:auto;
}

.ContainerMode .UIColumnContainer .ContainerControlIcon {
  float: right;/* orientation=lt */
  float: left;/* orientation=rt */
  width: 28px; 
  height: 20px;
  cursor: pointer;
  background: url('/eXoResources/skin/PortletThemes/background/DefaultTheme.png') no-repeat center;
}

.ContainerMode .UIColumnContainer .ContainerArrowDownIcon {
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	width: 22px; height: 16px; 
	background: url('background/ArrowDown.gif') no-repeat center top;
	margin: 3px 0px 0px 2px; /* orientation=lt */
	margin: 3px 2px 0px 0px; /* orientation=rt */
}

.EDITION-BLOCK  .PortletIcon {
	background: url('background/Earth.gif') no-repeat left center; /* orientation=lt */
	background: url('background/Earth.gif') no-repeat right center; /* orientation=rt */
	float: left; /* orientation=lt */
	float: right; /* orientation=rt */
	text-overflow: ellipsis;
	width: auto; 
	line-height: 19px;
	padding-left: 25px; /* orientation=lt */
	padding-right: 25px; /* orientation=rt */
	margin: 0px 0px 0px 6px; /* orientation=lt */
	margin: 0px 6px 0px 0px; /* orientation=rt */
	color: black;
}

/****************** edit Application *********************/
.UIPortlet .LAYOUT-BLOCK {	
	padding: 2px;
}

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

/****************** edit Container *********************/
.EdittingContainer {
	padding: 3px;
}

.EdittingContainer .NormalContainerBlock {
	background: white;
	border: 1px dashed #a2a2a2;
	height: 100%;
	padding: 2px;
}
.EdittingContainer .OverContainerBlock {
	border: 1px solid #b8babf;
	background: white;
	height: 100%;
	padding: 2px;
}

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

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

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

/*##############################- 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;
	height: 69px;
	padding: 10px 0;
}

/*############### End Decorator ###################################################*/

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

.ProtectedPortlet .PortletLayoutDecorator {
	background: white;
}

.ProtectedPortlet .PortletLayoutDecorator .LPortletLayoutDecorator {
	opacity: 0.3;
	filter: alpha(opacity=30);
}

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