/**
 * 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 {
	background: url('/eXoResources/skin/DefaultSkin/portal/webui/component/view/UIDashboard/background/BgTitleGadget.gif') repeat-x left top;
	line-height: 29px;
	padding: 0 9px;
	cursor: move;
	text-align: left;
	font-size: 14px;
	font-family: verdana;
	-moz-border-radius: 2px 2px 0px 0px;
	-webkit-border-radius: 2px 2px 0px 0px;
	border-radius: 2px 2px 0px 0px;
}

.UIGadget .GadgetTitle {
	padding: 0px 5px;
	color: #5b5b5b;
	font-weight: normal;
	cursor: move;
	overflow: hidden;
	white-space: nowrap;
	width: auto;
	margin-right: 75px !important; /* orientation=lt */
	margin: 0px 0px 0px 75px !important; /* orientation=rt */
}

.UIGadget .GadgetControl .GadgetDragHandleArea {
	cursor: move;
	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: 8px 0px 0px 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 .GadgetApplication {
	border: 1px solid #c3c3c3;
	border-top: none;
	padding: 3px;
	-moz-border-radius: 0px 0px 3px 3px;
	-webkit-border-radius: 0px 0px 3px 3px;
	border-radius: 0px 0px 3px 3px;
	
}

.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;
}
