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

/*##############################-Page Layout Decorator-################################*/

.LAYOUT-BLOCK .PageLayoutDecorator {
	cursor: move;
}

.UIPageBody .PageLayoutDecorator	{
	padding: 0px;
	margin: 0px 2px auto 2px;
}

.UIPageBody .PageLayoutDecorator .MiddlePageBG {
	background: white;
	height: 80px; 
}

.UIPageBody .PageLayoutDecorator .TopLeftPage {
	background: url('background/ViewPage.gif') no-repeat left -113px; /* orientation=lt */
	background: url('background/ViewPage-rt.gif') no-repeat right -113px; /* orientation=rt */
	padding: 0px 0px 0px 143px; /* orientation=lt */
	padding: 0px 143px 0px 0px; /* orientation=rt */
}

.UIPageBody .PageLayoutDecorator .TopRightPage {
	background: url('background/ViewPage.gif') no-repeat right -226px; /* orientation=lt */
	background: url('background/ViewPage-rt.gif') no-repeat left -226px; /* orientation=rt */
	padding: 0px 47px 0px 0px; /* orientation=lt */
	padding: 0px 0px 0px 47px; /* orientation=rt */
}

.UIPageBody .PageLayoutDecorator .TopCenterPage {
	height: 112px; line-height: 98px;	
	background: url('background/ViewPage.gif') repeat-x center top;	
	color: #525252; text-align: center;
	font-weight: bold;
	padding: 0px; white-space: nowrap;
}

.UIPageBody .PageLayoutDecorator .MiddleLeftPage {
	background: url('background/ViewPageRepeat.gif') repeat-y left; /* orientation=lt */
	background: url('background/ViewPageRepeat-rt.gif') repeat-y right; /* orientation=rt */
	padding: 0px 0px 0px 22px; /* orientation=lt */
	padding: 0px 22px 0px 0px; /* orientation=rt */
}

.UIPageBody .PageLayoutDecorator .MiddleRightPage {
 background: url('background/ViewPageRepeat.gif') repeat-y right; /* orientation=lt */
 background: url('background/ViewPageRepeat-rt.gif') repeat-y left; /* orientation=rt */
 padding: 0px 23px 0px 0px; /* orientation=lt */
 padding: 0px 0px 0px 23px; /* orientation=rt */
}

.UIPageBody .PageLayoutDecorator .BottomLeftPage {	
	background: url('background/ViewPage.gif') no-repeat left -378px; /* orientation=lt */
	background: url('background/ViewPage-rt.gif') no-repeat right -378px; /* orientation=rt */
	padding: 0px 0px 0px 46px; /* orientation=lt */
	padding: 0px 46px 0px 0px; /* orientation=rt */
}

.UIPageBody .PageLayoutDecorator .BottomRightPage {
	background: url('background/ViewPage.gif') no-repeat right -378px; /* orientation=lt */
	background: url('background/ViewPage-rt.gif') no-repeat left -378px; /* orientation=rt */
	padding: 0px 35px 0px 0px; /* orientation=lt */
	padding: 0px 0px 0px 35px; /* orientation=rt */
}

.UIPageBody .PageLayoutDecorator .BottomCenterPage {
	line-height: 38px;
	background: url('background/ViewPage.gif') repeat-x center -339px; 
}

.UIPageBody .PageLayoutDecorator .BottomCenterPage .FixBug {
	height: 38px;	 
}

.UIPageBody .VIEW-PAGEBODY .UIPage {
	padding: 0px 8px;
}

.UIPageBody .VIEW-PAGEBODY .UIPage .UIComponentBlock {
	background: white;
	height: 100%;
}

.UIPageBody .BLPagebody {
	background: url('background/BgPagebody.gif') no-repeat left top;
	padding-left: 6px;
	height: 16px;
}

.UIPageBody .BRPagebody {
	background: url('background/BgPagebody.gif') no-repeat right top; 
	padding-right: 6px;
	height: 16px;
}

.UIPageBody .BMPagebody {
	background: url('background/BgPagebody.gif') repeat-x center bottom; 
	height: 16px;
}

.UIPage .UIRowContainer {
	padding: 0px;
}

.BottomDecoratorHome .BottomDecoratorLeft{
	background: url('background/BottomDecoratorHome.gif') no-repeat left;
	padding-left: 7px;
	height: 7px;
}

.BottomDecoratorHome .BottomDecoratorRight{
	background: url('background/BottomDecoratorHome.gif') no-repeat right;
	padding-right: 7px;
	height: 7px;
}

.BottomDecoratorHome .BottomDecoratorMiddle{
	background: white;
	height: 7px;
}