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

/***************************************  UIGadget   **************************************/

.UIWindow .UIGadgetPortlet {
	padding: 10px;
}

.UIWindow .UIGadgetPortlet .gadgets-gadget-content {
	padding: 0;
}

.UIGadget {
	margin: 3px 0px;
}

.UIGadget .GadgetMenuBar {
	height: 20px;
}

.UIGadget .GadgetControl {
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	width: 100px; height: 20px;
	padding-right: 6px; /* orientation=lt */
	padding-left: 6px; /* orientation=rt */
}

.UIGadget .GadgetControl .LeftControlBar {
	background: url('background/Gadget.png') no-repeat left top; /* orientation=lt */
	background: url('background/Gadget-rt.png') no-repeat right top; /* orientation=rt */
	padding-left: 23px; /* orientation=lt */
	padding-right: 23px; /* orientation=rt */
}

.UIGadget .GadgetControl .RightControlBar{
	background: url('background/Gadget.png') no-repeat right top;	/* orientation=lt */
	background: url('background/Gadget-rt.png') no-repeat left top; /* orientation=rt */
	padding-right: 4px; /* orientation=lt */
	padding-left: 4px; /* orientation=rt */
}

.UIGadget .GadgetControl .CenterControlBar {
	height: 19px;
	background: url('background/Gadget.png') repeat-x center -19px;	
}

.UIGadget .GadgetControl .GadgetDragHandleArea {
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	width: 13px; height: 13px;
	cursor: move;
	margin: 3px 3px 0px 3px;
	background: url('background/Gadget.png') left -78px;
}

.UIGadget .GadgetControl .IconControl {
	background-image: url('background/IconGadget.gif');
	background-position: no-repeat;
	float: right; /* orientation=lt */
	float: left; /* orientation=rt */
	height: 14px;
	width: 14px;
	margin: 3px;
	cursor: pointer;
}

.UIGadget .GadgetControl .CloseGadget {
	background-position: top right;
}

.UIGadget .GadgetControl .MinimizeGadget {
	background-position: 48px top;
}

.UIGadget .GadgetControl .RestoreGadget {
	background-position: 31px top;
}

.UIGadget .GadgetControl .EditGadget {
	background-position: left top;
}

.UIGadget .GadgetControl .MaximizeGadget {
	background-position: 65px top;
}

.UIGadget .TLGadget {
	background: url('background/Gadget.png') no-repeat left -38px;
	padding-left: 8px;
}

.UIGadget .TRGadget {
	background: url('background/Gadget.png') no-repeat right -38px;
	padding-right: 8px;
}

.UIGadget .TCGadget {
	background: url('background/Gadget.png') repeat-x center -43px;
	height: 5px;
}

.UIGadget .MLGadget {
	background: url('background/MiddleGadget.png') repeat-y left;
	padding-left: 6px;
}

.UIGadget .MRGadget {
	background: url('background/MiddleGadget.png') repeat-y right;
	padding-right: 6px;
}

.UIGadget .MCGadget {
	background: white;
}

.UIGadget .BLGadget {
	background: url('background/Gadget.png') no-repeat left -58px;
	padding-left: 9px;
}

.UIGadget .BRGadget {
	background: url('background/Gadget.png') no-repeat right -68px;
	padding-right: 9px;
}

.UIGadget .BCGadget {
	background: url('background/Gadget.png') repeat-x center -48px;
	height: 10px;
}

.UIGadget iframe {
	width: 299px;
}

.UIGadgetContent .gadgets-gadget-user-prefs-dialog {
	background: #F2F2F3;
	padding: 0px 25px;
}

.UIGadgetContent span {
	float: left;
	width: 102px;
	margin-top: 5px;
}

.UIGadgetContent input {
	margin-top: 5px;
}

.UIGadgetContent .gadgets-gadget-user-prefs-dialog-action-bar {
	margin-left: 101px;
}

.UIGadgetContent .gadgets-gadget-user-prefs-dialog-action-bar input {
	cursor: pointer;
}

.UIGadgetContent .devToolbar {
	width: 56%;
}

.gadgets-gadget-content {
	padding: 10px 0;
	background: white;
	border: 1px solid white;
}
